2019-10-28 22:31:49

by Tuowen Zhao

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

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 <[email protected]>
To: [email protected], [email protected]
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected],
Tuowen Zhao <[email protected]>, kbuild test robot <[email protected]>
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: <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Tuowen Zhao <[email protected]>
---
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



2019-10-29 06:55:42

by David Miller

[permalink] [raw]
Subject: Re: [PATCH v5 1/4] sparc64: implement ioremap_uc

From: Tuowen Zhao <[email protected]>
Date: Mon, 28 Oct 2019 14:46:00 -0600

> 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 <[email protected]>
> To: [email protected], [email protected]
> Cc: [email protected], [email protected],
> [email protected], [email protected], [email protected],
> Tuowen Zhao <[email protected]>, kbuild test robot <[email protected]>
> 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: <[email protected]>
> Reported-by: kbuild test robot <[email protected]>
> Signed-off-by: Tuowen Zhao <[email protected]>

Acked-by: David S. Miller <[email protected]>

2019-11-11 08:42:08

by Lee Jones

[permalink] [raw]
Subject: Re: Fwd: [PATCH v5 1/4] sparc64: implement ioremap_uc

On Mon, 28 Oct 2019, Tuowen Zhao wrote:

> 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

Applied, thanks.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog