From: Marc Zyngier Subject: Re: [PATCH v3 1/3] Documentation/bindings: Document the SafeXel cryptographic engine driver Date: Mon, 22 May 2017 16:02:33 +0100 Message-ID: <44fc18ba-a06a-de89-2172-08c093880e79@arm.com> References: <20170424075407.19730-1-antoine.tenart@free-electrons.com> <20170424075407.19730-2-antoine.tenart@free-electrons.com> <7986721e-3a2b-23fb-61d7-7032f0d65533@arm.com> <20170522143049.GD14976@kwain.lan> <20170522145440.GE14976@kwain.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: herbert@gondor.apana.org.au, davem@davemloft.net, jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@free-electrons.com, sebastian.hesselbarth@gmail.com, thomas.petazzoni@free-electrons.com, boris.brezillon@free-electrons.com, igall@marvell.com, nadavh@marvell.com, linux-crypto@vger.kernel.org, robin.murphy@arm.com, oferh@marvell.com, linux-arm-kernel@lists.infradead.org To: Antoine Tenart Return-path: Received: from foss.arm.com ([217.140.101.70]:39726 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935228AbdEVPCi (ORCPT ); Mon, 22 May 2017 11:02:38 -0400 In-Reply-To: <20170522145440.GE14976@kwain.lan> Sender: linux-crypto-owner@vger.kernel.org List-ID: On 22/05/17 15:54, Antoine Tenart wrote: > On Mon, May 22, 2017 at 03:48:30PM +0100, Marc Zyngier wrote: >> On 22/05/17 15:30, Antoine Tenart wrote: >>> On Wed, May 03, 2017 at 05:36:38PM +0100, Marc Zyngier wrote: >>>> On 24/04/17 08:54, Antoine Tenart wrote: >>>>> + >>>>> + crypto: crypto@800000 { >>>>> + compatible = "inside-secure,safexcel-eip197"; >>>>> + reg = <0x800000 0x200000>; >>>>> + interrupts = , >>>> >>>> I'm puzzled. How can the interrupt can be both level *and* edge? That >>>> doesn't make any sense. >>> >>> I agree this looks odd. I took it from Russel's ICU mapping: >>> http://lists.infradead.org/pipermail/linux-arm-kernel/2017-February/489040.html >> >> This emails says: >> >> ICU-irq => GIC-SPI-num Enable Edge/Level ICU-group >> [...] >> 24 => 34 En Lv 0 > > It also says: 87 => 34 En Lv 5, which is the IRQ I'm looking for. Ah, that one as well. So how is the interrupt routed? Via the ICU, and then to the GIC (with several ICU sources mapped on a single SPI)? If so, the binding should reflect this. Thanks, M. -- Jazz is not dead. It just smells funny...