Thread (37 messages) flat view 37 messages, 5 authors, 18d ago

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

From: Sami Tolvanen <samitolvanen@google.com>
Date: 2026-07-20 19:29:58
Also in: imx, lkml, llvm, stable

On Sat, Jul 18, 2026 at 4:14 AM Yo'av Moshe [off-list ref] wrote:
Relocated suspend code in OCRAM lacks compiler-generated CFI type
signatures. When CONFIG_CFI=y is active, the indirect call to
imx6_suspend_in_ocram_fn triggers a strict CFI violation panic.
Would it be possible to just copy the 4-byte CFI hash prefix to OCRAM
when relocating the function? If not, the __nocfi approach seems
reasonable to me.

Sami
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help