[PATCH 3/4] ppc/pnv/pci: Update PHB5 version register

Frederic Barrat posted 4 patches 3 years ago
Maintainers: "Cédric Le Goater" <clg@kaod.org>
[PATCH 3/4] ppc/pnv/pci: Update PHB5 version register
Posted by Frederic Barrat 3 years ago
Update register value per its P10 DD2 definition.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
---
 include/hw/pci-host/pnv_phb4.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
index 761525686e..28d61b96c7 100644
--- a/include/hw/pci-host/pnv_phb4.h
+++ b/include/hw/pci-host/pnv_phb4.h
@@ -214,7 +214,7 @@ struct PnvPhb4PecClass {
 #define PNV_PHB5(obj) \
     OBJECT_CHECK(PnvPhb4, (obj), TYPE_PNV_PHB5)
 
-#define PNV_PHB5_VERSION           0x000000a500000001ull
+#define PNV_PHB5_VERSION           0x000000a500000002ull
 
 #define TYPE_PNV_PHB5_PEC "pnv-phb5-pec"
 #define PNV_PHB5_PEC(obj) \
-- 
2.39.1
Re: [PATCH 3/4] ppc/pnv/pci: Update PHB5 version register
Posted by Cédric Le Goater 3 years ago
On 1/27/23 13:28, Frederic Barrat wrote:
> Update register value per its P10 DD2 definition.
> 
> Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>

Indeed :

   mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power10_v2.0");


Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.

> ---
>   include/hw/pci-host/pnv_phb4.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
> index 761525686e..28d61b96c7 100644
> --- a/include/hw/pci-host/pnv_phb4.h
> +++ b/include/hw/pci-host/pnv_phb4.h
> @@ -214,7 +214,7 @@ struct PnvPhb4PecClass {
>   #define PNV_PHB5(obj) \
>       OBJECT_CHECK(PnvPhb4, (obj), TYPE_PNV_PHB5)
>   
> -#define PNV_PHB5_VERSION           0x000000a500000001ull
> +#define PNV_PHB5_VERSION           0x000000a500000002ull
>   
>   #define TYPE_PNV_PHB5_PEC "pnv-phb5-pec"
>   #define PNV_PHB5_PEC(obj) \