[GIT PULL 1/8] syscore: Changes for v6.19-rc1

Thierry Reding
2025-11-15T09:00:53Z

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.19-syscore

for you to fetch changes up to a97fbc3ee3e2a536fafaff04f21f45472db71769:

syscore: Pass context data to callbacks (2025-11-14 10:01:52 +0100)

This is a cross-arch/subsystem patch that is a prerequisite for several
subsequent changes that I plan on getting in after v6.19-rc1. This is
purely an API change, so no functional changes are intended.

I've done extensive build testing to make sure all files are covered,
but a last-minute build problem was reported two days ago. This was due
to a #ifdef block for a configuration symbol that wasn't covered. That's
now fixed, but it might be a good idea to give this an extra few days in
next before merging it, just in case there's something else I missed.

Thanks,
Thierry

----------------------------------------------------------------
syscore: Changes for v6.19-rc1

Add a parameter to syscore operations to allow passing contextual data,
which in turn enables refactoring of drivers to make them independent of
global data. This initially only contains the API changes along with the
updates for existing drivers. Subsequent work will make use of this to
improve drivers.

----------------------------------------------------------------
Thierry Reding (1):
syscore: Pass context data to callbacks

arch/arm/mach-exynos/mcpm-exynos.c | 12 +++--
arch/arm/mach-exynos/suspend.c | 48 +++++++++++-------
arch/arm/mach-pxa/generic.h | 6 +--
arch/arm/mach-pxa/irq.c | 10 ++--
arch/arm/mach-pxa/mfp-pxa2xx.c | 10 ++--
arch/arm/mach-pxa/mfp-pxa3xx.c | 10 ++--
arch/arm/mach-pxa/pxa25x.c | 4 +-
arch/arm/mach-pxa/pxa27x.c | 4 +-
arch/arm/mach-pxa/pxa3xx.c | 4 +-
arch/arm/mach-pxa/smemc.c | 12 +++--
arch/arm/mach-s3c/irq-pm-s3c64xx.c | 12 +++--
arch/arm/mach-s5pv210/pm.c | 10 ++--
arch/arm/mach-versatile/integrator_ap.c | 12 +++--
arch/arm/mm/cache-b15-rac.c | 12 +++--
arch/loongarch/kernel/smp.c | 12 +++--
arch/mips/alchemy/common/dbdma.c | 12 +++--
arch/mips/alchemy/common/irq.c | 24 ++++++---
arch/mips/alchemy/common/usb.c | 12 +++--
arch/mips/pci/pci-alchemy.c | 16 +++---
arch/powerpc/platforms/cell/spu_base.c | 10 ++--
arch/powerpc/platforms/powermac/pic.c | 12 +++--
arch/powerpc/sysdev/fsl_lbc.c | 12 +++--
arch/powerpc/sysdev/fsl_pci.c | 12 +++--
arch/powerpc/sysdev/ipic.c | 12 +++--
arch/powerpc/sysdev/mpic.c | 14 ++++--
arch/powerpc/sysdev/mpic_timer.c | 10 ++--
arch/sh/mm/pmb.c | 10 ++--
arch/x86/events/amd/ibs.c | 12 +++--
arch/x86/hyperv/hv_init.c | 12 +++--
arch/x86/kernel/amd_gart_64.c | 10 ++--
arch/x86/kernel/apic/apic.c | 12 +++--
arch/x86/kernel/apic/io_apic.c | 17 +++++--
arch/x86/kernel/cpu/aperfmperf.c | 20 +++++---
arch/x86/kernel/cpu/intel_epb.c | 16 +++---
arch/x86/kernel/cpu/mce/core.c | 14 ++++--
arch/x86/kernel/cpu/microcode/core.c | 15 ++++--
arch/x86/kernel/cpu/mtrr/legacy.c | 12 +++--
arch/x86/kernel/cpu/umwait.c | 10 ++--
arch/x86/kernel/i8237.c | 10 ++--
arch/x86/kernel/i8259.c | 14 ++++--
arch/x86/kernel/kvm.c | 12 +++--
drivers/acpi/pci_link.c | 10 ++--
drivers/acpi/sleep.c | 12 +++--
drivers/base/firmware_loader/main.c | 12 +++--
drivers/base/syscore.c | 82 ++++++++++++++++---------------
drivers/bus/mvebu-mbus.c | 16 +++---
drivers/clk/at91/pmc.c | 12 +++--
drivers/clk/imx/clk-vf610.c | 12 +++--
drivers/clk/ingenic/jz4725b-cgu.c | 2 +-
drivers/clk/ingenic/jz4740-cgu.c | 2 +-
drivers/clk/ingenic/jz4755-cgu.c | 2 +-
drivers/clk/ingenic/jz4760-cgu.c | 2 +-
drivers/clk/ingenic/jz4770-cgu.c | 2 +-
drivers/clk/ingenic/jz4780-cgu.c | 2 +-
drivers/clk/ingenic/pm.c | 14 ++++--
drivers/clk/ingenic/pm.h | 2 +-
drivers/clk/ingenic/tcu.c | 12 +++--
drivers/clk/ingenic/x1000-cgu.c | 2 +-
drivers/clk/ingenic/x1830-cgu.c | 2 +-
drivers/clk/mvebu/common.c | 12 +++--
drivers/clk/rockchip/clk-rk3288.c | 12 +++--
drivers/clk/samsung/clk-s5pv210-audss.c | 12 +++--
drivers/clk/samsung/clk.c | 12 +++--
drivers/clk/tegra/clk-tegra210.c | 12 +++--
drivers/clocksource/timer-armada-370-xp.c | 12 +++--
drivers/cpuidle/cpuidle-psci.c | 12 +++--
drivers/gpio/gpio-mxc.c | 12 +++--
drivers/gpio/gpio-pxa.c | 12 +++--
drivers/gpio/gpio-sa1100.c | 12 +++--
drivers/hv/vmbus_drv.c | 14 ++++--
drivers/iommu/amd/init.c | 16 +++---
drivers/iommu/intel/iommu.c | 12 +++--
drivers/irqchip/exynos-combiner.c | 14 ++++--
drivers/irqchip/irq-armada-370-xp.c | 12 +++--
drivers/irqchip/irq-bcm7038-l1.c | 12 +++--
drivers/irqchip/irq-gic-v3-its.c | 12 +++--
drivers/irqchip/irq-i8259.c | 12 +++--
drivers/irqchip/irq-imx-gpcv2.c | 16 +++---
drivers/irqchip/irq-loongson-eiointc.c | 12 +++--
drivers/irqchip/irq-loongson-htpic.c | 10 ++--
drivers/irqchip/irq-loongson-htvec.c | 12 +++--
drivers/irqchip/irq-loongson-pch-lpc.c | 12 +++--
drivers/irqchip/irq-loongson-pch-pic.c | 12 +++--
drivers/irqchip/irq-mchp-eic.c | 12 +++--
drivers/irqchip/irq-mst-intc.c | 12 +++--
drivers/irqchip/irq-mtk-cirq.c | 12 +++--
drivers/irqchip/irq-renesas-rzg2l.c | 12 +++--
drivers/irqchip/irq-sa11x0.c | 12 +++--
drivers/irqchip/irq-sifive-plic.c | 12 +++--
drivers/irqchip/irq-sun6i-r.c | 18 ++++---
drivers/irqchip/irq-tegra.c | 12 +++--
drivers/irqchip/irq-vic.c | 12 +++--
drivers/leds/trigger/ledtrig-cpu.c | 14 ++++--
drivers/macintosh/via-pmu.c | 12 +++--
drivers/power/reset/sc27xx-poweroff.c | 10 ++--
drivers/sh/clk/core.c | 10 ++--
drivers/sh/intc/core.c | 12 +++--
drivers/soc/bcm/brcmstb/biuctrl.c | 12 +++--
drivers/soc/tegra/pmc.c | 17 ++++---
drivers/thermal/intel/intel_hfi.c | 12 +++--
drivers/xen/xen-acpi-processor.c | 12 +++--
include/linux/syscore_ops.h | 15 ++++--
kernel/cpu_pm.c | 12 +++--
kernel/irq/generic-chip.c | 14 ++++--
kernel/irq/pm.c | 11 +++--
kernel/printk/printk.c | 11 +++--
kernel/time/sched_clock.c | 22 +++++++--
kernel/time/timekeeping.c | 22 +++++++--
virt/kvm/kvm_main.c | 18 ++++---
109 files changed, 898 insertions(+), 470 deletions(-)