Subject: Re: [PATCH] ARM: NOMMU: Fix exc_ret for XIP

From: afzal mohammed <[email-masked]>
Date: Sat, 12 Oct 2019 12:07:25 +0530

Hi Vladimir,

On Thu, Oct 03, 2019 at 12:41:28PM +0100, Vladimir Murzin wrote:

> It was reported that 72cd4064fcca "NOMMU: Toggle only bits in
> EXC_RETURN we are really care of" breaks NOMMU+XIP combination.
> It happens because saved EXC_RETURN gets overwritten when data
> section is relocated.
> 
> The fix is to propagate EXC_RETURN via register and let relocation
> code to commit that value into memory.
> 
> Fixes: 72cd4064fcca ("ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of")
> 
> Reported-by: afzal mohammed <[email-masked]>
> Tested-by: afzal mohammed <[email-masked]>
> Signed-off-by: Vladimir Murzin <[email-masked]>

Can you please put this into rmk's patch system.

STM32 Cortex-M boards are currently not booting in mainline, this
change makes them boot again, verified on stm32f429 discovery board.

Regards
afzal

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel