From 810436069a506aa7547a9c0229b6494bdd5880dc Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Thu, 29 Oct 2015 09:26:10 -0500 Subject: PCIE Level 1 procedures Shells for p9_pcie_scominit, p9_pcie_config, p9_pcie_hotplug_control Supporting attribute definitions Change-Id: I7fada8c46e9c09b877a8779f8b2c56bb9d377dfd Original-Change-Id: Ifdfee9a0aee08624fdc279355a5f46e0049417e7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21599 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran Reviewed-by: CHRISTINA L. GRAVES Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22600 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- .../xml/attribute_info/p9_pcie_attributes.xml | 500 +++++++++++++++++++++ 1 file changed, 500 insertions(+) create mode 100644 src/import/chips/p9/procedures/xml/attribute_info/p9_pcie_attributes.xml (limited to 'src/import/chips/p9/procedures/xml/attribute_info/p9_pcie_attributes.xml') diff --git a/src/import/chips/p9/procedures/xml/attribute_info/p9_pcie_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/p9_pcie_attributes.xml new file mode 100644 index 000000000..454bbd500 --- /dev/null +++ b/src/import/chips/p9/procedures/xml/attribute_info/p9_pcie_attributes.xml @@ -0,0 +1,500 @@ + + + + + + + + + + + + + + + + + + + + + + + ATTR_PROC_PCIE_IOP_CONFIG + TARGET_TYPE_PEC + + PCIE IOP lane configuration + creator: platform + consumer: p9_pcie_scominit + firmware notes: + Encoded PCIE IOP lane configuration + + uint8 + + + + + + ATTR_PROC_PCIE_IOP_SWAP + TARGET_TYPE_PEC + + PCIE IOP swap configuration + creator: platform + consumer: p9_pcie_scominit + firmware notes: + Encoded PCIE IOP swap configuration + + uint8 + + + + + + ATTR_PROC_PCIE_IOVALID_ENABLE + TARGET_TYPE_PEC + + PCIE iovalid enable valid mask + creator: platform + consumer: p9_pcie_scominit + + uint8 + + + + + + ATTR_PROC_PCIE_REFCLOCK_ENABLE + TARGET_TYPE_PEC + + PCIE refclock enable valid mask + creator: platform + consumer: p9_pcie_scominit + + uint8 + + + + + + ATTR_PROC_PCIE_IOP_G3_PLL_CONTROL0 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe Gen3 PLL Control Register 0. + ATUNE/CPISEL. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_G2_PLL_CONTROL0 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe Gen2/Gen1 PLL Control Register 0. + ATUNE/CPISEL. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_PLL_GLOBAL_CONTROL0 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe PLL Global Control Register 0. + REFISRC/REFISINK. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_PLL_GLOBAL_CONTROL1 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmare notes: + PCIe PLL Global Control Register 1. + ENBGDOCPSRC/ENBGDOCAMP/REFVREG. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_PCS_CONTROL0 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe PCS Control Register 0. + BITLOCKTIME/ADDDREMDELTA_810_B/STARTUPDELTA_810_B/ADDDREMDELTA_810_A/ + STARTUPDELTA_A/RXREJECTHANDLING/EQCOMLETERESPONSE. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_PCS_CONTROL1 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe PCS Control Register 1. + RXSIGDETSETTING/ADDDREMDELTA_128130_B/STARTUPDELTA_128130_B/ + ADDDREMDELTA_128130_A/STARTUPDELTA_128130_A. + + uint32 + + + + + ATTR_PROC_PCIE_IOP_TX_FIFO_OFFSET + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe TX FIFO Offset Register. + G3OFFSET/G2OFFSET/G1OFFSET. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_TX_RCVRDETCNTL + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe TX Receiver Detect Control Register. + VREFSEL/RCVRDETCNT/DETDRVC/PH1WAIT. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_TX_BWLOSS1 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe TX Bandwidth Loss Coefficient Register. + GEN3BWCOEFF/GEN2BWCOEFF/GEN1BWCOEFF. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_RX_VGA_CONTROL2 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe RX VGA Control Register 2. + GAIN2/GAIN1. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_RX_PEAK + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe RX Receiver Peaking Value Register. + PEAK1/PEAK2/PEAK3. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_RX_SDL + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe RX Signal Detect Level Register. + SDLVL3/SDLVL2/SDLVL1. + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_TX_FFE_GEN1 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe TX FFE (Gen1) + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_TX_FFE_GEN2 + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe TX FFE (Gen2) + Array index: Lane number (0:15) + + uint32 + 16 + + + + + ATTR_PROC_PCIE_IOP_ZCAL_CONTROL + TARGET_TYPE_PEC + + creator: platform + consumer: p9_pcie_scominit + firmware notes: + PCIe ZCAL Control Register. + CMPEVALDLY. + + uint32 + + + + + ATTR_PROC_PCIE_BAR_ENABLE + TARGET_TYPE_PHB + + PCIE MMIO BAR enable + creator: platform + consumer: p9_setup_bars + firmware notes: + Array index: BAR number (0:2) + + uint8 + DISABLE = 0x0, ENABLE = 0x1 + 3 + + + + + + ATTR_PROC_PCIE_BAR_BASE_ADDR + TARGET_TYPE_PHB + + PCIE MMIO BAR base address value + creator: platform + consumer: p9_setup_bars + firmware notes: + 64-bit address representing BAR RA + Array index: BAR number (0:2) + NOTE: BAR0/1 registers cover RA 8:47 + NOTE: BAR2 registers covers RA 8:49 + + uint64 + 3 + + + + + + ATTR_PROC_PCIE_BAR_SIZE + TARGET_TYPE_PHB + + PCIE MMIO BAR size value + creator: platform + consumer: p9_setup_bars + firmware notes: + Array index: BAR number (0:2) + NOTE: supported BAR0/1 sizes are from 64KB-32PB + NOTE: only supported BAR2 size is 4KB + + uint64 + + 32_PB = 0x0000008000000000, + 16_PB = 0x000000C000000000, + 8_PB = 0x000000E000000000, + 4_PB = 0x000000F000000000, + 2_PB = 0x000000F800000000, + 1_PB = 0x000000FC00000000, + 512_TB = 0x000000FE00000000, + 256_TB = 0x000000FF00000000, + 128_TB = 0x000000FF80000000, + 64_TB = 0x000000FFC0000000, + 32_TB = 0x000000FFE0000000, + 16_TB = 0x000000FFF0000000, + 8_TB = 0x000000FFF8000000, + 4_TB = 0x000000FFFC000000, + 2_TB = 0x000000FFFE000000, + 1_TB = 0x000000FFFF000000, + 512_GB = 0x000000FFFF800000, + 256_GB = 0x000000FFFFC00000, + 128_GB = 0x000000FFFFE00000, + 64_GB = 0x000000FFFFF00000, + 32_GB = 0x000000FFFFF80000, + 16_GB = 0x000000FFFFFC0000, + 8_GB = 0x000000FFFFFE0000, + 4_GB = 0x000000FFFFFF0000, + 2_GB = 0x000000FFFFFF8000, + 1_GB = 0x000000FFFFFFC000, + 512_MB = 0x000000FFFFFFE000, + 256_MB = 0x000000FFFFFFF000, + 128_MB = 0x000000FFFFFFF800, + 64_MB = 0x000000FFFFFFFC00, + 32_MB = 0x000000FFFFFFFE00, + 16_MB = 0x000000FFFFFFFF00, + 8_MB = 0x000000FFFFFFFF80, + 4_MB = 0x000000FFFFFFFFC0, + 2_MB = 0x000000FFFFFFFFE0, + 1_MB = 0x000000FFFFFFFFF0, + 512_KB = 0x000000FFFFFFFFF8, + 256_KB = 0x000000FFFFFFFFFC, + 128_KB = 0x000000FFFFFFFFFE, + 64_KB = 0x000000FFFFFFFFFF, + 4_KB = 0xFFFFFFFFFFFFFFFF + + 3 + + + + + + ATTR_PROC_PCIE_HOTPLUG_I2C_DEVICE_ADDRESS + TARGET_TYPE_PROC_CHIP + + I2C device address for PCIE hotplug controller + creator: platform + consumer: p9_pcie_hotplug + + uint8 + + + + + + ATTR_PROC_PCIE_HOTPLUG_ENABLE_ACTIONS + TARGET_TYPE_PROC_CHIP + + Sequence of PCIE hotplug controller register writes required to enable + slot power + creator: platform + consumer: p9_pcie_hotplug + firmware notes: + Primary array index: Sequence number + Secondary array index: Address (0) / Data (1) + + uint8 + 8 2 + + + + + + ATTR_PROC_PCIE_HOTPLUG_NUM_ENABLE_ACTIONS + TARGET_TYPE_PROC_CHIP + + Number of valid entries in primary index of + ATTR_PROC_PCIE_HOTPLUG_ENABLE_ACTIONS + creator: platform + consumer: p9_pcie_hotplug + + uint8 + + + ZERO = 0x0, + ONE = 0x1, + TWO = 0x2, + THREE = 0x3, + FOUR = 0x4, + FIVE = 0x5, + SIX = 0x6, + SEVEN = 0x7, + EIGHT = 0x8 + + + + + + ATTR_PROC_PCIE_HOTPLUG_DISABLE_ACTIONS + TARGET_TYPE_PROC_CHIP + + Sequence of PCIE hotplug controller register writes required to disable + slot power + creator: platform + consumer: p9_pcie_hotplug + firmware notes: + Primary array index: Sequence number + Secondary array index: Address (0) / Data (1) + + uint8 + 8 2 + + + + + + ATTR_PROC_PCIE_HOTPLUG_NUM_DISABLE_ACTIONS + TARGET_TYPE_PROC_CHIP + + Number of valid entries in primary index of + ATTR_PROC_PCIE_HOTPLUG_DISABLE_ACTIONS + creator: platform + consumer: p9_pcie_hotplug + + uint8 + + + ZERO = 0x0, + ONE = 0x1, + TWO = 0x2, + THREE = 0x3, + FOUR = 0x4, + FIVE = 0x5, + SIX = 0x6, + SEVEN = 0x7, + EIGHT = 0x8 + + + + + -- cgit v1.2.1