mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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>
5 lines
187 B
Plaintext
5 lines
187 B
Plaintext
#
|
|
# 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"
|