Fwd: [PATCH v5 1/4] sparc64: implement ioremap_uc

From: Tuowen Zhao
Date: Mon Oct 28 2019 - 16:46:05 EST


Adding sparc list. Sorry, first time missed the list.

Looking for some reviews.

Patch set: Fix MTRR bug for intel-lpss-pci
https://lkml.org/lkml/2019/10/16/1230

Tuowen

-------- Forwarded Message --------
From: Tuowen Zhao <ztuowen@xxxxxxxxx>
To: lee.jones@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Cc: andriy.shevchenko@xxxxxxxxxxxxxxx, mika.westerberg@xxxxxxxxxxxxxxx,
acelan.kao@xxxxxxxxxxxxx, mcgrof@xxxxxxxxxx, davem@xxxxxxxxxxxxx,
Tuowen Zhao <ztuowen@xxxxxxxxx>, kbuild test robot <lkp@xxxxxxxxx>
Subject: [PATCH v5 1/4] sparc64: implement ioremap_uc
Date: Wed, 16 Oct 2019 15:06:27 -0600

On sparc64, the whole physical IO address space is accessible using
physically addressed loads and stores. *_uc does nothing like the
others.

Cc: <stable@xxxxxxxxxxxxxxx>
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
Signed-off-by: Tuowen Zhao <ztuowen@xxxxxxxxx>
---
arch/sparc/include/asm/io_64.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/sparc/include/asm/io_64.h
b/arch/sparc/include/asm/io_64.h
index 688911051b44..f4afa301954a 100644
--- a/arch/sparc/include/asm/io_64.h
+++ b/arch/sparc/include/asm/io_64.h
@@ -407,6 +407,7 @@ static inline void __iomem *ioremap(unsigned long
offset, unsigned long size)
}

#define ioremap_nocache(X,Y) ioremap((X),(Y))
+#define ioremap_uc(X,Y) ioremap((X),(Y))
#define ioremap_wc(X,Y) ioremap((X),(Y))
#define ioremap_wt(X,Y) ioremap((X),(Y))

--
2.23.0