From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751152AbaERI7D (ORCPT ); Sun, 18 May 2014 04:59:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:32622 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809AbaERI66 (ORCPT ); Sun, 18 May 2014 04:58:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,861,1392192000"; d="scan'208";a="533698699" Message-ID: <5378764C.5050601@linux.intel.com> Date: Sun, 18 May 2014 16:58:52 +0800 From: Jiang Liu Organization: Intel User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Yinghai Lu CC: Benjamin Herrenschmidt , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "Rafael J. Wysocki" , Bjorn Helgaas , Randy Dunlap , Konrad Rzeszutek Wilk , Andrew Morton , Tony Luck , Joerg Roedel , Paul Gortmaker , Greg Kroah-Hartman , the arch/x86 maintainers , Linux Kernel Mailing List , "linux-pci@vger.kernel.org" , ACPI Devel Maling List , sfi-devel@simplefirmware.org Subject: Re: [RFC Patch Part1 V1 00/30] use irqdomain to dynamically allocate IRQ for IOAPIC pin References: <1400227550-5935-1-git-send-email-jiang.liu@linux.intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014/5/16 23:01, Yinghai Lu wrote: > On Fri, May 16, 2014 at 1:05 AM, Jiang Liu wrote: >> On x86 platforms, IRQ number are statically allocated to IOAPIC pins at boot. >> There are two issues with this design. First it causes trouble to IOAPIC >> hotplug because we need to allocate a block of IRQ numbers for each IOAPIC. >> Second it may waste IRQ nubmers even if some IOAPIC pins are not used because >> IRQ numbers are statically assigned. >> >> This patchset tries to enable dynamic IRQ number allocation for IOAPIC >> by adopting the irqdomain framework, it solves the two issues mentioned >> above. It also simplifies the IOAPIC driver by consolidating ways to >> program IOAPIC pins with the irqdomain map interface. >> >> We will enhance the IOAPIC driver core to support ACPI based IOAPIC hotplug >> once the IOAPIC driver has been converted to irqdomain. >> >> This patchset applies to v3.15-rc4-260-g38583f095c5a and has been tested >> on a two socket 64 bit Intel platforms with: >> 1) ACPI and mpparse enabled (boot successfully) >> 2) Mpparse enabled with ACPI disabled (boot successfully) >> 3) ACPI enabled with Mpparse disabled (boot successfully) > > Great. I don't need to look into using irqdomain for x86 by myself. > > Thomas put some irq clean up patches in tip irq branch. > > Can you rebase your irqdomain/for x86 on top of that? > Also would be better if you can put your patches in git branch. Hi Yinghai, I have rebased to tip/irq/core branch and will send out new patch set after basic tests. I have no account at kernel.org, so will try to setup a gate on github next time. Thanks! > > Thanks > > Yinghai > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >