linux-stable/drivers
Yuan Can c2bb825682 perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
[ Upstream commit facafab761 ]

dsu_pmu_init() won't remove the callback added by cpuhp_setup_state_multi()
when platform_driver_register() failed. Remove the callback by
cpuhp_remove_multi_state() in fail path.

Similar to the handling of arm_ccn_init() in commit 26242b3300 ("bus:
arm-ccn: Prevent hotplug callback leak")

Fixes: 7520fa9924 ("perf: ARM DynamIQ Shared Unit PMU support")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20221115070207.32634-2-yuancan@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:30:02 +01:00
..
accessibility
acpi ACPI: video: Force backlight native for more TongFang devices 2022-11-03 23:52:26 +09:00
amba
android
ata ata: libata-transport: fix double ata_host_put() in ata_tport_add() 2022-11-25 17:40:23 +01:00
atm
auxdisplay
base x86/bugs: Report AMD retbleed vulnerability 2022-11-23 07:53:44 +01:00
bcma
block drbd: use after free in drbd_create_device() 2022-11-25 17:40:24 +01:00
bluetooth
bus bus: sunxi-rsb: Support atomic transfers 2022-12-08 11:18:29 +01:00
cdrom
char
clk clk: bcm2835: Make peripheral PLLC critical 2022-10-26 13:19:41 +02:00
clocksource
connector
cpufreq x86/devicetable: Move x86 specific macro out of generic code 2022-11-23 07:53:43 +01:00
cpuidle
crypto crypto: cavium - prevent integer overflow loading firmware 2022-10-26 13:19:35 +02:00
dax
dca
devfreq
dio
dma dmaengine: at_hdmac: Check return code of dma_async_device_register 2022-11-25 17:40:20 +01:00
dma-buf
edac
eisa
extcon
firewire
firmware efi: random: reduce seed size to 32 bytes 2022-11-10 17:46:55 +01:00
fmc
fpga
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-26 13:19:33 +02:00
gnss
gpio gpio: amd8111: Fix PCI device reference count leak 2022-12-14 11:28:28 +01:00
gpu drm/amdgpu: always register an MMU notifier for userptr 2022-12-08 11:18:31 +01:00
hid HID: core: fix shift-out-of-bounds in hid_report_raw_event 2022-12-14 11:28:27 +01:00
hsi HSI: omap_ssi_port: Fix dma_map_sg error check 2022-10-26 13:19:30 +02:00
hv Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register() 2022-12-08 11:18:29 +01:00
hwmon hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new() 2022-12-08 11:18:33 +01:00
hwspinlock
hwtracing
i2c i2c: xiic: Add platform module alias 2022-11-10 17:46:54 +01:00
ide
idle intel_idle: Disable IBRS during long idle 2022-11-23 07:53:45 +01:00
iio iio: light: rpr0521: add missing Kconfig dependencies 2022-12-08 11:18:32 +01:00
infiniband RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() 2022-11-10 17:46:51 +01:00
input Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode 2022-12-08 11:18:31 +01:00
iommu iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() 2022-12-08 11:18:34 +01:00
ipack
irqchip
isdn mISDN: fix misuse of put_device() in mISDN_register_device() 2022-11-25 17:40:24 +01:00
leds
lightnvm
macintosh
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-26 13:19:34 +02:00
mcb
md dm integrity: flush the journal on suspend 2022-12-08 11:18:31 +01:00
media media: v4l2-dv-timings.c: fix too strict blanking sanity checks 2022-12-14 11:28:27 +01:00
memory memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:19:28 +02:00
memstick
message
mfd mfd: sm501: Add check for platform_driver_register() 2022-10-26 13:19:33 +02:00
misc misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram() 2022-11-25 17:40:28 +01:00
mmc mmc: sdhci: Fix voltage switch delay 2022-12-08 11:18:34 +01:00
mtd spi: intel: Fix the offset to get the 64K erase opcode 2022-11-25 17:40:21 +01:00
mux
net net: loopback: use NET_NAME_PREDICTABLE for name_assign_type 2023-01-18 11:30:01 +01:00
nfc nfc: st-nci: fix memory leaks in EVT_TRANSACTION 2022-12-08 11:18:30 +01:00
ntb
nubus
nvdimm
nvme nvme initialize core quirks before calling nvme_init_subsystem 2022-12-14 11:28:30 +01:00
nvmem
of of: property: decrement node refcount in of_fwnode_get_reference_args() 2022-12-08 11:18:32 +01:00
opp
oprofile
parisc parisc: Export iosapic_serial_irq() symbol for serial port driver 2022-11-10 17:46:55 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-25 17:40:23 +01:00
pci
pcmcia
perf perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init() 2023-01-18 11:30:02 +01:00
phy phy: stm32: fix an error code in probe 2022-11-25 17:40:15 +01:00
pinctrl pinctrl: meditatek: Startup with the IRQs disabled 2023-01-18 11:29:59 +01:00
platform platform/x86: hp-wmi: Ignore Smart Experience App event 2022-12-08 11:18:31 +01:00
pnp
power soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe 2023-01-18 11:30:02 +01:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-26 13:19:36 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: twl6030: fix get status of twl6032 regulators 2022-12-14 11:28:26 +01:00
remoteproc
reset
rpmsg
rtc
s390 s390/dasd: fix no record found for raw_track_access 2022-12-08 11:18:30 +01:00
sbus
scsi scsi: 3w-9xxx: Avoid disabling device if failing to enable it 2022-10-26 13:19:40 +02:00
sfi
sh
siox siox: fix possible memory leak in siox_device_add() 2022-11-25 17:40:23 +01:00
slimbus slimbus: stream: correct presence rate frequencies 2022-11-25 17:40:25 +01:00
sn
soc drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static 2023-01-18 11:30:02 +01:00
soundwire
spi spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock 2022-12-08 11:18:32 +01:00
spmi spmi: pmic-arb: correct duplicate APID to PPID mapping logic 2022-10-26 13:19:34 +02:00
ssb
staging speakup: fix a segfault caused by switching consoles 2022-11-25 17:40:26 +01:00
target scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus() 2022-11-25 17:40:28 +01:00
tc
tee
thermal thermal: intel_powerclamp: Use first online CPU as control_cpu 2022-10-26 13:19:42 +02:00
thunderbolt
tty serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios() 2022-12-08 11:18:31 +01:00
uio
usb usb: musb: remove extra check in musb_gadget_vbus_draw 2023-01-18 11:30:01 +01:00
uwb
vfio
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-26 13:19:26 +02:00
video fbcon: Use kzalloc() in fbcon_prepare_logo() 2022-12-14 11:28:26 +01:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen/platform-pci: add missing free_irq() in error path 2022-12-08 11:18:31 +01:00
zorro
Kconfig
Makefile