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
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 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
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
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
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
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: Yann Sionneau
Signed-off-by: Julian Vetter
---
Changes for v8:
- Mask the argument with
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 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.
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
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
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
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
15 matches
Mail list logo