mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This patch updates the ASPEED PCIe Root Port capability layout and interrupt
handling to match the hardware-defined capability structure as documented in
the PCI Express Controller (PCIE) chapter of the ASPEED SoC datasheet.
The following capability offsets and fields are now aligned with the actual
hardware implementation (validated using EVB config-space dumps via
'lspci -s <bdf> -vvv'):
- Added MSI capability at offset 0x50 and enabled 1-vector MSI support
- Added PCI Express Capability structure at offset 0x80
- Added Secondary Subsystem Vendor ID (SSVID) at offset 0xC0
- Added AER capability at offset 0x100
- Implemented aer_vector() callback and MSI init/uninit hooks
- Updated Root Port SSID to 0x1150 to reflect the platform default
Enabling MSI is required for proper PCIe Hotplug event signaling. This change
improves correctness and ensures QEMU Root Port behavior matches the behavior
of ASPEED hardware and downstream kernel expectations.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Fixes:
|
2 weeks ago | |
|---|---|---|
| .. | ||
| Kconfig | 2 months ago | |
| articia.c | 7 months ago | |
| aspeed_pcie.c | 2 weeks ago | |
| astro.c | 2 months ago | |
| bonito.c | 1 month ago | |
| designware.c | 7 months ago | |
| dino.c | 2 months ago | |
| fsl_imx8m_phy.c | 7 months ago | |
| gpex-acpi.c | 4 weeks ago | |
| gpex.c | 7 months ago | |
| grackle.c | 7 months ago | |
| gt64120.c | 5 months ago | |
| i440fx.c | 7 months ago | |
| meson.build | 2 months ago | |
| mv643xx.h | 2 years ago | |
| mv64361.c | 7 months ago | |
| pam.c | 3 years ago | |
| pnv_phb.c | 7 months ago | |
| pnv_phb.h | 3 years ago | |
| pnv_phb3.c | 5 months ago | |
| pnv_phb3_msi.c | 7 months ago | |
| pnv_phb3_pbcq.c | 7 months ago | |
| pnv_phb4.c | 5 months ago | |
| pnv_phb4_pec.c | 7 months ago | |
| ppc4xx_pci.c | 7 months ago | |
| ppc440_pcix.c | 7 months ago | |
| ppce500.c | 5 months ago | |
| q35.c | 4 weeks ago | |
| raven.c | 1 month ago | |
| remote.c | 7 months ago | |
| sabre.c | 7 months ago | |
| sh_pci.c | 5 months ago | |
| trace-events | 2 months ago | |
| trace.h | 5 years ago | |
| uninorth.c | 7 months ago | |
| versatile.c | 7 months ago | |
| xen_igd_pt.c | 7 months ago | |
| xilinx-pcie.c | 7 months ago | |