]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
authorPali Rohár <pali@kernel.org>
Thu, 25 Nov 2021 12:46:04 +0000 (13:46 +0100)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 9 Mar 2022 14:17:47 +0000 (15:17 +0100)
commit9d2fca6b7f8dca9aaf0fbaf631dd9857c7419f83
tree3abc4bc67572807256917f1bff537d3928c63f19
parent96026c691b3a66a688b56cd42c0ddf3aa0955a42
PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge

BugLink: https://bugs.launchpad.net/bugs/1964361
[ Upstream commit 838ff44a398ff47fe9b924961d91aee325821220 ]

PME Status bit in Root Status Register (PCIE_RC_RTSTA_OFF) is read-only and
can be cleared only by writing 0b to the Interrupt Cause RW0C register
(PCIE_INT_CAUSE_OFF).

Link: https://lore.kernel.org/r/20211125124605.25915-15-pali@kernel.org
Fixes: 1f08673eef12 ("PCI: mvebu: Convert to PCI emulated bridge config space")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/pci/controller/pci-mvebu.c