From 3fbfb0e351cdeb9279aa2857046ecf0823b787dc Mon Sep 17 00:00:00 2001 From: Nicholas Piggin Date: Mon, 11 Nov 2019 15:44:48 +1000 Subject: Remove dead POWER7 code There are a number of proc_gen branches removed that are trivially dead code and comments that refer to P7. As well as those: - Oliver points out that add_xics_icps() must be unused on POWER8 because it asserts if number of threads > 4, so remove it. - Change 16b7ae641 ("Remove POWER7 and POWER7+ support") removed all references to opal_boot_trampoline, so remove that. - It also removed the only non-trival choose_bus implementation, so that is removed and its caller simplified. - Remove the paca code, later CPUs use pcia. Cc: Stewart Smith Signed-off-by: Nicholas Piggin Signed-off-by: Oliver O'Halloran --- hw/slw.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'hw/slw.c') diff --git a/hw/slw.c b/hw/slw.c index e460f15..566a112 100644 --- a/hw/slw.c +++ b/hw/slw.c @@ -1061,9 +1061,6 @@ int64_t slw_reinit(uint64_t flags) bool has_waker = false; bool target_le = slw_current_le; - 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) -- cgit v1.1