From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbcJUDB5 (ORCPT ); Thu, 20 Oct 2016 23:01:57 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33106 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753227AbcJUDBy (ORCPT ); Thu, 20 Oct 2016 23:01:54 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 26C1F61734 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=okaya@codeaurora.org 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 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161021024111.GA24336@localhost> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.