summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2015-10-20 11:06:45 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-10-30 14:46:08 +1100
commitb5d4978b3fc525d01dcdc74266e8dcf3615fdaa3 (patch)
tree3b5a714610b5a8972000e009cefb3ad177a1a63e /core
parent9677b85387c18429ab73e621ac033adeb34f9d80 (diff)
downloadtalos-skiboot-b5d4978b3fc525d01dcdc74266e8dcf3615fdaa3.tar.gz
talos-skiboot-b5d4978b3fc525d01dcdc74266e8dcf3615fdaa3.zip
slw: Move add_cpu_idle_state_properties() to add_opal_node()
05f52a8dd7c7e402896e049fd24f83d56b70aff4 core: Setup the OPAL DT node before platform probe add_cpu_idle_state_properties() was made local to slw.c in the above commit which caused p7 systems to not populate the nap idle state in DT. So moving add_cpu_idle_state_properties() to add_opal_node to fix this bug. Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/opal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c
index c2c4d8d1..b5a422ad 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -160,6 +160,7 @@ void add_opal_node(void)
add_opal_firmware_node();
add_associativity_ref_point();
memcons_add_properties();
+ add_cpu_idle_state_properties();
}
static struct lock evt_lock = LOCK_UNLOCKED;
OpenPOWER on IntegriCloud