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)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 4 Jan 2022 14:59:45 +0000 (14:59 +0000)
commit838ff44a398ff47fe9b924961d91aee325821220
tree720bfbf0902a96b8ad4dcf07cde32826081021c2
parentecae073e393e65ee7be7ebf3fdd5258ab99f1636
PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge

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>
drivers/pci/controller/pci-mvebu.c