Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5540411pxb; Wed, 26 Jan 2022 14:32:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeyeKKeg8q2GEAjRKbydbTDSgbY19sMkeMm0ILJhT/6aOvzRBL6WIFl2C4UNmQtQC9jcXw X-Received: by 2002:a05:6402:430a:: with SMTP id m10mr1013938edc.67.1643236358783; Wed, 26 Jan 2022 14:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643236358; cv=none; d=google.com; s=arc-20160816; b=G4qrOoAruwP5Yenfo8HnHt4ccamdAegUk4zWqogQWKLDTjhYWJEiEekk1f3eJANgFC KcQ0S54L3E/405O/FuyeJIjgVPt+tucNNjpPMquEoOo9EVZLJdXAIcM+BCdleOSbhxzq GU8khAuEPFy7a4QBonMqJrii5cTLHcsnN/cyaJdtIi2toPUDBZQQuD5i8d98iQQuDiWv 4DJ5fbdS8Se45TbIz9dSs3Y7ATUwLPPW5iEhzEkX00ycUpnA+IEHA49pte5C0ezHE5B6 kSNj+xwjhl1Cfh535uyaCSNJdv7ue8C4tAhIVnC1fMZHPIY3FX27ho0JMbmzEu2unmr6 L1qg== 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=C3TRz16di5afJd1GLL1boYIUXO1kxTaaduDWIim74uM=; b=LKjwkR1aagGsYeJuP/2IwsDWZOTWA0FiRsKeAD4JgAUaHM/cnbyLsSS02XM2j/1U3W LgpVUWccoQH6kVlR2K0Ubt767wJOczmFT3pf6cuulxgMeoh0nWS4T68IwAJi+tp6yRyE S6KgbWen8V7TCSuYVmPRUtAzmccgl9QRQrWq2PZYCNdz6mZy00Y1jcHtYvlWNdlsgtdj DPHNL6+OwJ5d1X3sx52Xh/CJwYTxvN9U4brf5BlK70NSOpIo6mYklrZwfPaea92bouzx 0PEOQXd9AY4ztTfr+M9k+A4CSk/Yusak980sjp9H+JKbh7P49r1g6AS28+YjQsdqADJg g+bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m8gbUXGP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id js20si311598ejc.37.2022.01.26.14.32.13; Wed, 26 Jan 2022 14:32:38 -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=@kernel.org header.s=k20201202 header.b=m8gbUXGP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244462AbiAZThB (ORCPT + 99 others); Wed, 26 Jan 2022 14:37:01 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:60858 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230462AbiAZThA (ORCPT ); Wed, 26 Jan 2022 14:37:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C5CFB81FC2; Wed, 26 Jan 2022 19:36:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 213B2C340EB; Wed, 26 Jan 2022 19:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643225818; bh=FX4ycAoQ1Kx85m2fAggwF/dB1ZrkI6hhsraoivrg4v4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=m8gbUXGPpJdJS8OapXAAZcQt2i3/3+PMvgDfJRpDX1OjSrB/hny0Pir35k+D1pIK/ t5kV4j3NKaombI9TG1VzqViFb9WZvoBxeYULKInkMpsHwaDsEreXT1rz6q8VE/st53 rtJt71BDkx6Z5Kleckul57cHE/fXOpOhXS0uTw7KnBXWAR0JNuLKSPFx1roLTSJTlV 20BkHyKTgJ43fNfKCW8somfRYGo/DX4l/UG9qUBIKdPdFPspYgds7vu/aUJIjIUUue pqg8mFzeLC9qKajXh8VRm+lWKBKCbf4hj2Po4YVrtH0VRSVlyR7Y8cY73N+5DGw5T6 S6mPpKhBa9/IA== Received: by mail-ej1-f43.google.com with SMTP id k25so821187ejp.5; Wed, 26 Jan 2022 11:36:58 -0800 (PST) X-Gm-Message-State: AOAM532q0oSsKBdp8gTEgY+7sphPsOFAi2cGdALGR4wiB53lCtggNYit hv7QcCl0TRMlbj6CQjY1FrO/Ssxj+TpnK5CFAQ== X-Received: by 2002:a17:906:4781:: with SMTP id cw1mr258583ejc.264.1643225816453; Wed, 26 Jan 2022 11:36:56 -0800 (PST) MIME-Version: 1.0 References: <4f409ac939e260a4657a0e6e6518ef8736527822.1639744468.git.geert@linux-m68k.org> In-Reply-To: From: Rob Herring Date: Wed, 26 Jan 2022 13:36:45 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: timer: sifive,clint: Fix number of interrupts To: Anup Patel , Geert Uytterhoeven Cc: Daniel Lezcano , Thomas Gleixner , Palmer Dabbelt , Paul Walmsley , Anup Patel , "linux-kernel@vger.kernel.org List" , DTML , linux-riscv Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 17, 2021 at 6:48 AM Anup Patel wrote: > > On Fri, Dec 17, 2021 at 6:08 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". As the architectural maximum > > is 4095 interrupts, using that as the limit would be unpractical. Hence > > limit it to 10 interrupts (two interrupts for a system management core, > > and two interrupts per core for other cores). This should be sufficient > > for now, and the limit can always be increased when the need arises. > > Same comment as the PLIC DT binding patch. > > The "maxItems" should represent CLINT spec constraints so > please don't add any synthetic value here. I agree. Geert, are you going to respin these? Rob