Re: [PATCH v5] ARM: imx: Fix suspend/resume crash with Clang CFI

From: Frank . Li

Date: Wed Sep 02 2026 - 15:49:46 EST


From: Frank Li <Frank.Li@xxxxxxx>


On Sun, 30 Aug 2026 17:51:00 +0200, Yo'av Moshe wrote:
> The suspend code that runs from OCRAM is copied there with fncpy(),
> which does not copy the kCFI type hash preceding the function. With
> CONFIG_CFI=y the indirect call through imx6_suspend_in_ocram_fn
> therefore panics.
>
> Keep the call covered by CFI instead of exempting it:
>
> [...]

Applied, thanks!

[1/1] ARM: imx: Fix suspend/resume crash with Clang CFI
commit: 242757d109bd5c9b8fb7194fb4d44625be0b859a

Best regards,
--
Frank Li <Frank.Li@xxxxxxx>