Skip to content

Commit 67f2dcc

Browse files
committed
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 7cd0434 commit 67f2dcc

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
@@ -890,3 +890,6 @@ SUBSYSTEM=="pci", DRIVERS=="sx_core", ACTION=="offline", RUN+="/usr/bin/hw-manag
890890
# DPU
891891
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"
892892
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"
893+
894+
# TPM - disable TPM runtime power management
895+
SUBSYSTEM=="tpm", KERNEL=="tpm0", ATTR{power/control}="on"

0 commit comments

Comments
 (0)