Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4113869rba; Tue, 2 Apr 2024 08:02:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6qHH/eaE6ZvhTCGbcN35IHaQ74i5UG7fOjoaKyrOcowKY9Rayu67UzRgbZKvv2kmswThfGu9Q3Kuwq512myiWVQ7BEghrNnJfft9GJA== X-Google-Smtp-Source: AGHT+IEJxIVMF2E6VZmPxa/9+vXraKpRo4uCBFrE8x9CfrpO3WZT+L+YTTiSQh6wBduQVgNZyDDG X-Received: by 2002:a17:906:c184:b0:a4e:761b:6e49 with SMTP id g4-20020a170906c18400b00a4e761b6e49mr779ejz.34.1712070141882; Tue, 02 Apr 2024 08:02:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712070141; cv=pass; d=google.com; s=arc-20160816; b=AtWFHOGsouSCuOGCsv3jUoZgv3vnRJnCaU2cLhdvLDWSX2HgH3bc63dNLAaiorfYIn 0P319nYVuT3mDffrPy/Q2ymWJhFnT2nWfeupbwMd3kHPKYZH5Kz7HlfcDsvj9MpbDpGP noLOdhXFOgrri1TzOv/kPhylyIA0JnUwYyKt961VPcpiJmevz0kHD8TrxivzdZDsY7F/ hC57nCuhfiK1D8NUZeVLzKk4irv146Y+A1dEPbIVnuBTsPAP1gA7eE+d2aRFB56PthHx JPefCR0Ym7AkAukQ6pVa97lwlSLhb7+kHQjs73uZDZhbW/AFJQ49r7cYlp62yiJlTqrY HSRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=UUW51iVbCa9bJCcI8AEEl7Mj/Vj4m3bzfa4vw/B0ez0=; fh=gha53iqEZ0zZ5uKGWEPG4u1jonrjpvwV1ZCqPg1oVvk=; b=jcdKRwDSwCfmSlykQ2LEWejKlUjl15rjRIIFIyHAEq1Zd2mU/ys/y2Aaw9wuFbV4zr m7Do//ZmTfoUnFRhZhi084VqxqUYnMuLGUKo5xGCOpAjfTL9F0pplvvUF7FyO7PZNECi /ZUViU6P/uNeONHH9u8MIJxOyd2ExbZWZ3bkN3TAw9JIsSQ+AjhxEQ7sdHORTg9IeEen yyZ2BF1xZq37r4aho1FxEuIfgO7A+xg7gF1wIMEZG9/8+qnvuZqQ9NyHoThvgFiIv9qS i4+yRT5PJ4YFm02sNAnXsgujH0RIsZMuK3Gb7Ft13/8UYIJEyU2KNq4csgBqPhivcKye zXGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h6rdKNN6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jo20-20020a170906f6d400b00a4e5acad2adsi3018255ejb.353.2024.04.02.08.02.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 08:02:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h6rdKNN6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128175-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A017A1F256C2 for ; Tue, 2 Apr 2024 14:44:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84E5613443F; Tue, 2 Apr 2024 14:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h6rdKNN6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86DD812DDBE; Tue, 2 Apr 2024 14:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712068831; cv=none; b=hKCcGCq2hIYnfvhVldgGljnAuVxFSv2QE2kwZshRVX3GBj0+YFdcaQGu1vRSzzmfVKbiqNXyMOqTmiKIQoo0mtQ4PwlPj4V5HAfPwnVPSQcD+h/a0JzphYx0uYRjicruLFG25b+3vORHTaNDiZnXMdpOeYVtH9fc8qDDHKqemqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712068831; c=relaxed/simple; bh=vCH3i6mpaPGNwndRqyWdjIKXgICEvYSzWBiAFVwd6zU=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=ja2NVetr7IUcB0XvdWamdia0kbPkNMqg4enyZpnaiBu3qxfL2N+re79ahhQw220ZZQJhln+cyQZiAgi/yemFF8371Q4nUtGhZe57Q2Mt1z3QZj8xqfZ8eZsf6odCylIyOS3XMyG/A9MBA673ULHIowE3v0l41YcyurNStyk7Vpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h6rdKNN6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22375C433F1; Tue, 2 Apr 2024 14:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712068830; bh=vCH3i6mpaPGNwndRqyWdjIKXgICEvYSzWBiAFVwd6zU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=h6rdKNN6Tc5buZum4JFj6Iq2RAGvfHrv5w8GkvVuCpPADghr3FCQwnBkSFeTZ7Mu+ V2F33GAKn8JIN4IeHEZM65xIQID96K1s2VB03llLVtgW0N1byK4HXdR8y2SSWw4daT ufJbQ4r/zdVQPASRpWTpff4d1dRAdJz2SpEWeh61eXh/rdt+8LREHYCrLeuchqXjAo X03miHt258ILApTVTU4hxyD5tpVq7A1svnNt1L0J1sdcD0wm2QLsmb5n0fRbxBiwOL kqJq+VyuyZxCt7LjK+XOjUOFXrrKQDkfVvNzhxWk3/B+3HCQoQlNVF533QuqIpSZdF eTapOfVJFh6/Q== Date: Tue, 02 Apr 2024 09:40:29 -0500 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Sumit Gupta Cc: amhetre@nvidia.com, conor+dt@kernel.org, maz@kernel.org, mark.rutland@arm.com, treding@nvidia.com, devicetree@vger.kernel.org, bbasu@nvidia.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, krzysztof.kozlowski@linaro.org In-Reply-To: <20240402132626.24693-2-sumitg@nvidia.com> References: <20240402132626.24693-1-sumitg@nvidia.com> <20240402132626.24693-2-sumitg@nvidia.com> Message-Id: <171206882815.21282.13196636028288566805.robh@kernel.org> Subject: Re: [Patch v2 1/2] dt-bindings: make sid and broadcast reg optional On Tue, 02 Apr 2024 18:56:25 +0530, Sumit Gupta wrote: > MC SID and Broadbast channel register access is restricted for Guest VM. > Make both the regions as optional for SoC's from Tegra186 onwards. > Tegra MC driver will skip access to the restricted registers from Guest > if the respective regions are not present in the memory-controller node > of Guest DT. > > Signed-off-by: Sumit Gupta > --- > .../memory-controllers/nvidia,tegra186-mc.yaml | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg: [[0, 46137344, 0, 65536], [0, 46202880, 0, 65536], [0, 46268416, 0, 65536], [0, 46333952, 0, 65536], [0, 46399488, 0, 65536], [0, 46465024, 0, 65536]] is too long from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:0: 'ch0' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:1: 'ch1' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:2: 'ch2' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:3: 'ch3' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:4: 'sid' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.example.dtb: memory-controller@2c00000: reg-names:5: 'broadcast' was expected from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra186-mc.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240402132626.24693-2-sumitg@nvidia.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.