Defining polarity and trigger mode for static interrupts in _PRT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Resend in plain text mode]

Hi Lorenzo, Rafael,

ACPI 6.1 spec does not specify how to set interrupt polarity and
trigger mode in _PRT when the interrupts are static (hardwired to
specific interrupt inputs in interrupt controller). In current
acpi_pci_irq_enable (drivers/acpi/pci_irq.c) implementation, by
default the trigger mode is set to LEVEL_SENSITIVE, polarity is set to
ACTIVE_LOW. This default setting won't work for ARM64 GICv2, GICv2m,
GICv3 controllers and will cause failures in PCIe AER, PME services
(on X-Gene platforms).

Is there any way to specify polarity and trigger mode for static
interrupts in _PRT? If not, can we introduce a _weak_ hook to specify
default polarity and trigger mode for for ARM64 PCIe INTx in
drivers/acpi/pci_irq.c?

Regards,
Duc Dang.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux