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: <20240718071134.31155-6-lihuisong@huawei.com>
Date: Thu, 18 Jul 2024 15:11:34 +0800
From: Huisong Li <lihuisong@...wei.com>
To: <xuwei5@...ilicon.com>
CC: <linux-kernel@...r.kernel.org>, <soc@...nel.org>,
	<linux-arm-kernel@...ts.infradead.org>, <Jonathan.Cameron@...wei.com>,
	<liuyonglong@...wei.com>, <lihuisong@...wei.com>
Subject: [PATCH 5/5] doc: soc: hisilicon: kunpeng_hccs: add low power interface description for HCCS

This patch add low power interface description for HCCS.

Signed-off-by: Huisong Li <lihuisong@...wei.com>
---
 .../sysfs-devices-platform-kunpeng_hccs       | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
index 1666340820f7..28bffb79e742 100644
--- a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
+++ b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
@@ -79,3 +79,29 @@ Description:
 			           indicates a lane.
 		crc_err_cnt:  (RO) CRC err count on this port.
 		============= ==== =============================================
+
+What:		/sys/devices/platform/HISI04Bx:00/used_typs
+Date:		July 2024
+KernelVersion:	6.11
+Contact:	Huisong Li <lihuisong@...wei.com>
+Description:
+		This interface is used to show all HCCS type used on current
+		platform, like, HCCS-v1, HCCS-v2 and so on.
+
+What:		/sys/devices/platform/HISI04Bx:00/support_pm_types
+What:		/sys/devices/platform/HISI04Bx:00/dec_lane
+What:		/sys/devices/platform/HISI04Bx:00/inc_lane
+Date:		July 2024
+KernelVersion:	6.11
+Contact:	Huisong Li <lihuisong@...wei.com>
+Description:
+		This series interface under /sys/devices/platform/HISI04Bx/
+		directory is used to support low power of some HCCS type
+		by operating their lane number. The 'inc_lane' and 'dec_lane'
+		are just exposed with root privilege and write-onely attributes
+		when there is the HCCS type supported low power operation.
+		The 'support_pm_types' with read-only attributes is used to
+		expose the HCCS type supported PM. The available input of
+		'inc_lane' and 'dec_lane' is from 'support_pm_types'.
+		Note: allow to decrease lane only when all specified HCCS ports
+		are not busy.
-- 
2.22.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ