Re: [PATCH 2/5] sunxi: move Cortex SMPEN setting into start.S

2022-01-25 Thread Andre Przywara
On Mon, 24 Jan 2022 20:47:30 -0600 Samuel Holland wrote: Hi Samuel, many thanks for having a look! > On 1/24/22 7:15 PM, Andre Przywara wrote: > > According to their TRMs, Cortex ARMv7 CPUs with SMP support require the > > ACTLR.SMPEN bit to be set as early as possible, before any cache or TLB

Re: [PATCH 2/5] sunxi: move Cortex SMPEN setting into start.S

2022-01-24 Thread Samuel Holland
On 1/24/22 7:15 PM, Andre Przywara wrote: > According to their TRMs, Cortex ARMv7 CPUs with SMP support require the > ACTLR.SMPEN bit to be set as early as possible, before any cache or TLB > maintenance operations are done. As we do those things still in start.S, > we need to move the SMPEN bit

[PATCH 2/5] sunxi: move Cortex SMPEN setting into start.S

2022-01-24 Thread Andre Przywara
According to their TRMs, Cortex ARMv7 CPUs with SMP support require the ACTLR.SMPEN bit to be set as early as possible, before any cache or TLB maintenance operations are done. As we do those things still in start.S, we need to move the SMPEN bit setting there, too. This introduces a new ARMv7