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: <20260129031033.3428295-4-zheng.gong@samsung.com>
Date: Thu, 29 Jan 2026 11:10:33 +0800
From: "zheng.gong" <zheng.gong@...sung.com>
To: linux-scsi@...r.kernel.org
Cc: avri.altman@....com, bvanassche@....org, quic_cang@...cinc.com,
	alim.akhtar@...sung.com, martin.petersen@...cle.com, ebiggers@...nel.org,
	linux-kernel@...r.kernel.org, "zheng.gong" <zheng.gong@...sung.com>
Subject: [PATCH v4 3/3] dt-bindings: ufs: Add binding for ufs-keyslot-offset

Document the new 'ufs-keyslot-offset' dt property used to configure
a fixed offset for crypto keyslot remapping in UFS host controllers.

This is useful in virtualized or multi-domain environments where keyslot
layout is partitioned (e.g., per-VM isolation). If the property is not
present, the keyslot is used as-is (identity mapping).

The binding is used by the exynos UFS driver to support secure inline
encryption in domain-isolated scenarios.

Signed-off-by: zheng.gong <zheng.gong@...sung.com>
---
 .../devicetree/bindings/ufs/samsung,exynos-ufs.yaml          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml
index b4e744ebffd1..0ed60bbd959e 100644
--- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml
@@ -72,6 +72,11 @@ properties:
 
   dma-coherent: true
 
+  ufs-keyslot-offset:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      Offset added to logical crypto keyslot for multi-domain isolation.
+
 required:
   - compatible
   - reg
-- 
2.50.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ