diff options
author | Pali Rohár <[email protected]> | 2022-02-22 16:50:25 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-02-22 16:04:20 +0000 |
commit | 2b6ee04c0aa6cfff87bdf71b47b78fa26ad54afd (patch) | |
tree | c8294ba7617d5fdfb4fc14d3f4fe6665215db12a /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | e3e13c9135da969cfe1666a9f24e76b589d5652b (diff) |
PCI: mvebu: Add support for Advanced Error Reporting registers on emulated bridge
AER registers start at mvebu offset 0x0100. Registers PCI_ERR_ROOT_COMMAND,
PCI_ERR_ROOT_STATUS and PCI_ERR_ROOT_ERR_SRC are not supported on pre-XP
hardware and returns zeros.
Note that AER interrupt is not supported yet as mvebu emulated bridge does
not implement interrupts support at all yet.
Also remove custom macro PCIE_HEADER_LOG_4_OFF as it is unused and
correctly this register should be referenced via standard macros with
offset, e.g. as: PCIE_CAP_PCIERR_OFF + PCI_ERR_HEADER_LOG + 4.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions