/openbmc/qemu/hw/fsi/ |
H A D | cfam.c | 14 #include "hw/fsi/cfam.h" 66 FSICFAMState *cfam = FSI_CFAM(opaque); in fsi_cfam_config_write() local 74 bus_cold_reset(BUS(&cfam->lbus)); in fsi_cfam_config_write() 122 FSICFAMState *cfam = FSI_CFAM(dev); in fsi_cfam_realize() local 126 memory_region_init_io(&cfam->mr, OBJECT(cfam), &fsi_cfam_unimplemented_ops, in fsi_cfam_realize() 127 cfam, TYPE_FSI_CFAM, 2 * MiB); in fsi_cfam_realize() 129 qbus_init(&cfam->lbus, sizeof(cfam->lbus), TYPE_FSI_LBUS, DEVICE(cfam), in fsi_cfam_realize() 132 memory_region_init_io(&cfam->config_iomem, OBJECT(cfam), &cfam_config_ops, in fsi_cfam_realize() 133 cfam, TYPE_FSI_CFAM ".config", 0x400); in fsi_cfam_realize() 135 memory_region_add_subregion(&cfam->mr, 0, &cfam->config_iomem); in fsi_cfam_realize() [all …]
|
H A D | fsi-master.c | 115 object_initialize_child(o, "cfam", &s->cfam, TYPE_FSI_CFAM); in fsi_master_init() 128 if (!qdev_realize(DEVICE(&s->cfam), BUS(&s->bus), errp)) { in fsi_master_realize() 133 memory_region_add_subregion(&s->opb2fsi, 0, &s->cfam.mr); in fsi_master_realize()
|
/openbmc/qemu/docs/specs/ |
H A D | fsi.rst | 21 1. The Common FRU Access Macro (CFAM), an address space containing various 24 an internal Local Bus (LBUS) which is described by the CFAM configuration 29 slave's configuration registers appear in address space of the CFAM to 33 driving CFAM engine accesses into the POWER chip. At the hardware level 35 of engines in a CFAM. 40 MMIO-mapping of the CFAM address straight onto a sub-region of the OPB 48 of the object model to automatically generate the CFAM configuration block. 50 CFAM's LBUS. Engine implementations should subclass the LBusDevice and set the 53 CFAM designs offer a lot of flexibility, for instance it is possible for a 54 CFAM to be simultaneously driven from multiple FSI links. The modeling is not [all …]
|
/openbmc/openpower-hw-diags/test/ |
H A D | sim-hw-access.hpp | 124 /** The CFAM values for each chip and address. */ 127 /** All addresses that will return a CFAM error. */ 132 * @brief Stores a CFAM register value, which can be accessed later in test. 134 * @param i_addr A CFAM address on the given chip. 145 * @brief This can be used to specify if a specific CFAM address will return 148 * @param i_addr A CFAM address on the given chip. 158 * @brief Clears all CFAM value/error data. 167 * @brief Returns the stored CFAM register value. 169 * @param i_addr A CFAM address on the given chip. 173 * Otherwise, will return 0 for a successful CFAM access.
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | cfam | 4 # @brief: Add CFAM details to dump. 12 file_name="cfam.log" 14 desc="cfam 283c" 18 desc="cfam 1007" 22 desc="cfam 2809"
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | cfam | 4 # @brief: Add CFAM details to dump. 12 file_name="cfam.log" 14 desc="cfam 283c" 18 desc="cfam 1007" 22 desc="cfam 2809"
|
/openbmc/openpower-proc-control/procedures/common/ |
H A D | cfam_reset.cpp | 22 * @brief Reset the CFAM using the appropriate GPIO 27 // First look if system supports kernel sysfs based cfam reset in cfamReset() 33 log<level::DEBUG>("system does not support kernel cfam reset, default " in cfamReset() 41 log<level::DEBUG>("cfam reset via sysfs complete"); in cfamReset() 46 const std::string cfamReset = {"cfam-reset"}; in cfamReset() 50 log<level::ERR>("failed to find cfam-reset line"); in cfamReset()
|
H A D | collect_sbe_hb_data.cpp | 29 // SBE messaging register - cfam 2809 58 // HB mailbox scratch register 5 - cfam 283C 93 using namespace openpower::cfam::p9; in collectSBEHBData() 94 using namespace openpower::cfam::access; in collectSBEHBData()
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | ibm-power10-quad.dtsi | 13 cfam@0,0 { 41 cfam@0,0 { 69 cfam@0,0 { 97 cfam@0,0 { 125 cfam@0,0 { 153 cfam@0,0 { 181 cfam@0,0 { 209 cfam@0,0 { 237 cfam@0,0 { 265 cfam@0,0 { [all …]
|
H A D | ibm-power11-quad.dtsi | 129 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; 131 cfam@0,0 { 159 cfam@0,0 { 189 cfam@0,0 { 219 cfam@0,0 { 249 cfam@0,0 { 279 cfam@0,0 { 309 cfam@0,0 { 339 cfam@0,0 { 369 cfam@0,0 { [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_common.cpp | 36 // get first debug reg (CFAM) in addHbStatusRegs() 39 trace::err("cfam read error: 0x%08x", l_cfamAddr); in addHbStatusRegs() 77 // Get primary processor FSI target for CFAM reads in addPrdScratchRegs() 89 // get scratch register 9 (CFAM) in addPrdScratchRegs() 96 // get scratch register 10 (CFAM) in addPrdScratchRegs() 170 // The processor FSI target is required for CFAM read in recoverableErrors() 186 // log cfam read error in recoverableErrors() 187 trace::err("cfam read 0x1007 FAILED"); in recoverableErrors() 194 trace::err("cfam read 0x1007 INVALID"); in recoverableErrors()
|
H A D | attn_handler.cpp | 111 // The processor FSI target is required for CFAM read in attnHandler() 130 // log cfam read error in attnHandler() 131 trace::err("cfam read 0x1007 FAILED"); in attnHandler() 137 trace::err("cfam read 0x1007 INVALID"); in attnHandler() 143 trace::inf("cfam 0x1007 = 0x%08x", isr_val); in attnHandler() 150 // log cfam read error in attnHandler() 151 trace::err("cfam read 0x100d FAILED"); in attnHandler() 157 trace::err("cfam read 0x100d INVALID"); in attnHandler() 163 trace::inf("cfam 0x100d = 0x%08x", isr_mask); in attnHandler() 189 } // cfam 0x100d valid in attnHandler() [all …]
|
H A D | vital_handler.cpp | 46 // get cfam is an fsi read in attemptSbeRecovery() 62 // log cfam read error in attemptSbeRecovery() 63 trace::err("cfam read error"); in attemptSbeRecovery() 106 trace::err("cfam 1007 read error"); in checkstopActive() 114 trace::err("cfam 100d read error"); in checkstopActive()
|
/openbmc/openpower-proc-control/ |
H A D | cfam_access.hpp | 9 namespace cfam namespace 19 * @brief Writes a CFAM (Common FRU Access Macro) register in a P9. 31 * @brief Reads a CFAM (Common FRU Access Macro) register in a P9. 43 * @brief Writes a CFAM (Common FRU Access Macro) register in a P9 59 } // namespace cfam
|
H A D | cfam_access.cpp | 29 namespace cfam namespace 42 * Converts the CFAM register address used by the calling 58 log<level::ERR>("Failed seeking on a processor CFAM", in writeReg() 92 log<level::ERR>("Failed seeking on a processor CFAM", in readReg() 129 } // namespace cfam
|
H A D | p10_cfam.hpp | 5 namespace cfam namespace 14 } // namespace cfam
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | check_host_running.cpp | 24 using namespace openpower::cfam::p10; 92 log<level::INFO>("CFAM read indicates host is not running", in checkHostRunning() 93 entry("CFAM=0x%X", val)); in checkHostRunning() 101 log<level::ERR>("CFAM read error, assume host is running"); in checkHostRunning() 106 // but CFAM indicates host is running. in checkHostRunning() 107 log<level::ERR>("CFAM read indicates host is running"); in checkHostRunning() 138 * The BMC is to make a best effort to clear the CFAM register used by PHYP 173 log<level::ERR>("CFAM write to clear host running status failed"); in clearHostRunning()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/ |
H A D | op-proc-control-systemd-links.bb | 35 LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.requires/op-cfam-reset.service" 36 TARGET="../op-cfam-reset.service" 43 LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/op-cfam-reset.service" 44 TARGET="../op-cfam-reset.service" 47 # Only install cfam override if p9 system 48 …if [ "${@bb.utils.contains("MACHINE_FEATURES", "p9-cfam-override", "True", "False", d)}" = True ];… 139 LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.requires/op-cfam-reset.service" 141 LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/op-cfam-reset.service" 145 # Only uninstall cfam override if p9 system 146 …if [ "${@bb.utils.contains("MACHINE_FEATURES", "p9-cfam-override", "True", "False", d)}" = True ];…
|
/openbmc/linux/Documentation/devicetree/bindings/fsi/ |
H A D | ibm,fsi2spi.yaml | 13 This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this 14 node will always be a child of an FSI CFAM node; see fsi.txt for details on 15 FSI slave and CFAM nodes. This FSI2SPI engine provides access to a number of
|
H A D | fsi-master-aspeed.txt | 16 - cfam-reset-gpios: GPIO for CFAM reset 35 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | pdbg_utils.cpp | 88 "failed to read input cfam", entry("RC=%u", rc), in getCFAM() 89 entry("CFAM=0x%X", reg), in getCFAM() 117 "failed to write input cfam", entry("RC=%u", rc), in putCFAM() 118 entry("CFAM=0x%X", reg), in putCFAM()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/packagegroups/ |
H A D | packagegroup-op-apps.bb | 34 #Pull in p9-cfam-override on all P9 OpenPOWER systems 35 RDEPENDS:${PN}-chassis += "${@bb.utils.contains('MACHINE_FEATURES', 'p9-cfam-override', 'p9-cfam-ov…
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Host/ |
H A D | Access.errors.yaml | 2 description: Failed to do a CFAM register write 5 description: Failed to do a CFAM register read
|
/openbmc/qemu/include/hw/fsi/ |
H A D | fsi-master.h | 13 #include "hw/fsi/cfam.h" 28 FSICFAMState cfam; member
|
H A D | cfam.h | 15 #define TYPE_FSI_CFAM "cfam" 25 /* CFAM config address space */
|