Re: [linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Andre Przywara
On Sun, 24 Jan 2021 15:45:23 +0100 Heinrich Schuchardt wrote: > On 1/24/21 2:07 PM, Andre Przywara wrote: > > On Sun, 24 Jan 2021 11:44:35 +0100 > > Heinrich Schuchardt wrote: > > > > Hi Heinrich, > > > > many thanks for digging into this! > > > >> On 1/24/21 9:47 AM, Jernej Škrabec wrote: >

Re: [linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Heinrich Schuchardt
On 1/24/21 2:07 PM, Andre Przywara wrote: On Sun, 24 Jan 2021 11:44:35 +0100 Heinrich Schuchardt wrote: Hi Heinrich, many thanks for digging into this! On 1/24/21 9:47 AM, Jernej Škrabec wrote: Dne nedelja, 24. januar 2021 ob 09:33:15 CET je Jernej Škrabec napisal(a): Hi! Dne nedelja, 24.

Re: [linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Jernej Škrabec
Dne nedelja, 24. januar 2021 ob 09:33:15 CET je Jernej Škrabec napisal(a): > Hi! > > Dne nedelja, 24. januar 2021 ob 09:27:02 CET je Heinrich Schuchardt > > napisal(a): > > On 1/24/21 3:03 AM, Simon Glass wrote: > > > On Fri, 22 Jan 2021 at 05:05, Andre Przywara > > wrote: > > >> When "bootefi

Re: [linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Andre Przywara
On Sun, 24 Jan 2021 11:44:35 +0100 Heinrich Schuchardt wrote: Hi Heinrich, many thanks for digging into this! > On 1/24/21 9:47 AM, Jernej Škrabec wrote: > > Dne nedelja, 24. januar 2021 ob 09:33:15 CET je Jernej Škrabec napisal(a): > >> Hi! > >> > >> Dne nedelja, 24. januar 2021 ob 09:27:02

Re: [linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Heinrich Schuchardt
On 1/24/21 9:47 AM, Jernej Škrabec wrote: Dne nedelja, 24. januar 2021 ob 09:33:15 CET je Jernej Škrabec napisal(a): Hi! Dne nedelja, 24. januar 2021 ob 09:27:02 CET je Heinrich Schuchardt napisal(a): On 1/24/21 3:03 AM, Simon Glass wrote: On Fri, 22 Jan 2021 at 05:05, Andre Przywara wrot

Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Jernej Škrabec
Hi! Dne nedelja, 24. januar 2021 ob 09:27:02 CET je Heinrich Schuchardt napisal(a): > On 1/24/21 3:03 AM, Simon Glass wrote: > > On Fri, 22 Jan 2021 at 05:05, Andre Przywara wrote: > >> When "bootefi bootmgr" is run, it switches the CPU into non-secure > >> state. This breaks platforms like 32-

Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-24 Thread Heinrich Schuchardt
On 1/24/21 3:03 AM, Simon Glass wrote: On Fri, 22 Jan 2021 at 05:05, Andre Przywara wrote: When "bootefi bootmgr" is run, it switches the CPU into non-secure state. This breaks platforms like 32-bit Allwinner boards that rely on running in secure state until late in the process, when they inst

Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-23 Thread Simon Glass
On Fri, 22 Jan 2021 at 05:05, Andre Przywara wrote: > > When "bootefi bootmgr" is run, it switches the CPU into non-secure > state. This breaks platforms like 32-bit Allwinner boards that rely on > running in secure state until late in the process, when they install > the PSCI handler in secure me

[RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-22 Thread Andre Przywara
When "bootefi bootmgr" is run, it switches the CPU into non-secure state. This breaks platforms like 32-bit Allwinner boards that rely on running in secure state until late in the process, when they install the PSCI handler in secure memory and drop into non-secure state. They hang just before ente