From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [Patch V4 00/42] use irqdomain to dynamically allocate IRQ for IOAPIC Date: Sat, 21 Jun 2014 23:08:12 +0200 (CEST) Message-ID: References: <1402302011-23642-1-git-send-email-jiang.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.linutronix.de ([62.245.132.108]:37043 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754357AbaFUVIo (ORCPT ); Sat, 21 Jun 2014 17:08:44 -0400 In-Reply-To: <1402302011-23642-1-git-send-email-jiang.liu@linux.intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Jiang Liu Cc: Benjamin Herrenschmidt , Grant Likely , Ingo Molnar , "H. Peter Anvin" , "Rafael J. Wysocki" , Bjorn Helgaas , Randy Dunlap , Yinghai Lu , Konrad Rzeszutek Wilk , Andrew Morton , Tony Luck , Joerg Roedel , Paul Gortmaker , Greg Kroah-Hartman , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org Jiang, On Mon, 9 Jun 2014, 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. I merged the whole lot. Thanks for doing this and reacting on all the review comments. Very nice cleanup work! Thanks, tglx