diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-02-09 14:02:32 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-02-09 14:05:21 +1100 |
commit | 49123c7aecd087448f9795b7e6409ec0d473e5c6 (patch) | |
tree | d3d1608a9d643e192c575ae118835bfc0b07e7bd /hw/slw.c | |
parent | c5a06a551ef55468e7bc46615f71f4ee4dbeaa02 (diff) | |
download | skiboot-49123c7aecd087448f9795b7e6409ec0d473e5c6.zip skiboot-49123c7aecd087448f9795b7e6409ec0d473e5c6.tar.gz skiboot-49123c7aecd087448f9795b7e6409ec0d473e5c6.tar.bz2 |
cpu: Handle opal_reinit_cpus() more gracefully on P7
Don't try to call into slw_reinit() which causes error logs to
be generated.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw/slw.c')
-rw-r--r-- | hw/slw.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -751,6 +751,9 @@ int64_t slw_reinit(uint64_t flags) return OPAL_UNSUPPORTED; #endif + if (proc_gen < proc_gen_p8) + return OPAL_UNSUPPORTED; + if (flags & OPAL_REINIT_CPUS_HILE_BE) target_le = false; if (flags & OPAL_REINIT_CPUS_HILE_LE) |