[GIT PULL] asm-generic cleanups for 6.8

From: Arnd Bergmann
Date: Wed Jan 10 2024 - 05:19:28 EST


The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.8

for you to fetch changes up to d93cca2f3109f88c94a32d3322ec8b2854a9c339:

asm-generic: Fix 32 bit __generic_cmpxchg_local (2024-01-05 23:19:14 +0100)

----------------------------------------------------------------
asm-generic cleanups for 6.8

A series from Baoquan He cleans up the asm-generic/io.h to remove the
ioremap_uc() definition from everything except x86, which still needs it
for pre-PAT systems. This series notably contains a patch from Jiaxun Yang
that converts MIPS to use asm-generic/io.h like every other architecture
does, enabling future cleanups.

Some of my own patches fix -Wmissing-prototype warnings in architecture
specific code across several architectures. This is now needed as the
warning is enabled by default. There are still some remaining warnings
in minor platforms, but the series should catch most of the widely used
ones make them more consistent with one another.

David McKay fixes a bug in __generic_cmpxchg_local() when this is used
on 64-bit architectures. This could currently only affect parisc64
and sparc64.

Additional cleanups address from Linus Walleij, Uwe Kleine-König,
Thomas Huth, and Kefeng Wang help reduce unnecessary inconsistencies
between architectures.

----------------------------------------------------------------
Arnd Bergmann (10):
Merge branch 'asm-generic-io.h-cleanup' into asm-generic
arch: consolidate arch_irq_work_raise prototypes
arch: fix asm-offsets.c building with -Wmissing-prototypes
arch: include linux/cpu.h for trap_init() prototype
arch: vdso: consolidate gettime prototypes
arch: add missing prepare_ftrace_return() prototypes
arch: add do_page_fault prototypes
csky: fix arch_jump_label_transform_static override
Merge branch 'asm-generic-prototypes' into asm-generic
mips: remove extraneous asm-generic/iomap.h include

Baoquan He (2):
arch/*/io.h: remove ioremap_uc in some architectures
mips: io: remove duplicated codes

David McKay (1):
asm-generic: Fix 32 bit __generic_cmpxchg_local

Jiaxun Yang (1):
mips: add <asm-generic/io.h> including

Kefeng Wang (1):
asm/io: remove unnecessary xlate_dev_mem_ptr() and unxlate_dev_mem_ptr()

Linus Walleij (2):
ARC: mm: Make virt_to_pfn() a static inline
Hexagon: Make pfn accessors statics inlines

Nathan Chancellor (1):
arm64: vdso32: Define BUILD_VDSO32_64 to correct prototypes

Thomas Huth (1):
hexagon: Remove CONFIG_HEXAGON_ARCH_VERSION from uapi header

Uwe Kleine-König (1):
sparc: Use $(kecho) to announce kernel images being ready

Documentation/driver-api/device-io.rst | 9 ++-
arch/alpha/include/asm/io.h | 7 --
arch/alpha/include/asm/mmu_context.h | 2 +
arch/alpha/kernel/asm-offsets.c | 2 +-
arch/alpha/kernel/traps.c | 1 +
arch/arc/include/asm/page.h | 21 ++---
arch/arc/include/asm/pgtable-levels.h | 2 +-
arch/arm/include/asm/io.h | 6 --
arch/arm/include/asm/irq_work.h | 2 -
arch/arm/include/asm/vdso.h | 5 --
arch/arm/vdso/vgettimeofday.c | 1 +
arch/arm64/include/asm/irq_work.h | 2 -
arch/arm64/kernel/vdso32/vgettimeofday.c | 2 +
arch/csky/include/asm/ftrace.h | 4 +
arch/csky/include/asm/irq_work.h | 2 +-
arch/csky/include/asm/jump_label.h | 5 ++
arch/csky/include/asm/traps.h | 2 +-
arch/csky/kernel/traps.c | 1 +
arch/csky/kernel/vdso/vgettimeofday.c | 11 +--
arch/hexagon/include/asm/io.h | 9 ---
arch/hexagon/include/asm/page.h | 15 +++-
arch/hexagon/include/uapi/asm/user.h | 7 +-
arch/hexagon/kernel/ptrace.c | 7 +-
arch/loongarch/kernel/asm-offsets.c | 26 +++----
arch/loongarch/vdso/vgettimeofday.c | 7 +-
arch/m68k/coldfire/vectors.c | 3 +-
arch/m68k/coldfire/vectors.h | 3 -
arch/m68k/include/asm/io_mm.h | 6 --
arch/m68k/include/asm/kmap.h | 1 -
arch/microblaze/include/asm/ftrace.h | 1 +
arch/microblaze/kernel/traps.c | 1 +
arch/mips/include/asm/ftrace.h | 4 +
arch/mips/include/asm/io.h | 128 +++++++++++++++++--------------
arch/mips/include/asm/mmiowb.h | 4 +-
arch/mips/include/asm/smp-ops.h | 2 -
arch/mips/include/asm/smp.h | 4 +-
arch/mips/include/asm/traps.h | 3 +
arch/mips/kernel/setup.c | 1 +
arch/mips/pci/pci-ip27.c | 3 +
arch/mips/vdso/vgettimeofday.c | 1 +
arch/nios2/include/asm/traps.h | 2 +
arch/parisc/include/asm/io.h | 8 --
arch/powerpc/include/asm/io.h | 7 --
arch/powerpc/include/asm/irq_work.h | 1 -
arch/riscv/include/asm/irq_work.h | 2 +-
arch/riscv/kernel/vdso/vgettimeofday.c | 7 +-
arch/s390/include/asm/irq_work.h | 2 -
arch/sh/include/asm/io.h | 9 ---
arch/sh/include/asm/traps_32.h | 3 +
arch/sparc/boot/Makefile | 10 +--
arch/sparc/include/asm/io_64.h | 7 --
arch/sparc/kernel/asm-offsets.c | 6 +-
arch/sparc/kernel/traps_32.c | 1 +
arch/sparc/kernel/traps_64.c | 1 +
arch/x86/entry/vdso/vclock_gettime.c | 10 +--
arch/x86/include/asm/irq_work.h | 1 -
arch/x86/include/asm/traps.h | 1 -
arch/x86/include/asm/vdso/gettimeofday.h | 2 -
arch/x86/kernel/traps.c | 1 +
include/asm-generic/cmpxchg-local.h | 2 +-
include/linux/irq_work.h | 3 +
include/vdso/gettime.h | 23 ++++++
scripts/headers_install.sh | 1 -
63 files changed, 204 insertions(+), 229 deletions(-)
delete mode 100644 arch/m68k/coldfire/vectors.h
create mode 100644 include/vdso/gettime.h