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: <fc68b68a-586c-4af6-ae59-85b79d1d8002@altera.com>
Date: Tue, 4 Nov 2025 11:14:50 +0000
From: "Romli, Khairul Anuar" <khairul.anuar.romli@...era.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: Dinh Nguyen <dinguyen@...nel.org>, Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
	"Rao, Mahesh" <mahesh.rao@...era.com>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, "Ng, Adrian Ho Yin"
	<adrian.ho.yin.ng@...era.com>, "Rabara, Niravkumar Laxmidas"
	<nirav.rabara@...era.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: firmware: svc: Add IOMMU support for
 Agilex5

On 4/11/2025 5:48 pm, Krzysztof Kozlowski wrote:
> On Tue, Nov 04, 2025 at 07:39:27AM +0800, Khairul Anuar Romli wrote:
>> In Agilex5, the TBU (Translation Buffer Unit) can now operate in non-secure
>> mode, enabling Linux to utilize it through the IOMMU framework. This allows
>> improved memory management capabilities in non-secure environments. With
>> Agilex5 lifting this restriction, we are now extending the device tree
>> bindings to support IOMMU for the Agilex5 SVC.
>>
>> Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@...era.com>
>> Reviewed-by: Adrian Ng Ho Yin <adrianhoyin.ng@...era.com>
>> Reviewed-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@...era.com>
> 
> Two reviews but...
> 
>>   
>> -required:
>> -  - compatible
>> -  - method
>> -  - memory-region
>> +allOf:
>> +  - required:
>> +      - compatible
>> +      - method
>> +      - memory-region
> 
> ... none told you this is not the correct syntax / style?
> 
> Were these reviews really happening? What exactly was reviewed here?
> 
> Best regards,
> Krzysztof
> 

The peer review was on the property and compatible added in this patch.
I was at fault for not emphasize to check on the syntax / style for the 
logical changes.

I refers to 
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml 
and the changes could be as follows:

required:
   - compatible
   - method
   - memory-region
+allOf:
+  - if:
+      properties:
+        compatible:
+          const: intel,agilex5-svc
+    then:
+      required:
+        - iommus

Do I need to re-specify the rest of the compatible property other than 
intel,agilex5-svc and their required properties under the allOf block?

My objective is to specify that iommus only for intel,agilex5-svc but 
not the rest of devices.

Thanks.

Best Regards,
Khairul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ