Skip to content

Commit e7279e3

Browse files
adi-g15-ibmrarbab
authored andcommitted
iohub: Add HUB ID for everest systems
Everest's hub id is 0x52, which OPAL earlier didn't recognise: [ 574.179390090,6] CEC: HUB FRU 0 is CPU Card [ 574.179430286,6] CEC: 2 chips in FRU [ 574.179464930,7] CEC: IO Hub Chip #0 OK [ 574.179497312,7] CEC: PChip: 0 HUB ID: 0052 [EC=0x20] Hub#=0) [ 574.179543358,3] CEC: Hub ID 0x0052 unsupported ! <-------- Due to not recognising the HUB id, it doesn't initialise the PCI slots. Define 0x52 as Everest's hub id, so OPAL initialises PCIe slots also for Everest Signed-off-by: Aditya Gupta <[email protected]> Acked-by: Nicholas Piggin <[email protected]> Signed-off-by: Reza Arbab <[email protected]>
1 parent 6e8521a commit e7279e3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

hdata/iohub.c

+4
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,10 @@ static void io_parse_fru(const void *sp_iohubs)
843843
prlog(PR_INFO, "CEC: Rainier !\n");
844844
io_add_p9(hub, sp_iohubs);
845845
break;
846+
case CECHUB_HUB_EVEREST:
847+
prlog(PR_INFO, "CEC: Everest !\n");
848+
io_add_p9(hub, sp_iohubs);
849+
break;
846850
case CECHUB_HUB_DENALI:
847851
prlog(PR_INFO, "CEC: Denali !\n");
848852
io_add_p9(hub, sp_iohubs);

hdata/spira.h

+1
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ struct cechub_io_hub {
613613
#define CECHUB_HUB_AXONE_HOPPER 0x0040 /* axone+hopper */
614614
#define CECHUB_HUB_RAINIER 0x0050
615615
#define CECHUB_HUB_DENALI 0x0051
616+
#define CECHUB_HUB_EVEREST 0x0052
616617
__be32 ec_level;
617618
__be32 aff_dom2; /* HDAT < v9.x only */
618619
__be32 aff_dom3; /* HDAT < v9.x only */

0 commit comments

Comments
 (0)