Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2035313rbb; Tue, 27 Feb 2024 08:41:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUXu8vweSjJ3nGnruXxq1qx+2GiKfvVRw+VkO4K5Zg6I6+3OpExT1RWh6N1bxmO3mVBgkNKInpmMqP2MUP/RAAYi3OxCbOLs/RXcGPmqg== X-Google-Smtp-Source: AGHT+IHorgqrGIdt4feFY+NFTwhEIQTRLUY2FVD/y0Upn5SMwP0snXNSlcsZ/XRgR1xvY5JcI0aQ X-Received: by 2002:a50:ef08:0:b0:566:ee8:8b1d with SMTP id m8-20020a50ef08000000b005660ee88b1dmr3416278eds.24.1709052080679; Tue, 27 Feb 2024 08:41:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709052080; cv=pass; d=google.com; s=arc-20160816; b=IsWZNCObDe7J7N2CgTeuginTYtIJPMTqU3VRGbMuLdjpIb+zwCmL+PkuqXpTsbPrzJ wd/pHNfl7dUsl9jxOClMiiIZqCb6bU6Q7Tqqw0r7uWH+6zsJu1+kqy2hnMYQ7ZEblFRi YrI7MjEg1ezI6t8PeDykieevSI2x7iK08GsWF2ch0OOnksBBK74Uz32ln4tepkuHtWPw URjdYiyHzcojYkL3D6r0RniFwtbMPoThWBRWl9S8++U+4G0wZwsRoYeyZ8v5N7k2CYG5 6Ekf/qdYL0WJfKxOeJq5DoaeE4/L+CyMWEQBL8sEQGL0dWv8sB3zHyLQcQyT2Gv5Pb95 pLDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=qXbl2mGg/fnH2m6J+jYG9ljSlv6ApYY+HEqrYS8n/8s=; fh=Ga4IHwme4FJ28ZVgR+uS7ohNafSHlTn5VntUenMvEVA=; b=GPgWMXRetKKa2PGlB0dky04/OL2wtBo2jL4ldAwXBuR9f+qHuZILJtKImKVb+OpMq1 jpw7C8U21iEBWaav+uf30qS5ZkESMldIl63P0eLqry6QrI6ziFlFFXKD8BOR9gucoSLT /qPmYx0Y6D5LVNZKbObkFvl/lEWe46odTS6uqSWI0jPfkGtjJo6x/orkGpydseSOkzup fetZyz6RB3HKQZYMUc1nXhzYR2co9GR9te1GSlV2lBvLvGENHfxbxdNn19PF3fFwzNvM Had+C8A87SlTgCCE+lpd23rTsou2vXE5OyUINmlNkiJnQWUN9TOjZVzP2vS/EJ3SWpQR S9Dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IpJjC/Lu"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-83628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id da21-20020a056402177500b0056629f3a633si790158edb.461.2024.02.27.08.41.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:41:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IpJjC/Lu"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-83628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 713721F2462F for ; Tue, 27 Feb 2024 16:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AC21487E2; Tue, 27 Feb 2024 16:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="IpJjC/Lu" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 4F71D2576B; Tue, 27 Feb 2024 16:38:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051936; cv=none; b=OHAPSEkg3TiY/iB7JtuwTqZZ2OnJtpCGbC8xLUVbxNpSgvnTGk30fYdlfaKh+GrXApQ/G/lskG99NwsytjFij4I8HPzVrNdobgqLUH0oypOgOdc3r69aruAW9GSERRUnTPY8WrY9udTokWYNvx8JStPM7FEL2A7TM+r8kCIOC4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051936; c=relaxed/simple; bh=1IoZXMC1FAl+Q4jvjN+QVZ8Gg6WkcDFeKX+wwqu8edc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XdaXfaEyCNIM3C9uwsZcmjKsBP1d3rx27OT6Bgri/FLUlIsGNoTo+PSOmZCZ2KNna5meHjw2N1LfqeVv8+iE1yvZ1I8socWecAW9KL79/A2dUBrUtFiSyhZDRkNzbMboaDeVX6v4uitA17aZn6UqTjo6VMwSIfwI7SwFOSny5Wo= 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=IpJjC/Lu; arc=none smtp.client-ip=217.70.183.201 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 Received: by mail.gandi.net (Postfix) with ESMTPSA id 506B51BF204; Tue, 27 Feb 2024 16:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709051931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qXbl2mGg/fnH2m6J+jYG9ljSlv6ApYY+HEqrYS8n/8s=; b=IpJjC/LuJtuaeJEc7hJzBiD5+6HsM1sYggGNhS1SMtXWsndQj0rPxQ7mpE61Q/m2LYI5br aY381mYvPNCHjNafhHJ7RxIjREI9uZmRQ0MGZEgFMKeGI7+IrBEeXCRmh6mhGtNvGeQTVJ pjwaYRWmNNVUPO4GWzpwcuDmr1rpaPXjCKSs4/6DMs6Uo3iP3SNfCPyqPz+ypFYUsVpose h2cftDAqNCCd3LniGekZTvs6mRauRbJvyljGp6YxvkKzhkByLluzSNltrpZNFz+XnSlWbB onoGvPoRhSXBG8nURecnsndxfQg8NrANZxai4ttVJAQeZtF4NtmtHGM18U31jg== From: Gregory CLEMENT To: =?utf-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Subject: Re: [PATCH] arm64: dts: marvell: reorder crypto interrupts on Armada SoCs In-Reply-To: <20240123122258.24218-1-zajec5@gmail.com> References: <20240123122258.24218-1-zajec5@gmail.com> Date: Tue, 27 Feb 2024 17:38:49 +0100 Message-ID: <87y1b5j206.fsf@BL-laptop> 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-GND-Sasl: gregory.clement@bootlin.com Hi Rafa=C5=82 Mi=C5=82ecki, > From: Rafa=C5=82 Mi=C5=82ecki > > Match order specified in binding documentation. It says "mem" should be > the last interrupt. > > This fixes: > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:0: 'ring0' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:1: 'ring1' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:2: 'ring2' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:3: 'ring3' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:4: 'eip' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > arch/arm64/boot/dts/marvell/armada-3720-db.dtb: crypto@90000: interrupt-n= ames:5: 'mem' was expected > from schema $id: http://devicetree.org/schemas/crypto/inside-secu= re,safexcel.yaml# > > Signed-off-by: Rafa=C5=82 Mi=C5=82ecki Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 10 +++++----- > arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 10 +++++----- > 2 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/bo= ot/dts/marvell/armada-37xx.dtsi > index e300145ad1a6..1cc3fa1c354d 100644 > --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > @@ -431,14 +431,14 @@ xor11 { > crypto: crypto@90000 { > compatible =3D "inside-secure,safexcel-eip97ies"; > reg =3D <0x90000 0x20000>; > - interrupts =3D , > - , > + interrupts =3D , > , > , > , > - ; > - interrupt-names =3D "mem", "ring0", "ring1", > - "ring2", "ring3", "eip"; > + , > + ; > + interrupt-names =3D "ring0", "ring1", "ring2", > + "ring3", "eip", "mem"; > clocks =3D <&nb_periph_clk 15>; > }; >=20=20 > diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/b= oot/dts/marvell/armada-cp11x.dtsi > index 4ec1aae0a3a9..7e595ac80043 100644 > --- a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi > @@ -511,14 +511,14 @@ CP11X_LABEL(sdhci0): mmc@780000 { > CP11X_LABEL(crypto): crypto@800000 { > compatible =3D "inside-secure,safexcel-eip197b"; > reg =3D <0x800000 0x200000>; > - interrupts =3D <87 IRQ_TYPE_LEVEL_HIGH>, > - <88 IRQ_TYPE_LEVEL_HIGH>, > + interrupts =3D <88 IRQ_TYPE_LEVEL_HIGH>, > <89 IRQ_TYPE_LEVEL_HIGH>, > <90 IRQ_TYPE_LEVEL_HIGH>, > <91 IRQ_TYPE_LEVEL_HIGH>, > - <92 IRQ_TYPE_LEVEL_HIGH>; > - interrupt-names =3D "mem", "ring0", "ring1", > - "ring2", "ring3", "eip"; > + <92 IRQ_TYPE_LEVEL_HIGH>, > + <87 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names =3D "ring0", "ring1", "ring2", "ring3", > + "eip", "mem"; > clock-names =3D "core", "reg"; > clocks =3D <&CP11X_LABEL(clk) 1 26>, > <&CP11X_LABEL(clk) 1 17>; > --=20 > 2.35.3 > --=20 Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com