Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2612292rdd; Fri, 12 Jan 2024 15:50:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFz1T1ScKg5OGp4YyhDDT3TVZqzcLOChtAaGCQqcpXpWS0LR0qaXwN7c3ISo3yRCwA5xxw X-Received: by 2002:ad4:5968:0:b0:681:53:b8a5 with SMTP id eq8-20020ad45968000000b006810053b8a5mr1950558qvb.46.1705103441161; Fri, 12 Jan 2024 15:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705103441; cv=none; d=google.com; s=arc-20160816; b=bUnIWxk0wHyO2U5iF+3HfeyTE+5eIw0bLTUarsBZX+bQsv9npIlfmwoViKPqNhbfbe rkZNWQT+nCSRsnBjIAU5XRrrF30oDEGO43GqdnR8N1tJczNlhGSoZkTWojF08lUYag1G wFQAKLVnm2fdhKIPMGyYgE7AWWoB/NQu/naloLwK2DMAameULDMT84gmhKXDUarFgmRD JE7TA8ZaSWSc7GfbTQiPluIjRv9o4h6Wbtmi+s0L58Md7iE6zIWupuBHzRf/1WzwQInt as5yMWZVlxG+Hd+etknogt6yPrKsIyjJTxt/z31KJjymUNkrrCLGnh2kfJYCEioEr2pb ZPXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=KdVVm44GspY1vrqagFO17oKocrrGuSEpWF2qOryhvaY=; fh=+gMm67Yu/1xmJCa4H4nlSquWtJk/hPHz1g7eyB1QTZ0=; b=xJGPc1vfuXiSzs1ahaHHbyfXQ+9JVAnILORrAboYuau8p+tYaPP1GAcWhG/kaaFtoe Q3fIejtDZngLA8ITu2vW5ttO3ueCSXNIsl3Qg7AcqOlozveN8flR3rbP/Ws63vi185W4 3sAyuE4r56HSVDS0Ueb99Lx8JEDAv7OYFyp0rpFNa7GLWhD4C6iPDc4OJ7R/a5j9Wjkn CslFpQ/elE/d+IoB1kaDtwiBw0ATne9HLIzFvRlGdM94AJEsy7XkHrXmAzP7MEbxedDa M+/fNnw1GjA9RDjjfExVTCNXhoWE0M+p2GykQ+fMAeEUXqmJSaJNBoicSebJWvRU4YZ4 1Hig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b="DwH8nF/b"; spf=pass (google.com: domain of linux-kernel+bounces-25115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25115-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q5-20020a05622a030500b00425736063fbsi4135385qtw.292.2024.01.12.15.50.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:50:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b="DwH8nF/b"; spf=pass (google.com: domain of linux-kernel+bounces-25115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25115-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E4B041C2284D for ; Fri, 12 Jan 2024 23:50:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 334C31A701; Fri, 12 Jan 2024 23:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=atishpatra.org header.i=@atishpatra.org header.b="DwH8nF/b" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61A481A5AC for ; Fri, 12 Jan 2024 23:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atishpatra.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=atishpatra.org Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2ccae380df2so76822011fa.1 for ; Fri, 12 Jan 2024 15:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; t=1705103426; x=1705708226; 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=KdVVm44GspY1vrqagFO17oKocrrGuSEpWF2qOryhvaY=; b=DwH8nF/bCe0bcTBpKXmgiKKqi1Uik75coJ0vWRCb/lgd26I+xyo9zVEpJc0v08JYsc qLqLD68GLWtfhqHt2H5HHeoBp4BMLZDjd6AIS6PTlezls0nUFNavMOTKAJzRZrX77F0j 9OuunS/PewiZBn+wYJXnvakqQCFmWaGLL9fkg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705103426; x=1705708226; 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=KdVVm44GspY1vrqagFO17oKocrrGuSEpWF2qOryhvaY=; b=lmgmsvdF+XEwie0ImCNLyW+bUDA2j3145cPgJYb9a+/d0ysBFhx1PSS0gh1esryCWG cFIPY7MZZFnmCrAsIC71i9u0SqISp5a5dUBTHTOQyGbduns+2AYD4bnjUqIMpEtZ8tDe 4xXjogFGZJ75ZKgwPz9TnI5l8+wg+WXDrZ1wVH25y2acva9b4kTALH9gS6fM5L1WI2mO ruoEkxgAwV7TQkzTTZqp1xLLSwd1kRZyzrfD4Ofo0YpvQSWNVRncAVIpQNn4KbjGXa3U 6trjFdTMPOLF2p0Wrd6L6BEXrosQbIsunpZRLZq1Qzv4+ggYK3J9X3fwgqoVesdcgRaL q+OQ== X-Gm-Message-State: AOJu0Yz4R+6vwvBuOEwM5o9yRvRiq02FjBLw1Vc2u0UCubhUGvnPpIdk IMhhwsboQz0jzFutzp6tvA4CTBKRLwDAC3dzJVEqZCkCRT1j X-Received: by 2002:a2e:a36e:0:b0:2cd:8fe0:70ab with SMTP id i14-20020a2ea36e000000b002cd8fe070abmr1011564ljn.16.1705103426437; Fri, 12 Jan 2024 15:50:26 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240110073917.2398826-1-peterlin@andestech.com> <20240110073917.2398826-5-peterlin@andestech.com> In-Reply-To: <20240110073917.2398826-5-peterlin@andestech.com> From: Atish Patra Date: Fri, 12 Jan 2024 15:50:15 -0800 Message-ID: Subject: Re: [PATCH v7 04/16] 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, 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, chao.wei@sophgo.com, unicorn_wang@outlook.com, wefu@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 9, 2024 at 11:40=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 > which can be handled in supervisor mode: > PATCH1 in this series renames everything from ANDESTECH to ANDES to be consistent. Here you are adding DT binding with "andestech". Is there any fundamental difference between these two to demand this change ? FYI: I don't mind either way as I don't have skin in the game. Just something I noticed while reviewing the series. > - 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 > Acked-by: Conor Dooley > Reviewed-by: Lad Prabhakar > --- > 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) > Changes v4 -> v5: > - Include Conor's Acked-by > - Include Prabhakar's Reviewed-by > Changes v5 -> v6: > - No change > Changes v6 -> v7: > - No change > --- > 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 23646b684ea2..33c2b620a59f 100644 > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > @@ -101,7 +101,11 @@ properties: > const: 1 > > compatible: > - const: riscv,cpu-intc > + oneOf: > + - items: > + - const: andestech,cpu-intc > + - const: riscv,cpu-intc > + - const: riscv,cpu-intc > > interrupt-controller: true > > -- > 2.34.1 > --=20 Regards, Atish