summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2025-10-26 17:57:57 +0100
committerBjorn Helgaas <bhelgaas@google.com>2026-02-06 16:40:33 -0600
commit699722468a0fca8b1b9ce1ffe2532171ddcaff95 (patch)
treee34843c5a12f2a425532abe570244d12e1acb3fe /include/linux
parent9abf79c8d7b40db0e5a34aa8c744ea60ff9a3fcf (diff)
PCI/PME: Replace RMW of Root Status register with direct write
As of PCIe r7.0, the Root Status register contains a single writeable bit (PME Status, type RW1C) and otherwise just read-only bits and RsvdZ bits (which software must write as zero, PCIe r7.0 sec 7.4). Thus, when clearing the PME Status bit, there's no need to perform a read-modify-write of the register. Instead, the bit can be written directly. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://patch.msgid.link/39f87c99f6c44be3c0371c79e454e6fde7be0d4d.1761497583.git.lukas@wunner.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions