From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yinghai Lu Subject: Re: [PATCH v5 02/33] genirq: Add irq_alloc_reserved_desc() Date: Sat, 22 Feb 2014 09:28:33 -0800 Message-ID: References: <1388707565-16535-1-git-send-email-yinghai@kernel.org> <1388707565-16535-3-git-send-email-yinghai@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-oa0-f41.google.com ([209.85.219.41]:52072 "EHLO mail-oa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbaBVR2e (ORCPT ); Sat, 22 Feb 2014 12:28:34 -0500 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Thomas Gleixner Cc: Ingo Molnar , "H. Peter Anvin" , Tony Luck , Bjorn Helgaas , "Rafael J. Wysocki" , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , ACPI Devel Maling List , Joerg Roedel , Konrad Rzeszutek Wilk , Sebastian Andrzej Siewior On Sat, Feb 22, 2014 at 2:08 AM, Thomas Gleixner wrote: > > As I said before irq_reserve_irq() is a misnomer and a > misconception. Of course this needs to be fixed as well. > > And you cannot just blindly change it because !SPARSE can use the > allocation. We are not creating stupid corner cases just to support > your sloppyness. Its not rocket science to do it the right way. > > That said, it might be worthwhile to get rid of the !SPARSE case > completely. That would probably make quite some stuff simpler. So we need to make all arches support SPARSE_IRQ at first? Now we have arm, arm64, c6x, metag, powerpc, sh, x86 support SPARSE_IRQ. The following are not with SPARSE_IRQ yet: alpha, arc, avr32, blackfin, cris, frv, hexagon, m32r, m68k, microblaze, mips, mn10300, openrisc, parisc, s390, score, sparc, tile, um, unicore32, xtensa. Thanks Yinghai Thanks Yinghai