Skip to content

Commit 27b9d14

Browse files
mshychacoifmannvidia
authored andcommitted
hw-mgmt: udev rules: disable TPM runtime power management.
Disable TPM runtime power management, i.e. TPM will always remain power-on. It will allow avoiding rare cases of access to TPM when it's suspended. The effect of always power-on the TPM on common power consumption is minimal. Bug #4542714 Signed-off-by: Michael Shych <[email protected]>
1 parent 2ed063d commit 27b9d14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

usr/lib/udev/rules.d/50-hw-management-events.rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,3 +757,6 @@ SUBSYSTEM=="pci", DRIVERS=="sx_core", ACTION=="offline", RUN+="/usr/bin/hw-manag
757757
# DPU
758758
SUBSYSTEM=="hwmon", DEVPATH=="/devices/platform/mlxplat/i2c_mlxcpld*/i2c-*/i2c-*/*-001f/hwmon/hwmon*", ACTION=="add", RUN+="/usr/bin/hw-management-thermal-events.sh add dpu %S %p"
759759
SUBSYSTEM=="hwmon", DEVPATH=="/devices/platform/mlxplat/i2c_mlxcpld*/i2c-*/i2c-*/*-001f/hwmon/hwmon*", ACTION=="remove", RUN+="/usr/bin/hw-management-thermal-events.sh rm dpu %S %p"
760+
761+
# TPM - disable TPM runtime power management
762+
SUBSYSTEM=="tpm", KERNEL=="tpm0", ATTR{power/control}="on"

0 commit comments

Comments
 (0)