Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-05 Thread Andy Lutomirski
On Mon, Oct 5, 2015 at 8:33 AM, Kweh, Hock Leong wrote: >> -Original Message- >> From: Borislav Petkov [mailto:b...@alien8.de] >> Sent: Saturday, October 03, 2015 5:06 PM >> On Sat, Oct 03, 2015 at 03:18:41AM +, Kweh, Hock Leong wrote: >> > > What does the error case look like? A stand

RE: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-05 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Saturday, October 03, 2015 5:06 PM > On Sat, Oct 03, 2015 at 03:18:41AM +, Kweh, Hock Leong wrote: > > > What does the error case look like? A standard glibc message about > > > write(2) failing? > > > > > > >

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-03 Thread Borislav Petkov
On Fri, Oct 02, 2015 at 09:18:05PM -0700, Andy Lutomirski wrote: > > What does the error case look like? A standard glibc message about > > write(2) failing? > > > > close(2), right? I'm looking at those retvals of efi_capsule_write(). They are returned to userspace during write(2), no? /me has

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-03 Thread Borislav Petkov
On Sat, Oct 03, 2015 at 03:18:41AM +, Kweh, Hock Leong wrote: > > What does the error case look like? A standard glibc message about > > write(2) failing? > > > > Any upload fail error like -ENOMEM, -EINVAL, -EIO as well as error returned > by efi_capsule_update() API. All I'm asking is, how

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-02 Thread Andy Lutomirski
On Oct 2, 2015 10:37 AM, "Borislav Petkov" wrote: > > On Fri, Oct 02, 2015 at 05:05:52AM +0800, Kweh, Hock Leong wrote: > > From: "Kweh, Hock Leong" > > > > Dear maintainers & communities, > > > > This patchset is created on top of Matt's patchset: > > 1.)https://lkml.org/lkml/2014/10/7/390 > > "

RE: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-02 Thread Kweh, Hock Leong
irski; Roy > Franz; James Bottomley; Linux FS Devel; Fleming, Matt > Subject: Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware > updating > > On Fri, Oct 02, 2015 at 05:05:52AM +0800, Kweh, Hock Leong wrote: > > From: "Kweh, Hock Leong" > > >

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-02 Thread Borislav Petkov
On Fri, Oct 02, 2015 at 05:05:52AM +0800, Kweh, Hock Leong wrote: > From: "Kweh, Hock Leong" > > Dear maintainers & communities, > > This patchset is created on top of Matt's patchset: > 1.)https://lkml.org/lkml/2014/10/7/390 > "[PATCH 1/2] efi: Move efi_status_to_err() to efi.h" > 2.)https://lk

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

2015-10-01 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" Dear maintainers & communities, This patchset is created on top of Matt's patchset: 1.)https://lkml.org/lkml/2014/10/7/390 "[PATCH 1/2] efi: Move efi_status_to_err() to efi.h" 2.)https://lkml.org/lkml/2014/10/7/391 "[PATCH 2/2] efi: Capsule update support" It expose a m