Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2297355pxb; Sun, 30 Jan 2022 11:08:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQtYGdRmm3ySBTOqOCnx47d9U+gfO5yBNMranPsT37xUjC7jTX4rcek+Tte5X33pguDYuJ X-Received: by 2002:a05:6402:5147:: with SMTP id n7mr17532075edd.2.1643569709374; Sun, 30 Jan 2022 11:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643569709; cv=none; d=google.com; s=arc-20160816; b=p1wNGBn38lxpCLZd16gSYoIj98e+/2PmTNbf7GsvNm5sMI7zMxi5Og/Kp2zrlETlK1 ZwFKSWwM09ljJX+qQZEPMmJvVcMB7xEnKRmteyFUMxQgb7JM8FDAY54RVwk6J4thfld/ C7WsT9FjPNs3AGKFK3tpu+HvSPTm2hW8b6tCqk4d/5sOkWUqwvBD7Yegtf3bCGsbH2hT XFeMlEXNzTkSTmSWZ5446MDFJyJRC0IgLjAqlCzBrV5Fs9RvS5aYIZVoCIXTe9zCO815 Jx5JJAdnB3BEANmowAjMORI1wJwSqUQbUGhT7zi9BNFtt6+Yxp249s/aAgv03pz7deIk GGHw== 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:date:subject:cc:to:from; bh=9SXbJEFfjaZ4sZo2d8UpLsFeBp+M/NWP7KJXUrfD0ls=; b=m33oQAGSTx7PJ7ULAVAM38hXWrwNvTiQ/fJRetje+aCa5hzGhvM/V+TGLwdO/Sx1qd N5/xe517rJV9n83Tyt1+6XzjB7rTE0b0ED9xsprfYn+atsmYE9WQ56q9E5Iui2LyYU++ nhW151+fLtC6ycXc1hpfqtnFCWOly1n2A2aB2u4rTz2hc2EYHQozSewUEcG8rMbfX/Fh 2oWLBsvWK4st4RUw/mo1WbmI73ylrDzL1fpDLtWOaOYRqLF6I6G4ZXeJ5z9mckx3JDvC J9ZBzDXXQaCR/Y3EUW4w+tNNNwLcjagUrf+aJ43EO9nZ/PgdjTPWJ9MBJCEngV1Nlakt 3Oww== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce28si6794136edb.521.2022.01.30.11.08.04; Sun, 30 Jan 2022 11:08:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238207AbiA1JE2 (ORCPT + 99 others); Fri, 28 Jan 2022 04:04:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237214AbiA1JEG (ORCPT ); Fri, 28 Jan 2022 04:04:06 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E8E0C06174A for ; Fri, 28 Jan 2022 01:04:04 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:3999:e79d:cb59:f2ec]) by laurent.telenet-ops.be with bizsmtp id o9402600X04fKGS01940tC; Fri, 28 Jan 2022 10:04:01 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nDNAm-00BjtA-79; Fri, 28 Jan 2022 10:04:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nDNAl-005poh-He; Fri, 28 Jan 2022 10:03:59 +0100 From: Geert Uytterhoeven To: Thomas Gleixner , Marc Zyngier , Palmer Dabbelt , Paul Walmsley , Sagar Kadam Cc: Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v4 1/2] dt-bindings: interrupt-controller: sifive,plic: Fix number of interrupts Date: Fri, 28 Jan 2022 10:03:57 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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