Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2299810pxb; Sun, 30 Jan 2022 11:13:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJweQNgEtYe29aiEVD1ipiuUslNlHLHkc+GcOa+ZkH0V1IE4xuk9Ezm3t/7XqIK2mz9LtaEk X-Received: by 2002:a17:906:4fd2:: with SMTP id i18mr15080089ejw.206.1643570001064; Sun, 30 Jan 2022 11:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643570001; cv=none; d=google.com; s=arc-20160816; b=pen2dTCkXYM9TcRC0Uxk5J8DA1/N4H9C0cCgu8dTPYK2esbJ+hH9p9Xj2fpXD7Fc2A ++4d/jn15ioqFnSJMGuqLBdArP9sEclK/IPzT3PhRX9ZrPSyudBmo5kKQL8cWU2gyo5R o3WB747/JWs3am7H00y9NnuDyjDysH2y/r4R3qFmsH56cWSg6jdGcJCuNWh9/lyRsAjl 8NIKx93VSSR6sEfurPE34TqdziMm92DYYjd37MN/pFwfZsH9b5n/9wyioznlpKWPOVb0 jhI3owH4hZ1WCT1cPO1/fdP65I1eNyejlVRQmOp8EA22NRCMW2XGdyKv2A2f5EMp6nge 1g5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xKmKkemO7LZgNH3z0FyPV0a1F2pctQzcwkbzVf+pn9M=; b=f+dhDYfJziR8OxxD+kLzLphkN5G+9FQ6/SujEBWb9/Q2RCv2Xsj63noy6gqJpX/mDO bAMC97al5PMx79Y8QUGFeU3Tpq5sWVbGsI7FbgPPWUNVIanI+WGBq448BR9l9o6pMe8e wl/9S40mBHE5D6iXnrjV4lepp8fqKWs83FIOWIdrJL5dWEgL4sSeJGPnpDITVciu6NVY d4+Yhdo5oQ9VvDVfTt77zgrGxQ9EkJbwpwGuun7QvhRqilVp7jgp/eaYSsd/TMNryCR/ W0nBJBnoxYLF/Hz1cwZH/kC/iibYTaNVYInXpn75j/+8MKzyU5KFhPLySebf++L9kqed +Lxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=dMjEiUSn; 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 oz35si5107640ejc.322.2022.01.30.11.12.56; Sun, 30 Jan 2022 11:13:21 -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; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=dMjEiUSn; 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 S240146AbiA1JGZ (ORCPT + 99 others); Fri, 28 Jan 2022 04:06:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237969AbiA1JGX (ORCPT ); Fri, 28 Jan 2022 04:06:23 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EE31C06173B for ; Fri, 28 Jan 2022 01:06:23 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id k18so9519093wrg.11 for ; Fri, 28 Jan 2022 01:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xKmKkemO7LZgNH3z0FyPV0a1F2pctQzcwkbzVf+pn9M=; b=dMjEiUSnrp58PvxtH8/oq3uk2znAwoXs16+ia+Di+iOLZWWrdxj1szC1T8NAzX/gps Pt8T8++gA+3eGQxk785oSrLqWGJdXzyYzgYvqx7BtIPIusrsdYU/OUmX4buHQzaVOsyd I2GdFE2nwLxRGW3VhTokvS5WpQ5E7/19VRiuzYkUSMWAj+P7z9tzgIyx5K9z4GxiB7Ip BeUR2/u3SCO/rN+Cbs01UtQjK2gDMsPOzWti1O1KnyY3AcKYkaNIKWSI46p0Nia80PVX UDoBkKTzZuI/qK/EkT3CGKvbsreqwuhwv6Qqf7zeVI2HFmxZTIvexSh1B1aC5vXlGOTu 5C9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xKmKkemO7LZgNH3z0FyPV0a1F2pctQzcwkbzVf+pn9M=; b=5TmTA79c0OwmPIdrWTLCNCnvh5roC1QJSngD3qLcFruJCKMfgv52gJRalm8lTHxLmQ s6DE2TPjwIq0Fo8PuSkfqh1yK59lEu1dRqe7I5bmWxNmyenCIiWkcGUVEZJlVKlXnDRG Bfg6Mt2+0LxfV+goV2mZ0YVbkDNsoIC1WQdcB3FdxxF2N6l1AmXFyq13Yfw5HZ7dU0UR NeIEudqHqk+0gr98R+lCa+ZyQY/h0Z5GCFABAYeU+119SmBaVLX/TACxoNRKgZwxQcrG l3B9b9tpNLnrMUUS5l4WRpJK+S8URLCvZzQQXmK8G3nOpTZ8VZgxj5ExQ4/Fi34wR8nQ iefg== X-Gm-Message-State: AOAM533RqhwgyrX+S7uNwiYqQjmQWxgJ8y/bFLQ5FqraoqoR6hFP9vPw Dsu+W8lQhiOa1iqszNscD4Pm7mqfm9YmbDfyttjpMQ== X-Received: by 2002:a5d:6b48:: with SMTP id x8mr6411882wrw.86.1643360781694; Fri, 28 Jan 2022 01:06:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Anup Patel Date: Fri, 28 Jan 2022 14:36:10 +0530 Message-ID: Subject: Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: sifive, plic: Fix number of interrupts To: Geert Uytterhoeven Cc: Thomas Gleixner , Marc Zyngier , Palmer Dabbelt , Paul Walmsley , Sagar Kadam , Rob Herring , "linux-kernel@vger.kernel.org List" , DTML , linux-riscv , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 28, 2022 at 2:34 PM Geert Uytterhoeven wrote: > > 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 Looks good to me. Reviewed-by: Anup Patel Regards, Anup > --- > 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 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv