Re: [PATCH 0/6] Apple device properties

2016-08-24 Thread Matt Fleming
On Mon, 22 Aug, at 11:58:50AM, Lukas Wunner wrote: > By the way, arch/x86/Kconfig says that "it is not possible to boot a > mixed-mode enabled kernel via the EFI boot stub - a bootloader that > supports the EFI handover protocol must be used". > > Is this still correct? With all the mixed-mode

Re: [PATCH 0/6] Apple device properties

2016-08-24 Thread Matt Fleming
On Mon, 22 Aug, at 11:58:50AM, Lukas Wunner wrote: > By the way, arch/x86/Kconfig says that "it is not possible to boot a > mixed-mode enabled kernel via the EFI boot stub - a bootloader that > supports the EFI handover protocol must be used". > > Is this still correct? With all the mixed-mode

Re: [PATCH 0/6] Apple device properties

2016-08-22 Thread Lukas Wunner
On Thu, Aug 18, 2016 at 09:34:33PM +0100, Matt Fleming wrote: > On Mon, 15 Aug, at 06:13:58PM, Lukas Wunner wrote: > > But I would like to understand the "cannot jump through pointers at > > runtime" argument because the binary code looks to me like it should > > work on 32 bit. I guess I must be

Re: [PATCH 0/6] Apple device properties

2016-08-22 Thread Lukas Wunner
On Thu, Aug 18, 2016 at 09:34:33PM +0100, Matt Fleming wrote: > On Mon, 15 Aug, at 06:13:58PM, Lukas Wunner wrote: > > But I would like to understand the "cannot jump through pointers at > > runtime" argument because the binary code looks to me like it should > > work on 32 bit. I guess I must be

Re: [PATCH 0/6] Apple device properties

2016-08-18 Thread Matt Fleming
On Mon, 15 Aug, at 06:13:58PM, Lukas Wunner wrote: > > But I would like to understand the "cannot jump through pointers at > runtime" argument because the binary code looks to me like it should > work on 32 bit. I guess I must be missing something obvious? Ah no, I forgot that

Re: [PATCH 0/6] Apple device properties

2016-08-18 Thread Matt Fleming
On Mon, 15 Aug, at 06:13:58PM, Lukas Wunner wrote: > > But I would like to understand the "cannot jump through pointers at > runtime" argument because the binary code looks to me like it should > work on 32 bit. I guess I must be missing something obvious? Ah no, I forgot that

Re: [PATCH 0/6] Apple device properties

2016-08-15 Thread Lukas Wunner
On Mon, Aug 15, 2016 at 12:54:14PM +0100, Matt Fleming wrote: > On Tue, 09 Aug, at 03:38:16PM, Lukas Wunner wrote: > > @@ -208,7 +201,10 @@ struct efi_config { > > __pure const struct efi_config *__efi_early(void); > > > > #define efi_call_early(f, ...) \ >

Re: [PATCH 0/6] Apple device properties

2016-08-15 Thread Lukas Wunner
On Mon, Aug 15, 2016 at 12:54:14PM +0100, Matt Fleming wrote: > On Tue, 09 Aug, at 03:38:16PM, Lukas Wunner wrote: > > @@ -208,7 +201,10 @@ struct efi_config { > > __pure const struct efi_config *__efi_early(void); > > > > #define efi_call_early(f, ...) \ >

Re: [PATCH 0/6] Apple device properties

2016-08-15 Thread Matt Fleming
On Tue, 09 Aug, at 03:38:16PM, Lukas Wunner wrote: > @@ -208,7 +201,10 @@ struct efi_config { > __pure const struct efi_config *__efi_early(void); > > #define efi_call_early(f, ...) > \ > - __efi_early()->call(__efi_early()->f, __VA_ARGS__); >

Re: [PATCH 0/6] Apple device properties

2016-08-15 Thread Matt Fleming
On Tue, 09 Aug, at 03:38:16PM, Lukas Wunner wrote: > @@ -208,7 +201,10 @@ struct efi_config { > __pure const struct efi_config *__efi_early(void); > > #define efi_call_early(f, ...) > \ > - __efi_early()->call(__efi_early()->f, __VA_ARGS__); >

Re: [PATCH 0/6] Apple device properties

2016-08-09 Thread Lukas Wunner
On Thu, Aug 04, 2016 at 03:57:10PM +0100, Matt Fleming wrote: > On Thu, 28 Jul, at 02:25:41AM, Lukas Wunner wrote: > > Specifically, is the following okay: > > efi_early->call((unsigned long)sys_table->boottime->locate_protocol, ...) > > This probably isn't going to work with EFI mixed mode

Re: [PATCH 0/6] Apple device properties

2016-08-09 Thread Lukas Wunner
On Thu, Aug 04, 2016 at 03:57:10PM +0100, Matt Fleming wrote: > On Thu, 28 Jul, at 02:25:41AM, Lukas Wunner wrote: > > Specifically, is the following okay: > > efi_early->call((unsigned long)sys_table->boottime->locate_protocol, ...) > > This probably isn't going to work with EFI mixed mode

Re: [PATCH 0/6] Apple device properties

2016-08-04 Thread Matt Fleming
On Thu, 28 Jul, at 02:25:41AM, Lukas Wunner wrote: > Apple EFI drivers supply device properties which are needed to support > Macs optimally. > > This series extends the efistub to retrieve the device properties before > ExitBootServices is called (patch [1/6]). They are assigned to devices > in

Re: [PATCH 0/6] Apple device properties

2016-08-04 Thread Matt Fleming
On Thu, 28 Jul, at 02:25:41AM, Lukas Wunner wrote: > Apple EFI drivers supply device properties which are needed to support > Macs optimally. > > This series extends the efistub to retrieve the device properties before > ExitBootServices is called (patch [1/6]). They are assigned to devices > in

Re: [PATCH 0/6] Apple device properties

2016-07-27 Thread Rafael J. Wysocki
On Wednesday, July 27, 2016 01:20:41 PM Lukas Wunner wrote: > Apple EFI drivers supply device properties which are needed to support > Macs optimally. > > This series extends the efistub to retrieve the device properties before > ExitBootServices is called (patch [1/6]). They are assigned to

Re: [PATCH 0/6] Apple device properties

2016-07-27 Thread Rafael J. Wysocki
On Wednesday, July 27, 2016 01:20:41 PM Lukas Wunner wrote: > Apple EFI drivers supply device properties which are needed to support > Macs optimally. > > This series extends the efistub to retrieve the device properties before > ExitBootServices is called (patch [1/6]). They are assigned to

[PATCH 0/6] Apple device properties

2016-07-27 Thread Lukas Wunner
Apple EFI drivers supply device properties which are needed to support Macs optimally. This series extends the efistub to retrieve the device properties before ExitBootServices is called (patch [1/6]). They are assigned to devices in an fs_initcall (patch [5/6]). As a first use case, the

[PATCH 0/6] Apple device properties

2016-07-27 Thread Lukas Wunner
Apple EFI drivers supply device properties which are needed to support Macs optimally. This series extends the efistub to retrieve the device properties before ExitBootServices is called (patch [1/6]). They are assigned to devices in an fs_initcall (patch [5/6]). As a first use case, the