Re: [PATCH v11 1/1] efi: a misc char interface for user to update efi firmware

From: Greg Kroah-Hartman
Date: Mon Feb 15 2016 - 11:41:13 EST


On Mon, Feb 08, 2016 at 09:50:03AM +0000, Matt Fleming wrote:
> On Sun, 07 Feb, at 09:43:31PM, Greg KH wrote:
> > On Fri, Jan 29, 2016 at 12:39:54PM +0800, Kweh, Hock Leong wrote:
> > > From: "Kweh, Hock Leong" <hock.leong.kweh@xxxxxxxxx>
> > >
> > > 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@xxxxxxxxxxxxxxxxxxx>
> > > Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@xxxxxxxxx>
> > > ---
> > > 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
> >
> > I need an ack from the efi maintainer, or at least someone else
> > reviewing / testing this, before I can accept it.
>
> Thanks Greg, but this should probably go through the EFI tree since
> there are prerequisite core EFI capsule patches for this driver.
>
> If you're happy with the code though, an ACK would be much
> appreciated.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>