Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756045AbaFUVIq (ORCPT ); Sat, 21 Jun 2014 17:08:46 -0400 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 Date: Sat, 21 Jun 2014 23:08:12 +0200 (CEST) From: Thomas Gleixner 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 Subject: Re: [Patch V4 00/42] use irqdomain to dynamically allocate IRQ for IOAPIC In-Reply-To: <1402302011-23642-1-git-send-email-jiang.liu@linux.intel.com> Message-ID: References: <1402302011-23642-1-git-send-email-jiang.liu@linux.intel.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/