Re: [PATCH v2] LoongArch: rethook: Do not restore percpu base register in trampoline

Wentao Guan <[email protected]>
Newsgroups dev.linux.lists.loongarch,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
> > ---
> > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.