Re: [PATCH v3] ARM: imx: Fix suspend/resume crash with Clang CFI
From: Sami Tolvanen
Date: Wed Jul 22 2026 - 14:09:25 EST
On Wed, Jul 22, 2026 at 10:47 AM Yo'av Moshe <linux@xxxxxxxxxxxxx> wrote:
>
> I think the issue might be a parameter mismatch: in C, the pointer is
> declared as taking a parameter `void (*)(void __iomem *)`, but in assembly
> `imx6_suspend` has no parameters, so Clang generates two different hashes
> for them?
As long as the C prototype for the assembly function matches the
function pointer type, the hashes should also match. Can you dump the
hash prefix from the OCRAM and compare it to the disassembly of the
call site?
Sami