Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754648AbaKXOpv (ORCPT ); Mon, 24 Nov 2014 09:45:51 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:8710 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754549AbaKXOpt (ORCPT ); Mon, 24 Nov 2014 09:45:49 -0500 Message-ID: <54734481.1020901@huawei.com> Date: Mon, 24 Nov 2014 22:45:21 +0800 From: "Yun Wu (Abel)" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Thomas Gleixner CC: LKML , Jiang Liu , Bjorn Helgaas , "Grant Likely" , Marc Zyngier , Yingjoe Chen , Yijing Wang Subject: Re: [patch 01/16] irqdomain: Introduce new interfaces to support hierarchy irqdomains References: <20141112133941.647950773@linutronix.de> <20141112134119.881823615@linutronix.de> <547325A9.3000109@huawei.com> <54733A4E.8020304@huawei.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.24.136] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014/11/24 22:32, Thomas Gleixner wrote: > On Mon, 24 Nov 2014, Yun Wu (Abel) wrote: >> On 2014/11/24 21:13, Thomas Gleixner wrote: >>> In the hierarchical case we do not touch the hardware in the >>> allocation step, so we need to activate the allocated interrupt in the >>> hardware before we can use it. And that's clearly a domain interface >>> not a irq chip issue. >>> >> >> Makes sense, now the interrupt domain seems to be the best place. >> And when the @domain parameter can be really useful? I haven't see >> anyone using it so far. > > All irqdomain callbacks take the domain pointer as their first > parameter. So for consistency sake we made it that way. > > You can argue in circles about whether the domain argument could be > removed. It's going to stay for now as it does not matter at all. > Yes, you are right. Thanks, Abel -- 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/