pldmfw: enable selected component updateThis patch enables to update a selected component from PLDM imagecontaining multiple components.Example usage:struct pldmfw;data.mode = PLDMFW_UPDATE_M
pldmfw: enable selected component updateThis patch enables to update a selected component from PLDM imagecontaining multiple components.Example usage:struct pldmfw;data.mode = PLDMFW_UPDATE_MODE_SINGLE_COMPONENT;data.compontent_identifier = DRIVER_FW_MGMT_COMPONENT_ID;Reviewed-by: Jacob Keller <[email protected]>Reviewed-by: Marcin Szycik <[email protected]>Reviewed-by: Przemek Kitszel <[email protected]>Signed-off-by: Konrad Knitter <[email protected]>Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)Signed-off-by: Tony Nguyen <[email protected]>
show more ...
move asm/unaligned.h to linux/unaligned.hasm/unaligned.h is always an include of asm-generic/unaligned.h;might as well move that thing to linux/unaligned.h and includethat - there's nothing arch-
move asm/unaligned.h to linux/unaligned.hasm/unaligned.h is always an include of asm-generic/unaligned.h;might as well move that thing to linux/unaligned.h and includethat - there's nothing arch-specific in that header.auto-generated by the following:for i in `git grep -l -w asm/unaligned.h`; do sed -i -e "s/asm\/unaligned.h/linux\/unaligned.h/" $idonefor i in `git grep -l -w asm-generic/unaligned.h`; do sed -i -e "s/asm-generic\/unaligned.h/linux\/unaligned.h/" $idonegit mv include/asm-generic/unaligned.h include/linux/unaligned.hgit mv tools/include/asm-generic/unaligned.h tools/include/linux/unaligned.hsed -i -e "/unaligned.h/d" include/asm-generic/Kbuildsed -i -e "s/__ASM_GENERIC/__LINUX/" include/linux/unaligned.h tools/include/linux/unaligned.h
lib: remove MODULE_LICENSE in non-modulesSince commit 8b41fc4454e ("kbuild: create modules.builtin withoutMakefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarationsare used to identify m
lib: remove MODULE_LICENSE in non-modulesSince commit 8b41fc4454e ("kbuild: create modules.builtin withoutMakefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarationsare used to identify modules. As a consequence, uses of the macroin non-modules will cause modprobe to misidentify their containingobject file as a module when it is not (false positives), and modprobemight succeed rather than failing with a suitable error message.So remove it in the files in this commit, none of which can be built asmodules.Signed-off-by: Nick Alcock <[email protected]>Suggested-by: Luis Chamberlain <[email protected]>Acked-by: Jacob Keller <[email protected]>Cc: Luis Chamberlain <[email protected]>Cc: [email protected]Cc: [email protected]Cc: Hitomi Hasegawa <[email protected]>Cc: Jacob Keller <[email protected]>Signed-off-by: Luis Chamberlain <[email protected]>
lib: fix spelling mistakesFix some spelling mistakes in comments:permanentely ==> permanentlywont ==> won'tremaning ==> remainingsucced ==> succeedshouldnt ==> shouldn'talpha-numeric ==> alph
lib: fix spelling mistakesFix some spelling mistakes in comments:permanentely ==> permanentlywont ==> won'tremaning ==> remainingsucced ==> succeedshouldnt ==> shouldn'talpha-numeric ==> alphanumericstoreing ==> storingfuntion ==> functiondocumenation ==> documentationDetermin ==> Determineintepreted ==> interpretedammount ==> amountobious ==> obviousinterupts ==> interruptsoccured ==> occurredasssociated ==> associatedtaking into acount ==> taking into accountsquence ==> sequencestil ==> stillcontiguos ==> contiguousmatchs ==> matchesLink: https://lkml.kernel.org/r/[email protected]Signed-off-by: Zhen Lei <[email protected]>Reviewed-by: Jacob Keller <[email protected]>Signed-off-by: Andrew Morton <[email protected]>Signed-off-by: Linus Torvalds <[email protected]>
Add pldmfw library for PLDM firmware updateThe pldmfw library is used to implement common logic needed to flashdevices based on firmware files using the format described by the PLDMfor Firmware U
Add pldmfw library for PLDM firmware updateThe pldmfw library is used to implement common logic needed to flashdevices based on firmware files using the format described by the PLDMfor Firmware Update standard.This library consists of logic to parse the PLDM file format froma firmware file object, as well as common logic for sending the relevantPLDM header data to the device firmware.A simple ops table is provided so that device drivers can implementdevice specific hardware interactions while keeping the common logic tothe pldmfw library.This library will be used by the Intel ice networking driver as part ofimplementing device flash update via devlink. The library aims to bevendor and device agnostic. For this reason, it has been placed inlib/pldmfw, in the hopes that other devices which use the PLDM firmwarefile format may benefit from it in the future. However, do note that notall features defined in the PLDM standard have been implemented.Signed-off-by: Jacob Keller <[email protected]>Signed-off-by: David S. Miller <[email protected]>