soc/intel/xeon_sp: Support _PRT reporting for domain
acpigen_write_PRT_pre_routed should support _PRT reporting for both domains and PCI root ports. TESTED=Build and boot on intel/avenuecity CRB _PRT will be correctly reported and IRQ routing missing error in dmesg will disappear [ 40.406496] pcieport 0000:14:08.0: can't derive routing for PCI INT A [ 40.413799] pci 0000:17:00.0: PCI INT A: no GSI [ 40.418965] pcieport 0000:14:08.0: can't derive routing for PCI INT A [ 40.426272] ast 0000:18:00.0: PCI INT A: no GSI Change-Id: I07b9ce7b698a0bad30f0a20998a6543101d12542 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85151 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: <yuchi.chen@intel.com>
This commit is contained in:
parent
1399dd8086
commit
01bf34cb28
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ void acpigen_write_PRT_pre_routed(const struct device *br)
|
|||
uint32_t routed_dev_bitmap = 0;
|
||||
char *entry_count;
|
||||
|
||||
if (!is_pci_bridge(br))
|
||||
if (!dev_is_active_bridge(br))
|
||||
return;
|
||||
|
||||
const char *acpi_scope = acpi_device_path(br);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue