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

From: Frank Li

Date: Mon Aug 17 2026 - 17:32:22 EST


On Mon, Aug 17, 2026 at 07:45:18PM +0200, Yo'av Moshe wrote:
> On 2026-07-26 5:36 PM, Yo'av Moshe wrote:
> > Yes, I tried that as well and it unfortunately didn't work.
> >
> > I tested Nathan's change along with explicitly copying the 4-byte
> > prefix from before imx6_suspend into OCRAM right before calling fncpy().
> > However, when checking the compiled binary, "&imx6_suspend - 4" just
> > contained padding rather than the hash, so the copied 4-byte value
> > didn't match what the call site expected.
> Hi Sascha, Frank,
>
> Gentle ping on this patch. Is there anything else needed from my end?

There are long discussion on this thread.

Sami Tolvanen and Nick Desaulniers:

Do you agree on Yo's implement?

Frank

>
> Best regards,
> Yo'av
>