From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sinan Kaya Subject: [PATCH V2 0/4] ACPI,PCI,IRQ: correct ISA penalty calculation Date: Wed, 29 Jun 2016 04:27:34 -0400 Message-ID: <1467188859-28188-1-git-send-email-okaya@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:51227 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbcF2I2D (ORCPT ); Wed, 29 Jun 2016 04:28:03 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: linux-acpi@vger.kernel.org, timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, alex.williamson@redhat.com, eric.auger@redhat.com Cc: linux-pci@vger.kernel.org, agross@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wim@djo.tudelft.nl, perex@perex.cz, tiwai@suse.com, 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