Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Dave Young
On 11/26/13 at 03:57pm, Matt Fleming wrote: > On Tue, 26 Nov, at 01:57:50PM, Dave Young wrote: > > Export fw_vendor, runtime and config tables physical > > addresses to /sys/firmware/efi/systab becaue kexec > > kernel will need them. > > This commit log needs updating. Will update > > > From E

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Matt Fleming
On Tue, 26 Nov, at 01:57:50PM, Dave Young wrote: > Export fw_vendor, runtime and config tables physical > addresses to /sys/firmware/efi/systab becaue kexec > kernel will need them. This commit log needs updating. > From EFI spec these 3 variables will be updated to > virtual address after enter

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Dave Young
On 11/26/13 at 09:50am, Borislav Petkov wrote: > On Tue, Nov 26, 2013 at 01:57:50PM +0800, Dave Young wrote: > > diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c > > index 2e2fbde..5d85956 100644 > > --- a/drivers/firmware/efi/efi.c > > +++ b/drivers/firmware/efi/efi.c > > @@ -3

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Borislav Petkov
On Tue, Nov 26, 2013 at 01:57:50PM +0800, Dave Young wrote: > diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c > index 2e2fbde..5d85956 100644 > --- a/drivers/firmware/efi/efi.c > +++ b/drivers/firmware/efi/efi.c > @@ -32,6 +32,9 @@ struct efi __read_mostly efi = { > .hcdp

[PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-25 Thread Dave Young
Export fw_vendor, runtime and config tables physical addresses to /sys/firmware/efi/systab becaue kexec kernel will need them. >From EFI spec these 3 variables will be updated to virtual address after entering virtual mode. But kernel startup code will need the physical address. changelog: Greg: