OSDN Git Service

hw/pci-host: Update PHB5 XSCOM registers
authorSaif Abrar <saif.abrar@linux.vnet.ibm.com>
Mon, 16 Oct 2023 17:59:48 +0000 (12:59 -0500)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 7 Nov 2023 18:49:41 +0000 (15:49 -0300)
commitfcc63904b5e3622e6495b923a9e0e7d10cc78c5c
treebd85554f76e8848fb61d052769c6affab883b0d9
parent0d1dcb0bb168ee876445a7c94d753aee8d8a2e15
hw/pci-host: Update PHB5 XSCOM registers

Add new XSCOM registers introduced in PHB5.
Apply bit-masks within xscom-write methods.
Bit-masks specified using PPC_BITMASK macro.

Signed-off-by: Saif Abrar <saif.abrar@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-ID: <20231016175948.10869-1-saif.abrar@linux.vnet.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/pci-host/pnv_phb4.c
hw/pci-host/pnv_phb4_pec.c
include/hw/pci-host/pnv_phb4.h
include/hw/pci-host/pnv_phb4_regs.h