mbox series

[GIT,PULL] sh updates for v6.10

Message ID 80eaf34723abe96744f0a9b2859679cc88783433.camel@physik.fu-berlin.de (mailing list archive)
State New
Headers show
Series [GIT,PULL] sh updates for v6.10 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git tags/sh-for-v6.10-tag1

Message

John Paul Adrian Glaubitz May 13, 2024, 10:31 p.m. UTC
Hello Linus,

this is my first larger pull request with a total of 35 changes with the majority
of improvements coming from Geert Uytterhoeven who took the time to fix a total
of 30 cases of "-Wmissing-prototypes" compiler warnings, either by adding a missing
header include, defining the missing forward declarations or making the functions
in question static. In the case of several DMA functions, the fix was to actually
just remove them as they were added but never used. Another one of these warnings
was eliminated by removing the left-over sh5 cache handling support, a change that
was suggested by Yoshinori Sato. While at it, Geert also removed two unneeded casts
to kprobe_opcode_t in the kprobes code.

Another change by Guenter Roeck was contributed to fix errors that were reported during
checksum unit tests. The fix actually reverts the older change cadc4e1a2b4d ("sh: Handle
calling csum_partial with misaligned data") which turned to be incorrect. It remains to
be investigated whether there is a better way to handle misaligned data in csum_partial().

A small fix contributed by Krzysztof Kozlowski drops the incorrect SPI controller
spi-max-frequency property in the device tree source file for the J2 device platform
while Uwe Kleine-König converted the push-switch driver to have its callback function
return void, a change that is currently being applied to all drivers throughout the
kernel in order to avoid resource leaks.

Last but not least, Artur Rojek has fixed the IOPORT base address for the Sega Dreamcast
platform which allows the Linux kernel to be successfully booted on this once popular video
game console for the first time since a long time ago.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git tags/sh-for-v6.10-tag1

for you to fetch changes up to efe976b7eecfa3f81e241da67d1a511e30a87779:

  sh: setup: Add missing forward declaration for sh_fdt_init() (2024-05-13 15:37:11 +0200)

Thanks for pulling!

Adrian

----------------------------------------------------------------
sh updates for v6.10

- sh: setup: Add missing forward declaration for sh_fdt_init()
- sh: smp: Protect setup_profiling_timer() by CONFIG_PROFILING
- sh: of-generic: Add missing #include <asm/clock.h>
- sh: dreamcast: Fix GAPS PCI bridge addressing
- sh: boot: Add proper forward declarations
- sh: boot: Remove sh5 cache handling
- Revert "sh: Handle calling csum_partial with misaligned data"
- sh: j2: Drop incorrect SPI controller spi-max-frequency property
- sh: push-switch: Convert to platform remove callback returning void
- sh: sh7785lcr: Make init_sh7785lcr_IRQ() static
- sh: sh7757: Add missing #include <asm/mmzone.h>
- sh: sh7757lcr: Make init_sh7757lcr_IRQ() static
- sh: mach-sh03: Make sh03_rtc_settimeofday() static
- sh: mach-highlander: Add missing #include <mach/highlander.h>
- sh: traps: Make is_dsp_inst() static
- sh: cache: Move forward declarations to <asm/cacheflush.h>
- sh: dma: Remove unused functionality
- sh: dwarf: Make dwarf_lookup_fde() static
- sh: kprobes: Remove unneeded kprobe_opcode_t casts
- sh: kprobes: Make trampoline_probe_handler() static
- sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
- sh: smp: Fix missing prototypes
- sh: sh7786: Remove unused sh7786_usb_use_exclock()
- sh: sh2a: Add missing #include <asm/processor.h>
- sh: dma: Remove unused dmac_search_free_channel()
- sh: math-emu: Add missing #include <asm/fpu.h>
- sh: nommu: Add missing #include <asm/cacheflush.h>
- sh: ftrace: Fix missing prototypes
- sh: hw_breakpoint: Add missing forward declaration for arch_bp_generic_fields()
- sh: traps: Add missing #include <asm/setup.h>
- sh: return_address: Add missing #include <asm/ftrace.h>
- sh: tlb: Add missing forward declaration for handle_tlbmiss()
- sh: syscall: Add missing forward declaration for sys_cacheflush()
- sh: fpu: Add missing forward declarations
- sh: pgtable: Fix missing prototypes

----------------------------------------------------------------
Artur Rojek (1):
      sh: dreamcast: Fix GAPS PCI bridge addressing

Geert Uytterhoeven (31):
      sh: pgtable: Fix missing prototypes
      sh: fpu: Add missing forward declarations
      sh: syscall: Add missing forward declaration for sys_cacheflush()
      sh: tlb: Add missing forward declaration for handle_tlbmiss()
      sh: return_address: Add missing #include <asm/ftrace.h>
      sh: traps: Add missing #include <asm/setup.h>
      sh: hw_breakpoint: Add missing forward declaration for arch_bp_generic_fields()
      sh: ftrace: Fix missing prototypes
      sh: nommu: Add missing #include <asm/cacheflush.h>
      sh: math-emu: Add missing #include <asm/fpu.h>
      sh: dma: Remove unused dmac_search_free_channel()
      sh: sh2a: Add missing #include <asm/processor.h>
      sh: sh7786: Remove unused sh7786_usb_use_exclock()
      sh: smp: Fix missing prototypes
      sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
      sh: kprobes: Make trampoline_probe_handler() static
      sh: kprobes: Remove unneeded kprobe_opcode_t casts
      sh: dwarf: Make dwarf_lookup_fde() static
      sh: dma: Remove unused functionality
      sh: cache: Move forward declarations to <asm/cacheflush.h>
      sh: traps: Make is_dsp_inst() static
      sh: mach-highlander: Add missing #include <mach/highlander.h>
      sh: mach-sh03: Make sh03_rtc_settimeofday() static
      sh: sh7757lcr: Make init_sh7757lcr_IRQ() static
      sh: sh7757: Add missing #include <asm/mmzone.h>
      sh: sh7785lcr: Make init_sh7785lcr_IRQ() static
      sh: boot: Remove sh5 cache handling
      sh: boot: Add proper forward declarations
      sh: of-generic: Add missing #include <asm/clock.h>
      sh: smp: Protect setup_profiling_timer() by CONFIG_PROFILING
      sh: setup: Add missing forward declaration for sh_fdt_init()

Guenter Roeck (1):
      Revert "sh: Handle calling csum_partial with misaligned data"

Krzysztof Kozlowski (1):
      sh: j2: Drop incorrect SPI controller spi-max-frequency property

Uwe Kleine-König (1):
      sh: push-switch: Convert to platform remove callback returning void

 arch/sh/Kconfig                                 |   3 +-
 arch/sh/boards/board-sh7757lcr.c                |   2 +-
 arch/sh/boards/board-sh7785lcr.c                |   2 +-
 arch/sh/boards/mach-dreamcast/setup.c           |   3 +
 arch/sh/boards/mach-highlander/pinmux-r7785rp.c |   1 +
 arch/sh/boards/mach-sh03/rtc.c                  |   2 +-
 arch/sh/boards/of-generic.c                     |   2 +
 arch/sh/boot/compressed/Makefile                |   2 +-
 arch/sh/boot/compressed/cache.c                 |  13 ---
 arch/sh/boot/compressed/misc.c                  |   9 +-
 arch/sh/boot/compressed/misc.h                  |   9 ++
 arch/sh/boot/dts/j2_mimas_v2.dts                |   2 -
 arch/sh/drivers/dma/dma-api.c                   | 143 ------------------------
 arch/sh/drivers/push-switch.c                   |   6 +-
 arch/sh/include/asm/cacheflush.h                |  12 ++
 arch/sh/include/asm/dma.h                       |   7 --
 arch/sh/include/asm/fpu.h                       |   3 +
 arch/sh/include/asm/ftrace.h                    |  10 ++
 arch/sh/include/asm/hw_breakpoint.h             |   2 +
 arch/sh/include/asm/setup.h                     |   1 +
 arch/sh/include/asm/syscalls.h                  |   1 +
 arch/sh/include/asm/tlb.h                       |   4 +
 arch/sh/kernel/cpu/sh2a/opcode_helper.c         |   2 +
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c          |   3 +
 arch/sh/kernel/cpu/sh4a/setup-sh7724.c          |   1 +
 arch/sh/kernel/cpu/sh4a/setup-sh7757.c          |   3 +
 arch/sh/kernel/cpu/sh4a/setup-sh7786.c          |  14 ---
 arch/sh/kernel/dwarf.c                          |   2 +-
 arch/sh/kernel/kprobes.c                        |  13 +--
 arch/sh/kernel/return_address.c                 |   2 +
 arch/sh/kernel/smp.c                            |   6 +-
 arch/sh/kernel/traps.c                          |  10 +-
 arch/sh/kernel/traps_32.c                       |   5 +-
 arch/sh/lib/checksum.S                          |  67 +++--------
 arch/sh/math-emu/math.c                         |   2 +
 arch/sh/mm/cache-sh4.c                          |   2 -
 arch/sh/mm/cache-shx3.c                         |   1 +
 arch/sh/mm/cache.c                              |  14 ---
 arch/sh/mm/nommu.c                              |   2 +
 arch/sh/mm/pgtable.c                            |   4 +-
 arch/sh/mm/tlbex_32.c                           |   1 +
 41 files changed, 111 insertions(+), 282 deletions(-)
 delete mode 100644 arch/sh/boot/compressed/cache.c
 create mode 100644 arch/sh/boot/compressed/misc.h

Comments

pr-tracker-bot@kernel.org May 14, 2024, 6:41 p.m. UTC | #1
The pull request you sent on Tue, 14 May 2024 00:31:27 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git tags/sh-for-v6.10-tag1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c59cebe8ff779df029d19e5525d4557fd70a769b

Thank you!