ppc/pnv: Update Power10's cfam id to use Power10 DD2
PATCH 1/1 ppc/pnv: Update Power10's cfam id to use Power10 DD2
Power10 DD1.0 was dropped in:
commit 8f054d9ee825 ("ppc: Drop support for POWER9 and POWER10 DD1 chips")
Use the newer Power10 DD2 chips cfam id.
--- hw/ppc/pnv.c | 2 +- tests/qtest/pnv-xscom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
hw/ppc/pnv.c +1 -1
@@ -2090,7 +2090,7 @@ static void pnv_chip_power10_class_init(ObjectClass *klass, void *data)PnvChipClass *k =PNV_CHIP_CLASS (klass);static const int i2c_ports_per_engine[PNV10_CHIP_MAX_I2C ] = {14 ,14 ,2 ,16 }; - k->chip_cfam_id =0x120da04900008000ull ;/* P10 DD1.0 (with NX) */ + k->chip_cfam_id =0x220da04980000000ull ;/* P10 DD2.0 (with NX) */ k->cores_mask =POWER10_CORE_MASK ; k->chip_pir = pnv_chip_pir_p10; k->intc_create = pnv_chip_power10_intc_create;
tests/qtest/pnv-xscom.h +1 -1
@@ -56,7 +56,7 @@ static const PnvChip pnv_chips[] = { .chip_type = PNV_CHIP_POWER10, .cpu_model = "POWER10", .xscom_base = 0x000603fc00000000ull, - .cfam_id = 0x120da04900008000ull, + .cfam_id = 0x220da04980000000ull, .first_core = 0x0, .num_i2c = 4, },
Signature · 1 line
2.44.0
Quoted 6 lines · Aditya Gupta
Power10 DD1.0 was dropped in:
commit
8f054d9ee825("ppc: Drop support for POWER9 and POWER10 DD1 chips")Use the newer Power10 DD2 chips cfam id.
Quoted 10 lines
Cc Cédric Le Goater <[email protected]>Cc David Gibson <[email protected]>Cc Frédéric Barrat <[email protected]>Cc Laurent Vivier <[email protected]>Cc Mahesh J Salgaonkar <[email protected]>Cc Madhavan Srinivasan <[email protected]>Cc Nicholas Piggin <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Thomas Huth <[email protected]>Signed-off-by Aditya Gupta <[email protected]>
Thanks,
C.
Quoted 31 lines
--- hw/ppc/pnv.c | 2 +- tests/qtest/pnv-xscom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)hw/ppc/pnv.c +1
-1@@ -2090,7 +2090,7 @@ static void pnv_chip_power10_class_init(ObjectClass *klass, void *data)PnvChipClass *k =PNV_CHIP_CLASS (klass);static const int i2c_ports_per_engine[PNV10_CHIP_MAX_I2C ] = {14 ,14 ,2 ,16 }; - k->chip_cfam_id =0x120da04900008000ull ;/* P10 DD1.0 (with NX) */ + k->chip_cfam_id =0x220da04980000000ull ;/* P10 DD2.0 (with NX) */ k->cores_mask =POWER10_CORE_MASK ; k->chip_pir = pnv_chip_pir_p10; k->intc_create = pnv_chip_power10_intc_create;tests/qtest/pnv-xscom.h +1
-1@@ -56,7 +56,7 @@ static const PnvChip pnv_chips[] = { .chip_type = PNV_CHIP_POWER10, .cpu_model = "POWER10", .xscom_base = 0x000603fc00000000ull, - .cfam_id = 0x120da04900008000ull, + .cfam_id = 0x220da04980000000ull, .first_core = 0x0, .num_i2c = 4, },
Hello,
Any comments on this change ?
Though this isn't urgent and won't change behaviour much, mainly other than skiboot recognising the chip as P10 DD2.
Thanks
- Aditya Gupta
Quoted 58 lines · Cédric Le Goater
Quoted 6 lines · Aditya Gupta
Power10 DD1.0 was dropped in:
commit
8f054d9ee825("ppc: Drop support for POWER9 and POWER10 DD1 chips")Use the newer Power10 DD2 chips cfam id.
Quoted 10 lines
Cc Cédric Le Goater <[email protected]>Cc David Gibson <[email protected]>Cc Frédéric Barrat <[email protected]>Cc Laurent Vivier <[email protected]>Cc Mahesh J Salgaonkar <[email protected]>Cc Madhavan Srinivasan <[email protected]>Cc Nicholas Piggin <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Thomas Huth <[email protected]>Signed-off-by Aditya Gupta <[email protected]>Reviewed-by Cédric Le Goater <[email protected]>Thanks,
C.
Quoted 31 lines
---
hw/ppc/pnv.c | 2 +-
tests/qtest/pnv-xscom.h| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)hw/ppc/pnv.c +0
-0@@ -2090,7 +2090,7 @@ static voidpnv_chip_power10_class_init (ObjectClass *klass, void *data) PnvChipClass *k = PNV_CHIP_CLASS(klass); static const int i2c_ports_per_engine[PNV10_CHIP_MAX_I2C] = {14, 14, 2, 16};-
k->chip_cfam_id=0x120da04900008000ull; /* P10 DD1.0 (with NX) */ +k->chip_cfam_id=0x220da04980000000ull; /* P10 DD2.0 (with NX) */k->cores_mask=POWER10_CORE_MASK;
k->chip_pir=pnv_chip_pir_p10;
k->intc_create=pnv_chip_power10_intc_create;tests/qtest/pnv-xscom.h +1
-1@@ -56,7 +56,7 @@ static const PnvChip pnv_chips[] = { .chip_type = PNV_CHIP_POWER10, .cpu_model = "POWER10", .xscom_base = 0x000603fc00000000ull, - .cfam_id = 0x120da04900008000ull, + .cfam_id = 0x220da04980000000ull, .first_core = 0x0, .num_i2c = 4, },
Quoted 6 lines · Aditya Gupta
Hello,
Any comments on this change ?
Though this isn't urgent and won't change behaviour much, mainly other than skiboot recognising the chip as P10 DD2.
Hey Aditya,
Yeah I missed this in my last PR but I have it in my tree.
Thanks,
Nick
Quoted 70 lines
Thanks
- Aditya Gupta
Quoted 61 lines · Cédric Le Goater
Quoted 7 lines · Aditya Gupta
Power10 DD1.0 was dropped in:
commit
8f054d9ee825("ppc: Drop support for POWER9 and POWER10 DD1 chips")Use the newer Power10 DD2 chips cfam id.
Quoted 10 lines
Cc Cédric Le Goater <[email protected]>Cc David Gibson <[email protected]>Cc Frédéric Barrat <[email protected]>Cc Laurent Vivier <[email protected]>Cc Mahesh J Salgaonkar <[email protected]>Cc Madhavan Srinivasan <[email protected]>Cc Nicholas Piggin <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Thomas Huth <[email protected]>Signed-off-by Aditya Gupta <[email protected]>Reviewed-by Cédric Le Goater <[email protected]>Thanks,
C.
Quoted 33 lines
---
hw/ppc/pnv.c | 2 +-
tests/qtest/pnv-xscom.h| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)hw/ppc/pnv.c +0
-0@@ -2090,7 +2090,7 @@ static voidpnv_chip_power10_class_init (ObjectClass *klass, void *data) PnvChipClass *k = PNV_CHIP_CLASS(klass);static const int i2c_ports_per_engine[PNV10_CHIP_MAX_I2C] = {14, 14, 2, 16};
-k->chip_cfam_id=0x120da04900008000ull; /* P10 DD1.0 (with NX) */
+k->chip_cfam_id=0x220da04980000000ull; /* P10 DD2.0 (with NX) */k->cores_mask=POWER10_CORE_MASK;
k->chip_pir=pnv_chip_pir_p10;
k->intc_create=pnv_chip_power10_intc_create;tests/qtest/pnv-xscom.h +1
-1@@ -56,7 +56,7 @@ static const PnvChip pnv_chips[] = { .chip_type = PNV_CHIP_POWER10, .cpu_model = "POWER10", .xscom_base = 0x000603fc00000000ull, - .cfam_id = 0x120da04900008000ull, + .cfam_id = 0x220da04980000000ull, .first_core = 0x0, .num_i2c = 4, },
Hi Nick,
Quoted 10 lines · Nicholas Piggin
Quoted 6 lines · Aditya Gupta
Hello,
Any comments on this change ?
Though this isn't urgent and won't change behaviour much, mainly other than skiboot recognising the chip as P10 DD2.
Hey Aditya,
Yeah I missed this in my last PR but I have it in my tree.
Got it, thank you !
- Aditya Gupta
Quoted 70 lines
Thanks,
NickQuoted 67 lines
Thanks
- Aditya Gupta
Quoted 59 lines · Cédric Le Goater
Quoted 7 lines · Aditya Gupta
Power10 DD1.0 was dropped in:
commit
8f054d9ee825("ppc: Drop support for POWER9 and POWER10
DD1 chips")Use the newer Power10 DD2 chips cfam id.
Quoted 10 lines
Cc Cédric Le Goater <[email protected]>Cc David Gibson <[email protected]>Cc Frédéric Barrat <[email protected]>Cc Laurent Vivier <[email protected]>Cc Mahesh J Salgaonkar <[email protected]>Cc Madhavan Srinivasan <[email protected]>Cc Nicholas Piggin <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Thomas Huth <[email protected]>Signed-off-by Aditya Gupta <[email protected]>Reviewed-by Cédric Le Goater <[email protected]>Thanks,
C.
Quoted 33 lines
--- hw/ppc/pnv.c | 2 +- tests/qtest/pnv-xscom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)hw/ppc/pnv.c +0
-0@@ -2090,7 +2090,7 @@ static voidpnv_chip_power10_class_init (ObjectClass *klass, void *data) PnvChipClass *k = PNV_CHIP_CLASS(klass); static const int i2c_ports_per_engine[PNV10_CHIP_MAX_I2C] = {14 ,14 ,2 ,16 }; - k->chip_cfam_id = 0x120da04900008000ull; /* P10 DD1.0 (withNX) */
+k->chip_cfam_id=0x220da04980000000ull; /* P10 DD2.0 (with NX) */
k->cores_mask=POWER10_CORE_MASK;
k->chip_pir=pnv_chip_pir_p10;
k->intc_create=pnv_chip_power10_intc_create;tests/qtest/pnv-xscom.h +1
-1@@ -56,7 +56,7 @@ static const PnvChip pnv_chips[] = { .chip_type = PNV_CHIP_POWER10, .cpu_model = "POWER10", .xscom_base = 0x000603fc00000000ull, - .cfam_id = 0x120da04900008000ull, + .cfam_id = 0x220da04980000000ull, .first_core = 0x0, .num_i2c = 4, },