Re: [RFT PATCH] efi: map memreserve table before first use

2018-11-21 Thread John Garry
On 21/11/2018 09:56, Jan Glauber wrote: On Tue, Nov 20, 2018 at 06:35:42PM +0100, Ard Biesheuvel wrote: Mapping the MEMRESERVE EFI configuration table from an early initcall is too late: the GICv3 ITS code that creates persistent reservations for the boot CPU's LPI tables is invoked from

Re: [RFT PATCH] efi: map memreserve table before first use

2018-11-21 Thread Jan Glauber
On Tue, Nov 20, 2018 at 06:35:42PM +0100, Ard Biesheuvel wrote: > Mapping the MEMRESERVE EFI configuration table from an early initcall > is too late: the GICv3 ITS code that creates persistent reservations > for the boot CPU's LPI tables is invoked from init_IRQ(), which runs > much earlier than

Re: [RFT PATCH] efi: map memreserve table before first use

2018-11-20 Thread Marc Zyngier
On 20/11/2018 18:35, Ard Biesheuvel wrote: > On Tue, 20 Nov 2018 at 19:29, Marc Zyngier wrote: >> >> Hi Ard, >> >> On 20/11/2018 17:35, Ard Biesheuvel wrote: >>> Mapping the MEMRESERVE EFI configuration table from an early initcall >>> is too late: the GICv3 ITS code that creates persistent

Re: [RFT PATCH] efi: map memreserve table before first use

2018-11-20 Thread Ard Biesheuvel
On Tue, 20 Nov 2018 at 19:29, Marc Zyngier wrote: > > Hi Ard, > > On 20/11/2018 17:35, Ard Biesheuvel wrote: > > Mapping the MEMRESERVE EFI configuration table from an early initcall > > is too late: the GICv3 ITS code that creates persistent reservations > > for the boot CPU's LPI tables is

Re: [RFT PATCH] efi: map memreserve table before first use

2018-11-20 Thread Marc Zyngier
Hi Ard, On 20/11/2018 17:35, Ard Biesheuvel wrote: > Mapping the MEMRESERVE EFI configuration table from an early initcall > is too late: the GICv3 ITS code that creates persistent reservations > for the boot CPU's LPI tables is invoked from init_IRQ(), which runs > much earlier than the handling

[RFT PATCH] efi: map memreserve table before first use

2018-11-20 Thread Ard Biesheuvel
Mapping the MEMRESERVE EFI configuration table from an early initcall is too late: the GICv3 ITS code that creates persistent reservations for the boot CPU's LPI tables is invoked from init_IRQ(), which runs much earlier than the handling of the initcalls. So instead, move the initialization