[PATCH -next V17 1/7] compiler_types.h: Add __noinstr_section() for noinstr
Guo Ren
guoren at kernel.org
Thu Mar 23 18:51:25 PDT 2023
On Wed, Mar 22, 2023 at 10:46 PM Björn Töpel <bjorn at kernel.org> wrote:
>
> guoren at kernel.org writes:
>
> > From: Lai Jiangshan <laijs at linux.alibaba.com>
> >
> > Using __noinstr_section() doesn't automatically disable all
> > instrumentations on the section. Inhibition for some
> > instrumentations requires extra code. I.E. KPROBES explicitly
> > avoids instrumenting on .noinstr.text.
>
> Guo, the generic entry series doesn't apply cleanly on
> riscv/for-next >6.2-rc1, and this patch is the issue.
It has been merged in palmer/for-next.
Thx for taking care.
54b3948f381c (HEAD -> for-next, palmer/for-next) Merge patch series
"riscv: Add GENERIC_ENTRY support"
45b32b946a97 riscv: entry: Consolidate general regs saving/restoring
ab9164dae273 riscv: entry: Consolidate ret_from_kernel_thread into ret_from_fork
0bf298ad2b61 riscv: entry: Remove extra level wrappers of
trace_hardirqs_{on,off}
f0bddf50586d riscv: entry: Convert to generic entry
d0db02c62879 riscv: entry: Add noinstr to prevent instrumentation inserted
8574bf8d0ddd riscv: ptrace: Remove duplicate operation
>
> Could you do a respin (potentially w/o this patch)?
>
>
> Cheers,
> Björn
--
Best Regards
Guo Ren
More information about the linux-riscv
mailing list