---
Changes for v8:
- Mask the argument with 0xff because now it's an int and not a u8
anymore
Reviewed-by: Richard Henderson
r~
---
arch/alpha/include/asm/io.h | 6 ++
arch/alpha/kernel/io.c | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/alpha/in
On 9/30/24 06:23, Julian Vetter wrote:
+void memset_io(volatile void __iomem *dst, int c, size_t count)
+{
+ uintptr_t qc = (u8)c;
Missed one change to 'long'
+
+ qc |= qc << 8;
+ qc |= qc << 16;
+
+#ifdef CONFIG_64BIT
+ qc |= qc << 32;
+#endif
Could be 'qc *= -1ul /
On 9/30/24 06:23, Julian Vetter wrote:
-void memset_io(volatile void __iomem *addr, unsigned char val, int count)
+void memset_io(volatile void __iomem *addr, int val, size_t count)
{
u32 val32 = (val << 24) | (val << 16) | (val << 8) | val;
Mask of val now required.
r~
On 9/30/24 06:23, Julian Vetter wrote:
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
---
Cha
On 6/14/23 01:39, Thomas Gleixner wrote:
Everything is converted over to arch_cpu_finalize_init(). Remove the
check_bugs() leftovers including the empty stubs in asm-generic, alpha,
parisc, powerpc and xtensa.
Signed-off-by: Thomas Gleixner
Cc: Richard Henderson
Cc: "James E.J. Bottomle