From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: Re: [PATCH v24 08/11] acpi: Introduce acpi_unregister_irq function Date: Wed, 19 Apr 2017 16:09:16 +0100 Message-ID: <20170419150916.GI27829@leverpostej> References: <20170414184014.8524-1-fu.wei@linaro.org> <20170414184014.8524-9-fu.wei@linaro.org> <20170418155841.GK17866@leverpostej> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170418155841.GK17866@leverpostej> Sender: linux-kernel-owner@vger.kernel.org To: fu.wei@linaro.org, rjw@rjwysocki.net, lenb@kernel.org, lorenzo.pieralisi@arm.com, hanjun.guo@linaro.org Cc: linaro-acpi@lists.linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, rruigrok@codeaurora.org, wim@iguana.be, wei@redhat.com, al.stone@linaro.org, tn@semihalf.com, timur@codeaurora.org, daniel.lezcano@linaro.org, linux-acpi@vger.kernel.org, linux@roeck-us.net, harba@codeaurora.org, julien.grall@arm.com, linux-watchdog@vger.kernel.org, arnd@arndb.de, marc.zyngier@arm.com, jcm@redhat.com, cov@codeaurora.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, graeme.gregory@linaro.org, linux-kernel@vger.kernel.org, leo.duran@amd.com, Suravee.Suthikulpanit@amd.com, sudeep.holla@arm.com, christoffer.dall@linaro.org List-Id: linux-acpi@vger.kernel.org On Tue, Apr 18, 2017 at 04:58:41PM +0100, Mark Rutland wrote: > On Sat, Apr 15, 2017 at 02:40:11AM +0800, fu.wei@linaro.org wrote: > > From: Fu Wei > > > > This patch introduces acpi_unregister_irq function to free a > > linux IRQ number<->GSI mapping by a given linux IRQ number. > > > > Even we have successfully registered the GSI, when some error occurs, we > > may need to unmap it for freeing the IRQ resource. But in some cases, we > > only have IRQ, but not GSI. > > > > This patch is the preparation for memory-mapped timer support in GTDT > > driver. > > > > Signed-off-by: Fu Wei > > --- > > drivers/acpi/irq.c | 10 ++++++++++ > > include/linux/acpi.h | 7 +++++++ > > 2 files changed, 17 insertions(+) > > This will need comments/acks from the ACPI folk. I've now reworked the cleanup to not require this API, and will drop this patch. Thanks, Mark.