diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-11-11 15:44:48 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-11-11 18:35:00 +1100 |
commit | 3fbfb0e351cdeb9279aa2857046ecf0823b787dc (patch) | |
tree | eb1564eaf99f4dbb1d21c6be55e813d3eafa0d83 /include/chip.h | |
parent | bb445088d0dd11c2a1b749792e49ccdb1d6f6c33 (diff) | |
download | skiboot-3fbfb0e351cdeb9279aa2857046ecf0823b787dc.zip skiboot-3fbfb0e351cdeb9279aa2857046ecf0823b787dc.tar.gz skiboot-3fbfb0e351cdeb9279aa2857046ecf0823b787dc.tar.bz2 |
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 <stewart@flamingspork.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r-- | include/chip.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/chip.h b/include/chip.h index adb962a..f14e78b 100644 --- a/include/chip.h +++ b/include/chip.h @@ -34,9 +34,7 @@ * | | | * |___|___|___|___|___|___| * - * The difference with P7 is the absence of T bit, the ChipID - * is 3 bits long. The GCID is thus the same as the high bits - * if the PIR + * The the ChipID is 3 bits long, the GCID is the same as the high bits of PIR */ #define P8_PIR2GCID(pir) (((pir) >> 7) & 0x3f) |