From 16b7ae64103797b0ecab1dbb7c45df23b14810b9 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 3 Jun 2019 14:50:50 +1000 Subject: Remove POWER7 and POWER7+ support It's been a good long while since either OPAL POWER7 user touched a machine, and even longer since they'd have been okay using an old version rather than tracking master. There's also been no testing of OPAL on POWER7 systems for an awfully long time, so it's pretty safe to assume that it's very much bitrotted. It also saves a whole 14kb of xz compressed payload space. Signed-off-by: Stewart Smith Enthusiasticly-Acked-by: Oliver O'Halloran Signed-off-by: Stewart Smith --- include/chip.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'include/chip.h') diff --git a/include/chip.h b/include/chip.h index 5231d17..f94149b 100644 --- a/include/chip.h +++ b/include/chip.h @@ -31,31 +31,11 @@ * This ID is the HW fabric ID of a chip based on the XSCOM numbering, * also known as "GCID" (Global Chip ID). * - * The format of this number is different between P7 and P8 and care must + * The format of this number is different between chip generations and care must * be taken when trying to convert between this chip ID and some other * representation such as PIR values, interrupt-server numbers etc... : * - * P7 GCID - * ------- - * - * Global chip ID is a 6 bit number: - * - * NodeID T ChipID - * | | | | - * |___|___|___|___|___|___| - * - * Where T is the "torrent" bit and is 0 for P7 chips and 1 for - * directly XSCOM'able IO chips such as Torrent - * - * This macro converts a PIR to a GCID */ -#define P7_PIR2GCID(pir) ({ \ - uint32_t _pir = pir; \ - ((_pir >> 4) & 0x38) | ((_pir >> 5) & 0x3); }) - -#define P7_PIR2COREID(pir) (((pir) >> 2) & 0x7) - -#define P7_PIR2THREADID(pir) ((pir) & 0x3) /* * P8 GCID @@ -119,8 +99,6 @@ struct p9_dio; /* Chip type */ enum proc_chip_type { PROC_CHIP_UNKNOWN, - PROC_CHIP_P7, - PROC_CHIP_P7P, PROC_CHIP_P8_MURANO, PROC_CHIP_P8_VENICE, PROC_CHIP_P8_NAPLES, -- cgit v1.1