aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2 daysMerge branch 'pwrseq/for-next' of ↵Mark Brown1-1/+1
https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
2 daysMerge branch 'for-next/kspp' of ↵Mark Brown4-2/+78
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
2 daysMerge branch 'bitmap-for-next' of https://github.com/norov/linux.gitMark Brown10-21/+21
2 daysMerge branch 'master' of ↵Mark Brown1-1/+2
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git
2 daysMerge branch 'slab/for-next' of ↵Mark Brown2-12/+9
https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git
2 daysMerge branch 'next' of ↵Mark Brown2-21/+32
https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
2 daysMerge branch 'mhi-next' of ↵Mark Brown2-15/+32
https://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git
2 daysMerge branch 'for-next' of ↵Mark Brown3-6/+3
https://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay.git
2 daysMerge branch 'for-next' of ↵Mark Brown9-25/+166
https://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-48/+79
https://git.kernel.org/pub/scm/linux/kernel/git/srini/slimbus.git
2 daysMerge branch 'ntb-next' of https://github.com/jonmason/ntb.gitMark Brown1-1/+1
2 daysMerge branch 'at24/for-next' of ↵Mark Brown1-31/+31
https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
2 daysMerge branch 'rtc-next' of ↵Mark Brown1-2/+1
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git
2 daysMerge branch 'kunit' of ↵Mark Brown1-6/+40
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
2 daysMerge branch 'pwm/for-next' of ↵Mark Brown11-39/+332
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git
2 daysMerge branch 'renesas-pinctrl' of ↵Mark Brown3-14/+18
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-1/+2
https://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel.git
2 daysMerge branch 'for-next' of ↵Mark Brown115-892/+12563
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
2 daysMerge branch 'gpio/for-next' of ↵Mark Brown46-696/+960
https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown6-73/+234
https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown9-100/+83
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
2 daysMerge branch 'for-next' of ↵Mark Brown25-109/+615
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git
2 daysMerge branch 'next' of ↵Mark Brown4-5/+66
https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git
2 daysMerge branch 'counter-next' of ↵Mark Brown1-32/+18
https://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter.git
2 daysMerge branch 'staging-next' of ↵Mark Brown129-2809/+1552
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
2 daysMerge branch 'spmi-next' of ↵Mark Brown2-32/+114
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-2/+2
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-w1.git
2 daysMerge branch 'next' of https://github.com/awilliam/linux-vfio.gitMark Brown7-84/+50
2 daysMerge branch 'next' of ↵Mark Brown6-64/+71
https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git
2 daysMerge branch 'next' of ↵Mark Brown38-1327/+2596
https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git
2 daysMerge branch 'for-next' of https://codeberg.org/linux-nfc/linux.gitMark Brown2-3/+4
2 daysMerge branch 'togreg' of ↵Mark Brown308-4027/+5890
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git # Conflicts: # drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
2 daysMerge branch 'icc-next' of ↵Mark Brown8-20/+6647
https://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git
2 daysMerge branch 'for-next' of ↵Mark Brown6-18/+291
https://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-30/+63
https://git.kernel.org/pub/scm/linux/kernel/git/srini/fastrpc.git
2 daysMerge branch 'next' of ↵Mark Brown15-512/+914
https://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git
2 daysMerge branch 'char-misc-next' of ↵Mark Brown83-2263/+728
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git # Conflicts: # drivers/gpib/cb7210/cb7210.c
2 daysMerge branch 'tty-next' of ↵Mark Brown34-7474/+2633
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
2 daysMerge branch 'usb-next' of ↵Mark Brown45-110/+20
https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git
2 daysMerge branch 'next' of ↵Mark Brown28-911/+3504
https://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git # Conflicts: # drivers/thunderbolt/property.c
2 daysMerge branch 'usb-next' of ↵Mark Brown75-710/+1274
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
2 daysMerge branch 'driver-core-next' of ↵Mark Brown33-182/+262
https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
2 daysMerge branch 'for-next' of https://github.com/cminyard/linux-ipmi.gitMark Brown6-20/+12
2 daysMerge branch 'for-leds-next' of ↵Mark Brown22-90/+1566
https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git
2 daysMerge branch 'for-firmware-next' of ↵Mark Brown1-5/+12
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown9-59/+147
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown38-361/+2799
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
2 daysMerge branch 'for-next' of ↵Mark Brown5-8/+8
https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git
2 daysMerge branch 'next' of https://github.com/kvm-x86/linux.gitMark Brown1-8/+93
# Conflicts: # arch/x86/include/asm/tdx.h
2 daysMerge branch 'next' of ↵Mark Brown1-5/+8
https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git
2 daysMerge branch 'for-next' of ↵Mark Brown2-2/+3
https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
2 daysMerge branch 'edac-for-next' of ↵Mark Brown23-578/+1058
https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git
2 daysMerge branch 'timers/drivers/next' of ↵Mark Brown1-19/+65
https://git.kernel.org/pub/scm/linux/kernel/git/daniel.lezcano/linux.git
2 daysMerge branch 'master' of ↵Mark Brown49-548/+2372
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git # Conflicts: # drivers/cpufreq/Kconfig.x86 # drivers/cpufreq/Makefile
2 daysMerge branch 'for-next' of ↵Mark Brown84-1155/+1468
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git # Conflicts: # drivers/acpi/acpi_apd.c
2 daysMerge branch 'for-next' of ↵Mark Brown6-28/+130
https://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox.git
2 daysMerge branch 'for-next' of ↵Mark Brown5-29/+95
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
2 daysMerge branch 'next' of ↵Mark Brown27-678/+1772
https://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git
2 daysMerge branch 'watchdog-next' of ↵Mark Brown22-1041/+1100
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
2 daysMerge branch 'for-next-tpm' of ↵Mark Brown5-23/+37
https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git
2 daysMerge branch 'master' of git://git.code.sf.net/p/tomoyo/tomoyo.gitMark Brown3-4/+20
2 daysMerge branch 'for-next' of ↵Mark Brown8-409/+655
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
2 daysMerge branch 'for-backlight-next' of ↵Mark Brown4-1/+387
https://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git
2 daysMerge branch 'for-mfd-next' of ↵Mark Brown31-1354/+1014
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
2 daysMerge branch 'next' of ↵Mark Brown14-55/+311
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
2 daysMerge branch 'for-next' of ↵Mark Brown6-29/+50
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
2 daysMerge branch 'for-next' of ↵Mark Brown11-304/+1069
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
2 daysMerge branch 'for-next' of ↵Mark Brown29-322/+3413
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git
2 daysMerge branch 'next' of ↵Mark Brown10-466/+114
https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
2 daysMerge branch 'for-next' of ↵Mark Brown2-0/+39
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-142/+219
https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-4/+64
https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
2 daysMerge branch 'for-next' of ↵Mark Brown1-1/+1
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
2 daysMerge branch 'for-next' of ↵Mark Brown53-1752/+444
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git
2 daysMerge branch 'for-linux-next' of ↵Mark Brown42-913/+2478
https://gitlab.freedesktop.org/drm/rust/kernel.git # Conflicts: # rust/kernel/alloc/kbox.rs
2 daysMerge branch 'drm-xe-next' of https://gitlab.freedesktop.org/drm/xe/kernel.gitMark Brown20-334/+671
2 daysMerge branch 'msm-next' of https://gitlab.freedesktop.org/drm/msm.gitMark Brown25-796/+693
2 daysMerge branch 'for-linux-next' of ↵Mark Brown58-834/+1185
https://gitlab.freedesktop.org/drm/i915/kernel.git
2 daysMerge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux.gitMark Brown70-743/+3159
2 daysMerge branch 'for-linux-next' of ↵Mark Brown64-333/+1236
https://gitlab.freedesktop.org/drm/misc/kernel.git
2 daysMerge branch 'drm-next' of https://gitlab.freedesktop.org/drm/kernel.gitMark Brown1428-22343/+120661
# Conflicts: # drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2 daysMerge branch 'master' of ↵Mark Brown84-1505/+1304
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
2 daysMerge branch 'spi-nor/next' of ↵Mark Brown7-89/+496
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
2 daysMerge branch 'nand/next' of ↵Mark Brown17-200/+486
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
2 daysMerge branch 'mtd/next' of ↵Mark Brown24-1392/+76
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
2 daysMerge branch 'next' of ↵Mark Brown3-3/+7
https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next.git
2 daysMerge branch 'master' of ↵Mark Brown13-2351/+253
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git
2 daysMerge branch 'for-next' of ↵Mark Brown3-6/+80
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
2 daysMerge branch 'main' of ↵Mark Brown480-12140/+27803
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
2 daysMerge branch 'for-next' of ↵Mark Brown93-1079/+1858
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
2 daysMerge branch 'devel' into for-nextLinus Walleij113-853/+12556
2 dayspinctrl: max77620: Unify usage of space and comma in platform_device_id arrayUwe Kleine-König (The Capable Hub)1-3/+3
The most accepted style for the array terminator is to use a single space between the curly braces and no trailing comma. Also don't use a comma directly before a closing brace in the other entries. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
2 dayspinctrl: Use named initializers for platform_device_id arraysUwe Kleine-König (The Capable Hub)5-19/+19
Named initializers are better readable and more robust to changes of the struct definition. This robustness is relevant for a planned change to struct platform_device_id replacing .driver_data by an anonymous unit. While touching these arrays unify spacing and usage of commas. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas Signed-off-by: Linus Walleij <linusw@kernel.org>
2 dayspinctrl: qcom: Replace open coded eoi call with irq_chip_eoi_parent()Maulik Shah1-4/+2
Before commit 14dbe186b9d4 ("pinctrl: msmgpio: Make the irqchip immutable") msm gpio irqchip conditionally initialized pctrl->irq_chip.irq_eoi to irq_chip_eoi_parent() only for the GPIO irqs having a wakeup capable irq. In order to make gpio irqchip immutable pctrl->irq_chip.irq_eoi is initialized to msm_gpio_irq_eoi() which now gets invoked for both wake up and non-wakeup capable GPIO IRQs. Replace open coded eoi call to parent irqchip with irq_chip_eoi_parent(). Since the irq_chip_*_parent() APIs internally do not check the valid parent data is present to ensure irq_chip_eoi_parent() is only invoked for wakeup capable GPIOs validate d->parent_data within msm_gpio_irq_eoi(). For non wakeup capable GPIOs d->parent_data will be NULL since parent irqchip diconnects hierarchy using irq_domain_disconnect_hierarchy() and later irq framework trims hierarchy using irq_domain_trim_hierarchy() which makes d->parent_data as NULL. No functional impact. Reviewed-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
2 daysRevert "pinctrl-amd: enable IRQ for WACF2200 touchscreen on Lenovo Yoga 7 ↵Hardik Prakash1-35/+0
14AGP11" This reverts commit 3812a9e84265a5cdd90d29fe8d97a023e91fb945. The probe ordering fix in the following patch ensures amd_gpio_probe() completes before i2c-designware probes AMDI0010:02, allowing the existing amd_gpio_irq_enable() flow to work correctly. The manual IRQ restoration added by this patch is therefore no longer needed. Link: https://bugzilla.kernel.org/show_bug.cgi?id=221494 Signed-off-by: Hardik Prakash <hardikprakash.official@gmail.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Fixes: 3812a9e84265a ("pinctrl-amd: enable IRQ for WACF2200 touchscreen on Lenovo Yoga 7 14AGP11") Signed-off-by: Linus Walleij <linusw@kernel.org>
2 dayspinctrl: meson: support amlogic A9 SoCXianwei Zhao1-5/+56
In Amlogic A9 SoC, subordinate bank reuse other master bank is not from bit0, and subordinate bank reuse multi master banks. This submission implements this situation. Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
2 dayspinctrl: tegra238: remove unused entriesArnd Bergmann1-96/+0
The -Wunused-const-variable check points out a number of added entries that are currently not referenced: drivers/pinctrl/tegra/pinctrl-tegra238.c:1169:27: error: 'soc_gpio86_phh3_pins' defined but not used [-Werror=unused-const-variable=] 1169 | static const unsigned int soc_gpio86_phh3_pins[] = { | ^~~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra238.c:1165:27: error: 'uart5_cts_phh2_pins' defined but not used [-Werror=unused-const-variable=] 1165 | static const unsigned int uart5_cts_phh2_pins[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/pinctrl/tegra/pinctrl-tegra238.c:1161:27: error: 'uart5_rts_phh1_pins' defined but not used [-Werror=unused-const-variable=] 1161 | static const unsigned int uart5_rts_phh1_pins[] = { | ^~~~~~~~~~~~~~~~~~~ Remove them for now, they can just be added back if they get used in the future. Fixes: 25cac7292d49 ("pinctrl: tegra: Add Tegra238 pinmux driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linusw@kernel.org>
2 daysMerge branch 'opp/linux-next' of ↵Mark Brown2-4/+4
https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git
2 daysMerge branch 'next' of ↵Mark Brown2-1/+181
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
2 daysMerge branch 'devfreq-next' of ↵Mark Brown3-52/+25
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
2 daysMerge branch 'cpufreq/arm/linux-next' of ↵Mark Brown5-23/+41
https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git
2 daysMerge branch 'linux-next' of ↵Mark Brown173-1037/+1076
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
2 daysMerge branch 'next' of git://linuxtv.org/media-ci/media-pending.gitMark Brown468-10838/+19374
2 daysMerge branch 'hwmon-next' of ↵Mark Brown208-852/+2725
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
2 daysMerge branch 'i3c/next' of ↵Mark Brown4-18/+55
https://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux.git
2 daysMerge branch 'i2c/i2c-host' of ↵Mark Brown20-204/+774
https://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown19-53/+2025
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
2 daysMerge branch 'next' of ↵Mark Brown63-890/+2417
https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
2 daysMerge branch 'fs-next' of linux-nextMark Brown3-20/+13
# Conflicts: # fs/btrfs/defrag.c
2 daysMerge branch 'for-next' of ↵Mark Brown7-11/+25
https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
2 daysMerge branch 'riscv-soc-for-next' of ↵Mark Brown4-0/+2461
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown3-25/+24
https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git
2 daysMerge branch 'renesas-clk' of ↵Mark Brown8-53/+32
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
2 daysMerge branch 'clk-next' of ↵Mark Brown24-159/+901
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
2 daysMerge branch 'for-next' of https://github.com/Xilinx/linux-xlnx.gitMark Brown5-28/+303
2 daysMerge branch 'ti-next' of ↵Mark Brown9-115/+355
https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown15-299/+475
https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git
2 daysMerge branch 'next' of ↵Mark Brown6-144/+99
https://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git
2 daysMerge branch 'sunxi/for-next' of ↵Mark Brown3-81/+122
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git
2 daysMerge branch 'for-linux-next' of ↵Mark Brown20-220/+851
https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown11-71/+373
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown5-6/+42
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
2 daysMerge branch 'next' of ↵Mark Brown2-2/+43
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git
2 daysMerge branch 'for-next' of ↵Mark Brown22-117/+8117
https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown3-8/+16
https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown9-1/+2177
https://git.kernel.org/pub/scm/linux/kernel/git/frank.li/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown18-355/+2749
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git
2 daysMerge branch 'next' of https://github.com/Broadcom/stblinux.gitMark Brown2-43/+50
2 daysMerge branch 'for-next' of ↵Mark Brown4-4/+3
https://git.kernel.org/pub/scm/linux/kernel/git/bmc/linux.git
2 daysMerge branch 'at91-next' of ↵Mark Brown6-14/+14
https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git
2 daysMerge branch 'for-next' of ↵Mark Brown20-452/+531
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
2 daysMerge branch 'for-next/core' of ↵Mark Brown2-5/+22
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
2 daysMerge branch 'dma-mapping-for-next' of ↵Mark Brown1-4/+6
https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git
2 daysipmi:ssif: Drop unused assignment of platform_device_id driver dataUwe Kleine-König (The Capable Hub)1-1/+1
The driver explicitly set the .driver_data member of struct platform_device_id to zero without relying on that value. Drop this unused assignments. While touching this array use a named initializer for assigning .name. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Message-ID: <5966a65daf432613a58af373af79c9c4421b3985.1780052427.git.u.kleine-koenig@baylibre.com> Signed-off-by: Corey Minyard <corey@minyard.net>
2 daysMerge branch 'mm-nonmm-unstable' of ↵Mark Brown1-15/+15
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
2 daysMerge branch 'mm-unstable' of ↵Mark Brown5-55/+39
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
2 daysMerge branch 'mm-nonmm-stable' of ↵Mark Brown8-37/+14
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
2 daysMerge branch 'mm-stable' of ↵Mark Brown2-2/+8
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
3 daysMerge branch 'for-linux-next-fixes' of ↵Mark Brown6-25/+132
https://gitlab.freedesktop.org/drm/misc/kernel.git
3 daysMerge branch 'clk-fixes' of ↵Mark Brown3-4/+4
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
3 daysMerge branch 'i2c/i2c-host-fixes' of ↵Mark Brown1-1/+1
https://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git
3 daysMerge branch 'for-rc' of ↵Mark Brown1-1/+1
https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git
3 daysMerge branch 'fixes' of ↵Mark Brown1-4/+15
https://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git
3 daysMerge branch 'riscv-soc-fixes' of ↵Mark Brown1-2/+4
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git
3 daysMerge branch 'hyperv-fixes' of ↵Mark Brown12-103/+196
https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
3 daysMerge branch 'fixes' of ↵Mark Brown6-26/+61
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
3 daysMerge branch 'drm-fixes' of https://gitlab.freedesktop.org/drm/kernel.gitMark Brown20-247/+207
3 daysMerge branch 'fixes' of ↵Mark Brown11-58/+155
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
3 daysMerge branch 'dt/linus' of ↵Mark Brown1-1/+1
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
3 daysMerge branch 'fixes' of ↵Mark Brown2-44/+100
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git
3 daysMerge branch 'fixes' of ↵Mark Brown5-17/+35
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
3 daysMerge branch 'fixes' of git://linuxtv.org/media-ci/media-pending.gitMark Brown2-9/+3
3 daysMerge branch 'for-linus' of ↵Mark Brown9-12/+43
https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
3 daysMerge branch 'fixes' of ↵Mark Brown2-3/+17
https://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git
3 daysMerge branch 'char-misc-linus' of ↵Mark Brown8-14/+46
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
3 daysMerge branch 'watchdog' of ↵Mark Brown2-3/+7
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
3 daysMerge branch 'fixes-togreg' of ↵Mark Brown45-136/+323
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
3 daysMerge branch 'staging-linus' of ↵Mark Brown1-6/+18
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
3 daysMerge branch 'usb-linus' of ↵Mark Brown41-199/+436
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
3 daysMerge branch 'tty-linus' of ↵Mark Brown12-248/+220
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
3 daysMerge branch 'for-linus' of ↵Mark Brown1-4/+11
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
3 daysMerge branch 'for-linus' of ↵Mark Brown1-0/+1
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
3 daysMerge branch 'for-linus' of ↵Mark Brown1-0/+3
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
3 dayscxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()Li Ming1-21/+19
In cxl_cancel_auto_attach(), it assumes cxled->pos is a valid index for accessing p->targets[]. However, cxled->pos can be set to negative errno in cxl_region_sort_targets() if cxl_calc_interleave_pos() fails. This causes the driver to use a negative index to access p->targets[], resulting in out-of-bounds access. Fix it by walking p->targets[] instead of using cxled->pos directly. Fixes: 87805c32e6ad ("cxl/region: Fix use-after-free from auto assembly failure") Signed-off-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20260529132533.1144383-1-ming.li@zohomail.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
3 daysremoteproc: xlnx: Enable auto boot featureTanmay Shah1-14/+34
The remoteproc framework has capability to start (or attach to) the remote processor automatically if auto boot flag is set by the driver during probe. If the 'firmware-name' property is available for the remoteproc node, then that firmware will be loaded and started during auto boot. If the remote core is started by the bootloader then during auto-boot remoteproc framework will try to attach to the remote processor. The current architecture allocates and adds the remoteproc instance before all the hardware such as sram, mbox, TCM is initialized. This design has to be changed for auto boot to work. So, rename zynqmp_r5_rproc_add() function to zynqmp_r5_rproc_alloc() and move adding the remoteproc instance at the end of cluster initialization. This makes sure that all the required hardware is initialized before starting the remote processor. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> Link: https://lore.kernel.org/r/20260527051611.194844-3-tanmay.shah@amd.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
3 daysmmc: Merge branch fixes into nextUlf Hansson3-3/+35
Merge the mmc fixes for v7.1-rc[n] into the next branch, to allow them to get tested together with the mmc changes that are targeted for the next release. Signed-off-by: Ulf Hansson <ulfh@kernel.org>
3 daysMerge branch 'main' of ↵Mark Brown4-32/+59
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
3 daysMerge branch 'arm/fixes' of ↵Mark Brown8-93/+166
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
3 daysMerge branch 'mm-hotfixes-unstable' of ↵Mark Brown2-5/+4
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
3 daysMerge remote-tracking branch 'spi/for-7.2' into spi-nextMark Brown84-1155/+1469
3 daysMerge remote-tracking branch 'regulator/for-7.2' into regulator-nextMark Brown8-409/+655
3 daysMerge remote-tracking branch 'regmap/for-7.2' into regmap-nextMark Brown1-1/+1
3 daysMerge branches 'next/clk', 'next/drivers', 'next/dt64' and 'next/soc' into ↵Krzysztof Kozlowski11-71/+373
for-next
3 daysMerge branches 'fixes' and 'fixes-clk' into for-nextKrzysztof Kozlowski1-1/+1
3 daysfirmware: samsung: acpm: remove compile-testing stubsArnd Bergmann1-1/+1
Sashiko reported an inconsistent use of NULL vs ERR_PTR() returns in the stub helpers in xynos-acpm-protocol.h. Since this only happens on dead code for COMPILE_TEST=y, this is not really a bug though. Having stub functions that return NULL is a common way to define optional interfaces, where callers still work when the feature is disabled, though this clearly does not work for acpm because some callers have a NULL pointer dereference when compile testing. Since CONFIG_EXYNOS_ACPM_PROTOCOL already supports compile-testing itself, and all (both) drivers using it clearly require the support, so this just simplifies the option space without losing any build coverage. Remove the stub functions entirely and adjust the one Kconfig dependency to require EXYNOS_ACPM_PROTOCOL unconditionally. Fixes: 6837c006d4e7 ("firmware: exynos-acpm: add empty method to allow compile test") Closes: https://sashiko.dev/#/patchset/20260420-acpm-tmu-v3-0-3dc8e93f0b26%40linaro.org Link: https://lore.kernel.org/all/a7994860-24a3-4f87-84bf-109ed653dda4@linaro.org/ Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260529134454.2147446-1-arnd@kernel.org [krzk: Rebase on difference in devm_acpm_get_by_node()] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Add devm_acpm_get_by_phandle helperTudor Ambarus1-0/+23
Introduce devm_acpm_get_by_phandle() to standardize how consumer drivers acquire a handle to the ACPM IPC interface. Enforce the use of the "samsung,acpm-ipc" property name across the SoC and simplify the boilerplate code in client drivers. The first consumer of this helper is the Exynos ACPM Thermal Management Unit (TMU) driver. The TMU utilizes a hybrid management approach: direct register access from the Application Processor (AP) is restricted to the interrupt pending (INTPEND) registers for event identification. High-level functional tasks, such as sensor initialization, threshold programming, and temperature reads, are delegated to the ACPM firmware via this IPC interface. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-6-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Add TMU protocol supportTudor Ambarus4-0/+280
The Thermal Management Unit (TMU) on the Google GS101 SoC is managed through a hybrid model shared between the kernel and the Alive Clock and Power Manager (ACPM) firmware. Add the protocol helpers required to communicate with the ACPM for thermal operations, including initialization, threshold configuration, temperature reading, and system suspend/resume handshakes. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-5-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Make acpm_ops const and access via pointerTudor Ambarus3-27/+23
Replace the embedded `struct acpm_ops` inside `struct acpm_handle` with a pointer to a `const struct acpm_ops`. Previously, the operations structure was embedded directly within the handle and populated dynamically at runtime via `acpm_setup_ops()`. This resulted in mutable function pointers and unnecessary per-instance memory overhead. By defining `exynos_acpm_driver_ops` statically as a `const` structure, the function pointers are now safely housed in the read-only `.rodata` section. This improves security by preventing function pointer overwrites, saves memory, and slightly reduces initialization overhead in `acpm_probe()`. Consequently, update all consumer drivers (clk, mfd) to access the operations via the new pointer indirection (`->ops->`). Finally, fix the previously empty kernel-doc description for the ops member to reflect its new pointer nature. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-4-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Drop redundant _ops suffix in acpm_ops membersTudor Ambarus3-9/+9
Rename the `dvfs_ops` and `pmic_ops` members of `struct acpm_ops` to `dvfs` and `pmic` respectively. Since these members are housed within the `acpm_ops` structure and utilize the `acpm_*_ops` types, the `_ops` suffix on the variable names creates unnecessary redundancy (e.g., `handle.ops.dvfs_ops`). This cleanup removes the stuttering, leading to cleaner consumer code. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Acked-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/linux-samsung-soc/CADrjBPqzKpcd9vuCmNUptCUPyPpPbHcc19-7kN-1c0RpW1e5DQ@mail.gmail.com/T/#mcce154a7e0c6cd1ca6cd5a1e37541ed7a85a84d4 [1] Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-3-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Annotate rx_data->cmd with __counted_by_ptrTudor Ambarus1-8/+8
Rename the `n_cmd` member of `struct acpm_rx_data` to `cmdcnt` to maintain consistent nomenclature across the driver (aligning with `txcnt`, `rxcnt`, and transfer helpers). With the member renamed, annotate the dynamically allocated `cmd` pointer with the `__counted_by_ptr(cmdcnt)` macro to improve runtime bounds checking. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-2-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysfirmware: samsung: acpm: Consolidate transfer initialization helperTudor Ambarus4-33/+35
Both the DVFS and PMIC ACPM sub-drivers implement similar local helper functions (acpm_dvfs_set_xfer and acpm_pmic_set_xfer) to initialize the acpm_xfer structure before sending an IPC message. Move this logic into a single centralized helper, acpm_set_xfer(), in the core ACPM driver to reduce boilerplate, eliminate code duplication, and prepare for the upcoming ACPM TMU helper sub-driver which will also utilize this method. Note that there is no change in underlying functionality. While the old acpm_pmic_set_xfer() unconditionally assigned the RX buffer parameters (xfer->rxd and xfer->rxcnt), the new unified helper introduces a 'response' boolean. All updated PMIC call sites now explicitly pass 'true' for this argument. This ensures the unified helper takes the 'if (response)' branch, performing the exact same assignments and preserving the original PMIC behavior. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-1-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
3 daysnext-20260522/vfs-braunerMark Brown1-1/+0
# Conflicts: # fs/fuse/dev.c
3 daysdrm/xe/ggtt: Fix xe_ggtt documentationMichal Wajdeczko1-4/+4
The following error is reported during the htmldocs build: ... Documentation/gpu/xe/xe_mm:22: ../drivers/gpu/drm/xe/xe_ggtt.c:125: ERROR: Unexpected indentation. [docutils] Fix this by adding a blank line before the enumeration. While around correct some invalid spaces. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Maarten Lankhorst <dev@lankhorst.se> Link: https://patch.msgid.link/20260527122154.22480-1-michal.wajdeczko@intel.com
3 daysMerge branch 'next' of ↵Mark Brown1-3/+6
https://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git
3 daysMerge trace/for-nextSteven Rostedt (Google)2-2/+3
3 daysmmc: dw_mmc: Add desc_num field for clarityShawn Lin2-10/+10
The ring_size field in struct dw_mci is misleadingly named. Despite its name, it does not represent the size of the descriptor ring buffer in bytes, but rather the number of descriptors allocated within the fixed-size ring buffer. The actual ring buffer size is fixed at PAGE_SIZE (or DESC_RING_BUF_SZ, which equals PAGE_SIZE). Within this buffer, we allocate either struct idmac_desc or struct idmac_desc_64addr descriptors, and ring_size stores the count of these descriptors. This naming has caused confusion, as it's also used to set mmc->max_segs (the maximum number of scatter-gather segments), which logically corresponds to the number of descriptors, not a size in bytes. No functional change is introduced by this naming-only patch. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
3 daysMerge branches 'slimbus-fixes' and 'slimbus-for-7.2' into slimbus-for-nextSrinivas Kandagatla1-3/+2
* slimbus-fixes: slimbus: qcom-ngd-ctrl: Avoid ABBA on tx_lock/ctrl->lock slimbus: qcom-ngd-ctrl: Balance pm_runtime enablement for NGD slimbus: qcom-ngd-ctrl: Initialize controller resources in controller slimbus: qcom-ngd-ctrl: Register callbacks after creating the ngd slimbus: qcom-ngd-ctrl: Correct PDR and SSR cleanup ownership slimbus: qcom-ngd-ctrl: Fix probe error path ordering slimbus: qcom-ngd-ctrl: Fix up platform_driver registration slimbus: qcom-ngd-ctrl: fix OF node refcount * slimbus-for-7.2: slimbus: qcom-ngd-ctrl: Use the unified QMI service ID instead of defining it locally
3 daysmmc: sdhci: add signal voltage switch in sdhci_resume_hostJisheng Zhang1-0/+1
I met one suspend/resume issue with sdr104 capable sdio wifi card (with "keep-power-in-suspend" set in DT property): After resuming from suspend to ram, the sdio wifi card stops working. Further debug shows that although ios shows the sdio card is at sdr104 mode, the voltage is still at 3V3. This is due to missing the calling of ->start_signal_voltage_switch() in sdhci_resume_host(). Fix this issue by adding ->start_signal_voltage_switch() in sdhci_resume_host(). This also matches what we do for sdhci_runtime_resume_host(). Then the question is: why this issue hasn't reported and fixed for so long time. IMHO, several reasons: Some host controllers just kick off the runtime resume for system resume, so they benefit from the well supported runtime pm code; Some platforms just use the old sdio wifi card which doesn't need signal voltage switch at all, the default voltage is 3v3 after resuming. Fixes: 6308d2905bd3 ("mmc: sdhci: add quirk for keeping card power during suspend") Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulfh@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Use the unified QMI service ID instead of defining ↵Daniel Lezcano1-3/+2
it locally Instead of defining a local macro with a custom name for the QMI service identifier, use the one provided in qmi.h and remove the locally defined macro. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Avoid ABBA on tx_lock/ctrl->lockBjorn Andersson1-3/+0
During the SSR/PDR down notification the tx_lock is taken with the intent to provide synchronization with active DMA transfers. But during this period qcom_slim_ngd_down() is invoked, which ends up in slim_report_absent(), which takes the slim_controller lock. In multiple other codepaths these two locks are taken in the opposite order (i.e. slim_controller then tx_lock). The result is a lockdep splat, and a possible deadlock: rprocctl/449 is trying to acquire lock: ffff00009793e620 (&ctrl->lock){+.+.}-{4:4}, at: slim_report_absent (drivers/slimbus/core.c:322) slimbus but task is already holding lock: ffff00009793fb50 (&ctrl->tx_lock){+.+.}-{4:4}, at: qcom_slim_ngd_ssr_pdr_notify (drivers/slimbus/qcom-ngd-ctrl.c:1475) slim_qcom_ngd_ctrl which lock already depends on the new lock. Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ctrl->tx_lock); lock(&ctrl->lock); lock(&ctrl->tx_lock); lock(&ctrl->lock); The assumption is that the comment refers to the desire to not call qcom_slim_ngd_exit_dma() while we have an ongoing DMA TX transaction. But any such transaction is initiated and completed within a single qcom_slim_ngd_xfer_msg(). Prior to calling qcom_slim_ngd_exit_dma() the slim_controller is torn down, all child devices are notified that the slimbus is gone and the child devices are removed. Stop taking the tx_lock in qcom_slim_ngd_ssr_pdr_notify() to avoid the deadlock. Fixes: a899d324863a ("slimbus: qcom-ngd-ctrl: add Sub System Restart support") Cc: stable@vger.kernel.org Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Balance pm_runtime enablement for NGDBjorn Andersson1-1/+5
The pm_runtime_enable() and pm_runtime_use_autosuspend() calls are supposed to be balanced on exit, add these calls. Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Initialize controller resources in controllerBjorn Andersson1-22/+16
The work structs and work queue are controller resources, create and destroy them in the controller context. Creating them as part of the child device's probe path seems to be okay now that the controller's probe has been updated, but if for some reason the child does not probe successfully a SSR or PDR notification will schedule_work() on an uninitialized "ngd_up_work". Move the initialization of these controller resources to the controller probe function to avoid any issues, and to clarify the ownership. Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Register callbacks after creating the ngdBjorn Andersson1-19/+26
When the remoteproc starts in parallel with the NGD driver being probed, or the remoteproc is already up when the PDR lookup is being registered, or in the theoretical event that we get an interrupt from the hardware, these callbacks will operate on uninitialized data. This result in issues to boot the affected boards. One such example can be seen in the following fault, where qcom_slim_ngd_ssr_pdr_notify() schedules work on the NULL ngd_up_work. [ 21.858578] ------------[ cut here ]------------ [ 21.858745] WARNING: kernel/workqueue.c:2338 at __queue_work+0x5e0/0x790, CPU#2: kworker/2:2/116 ... [ 21.859251] Call trace: [ 21.859255] __queue_work+0x5e0/0x790 (P) [ 21.859265] queue_work_on+0x6c/0xf0 [ 21.859273] qcom_slim_ngd_ssr_pdr_notify+0x110/0x150 [slim_qcom_ngd_ctrl] [ 21.859304] qcom_slim_ngd_ssr_notify+0x24/0x40 [slim_qcom_ngd_ctrl] [ 21.859318] notifier_call_chain+0xa4/0x230 [ 21.859329] srcu_notifier_call_chain+0x64/0xb8 [ 21.859338] ssr_notify_start+0x40/0x78 [qcom_common] [ 21.859355] rproc_start+0x130/0x230 [ 21.859367] rproc_boot+0x3d4/0x518 ... Move the enablement of interrupts, and the registration of SSR and PDR until after the NGD device has been registered. This could be further refined by moving initialization to the control driver probe and by removing the platform driver model from the picture. Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Correct PDR and SSR cleanup ownershipBjorn Andersson1-2/+3
PDR and SSR callbacks are registred from the controller probe function, but currently released from the child device's remove function. The remove() function should only be unwinding what was done in the same device's probe() function. Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Fix probe error path orderingBjorn Andersson1-6/+5
qcom_slim_ngd_ctrl_probe() first registers the SSR callback then allocates the PDR context, as such the error path needs to come in opposite order to allow us to unroll each step. Fixes: 16f14551d0df ("slimbus: qcom-ngd: cleanup in probe error path") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysslimbus: qcom-ngd-ctrl: Fix up platform_driver registrationBjorn Andersson1-3/+33
Device drivers should not invoke platform_driver_register()/unregister() in their probe and remove paths. They should further not rely on platform_driver_unregister() as their only means of "deleting" their child devices. Introduce a helper to unregister the child device and move the platform_driver_register()/unregister() to module_init()/exit(). Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
3 daysMerge branches 'renesas-drivers-for-v7.2' and 'renesas-dts-for-v7.2' into ↵Geert Uytterhoeven1-2/+42
renesas-next
3 daysmmc: dw_mmc-rockchip: Add missing private data for very old controllersHeiko Stuebner1-0/+17
The really old controllers (rk2928, rk3066, rk3188) do not support UHS speeds at all, and thus never handled phase data. For that reason it never had a parse_dt callback and no driver private data at all. Commit ff6f0286c896 ("mmc: dw_mmc-rockchip: Add memory clock auto-gating support") makes the private data sort of mandatory, because the init function checks whether phases are configured internally or through the clock controller. This results in the old SoCs then experiencing NULL-pointer dereferences when they try to access that private-data struct. While we could have if (priv) conditionals in all places, it's way less cluttery to just give the old types their private-data struct. Fixes: ff6f0286c896 ("mmc: dw_mmc-rockchip: Add memory clock auto-gating support") Cc: stable@vger.kernel.org Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
3 daysMerge branch 'acpica' into linux-nextRafael J. Wysocki147-163/+463
* acpica: (27 commits) ACPICA: add boundary checks in two places ACPICA: Add package limit checks in parser functions ACPICA: Update version to 20260408 ACPICA: Update the copyright year to 2026 ACPICA: Remove spurious precision from format used to dump parse trees ACPICA: Enhance OEM ID and Table ID validation in acpi_ex_load_table_op() ACPICA: Fix NULL pointer dereference in acpi_ns_custom_package() ACPICA: Enhance buffer validation in acpi_ut_walk_aml_resources() ACPICA: Add validation for node in acpi_ns_build_normalized_path() ACPICA: validate handler object type in two places ACPICA: Improve argument parsing in acpi_ps_get_next_simple_arg() ACPICA: Fix integer overflow in acpi_ex_opcode_3A_1T_1R() (mid_op) ACPICA: Prevent adding invalid references ACPICA: add boundary checks in acpi_ps_get_next_field() ACPICA: validate byte_count in acpi_ps_get_next_package_length() ACPICA: Fix use-after-free in acpi_ds_terminate_control_method() ACPICA: fix I2C LVR item count in the conversion table ACPICA: Mention the LVR bits ACPICA: Change LVR to 8 bit value ACPICA: Fetch LVR I2C resource descriptor ...
3 daysslimbus: qcom-ngd-ctrl: fix OF node refcountBartosz Golaszewski1-1/+1
Platform devices created with platform_device_alloc() call platform_device_release() when the last reference to the device's kobject is dropped. This function calls of_node_put() unconditionally. This works fine for devices created with platform_device_register_full() but users of the split approach (platform_device_alloc() + platform_device_add()) must bump the reference of the of_node they assign manually. Add the missing call to of_node_get(). Cc: stable@vger.kernel.org Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>