Blame SOURCES/0211-rules-skip-memory-hotplug-on-ppc64.patch
|
|
4fbe94 |
From 72dd8d8cd1a7417805009050f859d502b1c6cf3e Mon Sep 17 00:00:00 2001
|
|
|
4fbe94 |
From: Jan Synacek <jsynacek@redhat.com>
|
|
|
4fbe94 |
Date: Thu, 6 Jun 2019 09:35:27 +0200
|
|
|
4fbe94 |
Subject: [PATCH] rules: skip memory hotplug on ppc64
|
|
|
4fbe94 |
|
|
|
4fbe94 |
Resolves (#1713159)
|
|
|
4fbe94 |
---
|
|
|
4fbe94 |
rules/40-redhat.rules | 1 +
|
|
|
4fbe94 |
1 file changed, 1 insertion(+)
|
|
|
4fbe94 |
|
|
|
4fbe94 |
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
|
|
|
4fbe94 |
index 17b33682bd..fadc6e59f1 100644
|
|
|
4fbe94 |
--- a/rules/40-redhat.rules
|
|
|
4fbe94 |
+++ b/rules/40-redhat.rules
|
|
|
4fbe94 |
@@ -7,6 +7,7 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}
|
|
|
4fbe94 |
SUBSYSTEM!="memory", GOTO="memory_hotplug_end"
|
|
|
4fbe94 |
ACTION!="add", GOTO="memory_hotplug_end"
|
|
|
4fbe94 |
PROGRAM="/bin/uname -p", RESULT=="s390*", GOTO="memory_hotplug_end"
|
|
|
4fbe94 |
+PROGRAM="/bin/uname -p", RESULT=="ppc64*", GOTO="memory_hotplug_end"
|
|
|
4fbe94 |
|
|
|
4fbe94 |
ENV{.state}="online"
|
|
|
4fbe94 |
PROGRAM="/bin/systemd-detect-virt", RESULT=="none", ENV{.state}="online_movable"
|