Re: [PATCH v2] LoongArch: rethook: Do not restore percpu base register in trampoline
From: Wentao Guan
Date: Mon Aug 24 2026 - 06:17:15 EST
> > ---
> > changelog v2:
> > according sashiko report, keep cfi_st u0, PT_R21
> > Link: https://sashiko.dev/#/patchset/20260824082524.3801394-1-guanwentao%40uniontech.com
> I don't think AI is correct here, if "leaking" a random stack value is
> unacceptable, then "leaking" $r21 is better?
So, 1. v3a back to dropping both or 2. v3b keeping the frame deterministic
via st.d zero, sp, PT_R21 or 3. v3c keep store RT_R21 for just a completeness
stack image?
BRs
Wentao Guan