Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2745012pxb; Mon, 31 Jan 2022 03:27:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzziv3YL6qOzr/AomGVEFbm6LOVJUjDKKGFV5If57PvS2davu4hSVWhp1CoEYqOQFuNcXHV X-Received: by 2002:a17:90b:4c0d:: with SMTP id na13mr23383970pjb.96.1643628450833; Mon, 31 Jan 2022 03:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643628450; cv=none; d=google.com; s=arc-20160816; b=1FUS1LAZdCub55XgIHs9ltYDwUVQOTguPkV7porTC6/f1DwYyg81euB+H8tvm07Nv6 gcprY5Pgn0zjyF0/9KWHaMGmloPz0tra61z/zQwE3oojtloGx8AEB13shF3mVywBuE9p gxSBsQfN7lqHNn8e0lTYJ7nm812+h8YcGJ13bffku3XSB31htvYvVwggp49RnspC6UJO 16HneqEPOS2zUMHeWyGOEYnoc8GEKvBfXXOye95pHgCQN2hirnORIRJTbzABddkJe+LJ f1wLwk2M+eKPw9QWAwuzc9uiJqw9fdHJCibMqFJeMpP7TCSKHpiI8i5aZM8K0i6BuhNd gKNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to:date; bh=4ebeWZIljdP+eEOmfOkpyobk+K9GDQeLBtyYYeDjHa8=; b=GFc1jwXLoem0AKefWDUx2JeJrz+peKiDtokdPasFhfE7JfDwHSTPNonUnqR2z6XE8z DZ30J74l24uVnzT667p542Hce0QtJS15IYTeo1wlkkcKwwwDLckWfc6Rw8hReHhuVZfM 5ex7Ayn/cIqizGTFlc93mEvW1NLl4P7rGqopEn+cwWR7g+h0D1SHz9u0AQZ+CiXw8QaE D1ziLFChaB59eEFFtPXzgd6+iq+AzMQD8b4QAftt8UhbIZ+iO2HatI4jrxiCu97CJglS bGRWsiYtu+GzH6Ch35JJtGPgup3fzcoy+JTj/um1xJqUP5N+mSyEnBnnJOGIP6BP5seq 8s9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si11647092pll.76.2022.01.31.03.27.20; Mon, 31 Jan 2022 03:27:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240545AbiA1R5J convert rfc822-to-8bit (ORCPT + 99 others); Fri, 28 Jan 2022 12:57:09 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:27591 "EHLO mail-40136.proton.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234508AbiA1R5I (ORCPT ); Fri, 28 Jan 2022 12:57:08 -0500 Date: Fri, 28 Jan 2022 17:57:04 +0000 Authentication-Results: mail-4018.proton.ch; dkim=none To: Geert Uytterhoeven From: Conor Dooley Cc: Thomas Gleixner , Marc Zyngier , Palmer Dabbelt , Paul Walmsley , Sagar Kadam , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Rob Herring Reply-To: Conor Dooley Subject: Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: sifive, plic: Fix number of interrupts Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=10.0 tests=ALL_TRUSTED, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The number of interrupts lacks an upper bound, thus assuming one, > causing properly grouped "interrupts-extended" properties to be flagged > as an error by "make dtbs_check". > > Fix this by adding the missing "maxItems", using the architectural > maximum of 15872 interrupts. > > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring > --- > v4: > - Use architectural maximum instead of practical maximum of 9, > > v3: > - Add Acked-by, > > v2: > - Split in two patches, > - Improve patch description and document limit rationale. > --- > .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > index 28b6b17fe4b26778..57c06126c99502fa 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > @@ -62,6 +62,7 @@ properties: > > interrupts-extended: > minItems: 1 > + maxItems: 15872 > description: > Specifies which contexts are connected to the PLIC, with "-1" specifying > that a context is not present. Each node pointed to should be a > -- > 2.25.1 As with the clint - clears errors on the icicle dt, so fwiw: Acked-by: Conor Dooley