d-off-by: Julian Vetter
---
Changes for v8:
- New patch
---
drivers/bus/mhi/ep/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bus/mhi/ep/Kconfig b/drivers/bus/mhi/ep/Kconfig
index 90ab3b040672..dba95fb95eeb 100644
--- a/drivers/bus/mhi/ep/Kconfig
+++ b/drivers/bus/mhi/ep/Kc
value is checked, At the same time they serve as generic
memcpy_{from,to}io and memset_io functions, without a return value.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- New patch
---
arch/s390/include/asm/io.h | 27 +++
arch/s390/in
When building for the UM arch and neither INDIRECT_IOMEM=y, nor
HAS_IOMEM=y is selected, the build fails because the memcpy_fromio and
memcpy_toio functions are not defined. Fix it here by depending on
HAS_IOMEM or INDIRECT_IOMEM.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
Align the prototypes of the memcpy_{from,to}io and memset_io functions
with the new ones from iomap_copy.c.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- New patch
---
arch/powerpc/include/asm/io-defs.h | 6 +++---
arch/powerpc/include/asm/io.h | 6
Align the prototypes of the memcpy_{from,to}io and memset_io functions
with the new ones from iomap_copy.c.
Reviewed-by: Geert Uytterhoeven
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- No changes
---
arch/m68k/include/asm/kmap.h | 8
1 file changed, 4
Align prototype of the memset_io function with the new one from
iomap_copy.c
Reviewed-by: Geert Uytterhoeven
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- No changes
---
arch/arm/include/asm/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Align the prototypes of the memcpy_{from,to}io and memset_io functions
with the new ones from iomap_copy.c and remove function declarations,
because they are now declared in asm-generic/io.h.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- Mask the argument with
Use the generic memcpy_{from,to}io and memset_io functions on the
arm64 processor architecture.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- No changes
---
arch/arm64/include/asm/io.h | 11 -
arch/arm64/kernel/io.c | 87
resolve this, I implemented three wrapper functions and added
defines to overwrite the default. So, on s390 we always use the fast
zpci operations and don't fall back to the generic ones.
Signed-off-by: Julian Vetter
---
Changes for v8:
- Dropped the arch/um patch that adds dummy implementations for I
Align the prototypes of the memcpy_{from,to}io and memset_io functions
with the new ones from iomap_copy.c and remove function declarations,
because they are now declared in asm-generic/io.h.
Reviewed-by: Geert Uytterhoeven
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes
Align the prototypes of the memcpy_{from,to}io and memset_io functions
with the new ones from iomap_copy.c and remove function declarations,
because they are now declared in asm-generic/io.h.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- Mask the argument with
Various architectures have almost the same implementations for
memcpy_{to,from}io and memset_io functions. So, consolidate them
into the existing lib/iomap_copy.c.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- Replaced shifts by 'qc *= ~0UL / 0xff'
- Mo
Use the generic memcpy_{from,to}io and memset_io functions on the
loongarch processor architecture.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- No changes
---
arch/loongarch/include/asm/io.h | 10
arch/loongarch/kernel/Makefile | 2 +-
arch/loongarch
Use the generic memcpy_{from,to}io and memset_io functions on the csky
processor architecture.
Reviewed-by: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- No changes
---
arch/csky/include/asm/io.h | 11 -
arch/csky/kernel/Makefile | 2 +-
arch/csky/kernel/io.c | 91
ff-by: Julian Vetter
---
Changes for v8:
- New patch
---
drivers/mtd/chips/Kconfig | 4
drivers/mtd/lpddr/Kconfig | 1 +
2 files changed, 5 insertions(+)
diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig
index 19726ebd973d..78afe7ccf005 100644
--- a/drivers/mtd/chips/Kconfig
, but later went through several iterations which
subsequently removed them. While the _memcpy_fromio and ins{b,l,w}
functions stayed with the old implementation.
Signed-off-by: Julian Vetter
---
Changes for v2:
- Removed eieio() calls also from other functions in io.c
- Rephrased commit message
On 1/28/25 15:16, Christophe Leroy wrote:
Le 28/01/2025 à 14:57, Julian Vetter a écrit :
Remove the eieio() calls in _memcpy_fromio, to bring its implementation
closer to the one from lib/iomem_copy.c. These eieio() calls don't seem
to be necessary, because the _memcpy_toio completely
Remove the eieio() calls in _memcpy_fromio, to bring its implementation
closer to the one from lib/iomem_copy.c. These eieio() calls don't seem
to be necessary, because the _memcpy_toio completely omits them. Also
the legacy code from ppc was not doing them.
Signed-off-by: Julian V
On 29.01.25 12:14, Segher Boessenkool wrote:
On Wed, Jan 29, 2025 at 10:45:10AM +0100, Julian Vetter wrote:
Remove the eieio() calls in IO functions for PowerPC. While other
architectures permit prefetching, combining, and reordering, the eieio()
calls on PowerPC prevent such optimizations
19 matches
Mail list logo