From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts To: Bjorn Helgaas References: <1476505867-24599-1-git-send-email-okaya@codeaurora.org> <1476505867-24599-2-git-send-email-okaya@codeaurora.org> <20161018135912.GD18903@localhost> <0a82f2ef-b072-d847-104a-320cf804ebd5@codeaurora.org> <20161019224405.GA14915@localhost> <20161021024111.GA24336@localhost> Cc: linux-acpi@vger.kernel.org, rjw@rjwysocki.net, bhelgaas@google.com, ravikanth.nalla@hpe.com, linux@rainbow-software.org, timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, alex.williamson@redhat.com, linux-pci@vger.kernel.org, agross@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, wim@djo.tudelft.nl, linux-arm-kernel@lists.infradead.org, Len Brown From: Sinan Kaya Message-ID: Date: Thu, 20 Oct 2016 20:01:51 -0700 MIME-Version: 1.0 In-Reply-To: <20161021024111.GA24336@localhost> Content-Type: text/plain; charset=windows-1252 List-ID: On 10/20/2016 7:41 PM, Bjorn Helgaas wrote: > On Thu, Oct 20, 2016 at 01:01:04PM -0700, Sinan Kaya wrote: >> On 10/19/2016 3:44 PM, Bjorn Helgaas wrote: > >>> - Maintain a mapping of (IRQ, penalty). Initially all penalties are >>> zero. This is for *all* IRQs, not just ISA ones. This could be a >>> linked list, but the structure is not important as long as we can >>> add things dynamically. >> >> Dynamic allocation doesn't work due to early calls from x86 architecture. >> This is the reason why we iterate the link objects. > > Where exactly is this early penalization? That seems to be the > biggest problem. Well, maybe the question of ACPI core parsing of > _CRS/_PRS is a bigger structural problem, but the dynamic allocation > thing at least seems solvable. > http://marc.info/?l=linux-acpi&m=145580159209240&w=2 -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.