[PATCH v12 4/5] jump_label: adjust inline asm to be consistent

Russell King (Oracle) linux at armlinux.org.uk
Wed Oct 30 17:10:50 PDT 2024


On Wed, Oct 30, 2024 at 07:13:16PM -0400, Steven Rostedt wrote:
> On Wed, 30 Oct 2024 16:04:27 +0000
> Alice Ryhl <aliceryhl at google.com> wrote:
> 
> > To avoid duplication of inline asm between C and Rust, we need to
> > import the inline asm from the relevant `jump_label.h` header into Rust.
> > To make that easier, this patch updates the header files to expose the
> > inline asm via a new ARCH_STATIC_BRANCH_ASM macro.
> > 
> > The header files are all updated to define a ARCH_STATIC_BRANCH_ASM that
> > takes the same arguments in a consistent order so that Rust can use the
> > same logic for every architecture.
> > 
> > Suggested-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> > Co-developed-by: Miguel Ojeda <ojeda at kernel.org>
> > Signed-off-by: Miguel Ojeda <ojeda at kernel.org>
> > Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> > Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> > Acked-by: Palmer Dabbelt <palmer at rivosinc.com> # RISC-V
> 
> Still missing an ack from the ARM maintainer (32 bit, just added) and loongarch.
> 
> I'll wait till Monday, if I don't hear anything against these patches
> I'll pull them in.

As of what has recently happened, I am not participating in technical
activities until such time that I'm told what is now acceptable. So
far, that has not been forthcoming, and thus I believe it is unwise to
engage in technical discussion.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-riscv mailing list