[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJF2gTTMFPf63_PGUrCLZt3xT3MDG=DZ8dwE8530f5N57yAq=w@mail.gmail.com>
Date: Wed, 8 Jun 2022 10:28:29 +0800
From: Guo Ren <guoren@...nel.org>
To: Heiko Stuebner <heiko@...ech.de>
Cc: Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Wei Fu <wefu@...hat.com>, Nick Kossifidis <mick@....forth.gr>,
Samuel Holland <samuel@...lland.org>,
Christoph Muellner <cmuellner@...ux.com>,
Philipp Tomsich <philipp.tomsich@...ll.eu>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH 0/2] riscv: Add macro for multiple nop instructions
Just a safe good coding convention point.
Reviewed-by: Guo Ren <guoren@...nel.org>
On Tue, Jun 7, 2022 at 10:31 PM Heiko Stuebner <heiko@...ech.de> wrote:
>
> Some cases need multiple nop instructions and arm64 already has a
> nice helper for not needing to write all of them out but instead
> use a helper to add n nops.
>
> So add a similar thing to riscv and convert the T-Head PMA
> alternative to use it.
>
>
> Heiko Stuebner (2):
> riscv: introduce nops and __nops macros for NOP sequences
> riscv: convert the t-head pbmt errata to use the __nops macro
>
> arch/riscv/include/asm/asm.h | 15 +++++++++++++++
> arch/riscv/include/asm/barrier.h | 2 ++
> arch/riscv/include/asm/errata_list.h | 8 +-------
> 3 files changed, 18 insertions(+), 7 deletions(-)
>
> --
> 2.35.1
>
--
Best Regards
Guo Ren
ML: https://lore.kernel.org/linux-csky/
Powered by blists - more mailing lists