Linux kernel source tree
 
 
 
 
 
 
Go to file
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
Documentation Documentation/amdgpu: Add UMA carveout details 2026-01-05 16:59:58 -05:00
LICENSES
arch Linux 6.18-rc6 2025-11-21 08:55:08 +10:00
block
certs
crypto
drivers drm/amd/pm: Disable MMIO access during SMU Mode 1 reset 2026-01-05 17:00:00 -05:00
fs
include drm/amdkfd: Add metadata ring buffer for compute 2026-01-05 16:59:56 -05:00
init
io_uring
ipc
kernel Linux 6.18-rc6 2025-11-21 08:55:08 +10:00
lib
mm
net
rust Core Changes: 2025-11-28 06:49:44 +10:00
samples
scripts
security
sound
tools
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Linux 6.18-rc6 2025-11-21 08:55:08 +10:00
.pylintrc
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Cross-subsystem Changes: 2025-12-05 10:16:25 +10:00
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.