linux-stable/drivers
Namhyung Kim 3d0693a75f perf/arm-dmc620: Fix lockdep assert in ->event_init()
[ Upstream commit a4c5a457c6 ]

for_each_sibling_event() checks leader's ctx but it doesn't have the ctx
yet if it's the leader.  Like in perf_event_validate_size(), we should
skip checking siblings in that case.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Fixes: f3c0eba287 ("perf: Add a few assertions")
Reported-by: Greg Thelen <gthelen@google.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Tuan Phan <tuanphan@os.amperecomputing.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20240514180050.182454-1-namhyung@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:39:37 +02:00
..
accel
accessibility
acpi x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks() 2024-05-30 09:44:33 +02:00
amba
android
ata
atm
auxdisplay
base module: don't ignore sysfs_create_link() failures 2024-06-12 11:39:09 +02:00
bcma
block null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION() 2024-06-12 11:39:35 +02:00
bluetooth Bluetooth: HCI: Remove HCI_AMP support 2024-05-30 09:44:41 +02:00
bus
cache
cdrom
cdx
char ppdev: Add an error check in register_device 2024-06-12 11:39:17 +02:00
clk clk: qcom: apss-ipq-pll: fix PLL rate for IPQ5018 2024-05-30 09:45:00 +02:00
clocksource
comedi
connector
counter
cpufreq cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations 2024-05-30 09:44:25 +02:00
cpuidle
crypto crypto: qat - specify firmware files for 402xx 2024-05-30 09:44:10 +02:00
cxl cxl/region: Fix cxlr_pmem leaks 2024-06-12 11:39:33 +02:00
dax dax/bus.c: use the right locking mode (read vs write) in size_show 2024-05-30 09:44:59 +02:00
dca
devfreq
dio
dma dmaengine: idxd: Avoid unnecessary destruction of file_ida 2024-06-12 11:39:17 +02:00
dma-buf
dpll dpll: fix return value check for kmemdup 2024-05-30 09:44:39 +02:00
edac EDAC/skx_common: Allow decoding of SGX addresses 2024-05-30 09:44:18 +02:00
eisa
extcon extcon: max8997: select IRQ_DOMAIN instead of depending on it 2024-06-12 11:39:18 +02:00
firewire
firmware firmware: dmi-id: add a release callback function 2024-06-12 11:39:08 +02:00
fpga fpga: region: add owner module and take its refcount 2024-06-12 11:39:13 +02:00
fsi
gnss
gpio gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent node match 2024-06-12 11:39:25 +02:00
gpu drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations 2024-06-12 11:39:36 +02:00
greybus
hid HID: amd_sfh: Handle "no sensors" in PM operations 2024-05-30 09:44:34 +02:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing stm class: Fix a double free in stm_register_device() 2024-06-12 11:39:17 +02:00
i2c i2c: synquacer: Fix an error handling path in synquacer_i2c_probe() 2024-06-12 11:39:18 +02:00
i3c
idle
iio iio: adc: PAC1934: fix accessing out of bounds array index 2024-06-12 11:39:16 +02:00
infiniband RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw 2024-05-30 09:45:01 +02:00
input Input: cyapa - add missing input core locking to suspend/resume functions 2024-06-12 11:39:31 +02:00
interconnect interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment 2024-06-12 11:39:09 +02:00
iommu iommu/amd: Enable Guest Translation after reading IOMMU feature register 2024-05-30 09:44:58 +02:00
ipack
irqchip irqchip/loongson-pch-msi: Fix off-by-one on allocation error path 2024-05-30 09:44:19 +02:00
isdn
leds leds: pwm: Disable PWM when going to suspend 2024-06-12 11:39:15 +02:00
macintosh macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" 2024-05-30 09:44:27 +02:00
mailbox mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown 2024-06-12 11:39:25 +02:00
mcb
md dm-delay: fix max_delay calculations 2024-05-30 09:44:35 +02:00
media media: cec: core: avoid confusing "transmit timed out" message 2024-06-12 11:39:33 +02:00
memory
memstick
message
mfd
misc VMCI: Fix an error handling path in vmci_guest_probe_device() 2024-06-12 11:39:15 +02:00
mmc mmc: sdhci_am654: Fix ITAPDLY for HS400 timing 2024-06-12 11:39:26 +02:00
most
mtd mtd: rawnand: hynix: fixed typo 2024-05-30 09:44:43 +02:00
mux
net net: txgbe: fix to control VLAN strip 2024-05-30 09:45:03 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of of: module: add buffer overflow check in of_modalias() 2024-05-30 09:45:00 +02:00
opp
parisc
parport
pci PCI/EDR: Align EDR_PORT_LOCATE_DSM with PCI Firmware r3.3 2024-06-12 11:39:18 +02:00
pcmcia
peci
perf perf/arm-dmc620: Fix lockdep assert in ->event_init() 2024-06-12 11:39:37 +02:00
phy phy: qcom: qmp-combo: fix sm8650 voltage swing table 2024-06-12 11:39:27 +02:00
pinctrl pinctrl: qcom: pinctrl-sm7150: Fix sdc1 and ufs special pins regs 2024-06-12 11:39:16 +02:00
platform platform/x86: thinkpad_acpi: Take hotkey_mutex during hotkey_exit() 2024-06-12 11:39:32 +02:00
pmdomain
pnp
power power: supply: core: simplify charge_behaviour formatting 2024-05-30 09:44:52 +02:00
powercap
pps
ps3
ptp ptp: ocp: fix DPLL functions 2024-05-30 09:44:35 +02:00
pwm pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating 2024-05-30 09:44:28 +02:00
rapidio
ras
regulator regulator: bd71828: Don't overwrite runtime voltages 2024-06-12 11:39:37 +02:00
remoteproc
reset
rpmsg
rtc
s390 s390/ap: Fix bind complete udev event sent after each AP bus scan 2024-06-12 11:39:24 +02:00
sbus
scsi scsi: qla2xxx: Fix debugfs output for fw_resource_count 2024-05-30 09:44:33 +02:00
sh
siox
slimbus
soc
soundwire soundwire: cadence: fix invalid PDI offset 2024-06-12 11:39:08 +02:00
spi
spmi spmi: pmic-arb: Replace three IS_ERR() calls by null pointer checks in spmi_pmic_arb_probe() 2024-06-12 11:39:18 +02:00
ssb
staging greybus: arche-ctrl: move device table to its right location 2024-06-12 11:39:09 +02:00
target
tc
tee
thermal thermal/debugfs: Pass cooling device state to thermal_debug_cdev_add() 2024-05-30 09:44:26 +02:00
thunderbolt
tty serial: sh-sci: protect invalidating RXDMA on shutdown 2024-06-12 11:39:21 +02:00
ufs scsi: ufs: core: mcq: Fix ufshcd_mcq_sqe_search() 2024-05-30 09:44:25 +02:00
uio
usb usb: fotg210: Add missing kernel doc description 2024-06-12 11:39:22 +02:00
vdpa
vfio vfio/pci: fix potential memory leak in vfio_intx_enable() 2024-06-12 11:39:13 +02:00
vhost
video backlight: mp3309c: Fix signedness bug in mp3309c_parse_fwnode() 2024-06-12 11:39:21 +02:00
virt drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map() 2024-05-30 09:44:58 +02:00
virtio
w1
watchdog watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe() 2024-06-12 11:39:16 +02:00
xen
zorro
Kconfig
Makefile