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
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAmZCiuwACgkQdCY7N/W1
 +RO1xA/+OSBo0VVSDxpMWnIlnhjzpOhg/cWjPWEV7PpYmCTac/KfpCkI63G9+O3o
 kYwmYiTWoryk6TQEUFZl3+aw0wbPQrv/ME6IBWKTCzOfZTgcHmHH3P6Am+TghqT/
 d5YIPe1bbyph5qr5Ou+SeFPXgYoTEDTWrtBMyIDORayfH7N9uoSTW3jxg1mHueku
 NLDdDvRGLR142AJXqSjYLBMJ5BAtjHZvoqcI+9PRVh5HuoTdR6vHYeoZzqOoh7z0
 ud/xDM2dbYjf3IxqpVArQVr9YpNRgWgbXVpELLAxCQUHmI3SoE8EijKGp5hxnQ9c
 clf7CTXFp898QgFFumEXD4Z58jed7eIfnmRKAyKBGm2e4N7bD/EKDD3TqmTJHLE7
 DDABQaqFb6vWPmvXl/Abs14+79lErUaZIh9EekAWbaIf+bRDYYUuL2f+4+GYj4/Z
 iQxS89yv35Bi2c63aE32IHHGSTFEvuVqwcyqe1tCpyK1ImhOaOVOOtYkCXfG/iEx
 trSEOEdDkU6nr8MsZkpqeIs2ulXccJMpoxpGhofz3ImwvukzEdNolnkJnBZ79xwc
 r6h5muKK8ZAtmzFHVhbcxeJy7UJAK1b4iLVDvhCaAVxWcrXSt9T4xbC83F6z7iQ2
 t6/fIkRDy7+ISTKdTB/eHr8Zz2+R9puAqz4gzXb33LFm9/8Zyq0=
 =UlIL
 -----END PGP SIGNATURE-----

Merge tag 'sh-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux

Pull sh updates from John Paul Adrian Glaubitz:
 "The majority of improvements are 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 and, finally,
  the last of these warnings was fixed by guarding the function
  setup_profiling_timer() with CONFIG_PROFILING.

  While at it, Geert also removed two unneeded casts to kprobe_opcode_t
  in the kprobes code.

  Another change was contributed by Guenter Roeck to fix errors that
  were reported during checksum unit tests. The fix actually reverts the
  older change cadc4e1a2b ("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"

* tag 'sh-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux: (35 commits)
  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
  ...
This commit is contained in:
Linus Torvalds 2024-05-14 11:24:29 -07:00
commit c59cebe8ff
41 changed files with 111 additions and 282 deletions