From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA19D30DEAC for ; Fri, 17 Apr 2026 15:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.77.101.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776439351; cv=none; b=YpMMKtYOei3H0BGJ5GNKYHkfvku0Ppv7k/S3XLiSaS+p7JRbexemhjsKN9KkGfs3G00JsF7W9Y7+NSYQtE/9wj63UvlTxTvtEkN398eacA0NhHicQrrr3uYvY0gmt2PkhuMeydKw6sv4GAAZdD9Q6czhbxnuoOnWRNIBeKV8r+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776439351; c=relaxed/simple; bh=K2kd/re1hrM8vjf2USkWWBQah6xYlWMVfQBlT6ZdAEk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P53N9gcDgMPWHy2jrx+bjNqv6IHeMdGFYl8VVFDMBKPdQxXn2l1EdtbPcvsE1TyGkyy5Zp+LXOJNaD1nFWIh1tQLnKtb9eykvAtIkcpp2N6Dg5LmWEcmG04/+tmu1vigJU2fboYYLthuh0wipW/pSJwWiNA3X4dqtlsggE9xcNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl; spf=pass smtp.mailfrom=wp.pl; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b=ETVGpyy/; arc=none smtp.client-ip=212.77.101.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wp.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b="ETVGpyy/" Received: (wp-smtpd smtp.wp.pl 14707 invoked from network); 17 Apr 2026 17:22:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=20241105; t=1776439341; bh=Xi8TMBxp0BSry8/JFMeye6deCm8xd1AIT0mWI9VoFQI=; h=Subject:To:Cc:From; b=ETVGpyy/h1lmQIM/LNdBK8Q7Ps0guVrRjzMDXeIlvyGYbXST1B3DJns5VQ2JGFeE0 UIns2ErK2QLuiFaFZ6tww2i7GV4iiZcShkqQp+pVKJe7cK9VLI9vzJ+O9yjgnz4K4Y mNyuWTHrL6vQG332g/KynWEGPtmA7r2cRou1sNcCSwtsk/yZlcFg5rGr7YYO2+ddK+ aVf/GY3st4ADnWKwA+ar+sgeimFCFK16o3Y8InE0DnwLzOnsxw9qLm4Xp6s/pqz9Q4 cdnHB0DqL+ShPSQuESDxzygxrM6//c4tiK0yNma/fTXlkENXn6KeoJGov7XzipDlqS 6tOirNuRgWwgA== Received: from 83.24.138.154.ipv4.supernova.orange.pl (HELO [192.168.3.203]) (olek2@wp.pl@[83.24.138.154]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with TLS_AES_256_GCM_SHA384 encrypted SMTP for ; 17 Apr 2026 17:22:21 +0200 Message-ID: Date: Fri, 17 Apr 2026 17:22:19 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 02/16] dt-bindings: interrupt-controller: Describe EIP-201 AIC To: Miquel Raynal Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner , Olivia Mackall , Herbert Xu , Jayesh Choudhary , "David S. Miller" , Christian Marangi , Antoine Tenart , Geert Uytterhoeven , Magnus Damm , Thomas Petazzoni , Pascal EBERHARD , Wolfram Sang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: <20260327-schneider-v7-0-rc1-crypto-v1-0-5e6ff7853994@bootlin.com> <20260327-schneider-v7-0-rc1-crypto-v1-2-5e6ff7853994@bootlin.com> <444b4349-3873-4da6-aadd-3605e738ad0d@wp.pl> <87tstac9fn.fsf@bootlin.com> Content-Language: pl From: Aleksander Jan Bajkowski In-Reply-To: <87tstac9fn.fsf@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-WP-MailID: c9eb1343a5c3b7e25f82a1734231c32a X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000002 [ATFs] Hi Miquel, On 17/04/2026 09:50, Miquel Raynal wrote: > Hi Aleksander, > > On 16/04/2026 at 20:04:03 +02, Aleksander Jan Bajkowski wrote: > >> Hi Miquel, >> >> On 27/03/2026 21:09, Miquel Raynal (Schneider Electric) wrote: >>> diff --git >>> a/include/dt-bindings/interrupt-controller/inside-secure,safexcel-eip201.h >>> b/include/dt-bindings/interrupt-controller/inside-secure,safexcel-eip201.h >>> new file mode 100644 >>> index 000000000000..ead73bd96296 >>> --- /dev/null >>> +++ b/include/dt-bindings/interrupt-controller/inside-secure,safexcel-eip201.h >>> @@ -0,0 +1,14 @@ >>> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >>> + >>> +#ifndef _DT_BINDINGS_IRQ_SAFEXCEL_EIP201_AIC_H >>> +#define _DT_BINDINGS_IRQ_SAFEXCEL_EIP201_AIC_H >>> + >>> +#define AIC_PKA_INT0 0 >>> +#define AIC_PKA_INT1 1 >>> +#define AIC_PKA_INT2 2 >>> +#define AIC_TRNG_INT 3 >>> +#define AIC_RESERVED 4 >>> +#define AIC_SL_ERR_INT 5 >>> +#define AIC_PROTECTION_INT 6 >>> + >>> +#endif >> This interrupt mapping is specific to the EIP-150. The EIP-201 is also >> integrated >> into other accelerators, such as the EIP-97, EIP-196, and EIP-197, and the >> interrupt mapping is likely different there. Maybe it would be better to use >> eip150 name instead of eip201? > Thanks a lot for the heads up, I didn't had that information, I will > adapt the naming to make it more accurate future proof. > >> As for EIP-28, it is also part of EIP-94. EIP-94 is supported by the >> amcc driver. >> EIP-94 consists of four components: >> * crypto accelerator (unnamed?), >> * PRNG (EIP-73d), >> * TRNG (unnamed?), >> * PKA (EIP-28). >> Only the first three components are supported by the amcc driver. > Is this driver upstream? I didn't find it. Anyhow, thanks for the > feedback, I will update with this knowledge in mind. You can find the driver in the drivers/crypto/amcc directory. It contains no references to EIP-94. It’s likely that when it was added, it wasn’t clear that it was a generic IP core. A while ago, I was looking for information about the PRNGs built into Rambus crypto accelerators. I found out that all these accelerators are made up of blocks and have some common components. EIP-93: * PE (various IP cores), * PRNG (EIP-73a), * Interrupt controller (unnamed?) EIP-94: * PE (various IP cores), * PRNG (EIP-73d), * TRNG (unnamed?), * PKA (EIP-28), * Interrupt Controller (unnamed?). EIP-97: * PE (EIP-96) * AIC (EIP-201), * PRNG (EIP-73d), * HIA (EIP-202), * PP (EIP-206). EIP-196: * PE (EIP-96) * AIC (EIP-201), * PRNG (EIP-73d), * HIA (EIP-202), * PP (EIP-206). EIP-197: * PE (EIP-96) * AIC (EIP-201), * PRNG (EIP-74), * HIA (EIP-202), * PP (EIP-206), * ICE/OCE (EIP-207), * Buffers (EIP-208). You can find some documentation online: * EIP-93: https://www.analog.com/media/en/dsp-documentation/processor-manuals/BF70x_BlackfinProcessorHardwareReference.pdf * EIP-94: https://www.scribd.com/document/734250956/Safexcel-Ip-94-Plb-Sas-v1-5 * EIP-96: https://www.scribd.com/document/665924605/Security-IP-96-HW4-6-Hardware-Reference-and-Programmer-Manual-RevB * EIP-197: https://www.scribd.com/document/665924595/Security-IP-197-HW3-4-Hardware-Reference-Manual-RevA Best regards, Aleksander