linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] ACPI,PCI,IRQ: correct ISA penalty calculation
@ 2016-06-29  8:27 Sinan Kaya
  2016-06-29  8:27 ` [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible Sinan Kaya
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Sinan Kaya @ 2016-06-29  8:27 UTC (permalink / raw)
  To: linux-acpi, timur, cov, jcm, alex.williamson, eric.auger
  Cc: linux-pci, agross, linux-arm-msm, linux-arm-kernel, wim, perex,
	tiwai, Sinan Kaya

Since commit 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements")
the penalty values are calculated on the fly rather than boot time.

This works fine for PCI interrupts but not so well for the ISA interrupts.
Whether an ISA interrupt is in use or not information is not available
inside the pci_link.c file. This information gets sent externally via
acpi_penalize_isa_irq function. If active is true, then the IRQ is in use
by ISA. Otherwise, IRQ is in use by PCI.

Sinan Kaya (4):
  ACPI,PCI,IRQ: factor in PCI possible
  Revert "ACPI,PCI,IRQ: remove redundant code in
    acpi_irq_penalty_init()"
  ACPI,PCI,IRQ: separate ISA penalty calculation
  ACPI,PCI,IRQ: correct operator precedence

 arch/x86/pci/acpi.c         |  1 +
 drivers/acpi/pci_link.c     | 65 ++++++++++++++++++++++++++++++++++-----------
 include/acpi/acpi_drivers.h |  1 +
 3 files changed, 51 insertions(+), 16 deletions(-)

-- 
1.8.2.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-10-18 16:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29  8:27 [PATCH V2 0/4] ACPI,PCI,IRQ: correct ISA penalty calculation Sinan Kaya
2016-06-29  8:27 ` [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible Sinan Kaya
2016-06-29 13:13   ` Rafael J. Wysocki
2016-06-29 18:47     ` Sinan Kaya
2016-06-29 21:19       ` Rafael J. Wysocki
2016-06-29 21:21         ` Sinan Kaya
2016-06-29 21:25           ` Rafael J. Wysocki
2016-06-29 21:26           ` Rafael J. Wysocki
2016-06-29  8:27 ` [PATCH V2 2/4] Revert "ACPI,PCI,IRQ: remove redundant code in acpi_irq_penalty_init()" Sinan Kaya
2016-06-29  8:27 ` [PATCH V2 3/4] ACPI,PCI,IRQ: separate ISA penalty calculation Sinan Kaya
2016-10-18 10:46   ` Bjorn Helgaas
2016-10-18 16:10     ` Sinan Kaya
2016-06-29  8:27 ` [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence Sinan Kaya
2016-06-29 13:16   ` Rafael J. Wysocki
2016-06-29 18:29     ` Sinan Kaya
2016-06-29 21:14       ` Rafael J. Wysocki
2016-06-29 21:19         ` Sinan Kaya
2016-06-29 21:40           ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).