提交 978c2781 编写于 作者: P Pali Rohár 提交者: Zheng Zengkai

PCI: pci-bridge-emul: Add PCIe Root Capabilities Register

stable inclusion
from stable-5.10.69
commit 9e766b86a9ef653a8ca48a9f70d3dbb580284594
bugzilla: 182675 https://gitee.com/openeuler/kernel/issues/I4I3ED

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9e766b86a9ef653a8ca48a9f70d3dbb580284594

--------------------------------

commit e902bb7c upstream.

The 16-bit Root Capabilities register is at offset 0x1e in the PCIe
Capability. Rename current 'rsvd' struct member to 'rootcap'.

Link: https://lore.kernel.org/r/20210722144041.12661-4-pali@kernel.orgSigned-off-by: NPali Rohár <pali@kernel.org>
Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: NMarek Behún <kabel@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 6301562f
...@@ -54,7 +54,7 @@ struct pci_bridge_emul_pcie_conf { ...@@ -54,7 +54,7 @@ struct pci_bridge_emul_pcie_conf {
__le16 slotctl; __le16 slotctl;
__le16 slotsta; __le16 slotsta;
__le16 rootctl; __le16 rootctl;
__le16 rsvd; __le16 rootcap;
__le32 rootsta; __le32 rootsta;
__le32 devcap2; __le32 devcap2;
__le16 devctl2; __le16 devctl2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册