lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c7688fba-0570-4dc6-80c4-23cd75ed29aa@kernel.org>
Date: Mon, 8 Jul 2024 08:16:13 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Pankaj Gupta <pankaj.gupta@....com>, Jonathan Corbet <corbet@....net>,
 Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
 Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
 Sascha Hauer <s.hauer@...gutronix.de>,
 Pengutronix Kernel Team <kernel@...gutronix.de>,
 Fabio Estevam <festevam@...il.com>, Rob Herring <robh+dt@...nel.org>,
 Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: "linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
 "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
 "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
 "imx@...ts.linux.dev" <imx@...ts.linux.dev>,
 "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [EXT] Re: [PATCH v4 2/5] dt-bindings: arm: fsl: add imx-se-fw
 binding doc

On 08/07/2024 07:50, Pankaj Gupta wrote:
>> Drop redundant/obvious parts.
> Will replace above two description line with the below two.
>       - description: mailbox phandle to send message to se firmware
>       - description: mailbox phandle to receive message from se firmware
> 
>>
>> So two mailboxes?
> Two handles of the same mailbox.
> 
>>
>>> +
>>> +  mbox-names:
>>> +    items:
>>> +      - const: tx
>>> +      - const: rx
>>> +      - const: txdb
>>> +      - const: rxdb
>>
>> 4 mailboxes? This cannot be different.
> mbox-names can have any of the above mentioned 4 values.
> And  two values are minimum, required.

No, I said it cannot be different. If two are minimum, then you can have
here 4, right? But earlier you said you can have only 2. It does not
make any sense.

> 
>>
>>> +    minItems: 2
>>> +
>>> +  memory-region:
>>> +    description: contains the phandle to reserved external memory.
>>
>> Drop
> Will remove the line " description: contains the phandle to reserved external memory."
> 
>>
>>> +    items:
>>> +      - description: It is used by secure-enclave firmware. It is an optional
>>> +          property based on compatible and identifier to communication
>> interface.
>>> +          (see bindings/reserved-memory/reserved-memory.txt)
>>> +
>>> +  sram:
>>> +    description: contains the phandle to sram.
>>
>> Drop
> Will remove " description: contains the phandle to sram."
> 
>>
>>> +    items:
>>> +      - description: Phandle to the device SRAM. It is an optional property
>>> +          based on compatible and identifier to communication interface.
>>> +
>>> +required:
>>> +  - compatible
>>> +  - reg
>>> +  - mboxes
>>> +  - mbox-names
>>> +
>>> +additionalProperties: false
>>
>> Keep it after allOf block
> 
> In V2, it is after allOf block.
> In previous comments, it was commented to place allOf block, after required.
> I am little confused.

So why did you implement it entirely different? Read the comment from
Conor and from me again. I am sorry, but repeating the same three times
(once by Conor, twice by me) is quite a waste of time.

Open example-schema. How is it done there?

Best regards,
Krzysztof


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ