Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2672368rdh; Wed, 27 Sep 2023 09:15:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEI+PJ3e7Mf6XStkoE9S8reeTcEk4NOmibKB2dGcHNK14xn+KGEo80C9pmLKKHsOKO75R/d X-Received: by 2002:a17:903:1ce:b0:1c3:8464:cad1 with SMTP id e14-20020a17090301ce00b001c38464cad1mr2331332plh.26.1695831311834; Wed, 27 Sep 2023 09:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695831311; cv=none; d=google.com; s=arc-20160816; b=0EcuFSsagEPLuu+3fCghwKRcl6Od4bNbHi6qVGn3PXi4tHCGWAqQ+ynJuTNUxGn8Nf QuGMRMTkAiskanoOoMFsIJ03GYtZFlo6ZYelz6FOTjcviU4Jv81BzHj7HyY1NKlUR0Vn TQGvk7gsbGXCRSFAkVOaTC+wQo17H0BnwcPIvir69rqcmNod2bv72IUzuaH10uvvepf5 50rhWQU+QNQak1om6xkFDADbTJnhUonMslOpffWRSXPK5cF4VGEJ4fk4j5K/3FGNrBsR YQJT3Kn2bjK81vZa4RBT/xqFY7ssiKu1ivP6pediAyn13tEG7YeZHCcv/3ibJinzPuXf Khcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Nt+FOW6bgFm/XaG8UEtq6UHu1dHWvOMmVqDjr/y95rs=; fh=hqWmibN7CNfRi2cuFps1G/txHS2UJ80/DBWiR+Fa1PM=; b=xIKwGm7DbdQvkRJLCFMu7uWAeo6y+5qXeRcG7lp5szuTrFMIHxMcNcU/QQfaxT6QVD OzSIR/Yw08+zcNRMhkSjEwGj6OyltmnFMRVs66c7ylPJsEO7ES1Ioyp/BApZ5FFIvQqd ywoHvgPf4mCEiZS6YcEIKZ+2j7gFHzv07l4fY7GytedRJfOSwXTQ4NDDNtVZM2kF/S2f 7edyRADD3d4HrHSBb/lvM2JAGslHlR3Dw11O+Bt2EJiqYZsdalNHHbQ1M+G3U1hqFrus wRENDLSOiKdIR5x9edrcizzAtX6c8sNnClFuyEhy5RUBCJkk5Tdyg5VCXCw7VTTwitnI ib2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2TCQcR9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z7-20020a1709027e8700b001c60c5726absi9298955pla.39.2023.09.27.09.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 09:15:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2TCQcR9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0E265809D478; Wed, 27 Sep 2023 09:02:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232153AbjI0QBq (ORCPT + 99 others); Wed, 27 Sep 2023 12:01:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232032AbjI0QBp (ORCPT ); Wed, 27 Sep 2023 12:01:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A340121 for ; Wed, 27 Sep 2023 09:01:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1EA1C433C7; Wed, 27 Sep 2023 16:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695830503; bh=g8hfxPKGJGJl/UIBplcbprhnwEUxPdVtKkry7oymVXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y2TCQcR9P+d+vgsfnLUeeRq2YqxSzOFTiz9l1MERmW8L/tf/7PWXyShXjw+BmSdMw RUK4waPOdM4y0mmBFBqzka/qjOYIT5jA7QvwVjxNATwxzVi5o7leMiCr0XMkei3/z8 KCl+ucafyN3Fq2IlwZ+OVTf2Yl3dm/sjfaEak2DVTOsX/lPEQxz4egwdsxg0VHuhSb chw5TBh5pE1WPowTVp4AC67FuLSVIat535SG0voki82vfxs/3uMZ6F+Oyi3mfRPqBO YgTxZzGeTwJ7PChGDuKIQLRIMa2ljc0+dm1fMQ9T7QaOfeqpS3wmtPI7pQTK//yVjX pE3v//Rgs580g== Date: Wed, 27 Sep 2023 17:01:38 +0100 From: Conor Dooley To: Chen Wang Cc: aou@eecs.berkeley.edu, chao.wei@sophgo.com, devicetree@vger.kernel.org, guoren@kernel.org, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org, xiaoguang.xing@sophgo.com, apatel@ventanamicro.com, Inochi Amaoto , Chen Wang Subject: Re: [PATCH v3 07/11] dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi Message-ID: <20230927-panic-android-a83f1658b44e@spud> References: <4dcfca1b0fa736a226bd01c796e4d8986ce49e63.1695804418.git.unicornxw@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ScPARXmZC2Sxj2yI" Content-Disposition: inline In-Reply-To: <4dcfca1b0fa736a226bd01c796e4d8986ce49e63.1695804418.git.unicornxw@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:02:18 -0700 (PDT) --ScPARXmZC2Sxj2yI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 27, 2023 at 05:01:56PM +0800, Chen Wang wrote: > From: Inochi Amaoto >=20 > Like the timer of Sophgo sg2042 clint. The machine-level software > interrupt device (mswi) of sg2042 clint have the same problem when > dealing with the standard sifive clint. >=20 > To avoid the same conficts as the timer of sg2042 clint, also add the > vendor specific compatible string to identify the mswi of sg2042 clint. >=20 > Signed-off-by: Inochi Amaoto > Signed-off-by: Chen Wang > Signed-off-by: Chen Wang All of the same comments apply here. Thanks, Conor. > --- > .../sophgo,sg2042-clint-mswi.yaml | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controlle= r/sophgo,sg2042-clint-mswi.yaml >=20 > diff --git a/Documentation/devicetree/bindings/interrupt-controller/sophg= o,sg2042-clint-mswi.yaml b/Documentation/devicetree/bindings/interrupt-cont= roller/sophgo,sg2042-clint-mswi.yaml > new file mode 100644 > index 000000000000..a79c4c3db3b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/sophgo,sg204= 2-clint-mswi.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/sophgo,sg2042-cl= int-mswi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device > + > +maintainers: > + - Inochi Amaoto > + > +properties: > + compatible: > + oneOf: > + - items: > + - const: sophgo,sg2042-clint-mswi > + > + reg: > + maxItems: 1 > + > + interrupts-extended: > + minItems: 1 > + maxItems: 4095 > + > +additionalProperties: false > + > +required: > + - compatible > + - reg > + - interrupts-extended > + > +examples: > + - | > + interrupt-controller@94000000 { > + compatible =3D "sophgo,sg2042-clint-mswi"; > + interrupts-extended =3D <&cpu1intc 3>, > + <&cpu2intc 3>, > + <&cpu3intc 3>, > + <&cpu4intc 3>; > + reg =3D <0x94000000 0x00010000>; > + }; > +... > --=20 > 2.25.1 >=20 --ScPARXmZC2Sxj2yI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRRR4gAKCRB4tDGHoIJi 0oCnAPwKz/8llmG1EA5gxcsPI5pDNveD7l02WfjCJbsJlwMtPgD8CzmKZFaiHa3L 4EbaEkN16XjvjRlN6/E+uYCOJceAbAw= =crfR -----END PGP SIGNATURE----- --ScPARXmZC2Sxj2yI--