Re: [PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-09-25 Thread Patrick DELAUNAY
Hi, On 6/19/24 08:35, Patrice CHOTARD wrote: On 6/19/24 00:57, Marek Vasut wrote: Update the TAMP_SMCR BKP..PROT fields to put first 10 registers into protection zone 1 and next 5 into zone 2. This fixes use of boot counter which is often in zone 3 and has to be updated from Linux, which runs

Re: [PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-09-25 Thread Marek Vasut
On 9/25/24 7:50 PM, Patrick DELAUNAY wrote: Hi Marek, Hi, diff --git a/arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c b/arch/arm/ mach-stm32mp/stm32mp1/stm32mp15x.c index f096fe538d8..ca202bec8ee 100644 --- a/arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c +++ b/arch/arm/mach-stm32mp/stm32mp1/stm32

Re: [PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-09-25 Thread Patrick DELAUNAY
Hi Marek, On 9/25/24 19:04, Marek Vasut wrote: On 6/19/24 8:35 AM, Patrice CHOTARD wrote: On 6/19/24 00:57, Marek Vasut wrote: Update the TAMP_SMCR BKP..PROT fields to put first 10 registers into protection zone 1 and next 5 into zone 2. This fixes use of boot counter which is often in zone

Re: [PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-09-25 Thread Marek Vasut
On 6/19/24 8:35 AM, Patrice CHOTARD wrote: On 6/19/24 00:57, Marek Vasut wrote: Update the TAMP_SMCR BKP..PROT fields to put first 10 registers into protection zone 1 and next 5 into zone 2. This fixes use of boot counter which is often in zone 3 and has to be updated from Linux, which runs in

Re: [PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-06-18 Thread Patrice CHOTARD
On 6/19/24 00:57, Marek Vasut wrote: > Update the TAMP_SMCR BKP..PROT fields to put first 10 registers > into protection zone 1 and next 5 into zone 2. This fixes use of > boot counter which is often in zone 3 and has to be updated from > Linux, which runs in NS. > > Fixes: 73f7fc944cf6 ("ARM:

[PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

2024-06-18 Thread Marek Vasut
Update the TAMP_SMCR BKP..PROT fields to put first 10 registers into protection zone 1 and next 5 into zone 2. This fixes use of boot counter which is often in zone 3 and has to be updated from Linux, which runs in NS. Fixes: 73f7fc944cf6 ("ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM