Re: [PATCH 24/26] riscv: use the generic ioremap code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christoph Hellwig <hch@xxxxxx>
- Subject: Re: [PATCH 24/26] riscv: use the generic ioremap code
- From: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
- Date: Sat, 17 Aug 2019 14:22:15 -0700 (PDT)
- Cc: Arnd Bergmann <arnd@xxxxxxxx>, Guo Ren <guoren@xxxxxxxxxx>, Michal Simek <monstr@xxxxxxxxx>, Greentime Hu <green.hu@xxxxxxxxx>, Vincent Chen <deanbo422@xxxxxxxxx>, Guan Xuetao <gxt@xxxxxxxxxx>, x86@xxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, openrisc@xxxxxxxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, nios2-dev@xxxxxxxxxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-snps-arc@xxxxxxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <20190817073253.27819-25-hch@lst.de>
- References: <20190817073253.27819-1-hch@lst.de> <20190817073253.27819-25-hch@lst.de>
- User-agent: Alpine 2.21.9999 (DEB 301 2018-08-15)
On Sat, 17 Aug 2019, Christoph Hellwig wrote:
> Use the generic ioremap code instead of providing a local version.
> Note that this relies on the asm-generic no-op definition of
> pgprot_noncached.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> arch/riscv/Kconfig | 1 +
> arch/riscv/include/asm/io.h | 3 --
> arch/riscv/include/asm/pgtable.h | 6 +++
> arch/riscv/mm/Makefile | 1 -
> arch/riscv/mm/ioremap.c | 84 --------------------------------
> 5 files changed, 7 insertions(+), 88 deletions(-)
> delete mode 100644 arch/riscv/mm/ioremap.c
Reviewed-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
Tested-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx> # rv32, rv64 boot
Acked-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx> # arch/riscv
- Paul
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]