[PATCH v4 0/2] Enable capsule loader interface for efi firmware updating

From: Kweh, Hock Leong
Date: Mon Apr 13 2015 - 21:45:17 EST


From: "Kweh, Hock Leong" <hock.leong.kweh@xxxxxxxxx>

Dear maintainers & communities,

This patchset is created on top of "efi: Capsule update support" patch:
http://permalink.gmane.org/gmane.linux.kernel.efi/4837

It expose a sysfs loader interface for user to upload the capsule binary
and calling efi_capsule_update() API to pass the binary to EFI firmware.

Thanks.

---
changelog v4:
* rebase the firmware_class to gregkh/driver-core.git#driver-core-next
branch and drop the v3 2nd patch as Zahari already fix that in that
branch


changelog v3:
* changes base on the design discussion in the mailing list:
https://lkml.org/lkml/2015/2/24/307
* 1st patch introduce a new API request_firmware_direct_full_path() in
firmware_class for developer to pass in full path to the firmware file
* 2nd patch fix a bug for commit "firmware_loader: handle timeout via
wait_for_completion_interruptible_timeout()"
* 3rd patch introduce the capsule loader interface kernel module


Kweh, Hock Leong (2):
firmware_loader: introduce new API -
request_firmware_direct_full_path()
efi: an sysfs interface for user to update efi firmware

drivers/base/firmware_class.c | 46 +++++++-
drivers/firmware/efi/Kconfig | 12 ++
drivers/firmware/efi/Makefile | 1
drivers/firmware/efi/efi-capsule-loader.c | 169 +++++++++++++++++++++++++++++
include/linux/firmware.h | 9 ++
5 files changed, 232 insertions(+), 5 deletions(-)
create mode 100644 drivers/firmware/efi/efi-capsule-loader.c

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/