From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 1/2] xen: arm: log warning for interrupt configuration mismatch Date: Mon, 2 Mar 2015 14:41:48 +0000 Message-ID: <1425307308.21151.64.camel@citrix.com> References: <1424359395.30924.89.camel@citrix.com> <1424359443-21584-1-git-send-email-ian.campbell@citrix.com> <54F23D65.8000602@linaro.org> <1425294756.1886.33.camel@citrix.com> <54F45E11.8070305@linaro.org> <1425303755.21151.20.camel@citrix.com> <54F46A47.1040906@linaro.org> <1425304392.21151.29.camel@citrix.com> <54F46D8D.2000400@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54F46D8D.2000400@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xen.org, tim@xen.org, Pranavkumar Sawargaonkar , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-02 at 14:02 +0000, Julien Grall wrote: > On 02/03/15 13:53, Ian Campbell wrote: > > On Mon, 2015-03-02 at 13:48 +0000, Julien Grall wrote: > >> Given that, I was wondering if it would be useful to only store > >> EDGE/LEVEL in the desc->arch.type and, therefore, ignoring > >> rising/falling and low/high. > > > > If we don't ever need to know about the polarity then sure. It would > > also get a DT-ism out of a non-DT specific place, which will make the > > ACPI folks happy I bet. > > That would be required if we implement an interrupt controller or UART > driver which need to know if it's a rising/falling edge or low/high > level interrupt. > > Although I don't see any UART in Linux using the IRQ type. So it would > only be an interrupt controller. > > I guess we could go on this way (i.e only keeping track of level/edge) > for now. > > I will give a look after my device passthrough series. Sounds good, thanks. > > Regards, >