Re: [PATCH v4 1/4] ARM: stm32: Fix ECDSA authentication with Dcache enabled

2023-01-13 Thread Patrice CHOTARD
Hi Marek On 1/12/23 18:58, Marek Vasut wrote: > In case Dcache is enabled while the ECDSA authentication function is > called via BootROM ROM API, the MMU tables are set up and the BootROM > region is not marked as executable, so an attempt to run code from it > results in a hang. Mark the BootROM

[PATCH v4 1/4] ARM: stm32: Fix ECDSA authentication with Dcache enabled

2023-01-12 Thread Marek Vasut
In case Dcache is enabled while the ECDSA authentication function is called via BootROM ROM API, the MMU tables are set up and the BootROM region is not marked as executable, so an attempt to run code from it results in a hang. Mark the BootROM region as executable as suggested by Patrick to preven