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

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

From: Sami Tolvanen <samitolvanen@google.com>
Date: 2026-07-24 15:54:10
Also in: imx, lkml, llvm, stable

On Thu, Jul 23, 2026 at 12:56 PM Yo'av Moshe [off-list ref] wrote:
On 2026-07-23 9:21 PM, Sami Tolvanen wrote:
quoted
What's the value for the __kcfi_typeid_imx6_suspend symbol in
vmlinux.o? I would expect the hash value to look a bit more random.
Checking vmlinux.o with `llvm-readelf -s vmlinux.o` indeed shows:

  a488ebfc  0 NOTYPE  WEAK  DEFAULT  ABS __kcfi_typeid_imx6_suspend
OK, so the hashes should match. I can only assume that the hash prefix
doesn't end up getting copied to OCRAM for some reason then, or
perhaps the source of the copy operation doesn't have relocations
applied? Either way, if this turns out to be infeasible, I think the
__nocfi approach is reasonable in this case too.

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