From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 D7F99374E60; Fri, 17 Apr 2026 07:50:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776412249; cv=none; b=bsBdNicwsKfzgCeq7ZQsaRbFlojrPjmWlVOfG3h61oGvkDSTPpLorkGKl743m0fUmnvhgeJKZSP8tx5gHn9iTurBKAghqdldf7n3IxrKCZapY05ckShqvLrZjcG4+0wMrHHRGFtlBKryw4yKI2x3/34tuBWcWxfp+u0u18duK3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776412249; c=relaxed/simple; bh=mN9SIeXfRCe7zV5stdN76y8+361AYnzBpG7i78ynP6E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=dAdgTN0I05Kp7D0oAfgCsex7qny+yHLD16OGb/j2Zusef+G+1JwItraEHgFpnJUEt/QBuhdyW5ZiODn/WsYJtB4J5FJSctx3Xt2audgprYpvXLv5PtQ7nanIszzPtMJjuHvMBaV4xLzY2o0uqBVC8vCfHbMDCvC8AqFhxPAxnEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kSSVjutW; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kSSVjutW" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 310994E42A2F; Fri, 17 Apr 2026 07:50:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 00A6360497; Fri, 17 Apr 2026 07:50:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C98CC10460952; Fri, 17 Apr 2026 09:50:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1776412230; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=TfT7hmmZx8Kr7kxPd8PXiGjFEe0ZJMTCF2H4FVfguC0=; b=kSSVjutW5+6st3wLsgmGMbKBs+AWGo9jKztX2gQQHiLq/D5ZaxHz6TQmy6/ktSAAKONcQq f3ydv7wWoVRA6Q5iHv23NRExFtqmD9MxBsLqw46YhA1XbbTeTWEdLuqNRIiUJ25ghokeOm +b2o1rbkO6Ue3xrujQzfvDBIKF4otZMr3Wl6w4NGIFcwa7U9Ibfj777V/EBtTxB9DL9ix4 gLttANP+B7PX+lLr0ygG+R9l7BDCTonz097+IYQlWJdZ0Ug7lkLK82rZhjofdasPo+lkbr XIsX6CNajkMrXAtWPPRhhFfWhMYEmWYGQrV8PRbFtQl8v/l3UL9y0V+mTI3WFw== From: Miquel Raynal To: Aleksander Jan Bajkowski 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 Subject: Re: [PATCH 02/16] dt-bindings: interrupt-controller: Describe EIP-201 AIC In-Reply-To: <444b4349-3873-4da6-aadd-3605e738ad0d@wp.pl> (Aleksander Jan Bajkowski's message of "Thu, 16 Apr 2026 20:04:03 +0200") 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> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Fri, 17 Apr 2026 09:50:20 +0200 Message-ID: <87tstac9fn.fsf@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 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-ei= p201.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. Miqu=C3=A8l