Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334189
| From | "Kweh, Hock Leong" <hock.leong.kweh@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH v11 1/1] efi: a misc char interface for user to update efi firmware |
| Date | 2016-02-15 07:50 +0100 |
| Message-ID | <r2l8S-5Hj-7@gated-at.bofh.it> (permalink) |
| References | <qW90K-5NS-5@gated-at.bofh.it> <qW90K-5NS-3@gated-at.bofh.it> <qZVLz-74r-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> -----Original Message----- > From: Matt Fleming [mailto:matt@console-pimps.org] > Sent: Monday, February 08, 2016 11:14 PM > > On Fri, 29 Jan, at 12:39:54PM, Kweh Hock Leong wrote: > > From: "Kweh, Hock Leong" <hock.leong.kweh@intel.com> > > > > Introducing a kernel module to expose capsule loader interface > > (misc char device file note) for users to upload capsule binaries. > > > > Example: > > cat firmware.bin > /dev/efi_capsule_loader > > > > This patch also export efi_capsule_supported() function symbol for > > verifying the submitted capsule header in this kernel module. > > > > Cc: Matt Fleming <matt@codeblueprint.co.uk> > > Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com> > > --- > > drivers/firmware/efi/Kconfig | 9 + > > drivers/firmware/efi/Makefile | 1 + > > drivers/firmware/efi/capsule-loader.c | 334 > +++++++++++++++++++++++++++++++++ > > drivers/firmware/efi/capsule.c | 1 + > > 4 files changed, 345 insertions(+) > > create mode 100644 drivers/firmware/efi/capsule-loader.c > > OK, I've picked this up. I did make some modifications based on > Bryan's comments from v10 of this patch. > > You can see a diff of the changes below, but roughly, > > 1. Use Bryan's comments for changelog and expand it a bit > 2. Add more detail to Kconfig entry, most people don't need this > 3. Sprinkled comments from Bryan in the kerneldoc comments > 4. Deleted a level of indentation in efi_capsule_setup_info() > 5. Local variable instead of indexing ->pages in efi_capsule_write() > 6. Fix memory leak in efi_capsule_open() > > My plan is to include this patch in the EFI capsule series, and resend > the whole thing out. > Thank Matt and also appreciate others who helped on reviewing, testing as well as provided design idea. Thanks & Regards, Wilson
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
RE: [PATCH v11 1/1] efi: a misc char interface for user to update efi firmware "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2016-02-15 07:50 +0100
csiph-web