sst-linux/drivers
Hector Martin 380bcd5aa8 cpufreq: Generalize of_perf_domain_get_sharing_cpumask phandle format
[ Upstream commit d182dc6de93225cd853de4db68a1a77501bedb6e ]

of_perf_domain_get_sharing_cpumask currently assumes a 1-argument
phandle format, and directly returns the argument. Generalize this to
return the full of_phandle_args, so it can be used by drivers which use
other phandle styles (e.g. separate nodes). This also requires changing
the CPU sharing match to compare the full args structure.

Also, make sure to of_node_put(args.np) (the original code was leaking a
reference).

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Stable-dep-of: c0f02536fffb ("cpufreq: Avoid a bad reference count on CPU node")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:26:39 +01:00
..
accessibility
acpi ACPI: PRM: Clean up guid type in struct prm_handler_info 2024-11-01 01:56:07 +01:00
amba
android binder: fix UAF caused by offsets overwrite 2024-09-12 11:10:26 +02:00
ata ata: libata: avoid superfluous disk spin down + spin up during hibernation 2024-10-17 15:22:26 +02:00
atm
auxdisplay
base driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute 2024-10-17 15:22:17 +02:00
bcma
block aoe: fix the potential use-after-free problem in more places 2024-10-17 15:21:58 +02:00
bluetooth Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001 2024-10-22 15:56:49 +02:00
bus bus: mhi: host: pci_generic: Fix the name for the Telit FE990A 2024-10-17 15:21:20 +02:00
cdrom
char virtio_console: fix misc probe bugs 2024-10-17 15:22:12 +02:00
clk clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D 2024-10-17 15:22:16 +02:00
clocksource clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init() 2024-10-17 15:20:47 +02:00
comedi comedi: ni_routing: tools: Check when the file could not be opened 2024-10-17 15:22:16 +02:00
connector
counter
cpufreq cpufreq: Generalize of_perf_domain_get_sharing_cpumask phandle format 2024-11-08 16:26:39 +01:00
cpuidle
crypto powerpc/64: Add big-endian ELFv2 flavour to crypto VMX asm generation 2024-10-22 15:56:51 +02:00
cxl cxl/pci: Fix to record only non-zero ranges 2024-10-17 15:21:12 +02:00
dax device-dax: correct pgoff align in dax_set_mapping() 2024-10-17 15:22:27 +02:00
dca
devfreq
dio
dma dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor 2024-09-08 07:53:11 +02:00
dma-buf dma-buf: heaps: Fix off-by-one in CMA heap fault handler 2024-09-18 19:23:06 +02:00
edac EDAC/igen6: Fix conversion of system address to physical memory address 2024-10-17 15:21:23 +02:00
eisa
extcon
firewire
firmware firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp() 2024-10-17 15:21:51 +02:00
fpga
fsi
gnss
gpio gpio: aspeed: Use devm_clk api to manage clock source 2024-10-17 15:22:21 +02:00
gpu drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too 2024-11-01 01:56:07 +01:00
greybus
hid hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma 2024-10-17 15:22:26 +02:00
hsi
hte
hv Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic 2024-09-12 11:10:26 +02:00
hwmon hwmon: (adt7470) Add missing dependency on REGMAP_I2C 2024-10-17 15:22:24 +02:00
hwspinlock hwspinlock: Introduce hwspin_lock_bust() 2024-09-08 07:53:09 +02:00
hwtracing coresight: tmc: sg: Do not leak sg_table 2024-10-17 15:21:11 +02:00
i2c i2c: i801: Use a different adapter-name for IDF adapters 2024-10-17 15:22:14 +02:00
i3c i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup 2024-09-12 11:10:24 +02:00
idle
iio iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig 2024-11-01 01:55:58 +01:00
infiniband RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages 2024-11-01 01:55:58 +01:00
input Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal 2024-10-17 15:22:12 +02:00
interconnect
iommu iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices 2024-10-22 15:56:44 +02:00
ipack
irqchip irqchip/renesas-rzg2l: Fix missing put_device 2024-11-01 01:56:00 +01:00
isdn
leds leds: spi-byte: Call of_node_put() on error path 2024-09-12 11:10:19 +02:00
macintosh
mailbox mailbox: bcm2835: Fix timeout during suspend mode 2024-10-17 15:21:30 +02:00
mcb
md Revert "dm: requeue IO if mapping table not yet available" 2024-10-17 15:21:12 +02:00
media media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put() 2024-10-17 15:22:15 +02:00
memory
memstick
message
mfd
misc eeprom: digsy_mtc: Fix 93xx46 driver probe failure 2024-09-18 19:23:04 +02:00
mmc mmc: cqhci: Fix checking of CQHCI_HALT state 2024-09-12 11:10:17 +02:00
most
mtd mtd: rawnand: mtk: Fix init error path 2024-10-17 15:20:50 +02:00
mux
net net: phy: dp83822: Fix reset pin definitions 2024-11-01 01:56:07 +01:00
nfc
ntb ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition 2024-10-17 15:22:15 +02:00
nubus
nvdimm virtio_pmem: Check device status before requesting flush 2024-10-17 15:22:16 +02:00
nvme nvme-pci: qdepth 1 quirk 2024-10-17 15:21:37 +02:00
nvmem nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc 2024-09-12 11:10:26 +02:00
of of/irq: Support #msi-cells=<0> in of_msi_get_domain 2024-10-17 15:21:55 +02:00
opp
parisc
parport parport: Proper fix for array out-of-bounds access 2024-10-22 15:56:49 +02:00
pci PCI: Mark Creative Labs EMU20k2 INTx masking as broken 2024-10-17 15:22:14 +02:00
pcmcia pcmcia: Use resource_size function on resource object 2024-09-12 11:10:20 +02:00
peci
perf perf/arm-cmn: Fail DTC counter allocation correctly 2024-10-17 15:21:28 +02:00
phy phy: zynqmp: Take the phy mutex in xlate 2024-09-12 11:10:22 +02:00
pinctrl pinctrl: apple: check devm_kasprintf() returned value 2024-10-22 15:56:50 +02:00
platform platform/x86: dell-wmi: Ignore suspend notifications 2024-11-01 01:56:07 +01:00
pnp
power power: supply: hwmon: Fix missing temp1_max_alarm attribute 2024-10-17 15:21:51 +02:00
powercap powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request() 2024-11-01 01:56:05 +01:00
pps tty/serial: Make ->dcd_change()+uart_handle_dcd_change() status bool active 2024-11-01 01:56:02 +01:00
ps3
ptp
pwm
rapidio
ras
regulator regulator: Return actual error in of_regulator_bulk_get_all() 2024-10-17 15:20:45 +02:00
remoteproc remoteproc: imx_rproc: Use imx specific hook for find_loaded_rsc_table 2024-10-17 15:22:15 +02:00
reset reset: k210: fix OF node leak in probe() error path 2024-10-17 15:20:47 +02:00
rpmsg
rtc rtc: at91sam9: fix OF node leak in probe() error path 2024-10-17 15:22:01 +02:00
s390 s390/sclp_vt220: Convert newlines to CRLF instead of LFCR 2024-10-22 15:56:44 +02:00
sbus
scsi scsi: wd33c93: Don't use stale scsi_pointer value 2024-10-17 15:22:26 +02:00
sh
siox
slimbus
soc soc: versatile: realview: fix soc_dev leak during device remove 2024-10-17 15:21:24 +02:00
soundwire soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps" 2024-09-18 19:23:06 +02:00
spi spi: bcm63xx: Fix missing pm_runtime_disable() 2024-10-17 15:22:04 +02:00
spmi
ssb
staging staging: vme_user: added bound check to geoid 2024-10-17 15:22:17 +02:00
target scsi: target: core: Fix null-ptr-deref in target_alloc_device() 2024-11-01 01:56:00 +01:00
tc
tee
thermal thermal: intel: int340x: processor: Fix warning during module unload 2024-10-17 15:22:20 +02:00
thunderbolt
tty serial: protect uart_port_dtr_rts() in uart_shutdown() too 2024-11-01 01:56:07 +01:00
ufs scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down 2024-10-22 15:56:46 +02:00
uio Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic 2024-09-12 11:10:26 +02:00
usb usb: dwc3: core: Fix system suspend on TI AM62 platforms 2024-11-01 01:56:02 +01:00
vdpa
vfio vfio/pci: fix potential memory leak in vfio_intx_enable() 2024-10-17 15:21:15 +02:00
vhost vhost/scsi: null-ptr-dereference in vhost_scsi_get_req() 2024-10-17 15:22:09 +02:00
video fbdev: sisfb: Fix strbuf array overflow 2024-10-17 15:22:18 +02:00
virt
virtio vdpa: Add eventfd for the vdpa callback 2024-10-17 15:21:12 +02:00
vlynq
w1
watchdog watchdog: imx_sc_wdt: Don't disable WDT in suspend 2024-10-17 15:21:06 +02:00
xen xen/swiotlb: fix allocated size 2024-10-17 15:20:55 +02:00
zorro
Kconfig
Makefile