Message ID | f5d23376-42d1-7fec-dc1c-45e419acb678@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Tue, Mar 13, 2018 at 07:20:10PM +0800, Dongdong Liu wrote: [...] > >It sounds like you're saying HIP07 doesn't provide _PRT? Per the PCI > >Firmware Spec, r3.0, sec 4.4, _PRT is required under all PCI host > >bridges. So I think you're saying HIP07 doesn't comply with the spec, > > Yes, It does not support to use _PRT on the Hip07. Hip07 firmware will be updated to support _PRT because that's what the ACPI specifications enforce. Thanks, Lorenzo
--- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c @@ -390,7 +390,7 @@ static inline int acpi_isa_register_gsi(struct pci_dev *dev) static inline bool acpi_pci_irq_valid(struct pci_dev *dev, u8 pin) { -#ifdef CONFIG_X86 +#if defined(CONFIG_X86) || defined(CONFIG_ARM64) /* * On x86 irq line 0xff means "unknown" or "no connection" * (PCI 3.0, Section 6.2.4, footnote on page 223).