Thread (37 messages) 37 messages, 5 authors, 27d ago

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

From: <hidden>
Date: 2026-09-02 19:37:48
Also in: imx, lkml, llvm, stable

From: Frank Li <Frank.Li@nxp.com>


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 [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help