mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
udev: Introduce a rule to set newly hotplugged CPUs online
On s390 architecture a newly hotplugged CPU, should only stay offline if it is on deconfigured state, otherwise it should automatically become online. Introduce a new udev rule to enforce this behavior. This rule should always be installed. Acked-by: Jan Höppner <hoeppner@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
f07504d92e
commit
8dc06d14d7
4
etc/udev/rules.d/80-hotplug-cpu.rules
Normal file
4
etc/udev/rules.d/80-hotplug-cpu.rules
Normal file
@@ -0,0 +1,4 @@
|
||||
#
|
||||
# Rules to set online a newly hotplugged cpu on s390x
|
||||
#
|
||||
SUBSYSTEM=="cpu", ACTION=="add", CONST{arch}=="s390*", ATTR{configure}=="1", TEST=="online", ATTR{online}!="1", ATTR{online}="1"
|
||||
Reference in New Issue
Block a user