Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1882712pxb; Tue, 26 Oct 2021 18:36:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE7kSO1tQWYBQMCqYfw2/eMgwYCLYzBo0Dmf34nKOpWskk2pQPRNJUec5Ta2iJPhOcJEhD X-Received: by 2002:a05:6a00:1882:b0:47c:138c:bbf2 with SMTP id x2-20020a056a00188200b0047c138cbbf2mr6764810pfh.9.1635298615854; Tue, 26 Oct 2021 18:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635298615; cv=none; d=google.com; s=arc-20160816; b=M6seBfUGJWBrMKdpkeIYZ4R/9yigx8OdTkZqw7SekG3vvUgeqAFNn881TDn9ejNVAd EeBuufPEndYKR5YTnaVsWbTX4zHfri1BYwLXsKGEHTHK2bZ4w1trl28jxoCvuBwSKLRy IeaWShmJZJ6vM5dDm2ugOl96l3s5guJbBW52TEEt7z+gZvItm/IZRxhwt26DZ5XYA9tw NmsGZk/jo+Hr76GITsODsA4L5H10XKTj0KsrUv8rE/TY3yDOAvkIGu3/f0aWi5pWGc39 fc7npBnRwYSMu3ulVoN7F8R1qQzuuC6abnJoMEF+Vr8BhCn2mo7Q1Ax9KKkJZ113TpGU x92w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :cc:to:subject:from:date:dkim-signature; bh=Yr9uhClX24/LPzr3j28xMSkldVyzrS/jPB9TXwItW/Q=; b=RI+ipmS+UQhSHeAK++EufzDmKMQshCUkxPVBzJ9ygUBktOK78g4hS+J9aYB/YRynWx 9i4Sy6XBTKIzyVbydkGLLYDTGVpNMrbkq0GwQksfMorsS1L5d8t/vlvBiG5bqPbyGjnV a8VSm81h7rT76B91hgwTYiQqehoJXqKALagWAgCiaOVq/A3RhDFslLz/L0EsAfAyzj6P +YN4sGpES3QvngzxeJE2jqwXS4Hvs0SM8h1b00d7lMGx9GCfWIVlUYGOJghzwq0DYoLL /pSA5PGYzlodxB2nokYrHvDQ82jQS26vr56nDh/4/CFb8QjyoN6XDPIjACYteabGdOjB z+bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b="Yh5h1/Pd"; 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=REJECT dis=NONE) header.from=ixit.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si10049787pfh.219.2021.10.26.18.36.43; Tue, 26 Oct 2021 18:36:55 -0700 (PDT) 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=@ixit.cz header.s=dkim header.b="Yh5h1/Pd"; 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=REJECT dis=NONE) header.from=ixit.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237669AbhJZREm (ORCPT + 99 others); Tue, 26 Oct 2021 13:04:42 -0400 Received: from ixit.cz ([94.230.151.217]:43048 "EHLO ixit.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237663AbhJZREl (ORCPT ); Tue, 26 Oct 2021 13:04:41 -0400 Received: from [192.168.1.138] (ip-89-176-96-70.net.upcbroadband.cz [89.176.96.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 7153320064; Tue, 26 Oct 2021 19:02:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1635267734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yr9uhClX24/LPzr3j28xMSkldVyzrS/jPB9TXwItW/Q=; b=Yh5h1/PdyDWYWMmGnNH2FK2FhyIlEnkwGw/C5a4HremTpgkN5mF+shIUq80pTLKyljAKVi 0rbvXGc7e4SnG0rbRzaZlDW1ksWR91fy6mltEPxmWSeL0mi77v4wuRJgqzz9y47YhsqY74 FYU1fCsxFsOBNdo6eg+N3BR5FASsJJs= Date: Tue, 26 Oct 2021 19:02:07 +0200 From: David Heidelberg Subject: Re: [PATCH v2] dt-bindings: net: qcom,ipa: IPA does support up to two iommus To: Alex Elder Cc: Andy Gross , Bjorn Andersson , "David S. Miller" , Jakub Kicinski , Rob Herring , Alex Elder , ~okias/devicetree@lists.sr.ht, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: In-Reply-To: <2de53575-af6e-5bb9-e7ad-5d924656867d@ieee.org> References: <20211026163240.131052-1-david@ixit.cz> <2de53575-af6e-5bb9-e7ad-5d924656867d@ieee.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org thanks, I'll try to work on my commit messages :) David On Tue, Oct 26 2021 at 11:47:46 -0500, Alex Elder wrote: > On 10/26/21 11:32 AM, David Heidelberg wrote: >> Fix warnings as: >> arch/arm/boot/dts/qcom-sdx55-mtp.dt.yaml: ipa@1e40000: iommus: [[21, >> 1504, 0], [21, 1506, 0]] is too long >> From schema: Documentation/devicetree/bindings/net/qcom,ipa.yaml >> >> Signed-off-by: David Heidelberg > > Looks good to me. I'm not sure why the minItems is required, > unless it's to indicate that it must be at least 1 and can't > be missing. But iommus is also stated to be required elsewhere > in the binding. > > In the future, it's helpful to indicate the command you > used to produce the warning in your commit message. And > furthermore, describing the problem (and not just including > the error message) is even more helpful. > > Reviewed-by: Alex Elder > >> --- >> Documentation/devicetree/bindings/net/qcom,ipa.yaml | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml >> b/Documentation/devicetree/bindings/net/qcom,ipa.yaml >> index b8a0b392b24e..b86edf67ce62 100644 >> --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml >> +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml >> @@ -64,7 +64,8 @@ properties: >> - const: gsi >>  iommus: >> - maxItems: 1 >> + minItems: 1 >> + maxItems: 2 >>  clocks: >> maxItems: 1 >> >