From: Gatien CHEVALLIER <gatien.chevallier@foss.st.com>
To: Rob Herring <robh@kernel.org>
Cc: <arnd@kernel.org>, <linux-phy@lists.infradead.org>,
<linux-mmc@vger.kernel.org>, <dmaengine@vger.kernel.org>,
<robh+dt@kernel.org>, <jic23@kernel.org>, <davem@davemloft.net>,
<kuba@kernel.org>, <pabeni@redhat.com>,
<linux-spi@vger.kernel.org>, <linux-i2c@vger.kernel.org>,
<olivier.moysan@foss.st.com>, <linux-media@vger.kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>,
Oleksii Moisieiev <oleksii_moisieiev@epam.com>,
<edumazet@google.com>, <linux-stm32@st-md-mailman.stormreply.com>,
<ulf.hansson@linaro.org>, <richardcochran@gmail.com>,
<will@kernel.org>, <linux-crypto@vger.kernel.org>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<arnaud.pouliquen@foss.st.com>, <linux-serial@vger.kernel.org>,
<alexandre.torgue@foss.st.com>,
Frank Rowand <frowand.list@gmail.com>, <andi.shyti@kernel.org>,
<linux-usb@vger.kernel.org>, <peng.fan@oss.nxp.com>,
<lee@kernel.org>, <fabrice.gasnier@foss.st.com>,
<conor+dt@kernel.org>, <herbert@gondor.apana.org.au>,
<linux-arm-kernel@lists.infradead.org>, <catalin.marinas@arm.com>,
<al.sa-devel@alsa-project.org>, <hugues.fruchet@foss.st.com>,
<devicetree@vger.kernel.org>, <linux-iio@vger.kernel.org>,
<mchehab@kernel.org>, <vkoul@kernel.org>,
<gregkh@linuxfoundation.org>
Subject: Re: [PATCH v5 01/11] dt-bindings: document generic access controller
Date: Mon, 2 Oct 2023 11:10:05 +0200 [thread overview]
Message-ID: <f3dbcd84-1320-9efb-f715-71b6bb4c7bdb@foss.st.com> (raw)
In-Reply-To: <169600172184.3601218.2121908606358610119.robh@kernel.org>
On 9/29/23 17:35, Rob Herring wrote:
>
> On Fri, 29 Sep 2023 16:28:42 +0200, Gatien Chevallier wrote:
>> From: Oleksii Moisieiev <Oleksii_Moisieiev@epam.com>
>>
>> Introducing of the generic access controller bindings for the
>> access controller provider and consumer devices. Those bindings are
>> intended to allow a better handling of accesses to resources in a
>> hardware architecture supporting several compartments.
>>
>> This patch is based on [1]. It is integrated in this patchset as it
>> provides a use-case for it.
>>
>> Diffs with [1]:
>> - Rename feature-domain* properties to access-control* to narrow
>> down the scope of the binding
>> - YAML errors and typos corrected.
>> - Example updated
>> - Some rephrasing in the binding description
>>
>> [1]: https://lore.kernel.org/lkml/0c0a82bb-18ae-d057-562b
>>
>> Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>
>> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
>>
>> ---
>> Changes in V5:
>> - Diffs with [1]
>> - Discarded the [IGNORE] tag as the patch is now part of the
>> patchset
>>
>> .../access-controllers/access-controller.yaml | 90 +++++++++++++++++++
>> 1 file changed, 90 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/access-controllers/access-controller.yaml
>>
>
> 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/access-controllers/access-controller.yaml: access-control-provider: missing type definition
>
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230929142852.578394-2-gatien.chevallier@foss.st.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.
>
Hi Rob,
Running:
1- make dt_binding_check | grep access-control
2- make dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/access-controllers/access-controller.yaml
from Krzysztof's slideset
with
pip3 show dtschema
Name: dtschema
Version: 2023.9
and
pip3 show yamllint
Name: yamllint
Version: 1.32.0
I don't see any of the errors reported by the robot. I have to clone
your repository to reproduce it.
Should I resubmit with a clean dt-check using the latest dtschema?
***********
However, I get:
warning: ignoring duplicate '$id' value
'http://devicetree.org/schemas/reserved-memory/framebuffer.yaml#
warning: ignoring duplicate '$id' value
'http://devicetree.org/schemas/reserved-memory/memory-region.yaml#
warning: ignoring duplicate '$id' value
'http://devicetree.org/schemas/reserved-memory/shared-dma-pool.yaml#
warning: ignoring duplicate '$id' value
'http://devicetree.org/schemas/reserved-memory/reserved-memory.yaml
Above warnings disappears when switching to:
pip3 show dtschema
Name: dtschema
Version: 2023.7
The above YAMLs seem to be duplicated in dtschema's latest version.
I guess it's a synchro that needs to be done since:
https://lore.kernel.org/all/20230830231758.2561402-2-sjg@chromium.org/
***********
Best regards,
Gatien
next prev parent reply other threads:[~2023-10-02 9:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-29 14:28 [PATCH v5 00/11] Introduce STM32 Firewall framework Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 01/11] dt-bindings: document generic access controller Gatien Chevallier
2023-09-29 15:35 ` Rob Herring
2023-10-02 9:10 ` Gatien CHEVALLIER [this message]
2023-10-02 17:30 ` Rob Herring
2023-10-03 7:45 ` Gatien CHEVALLIER
2023-09-29 14:28 ` [PATCH v5 02/11] dt-bindings: treewide: add access-controller description Gatien Chevallier
2023-09-29 15:35 ` Rob Herring
2023-09-29 14:28 ` [PATCH v5 03/11] dt-bindings: bus: document RIFSC Gatien Chevallier
2023-09-29 15:35 ` Rob Herring
2023-10-02 18:30 ` Rob Herring
2023-10-03 7:57 ` Gatien CHEVALLIER
2023-09-29 14:28 ` [PATCH v5 04/11] dt-bindings: bus: document ETZPC Gatien Chevallier
2023-09-29 15:35 ` Rob Herring
2023-09-29 14:28 ` [PATCH v5 05/11] firewall: introduce stm32_firewall framework Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 06/11] of: property: fw_devlink: Add support for "access-controller" Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 07/11] bus: rifsc: introduce RIFSC firewall controller driver Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 08/11] arm64: dts: st: add RIFSC as an access controller for STM32MP25x boards Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 09/11] bus: etzpc: introduce ETZPC firewall controller driver Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 10/11] ARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards Gatien Chevallier
2023-09-29 14:28 ` [PATCH v5 11/11] ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards Gatien Chevallier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f3dbcd84-1320-9efb-f715-71b6bb4c7bdb@foss.st.com \
--to=gatien.chevallier@foss.st.com \
--cc=al.sa-devel@alsa-project.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andi.shyti@kernel.org \
--cc=arnaud.pouliquen@foss.st.com \
--cc=arnd@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=edumazet@google.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=frowand.list@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=hugues.fruchet@foss.st.com \
--cc=jic23@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-usb@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oleksii_moisieiev@epam.com \
--cc=olivier.moysan@foss.st.com \
--cc=pabeni@redhat.com \
--cc=peng.fan@oss.nxp.com \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=vkoul@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).