Re: [PATCH v3 1/3] Documentation/bindings: Document the SafeXel cryptographic engine driver

From
Thomas Petazzoni <hidden>
Date
2017-05-22 19:37:49
Also in
linux-arm-kernel
Reply to
Marc Zyngier, 2017-05-22
Hello,

On Mon, 22 May 2017 16:02:33 +0100, Marc Zyngier wrote:
quoted
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)?
The crypto block being in the CP part, it has a wired interrupt to the
ICU (also in the CP). The ICU then turns this wired interrupt into a
memory write transaction to a register called GICP SPI in the AP, which
triggers a SPI interrupt in the GIC.

In the current mainline kernel, the ICU is configured by the firmware
and creates static associations between wired interrupts in the CP and
corresponding SPI interrupts. Therefore the Device Tree currently
reference such SPI interrupts directly.

However, I have a patch series that I plan to submit hopefully in the
next days that adds an ICU driver, and changes the Device Tree to refer
to the ICU interrupt instead.

Therefore, I don't think the binding should reference anything else
than the usual info about the interrupts property.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Thread (20 messages) 20 messages, 6 authors, last reply 2017-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help