James Morse
f674193b8e
firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp
...
[ Upstream commit 54f529a6806c9710947a4f2cdc15d6ea54121ccd ]
SDEI has private events that need registering and enabling on each CPU.
CPUs can come and go while we are trying to do this. SDEI tries to avoid
these problems by setting the reregister flag before the register call,
so any CPUs that come online register the event too. Sticking plaster
like this doesn't work, as if the register call fails, a CPU that
subsequently comes online will register the event before reregister
is cleared.
Take cpus_read_lock() around the register and enable calls. We don't
want surprise CPUs to do the wrong thing if they race with these calls
failing.
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:35 +02:00
..
arm_scmi
firmware: arm_scmi: Fix SCMI genpd domain probing
2020-08-19 08:14:48 +02:00
broadcom
firmware: bcm47xx_nvram: Support small (0x6000 B) NVRAM partitions
2018-04-23 16:39:35 +01:00
efi
efi: add missed destroy_workqueue when efisubsys_init fails
2020-08-26 10:31:06 +02:00
google
firmware: coreboot: Let OF core populate platform device
2020-01-27 14:49:55 +01:00
meson
firmware: meson-sm: rework meson_sm_init to use module_platform_driver_probe
2018-03-07 17:33:52 -08:00
tegra
firmware: tegra: adjust tested variable
2018-03-08 14:43:13 +01:00
arm_scpi.c
treewide: devm_kzalloc() -> devm_kcalloc()
2018-06-12 16:19:22 -07:00
arm_sdei.c
firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp
2020-10-01 13:14:35 +02:00
dcdbas.c
platform/x86: Fix dell driver init order
2018-03-14 11:05:53 -07:00
dcdbas.h
dell_rbu.c
firmware: dell_rbu: Make payload memory uncachable
2019-11-20 18:47:41 +01:00
dmi-id.c
firmware: dmi: Add access to the SKU ID string
2018-06-17 14:09:42 +02:00
dmi-sysfs.c
firmware: dmi: handle missing DMI data gracefully
2018-02-03 11:25:20 +01:00
dmi_scan.c
firmware: dmi: Fix unlikely out-of-bounds read in save_mem_devices
2020-01-27 14:51:19 +01:00
edd.c
edd: don't spam log if no EDD information is present
2018-03-27 09:51:23 +02:00
iscsi_ibft.c
iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
2019-08-16 10:12:45 +02:00
iscsi_ibft_find.c
efi: Make 'efi_enabled' a function to query EFI facilities
2013-01-30 11:51:59 -08:00
Kconfig
iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
2019-08-16 10:12:45 +02:00
Makefile
firmware: arm_scmi: add basic driver infrastructure for SCMI
2018-02-28 16:37:57 +00:00
memmap.c
drivers/firmware/memmap.c: fix kernel-doc format
2015-06-25 17:00:41 -07:00
pcdp.c
x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappings
2017-07-18 11:37:58 +02:00
pcdp.h
psci.c
firmware/psci: Expose SMCCC version through psci_ops
2018-02-06 22:54:11 +00:00
psci_checker.c
drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
2020-07-29 10:16:46 +02:00
qcom_scm-32.c
firmware: qcom: scm: Fix crash in qcom_scm_call_atomic1()
2018-05-24 22:36:45 -05:00
qcom_scm-64.c
firmware: qcom: scm: Ensure 'a0' status code is treated as signed
2019-12-17 20:35:42 +01:00
qcom_scm.c
firmware: qcom_scm: fix bogous abuse of dma-direct internals
2020-06-25 15:32:53 +02:00
qcom_scm.h
remoteproc updates for v4.15
2017-11-17 20:14:10 -08:00
qemu_fw_cfg.c
firmware: Fix a reference count leak.
2020-08-11 15:32:33 +02:00
raspberrypi.c
firmware: raspberrypi: Fix firmware calls with large buffers
2019-12-13 08:51:26 +01:00
scpi_pm_domain.c
firmware: scpi: add device power domain support using genpd
2016-06-21 10:26:51 +01:00
ti_sci.c
firmware: ti_sci: Always request response from firmware
2019-09-19 09:09:39 +02:00
ti_sci.h
firmware: ti_sci: Switch to SPDX Licensing
2018-05-04 23:10:23 -07:00