Re: [PATCH 03/21] ia64: rename ioremap_nocache to ioremap_uc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christoph Hellwig <hch@xxxxxx>
- Subject: Re: [PATCH 03/21] ia64: rename ioremap_nocache to ioremap_uc
- From: Arnd Bergmann <arnd@xxxxxxxx>
- Date: Mon, 11 Nov 2019 11:36:22 +0100
- Cc: Guo Ren <guoren@xxxxxxxxxx>, Michal Simek <monstr@xxxxxxxxx>, Greentime Hu <green.hu@xxxxxxxxx>, Vincent Chen <deanbo422@xxxxxxxxx>, Guan Xuetao <gxt@xxxxxxxxxx>, "the arch/x86 maintainers" <x86@xxxxxxxxxx>, alpha <linux-alpha@xxxxxxxxxxxxxxx>, "open list:SYNOPSYS ARC ARCHITECTURE" <linux-snps-arc@xxxxxxxxxxxxxxxxxxx>, Linux ARM <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, "open list:QUALCOMM HEXAGON..." <linux-hexagon@xxxxxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-m68k <linux-m68k@xxxxxxxxxxxxxxx>, linux-mips@xxxxxxxxxxxxxxx, "moderated list:NIOS2 ARCHITECTURE" <nios2-dev@xxxxxxxxxxxxxxxxxxxxxx>, openrisc@xxxxxxxxxxxxxxxxxxxx, Parisc List <linux-parisc@xxxxxxxxxxxxxxx>, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-s390 <linux-s390@xxxxxxxxxxxxxxx>, Linux-sh list <linux-sh@xxxxxxxxxxxxxxx>, sparclinux <sparclinux@xxxxxxxxxxxxxxx>, linux-xtensa@xxxxxxxxxxxxxxxx, linux-mtd <linux-mtd@xxxxxxxxxxxxxxxxxxx>, linux-arch <linux-arch@xxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
- In-reply-to: <20191029064834.23438-4-hch@lst.de>
- References: <20191029064834.23438-1-hch@lst.de> <20191029064834.23438-4-hch@lst.de>
On Tue, Oct 29, 2019 at 7:48 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On ia64 ioremap_nocache fails if attributes don't match. Not other
> architectures does this, and we plan to get rid of ioremap_nocache.
> So get rid of the special semantics and define ioremap_nocache in
> terms of ioremap as no portable driver could rely on the behavior
> anyway.
>
> However x86 implements ioremap_uc in a similar way as the ia64
> version of ioremap_nocache, in that it ignores the firmware tables.
> Switch ia64 to override ioremap_uc instead.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Good idea,
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]