[GIT PULL] sh updates for v7.4
From: John Paul Adrian Glaubitz
Date: Sun Oct 25 2026 - 06:03:04 EST
Hi Linus,
this is my pull request with sh updates for v7.4. It contains fixes and improvements
for various boards as well as the generic sh kernel from six different authors.
Dmitry Torokhov has contributed three patches to help the boards mach-x3proto and
ecovec24 get rid off the use of the old platform data API in the kernel. For the
former board, software nodes are being used for gpio-keys now while for the latter
board, static device properties are used to describe the touchscreen.
Florian Fuchs has contributed two fixes for the generic sh kernel, one is a build fix
when CONFIG_BUILTIN_DTB is enabled and the other fixes an issue with __get_user_u64()
and __put_user_u64() using wrong memory operands which could cause the kernel build
to fail with "invalid 'asm'" or an internal compiler error in GCC's change_address_1.
A single patch by Pengpeng Hou updates various default configuration files of several
boards to replace the removed CONFIG_USB_GADGET_M66592 with the new CONFIG_USB_M66592
Kconfig option.
Two patches by Karl Mehltretter fix two issues with the SH-7785LCR evaluation board
which is actually one of the boards I personally use for testing kernel patches.
The first patch fixes a kernel memory leak which occurred as a result of the prio and
sense lists being sorted too early in register_intc_controller() while the second patch
fixes the the registration of the PCA9564 controller so that the RTC works properly
again.
A patch by Runyu Xiao fixes missing cookies when calling free_irq() in the maple bus
driver which ensures that IRQ handlers can be properly unregistered and the kernel does
not emit a WARN message.
Finally, a patch by Waldemar Brodkorb selects BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU
configurations such that there is no gap at the end of text and init runs which causes
the GOT register to point below the real GOT, so every GOT load reads the neighbouring
slot and gets a wrong pointer.
The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:
Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git tags/sh-for-v7.4-tag1
for you to fetch changes up to f45711b39e03ff5e80b60dcc1fd34b3fc7d3d36c:
sh: Select BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU (2026-10-21 19:53:14 +0200)
----------------------------------------------------------------
sh updates for v7.4
- sh: Select BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU
- sh: maple: Use the matching IRQ cookie when invoking free_irq()
- sh: sh7785lcr: Register the PCA9564 controller as I2C bus 0
- sh: intc: Sort the prio and sense lists after filling them
- sh: defconfig: Enable the current M66592 UDC symbol
- sh: uaccess: Require offsettable operands for 64-bit user access
- sh: Fix built-in DTB build with generic rule
- sh: ecovec24: Use static device properties to describe the touchscreen
- sh: mach-x3proto: Convert gpio-keys to software nodes
- sh: mach-x3proto: Add software node for GPIO controller
Thanks for pulling!
Adrian
----------------------------------------------------------------
Dmitry Torokhov (3):
sh: mach-x3proto: Add software node for GPIO controller
sh: mach-x3proto: Convert gpio-keys to software nodes
sh: ecovec24: Use static device properties to describe the touchscreen
Florian Fuchs (2):
sh: Fix built-in DTB build with generic rule
sh: uaccess: Require offsettable operands for 64-bit user access
Karl Mehltretter (2):
sh: intc: Sort the prio and sense lists after filling them
sh: sh7785lcr: Register the PCA9564 controller as I2C bus 0
Pengpeng Hou (1):
sh: defconfig: Enable the current M66592 UDC symbol
Runyu Xiao (1):
sh: maple: Use the matching IRQ cookie when invoking free_irq()
Waldemar Brodkorb (1):
sh: Select BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU
arch/sh/Kconfig | 1 +
arch/sh/boards/board-sh7785lcr.c | 2 +-
arch/sh/boards/mach-ecovec24/setup.c | 38 ++----
arch/sh/boards/mach-x3proto/gpio.c | 15 ++-
arch/sh/boards/mach-x3proto/setup.c | 165 +++++++++++++--------------
arch/sh/boot/dts/Makefile | 2 +-
arch/sh/configs/migor_defconfig | 2 +-
arch/sh/configs/sdk7786_defconfig | 2 +-
arch/sh/configs/shx3_defconfig | 2 +-
arch/sh/include/asm/uaccess_32.h | 8 +-
arch/sh/include/mach-x3proto/mach/hardware.h | 2 +
drivers/sh/intc/core.c | 11 +-
drivers/sh/maple/maple.c | 4 +-
13 files changed, 122 insertions(+), 132 deletions(-)
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913