Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 10:04 PM, Kweh, Hock Leong wrote: >> -Original Message- >> From: Andy Lutomirski [mailto:l...@amacapital.net] >> > >> > Andy, here's the steps to load a capsule. I don't have a problem with >> > this, it's userspace driven, no "autoloading" of files in /lib/, and >>

RE: [PATCH v2 3/3] efi: Capsule update with user helper interface

2014-11-03 Thread Kweh, Hock Leong
> -Original Message- > From: Andy Lutomirski [mailto:l...@amacapital.net] > > > > Andy, here's the steps to load a capsule. I don't have a problem with > > this, it's userspace driven, no "autoloading" of files in /lib/, and > > works with sysfs. > > > > Have any objection to it, I don't.

Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 8:32 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 11:07:10AM +0800, Kweh Hock Leong wrote: >> From: "Kweh, Hock Leong" >> >> Introducing a kernel module to expose user helper interface for >> user to upload capsule binaries. This module leverage the >> request_fi

Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 11:07:10AM +0800, Kweh Hock Leong wrote: > From: "Kweh, Hock Leong" > > Introducing a kernel module to expose user helper interface for > user to upload capsule binaries. This module leverage the > request_firmware_nowait() to expose an interface to user. > > Example step

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 4:38 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 03:08:08PM -0800, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 3:02 PM, Greg Kroah-Hartman >> wrote: >> > On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: >> >> On Mon, Nov 3, 2014 at 1:27 PM,

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 03:08:08PM -0800, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 3:02 PM, Greg Kroah-Hartman > wrote: > > On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: > >> On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman > >> wrote: > >> > On Mon, Nov 03, 2014 at 11

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 3:02 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman >> wrote: >> > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: >> >> On 11/02/2014 07:07 PM, Kweh Hoc

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman > wrote: > > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: > >> On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > >> > From: "Kweh, Hock Leong" > >> > > >> > >

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: >> On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: >> > From: "Kweh, Hock Leong" >> > >> > >> > Hi Guys, >> > >> > This patchset is created on top of "efi: Capsule update s

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: > On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > > From: "Kweh, Hock Leong" > > > > > > Hi Guys, > > > > This patchset is created on top of "efi: Capsule update support" patch: > > http://permalink.gmane.org/gmane.linux.kernel.e

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > From: "Kweh, Hock Leong" > > > Hi Guys, > > This patchset is created on top of "efi: Capsule update support" patch: > http://permalink.gmane.org/gmane.linux.kernel.efi/4837 > > It leverages the request_firmware_nowait() to expose the user helper

Re: [PATCH v2 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-11-03 Thread Matt Fleming
On Mon, 2014-11-03 at 08:15 -0200, Henrique de Moraes Holschuh wrote: > On Mon, 03 Nov 2014, Kweh Hock Leong wrote: > > Note for people who use request_firmware_nowait(): > > You are required to do your own synchronization after you call > > request_firmware_abort() in order to continue unloading t

Re: [PATCH v2 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-11-03 Thread Henrique de Moraes Holschuh
On Mon, 03 Nov 2014, Kweh Hock Leong wrote: > Note for people who use request_firmware_nowait(): > You are required to do your own synchronization after you call > request_firmware_abort() in order to continue unloading the > module. The example synchronization code shows below: > > while (THIS_MO