mirror-linux/drivers
Perry Yuan 7edb503fe4 drm/amd/pm: Disable MMIO access during SMU Mode 1 reset
During Mode 1 reset, the ASIC undergoes a reset cycle and becomes
temporarily inaccessible via PCIe. Any attempt to access MMIO registers
during this window (e.g., from interrupt handlers or other driver threads)
can result in uncompleted PCIe transactions, leading to NMI panics or
system hangs.

To prevent this, set the `no_hw_access` flag to true immediately after
triggering the reset. This signals other driver components to skip
register accesses while the device is offline.

A memory barrier `smp_mb()` is added to ensure the flag update is
globally visible to all cores before the driver enters the sleep/wait
state.

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-01-05 17:00:00 -05:00
..
accel accel/amdxdna: Fix deadlock between context destroy and job timeout 2025-11-13 09:10:43 -08:00
accessibility
acpi cxl and related fixes for v6.18-rc6 2025-11-14 13:25:00 -08:00
amba
android
ata
atm
auxdisplay
base
bcma
block
bluetooth Bluetooth: btrtl: Avoid loading the config file on security chips 2025-11-11 09:06:57 -05:00
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq cpufreq: intel_pstate: Check IDA only before MSR_IA32_PERF_CTL writes 2025-11-12 17:59:37 +01:00
cpuidle RISC-V updates for v6.18-rc5 2025-11-06 15:44:18 -08:00
crypto crypto: hisilicon/qm - Fix device reference leak in qm_get_qos_value 2025-11-06 14:29:49 +08:00
cxl cxl: Adjust offset calculation for poison injection 2025-11-07 09:22:10 -07:00
dax
dca
devfreq
dibs
dio
dma
dma-buf Extra drm-misc-next for v6.19-rc1: 2025-12-02 18:09:08 +10:00
dpll
edac EDAC/altera: Use INTTEST register for Ethernet and USB SBE injection 2025-11-11 14:59:04 +01:00
eisa
extcon
firewire firewire: core: fix to update generation field in topology map 2025-11-16 21:30:26 +09:00
firmware
fpga
fsi
fwctl
gnss
gpio gpio: tb10x: Drop unused tb10x_set_bits() function 2025-11-06 18:19:44 +01:00
gpu drm/amd/pm: Disable MMIO access during SMU Mode 1 reset 2026-01-05 17:00:00 -05:00
greybus
hid
hsi
hte
hv
hwmon hwmon: (gpd-fan) initialize EC on driver load for Win 4 2025-11-12 11:54:37 -08:00
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
input
interconnect
iommu iommufd: Make vfio_compat's unmap succeed if the range is already empty 2025-11-05 15:11:26 -04:00
ipack
irqchip irqchip/riscv-intc: Add missing free() callback in riscv_intc_domain_ops 2025-11-14 16:52:34 +01:00
isdn
leds
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc
mmc mmc: dw_mmc-rockchip: Fix wrong internal phase calculate 2025-11-11 17:47:47 +01:00
most
mtd
mux
net virtio-net: fix incorrect flags recording in big mode 2025-11-13 13:16:30 +01:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci pci-v6.18-fixes-5 2025-11-14 15:45:31 -08:00
pcmcia
peci
perf
phy
pinctrl
platform platform-drivers-x86 for v6.18-3 2025-11-05 11:08:10 -08:00
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: fixed: fix GPIO descriptor leak on register failure 2025-11-05 11:56:16 +00:00
remoteproc
reset
rpmsg
rtc rtc: rx8025: fix incorrect register reference 2025-11-08 20:56:12 +01:00
s390
sbus
scsi
sh
siox
slimbus
soc net: ethernet: ti: netcp: Standardize knav_dma_open_channel to return NULL on error 2025-11-04 19:15:36 -08:00
soundwire
spi spi: Add TODO comment about ACPI GPIO setup 2025-11-10 14:03:53 +00:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs
uio
usb
vdpa mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
vfio vfio/xe: Add device specific vfio_pci driver variant for Intel graphics 2025-12-01 09:45:48 +01:00
vhost
video Linux 6.18-rc6 2025-11-21 08:55:08 +10:00
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile