[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.9999.1908171412560.4130@viisi.sifive.com>
Date: Sat, 17 Aug 2019 14:13:30 -0700 (PDT)
From: Paul Walmsley <paul.walmsley@...ive.com>
To: Christoph Hellwig <hch@....de>
cc: Arnd Bergmann <arnd@...db.de>, Guo Ren <guoren@...nel.org>,
Michal Simek <monstr@...str.eu>,
Greentime Hu <green.hu@...il.com>,
Vincent Chen <deanbo422@...il.com>,
Guan Xuetao <gxt@....edu.cn>, x86@...nel.org,
linux-arch@...r.kernel.org, linux-s390@...r.kernel.org,
linux-ia64@...r.kernel.org, linux-parisc@...r.kernel.org,
linux-sh@...r.kernel.org, linux-hexagon@...r.kernel.org,
linux-xtensa@...ux-xtensa.org, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-m68k@...ts.linux-m68k.org,
openrisc@...ts.librecores.org, linux-mtd@...ts.infradead.org,
linux-alpha@...r.kernel.org, sparclinux@...r.kernel.org,
nios2-dev@...ts.rocketboards.org, linux-riscv@...ts.infradead.org,
linux-snps-arc@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 17/26] arch: rely on asm-generic/io.h for default ioremap_*
definitions
On Sat, 17 Aug 2019, Christoph Hellwig wrote:
> Various architectures that use asm-generic/io.h still defined their
> own default versions of ioremap_nocache, ioremap_wt and ioremap_wc
> that point back to plain ioremap directly or indirectly. Remove these
> definitions and rely on asm-generic/io.h instead. For this to work
> the backup ioremap_* defintions needs to be changed to purely cpp
> macros instea of inlines to cover for architectures like openrisc
> that only define ioremap after including <asm-generic/io.h>.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
Reviewed-by: Paul Walmsley <paul.walmsley@...ive.com>
Tested-by: Paul Walmsley <paul.walmsley@...ive.com> # rv32, rv64 boot
Acked-by: Paul Walmsley <paul.walmsley@...ive.com> # arch/riscv
- Paul
Powered by blists - more mailing lists