Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1189066rdh; Fri, 24 Nov 2023 07:04:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4z3L4HPvlNPe123xEjkmFHB8cALks32eb7u9xx94T4p1kQu3/+dkUGOwcLD1AZAbivevz X-Received: by 2002:a05:6830:1395:b0:6d6:97d4:61e5 with SMTP id d21-20020a056830139500b006d697d461e5mr3749050otq.35.1700838296568; Fri, 24 Nov 2023 07:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700838296; cv=none; d=google.com; s=arc-20160816; b=zxhxGkBmFa+b73VP7H2yNZbje4CirGnhZhU3oEzLIednW8LdMOruv7riE8bTKQD1ge Ty3BeDT7bUBogUfJyfxkhpIvqMSttlq67gDE/Z2kvMbL6V6YqjCQRHhVJHiqanFoh+1g pRvjXeE28wdGNY5HAgeVt5PrT/E36AZm2rrF22VifK+5uyowdHzn2/2Yr3giI7m+Lypg zzX4+mvIWiPu1XOWRMLrqXLezIUfxgbxxIpP1zjW501mS03TD0ssp07rOwms1r1bCbHc LJqTPMiqRtOrU4rfeYNzpZAmKUzrWjf6E5tnyPu3zRQCS82cBwWzPWS5Y2iIYOJZ8EZB y4Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=l/uTADgd8yavomJvu4FPF4hVWKDAN545TEF230idRIM=; fh=lcXXgo9Bzghr8HRbPuP771zD4BOLHsyGktIL3RvWV7A=; b=CzjUe1MmtVig6aygzQW/Bykofer0H4JRVgNkvoiEUclQHN+6uvK65+Bod9qRgyasTI yQ9r6mvEW10hPlBi/dICjgtkn2vdcwiZspIDLX34ed7BmXiu4g8td6M6LNJbVS0skH5A Mfg7JTGSprBlCx7ooo/4SlyOhxVLpISvLlem4mTiNWMeMFmbpbZNPbaqRbYFTarckKf9 N9Ao1kVtMmmXDThWiYjU/4tMUHAjFlXcxswHDpswLhcJCAtcf1s6pmWjKE+59ScAdpzA MjUpJlPuMFI6BppgfZ9OyOY6KNe4ZQEGHfTyvcXDB7vCPjt2RqmnmIyIREBbme2YfHe0 RCFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MxeD0i8S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id cg7-20020a056830630700b006c7b45e42c8si1680051otb.170.2023.11.24.07.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 07:04:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MxeD0i8S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 709628367CFF; Fri, 24 Nov 2023 07:04:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345844AbjKXPEi (ORCPT + 99 others); Fri, 24 Nov 2023 10:04:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345763AbjKXPE0 (ORCPT ); Fri, 24 Nov 2023 10:04:26 -0500 Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46BEC19BA; Fri, 24 Nov 2023 07:04:18 -0800 (PST) Received: by mail-ua1-x92b.google.com with SMTP id a1e0cc1a2514c-7c45280b1a9so545944241.1; Fri, 24 Nov 2023 07:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700838257; x=1701443057; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l/uTADgd8yavomJvu4FPF4hVWKDAN545TEF230idRIM=; b=MxeD0i8S8NYYEVgB1haJKRV+HjXNeZDsTmOdMZ73SjS5ppCihfwxQ3KL2wWKZ37y/p U83Q1YG4xjurx2DvWF1SKNlARyczBsocodPwoCZSmOrZBNGyrkeQ7IUI7067g3DIzs78 HfT8iUMr2LDgEHOXmzNULE/2ULb10ODH8/EDIghasnYqS8nESvrLTNHNfGITP0xQd4pq HOkOZsv6Mit2M5CiBzBO4E3GRcpNEg3ON7oOu/8MBDsq0YPkK6KG9oYAKMSPsUY9DGTk CXWEmqF2lYQBCM0vtsVR+lsBls4U2UKRNxAP5IVxCwuywd9tiSiONA6OSYyfCPC1rdtd /KNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700838257; x=1701443057; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l/uTADgd8yavomJvu4FPF4hVWKDAN545TEF230idRIM=; b=U1PWTKIoTqWxiJpqXqg9uS9pOvDhozlvXEmzEAJvlXQxs4wDfhkEI/7nUwNZnSw/C+ UCRNOPp8eXNNCTbY84JtvR/qq7qmO2ckLiVPupCginLt8xpg0O+zLzIWhakH47xfP3aI j3zcLofCnesZCgQptEyrwtgVdmwvXm8O1udb9LcLqH34jJvNPqtdJYT5zAcyRyFNiyW0 Qo0thPcF3Dj6QuGSo+1MRaoRfNJ+/+Q2XlmG3dXCktY9X1HHLxIfIxqoEuOrLfFoJ59w HyV26jXwsWW0bdIewuurJcbYtQ7pksuhUTCl+RDCI7+K12wLWbj6ebCfSFgB4g+AlNMD noyQ== X-Gm-Message-State: AOJu0Yx7Fpu07u16wovO86pmN6O85+PwC1qfY7MLkILsGnwrIqKDxKbI Yj0HaLtkmSbMqmAyXfP6LzNWOEDLyVLLaKNQ+lU= X-Received: by 2002:ac5:cde1:0:b0:4ab:fbff:a811 with SMTP id v1-20020ac5cde1000000b004abfbffa811mr2973431vkn.14.1700838257213; Fri, 24 Nov 2023 07:04:17 -0800 (PST) MIME-Version: 1.0 References: <20231122121235.827122-1-peterlin@andestech.com> <20231122121235.827122-5-peterlin@andestech.com> In-Reply-To: <20231122121235.827122-5-peterlin@andestech.com> From: "Lad, Prabhakar" Date: Fri, 24 Nov 2023 15:03:51 +0000 Message-ID: Subject: Re: [PATCH v4 04/13] dt-bindings: riscv: Add Andes interrupt controller compatible string To: Yu Chien Peter Lin Cc: acme@kernel.org, adrian.hunter@intel.com, ajones@ventanamicro.com, alexander.shishkin@linux.intel.com, andre.przywara@arm.com, anup@brainfault.org, aou@eecs.berkeley.edu, atishp@atishpatra.org, conor+dt@kernel.org, conor.dooley@microchip.com, conor@kernel.org, devicetree@vger.kernel.org, dminus@andestech.com, evan@rivosinc.com, geert+renesas@glider.be, guoren@kernel.org, heiko@sntech.de, irogers@google.com, jernej.skrabec@gmail.com, jolsa@kernel.org, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, locus84@andestech.com, magnus.damm@gmail.com, mark.rutland@arm.com, mingo@redhat.com, n.shubin@yadro.com, namhyung@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, peterz@infradead.org, prabhakar.mahadev-lad.rj@bp.renesas.com, rdunlap@infradead.org, robh+dt@kernel.org, samuel@sholland.org, sunilvl@ventanamicro.com, tglx@linutronix.de, tim609@andestech.com, uwu@icenowy.me, wens@csie.org, will@kernel.org, ycliang@andestech.com, inochiama@outlook.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 24 Nov 2023 07:04:53 -0800 (PST) On Wed, Nov 22, 2023 at 12:18=E2=80=AFPM Yu Chien Peter Lin wrote: > > Add "andestech,cpu-intc" compatible string to indicate that > Andes specific local interrupt is supported on the core, > e.g. AX45MP cores have 3 types of non-standard local interrupt > can be handled in supervisor mode: > > - Slave port ECC error interrupt > - Bus write transaction error interrupt > - Performance monitor overflow interrupt > > These interrupts are enabled/disabled via a custom register > SLIE instead of the standard interrupt enable register SIE. > > Signed-off-by: Yu Chien Peter Lin > --- > Changes v1 -> v2: > - New patch > Changes v2 -> v3: > - Updated commit message > - Fixed possible compatibles for Andes INTC > Changes v3 -> v4: > - Add const entry instead of enum (Suggested by Conor) > --- > Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Document= ation/devicetree/bindings/riscv/cpus.yaml > index f392e367d673..50307554478f 100644 > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > @@ -100,7 +100,11 @@ properties: > const: 1 > > compatible: > - const: riscv,cpu-intc > + oneOf: > + - items: > + - const: andestech,cpu-intc given that the first patch renames andestech -> andes, do you want to follow the same here? > + - const: riscv,cpu-intc > + - const: riscv,cpu-intc > > interrupt-controller: true > Reviewed-by: Lad Prabhakar Cheers, Prabhakar > -- > 2.34.1 > >