/openbmc/qemu/hw/mem/ |
H A D | pc-dimm.c | 2 * Dimm device for Memory Hotplug 23 #include "hw/mem/pc-dimm.h" 37 static MemoryRegion *pc_dimm_get_memory_region(PCDIMMDevice *dimm, Error **errp) in pc_dimm_get_memory_region() argument 39 if (!dimm->hostmem) { in pc_dimm_get_memory_region() 44 return host_memory_backend_get_memory(dimm->hostmem); in pc_dimm_get_memory_region() 47 void pc_dimm_pre_plug(PCDIMMDevice *dimm, MachineState *machine, Error **errp) in pc_dimm_pre_plug() argument 52 slot = object_property_get_int(OBJECT(dimm), PC_DIMM_SLOT_PROP, in pc_dimm_pre_plug() 68 object_property_set_int(OBJECT(dimm), PC_DIMM_SLOT_PROP, slot, in pc_dimm_pre_plug() 72 memory_device_pre_plug(MEMORY_DEVICE(dimm), machine, errp); in pc_dimm_pre_plug() 75 void pc_dimm_plug(PCDIMMDevice *dimm, MachineState *machine) in pc_dimm_plug() argument [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | dimm.cpp | 17 #include "dimm.hpp" 40 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::DeviceType; 43 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::Ecc; 50 void Dimm::memoryInfoUpdate(uint8_t* smbiosTableStorage, in memoryInfoUpdate() 120 void Dimm::updateEccType(uint16_t exPhyArrayHandle) in updateEccType() 153 "Failed find the corresponding SMBIOS table type-16 data for dimm:", in updateEccType() 154 phosphor::logging::entry("DIMM:%d", dimmNum)); in updateEccType() 157 EccType Dimm::ecc(EccType value) in ecc() 159 return sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::ecc( in ecc() 163 uint16_t Dimm::memoryDataWidth(uint16_t value) in memoryDataWidth() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | ghes_edac.c | 89 struct dimm_info *dimm; in find_dimm_by_handle() local 91 mci_for_each_dimm(mci, dimm) { in find_dimm_by_handle() 92 if (dimm->smbios_handle == handle) in find_dimm_by_handle() 93 return dimm; in find_dimm_by_handle() 99 static void dimm_setup_label(struct dimm_info *dimm, u16 handle) in dimm_setup_label() argument 109 snprintf(dimm->label, sizeof(dimm->label), "%s%s%s", in dimm_setup_label() 115 static void assign_dmi_dimm_info(struct dimm_info *dimm, struct memdev_dmi_entry *entry) in assign_dmi_dimm_info() argument 120 pr_info("Can't get DIMM%i size\n", dimm->idx); in assign_dmi_dimm_info() 121 dimm->nr_pages = MiB_TO_PAGES(32);/* Unknown */ in assign_dmi_dimm_info() 123 dimm->nr_pages = MiB_TO_PAGES(entry->extended_size); in assign_dmi_dimm_info() [all …]
|
H A D | edac_mc_sysfs.c | 127 * and the per-dimm/per-rank one 168 nr_pages += csrow->channels[i]->dimm->nr_pages; in csrow_size_show() 177 return sprintf(data, "%s\n", edac_mem_types[csrow->channels[0]->dimm->mtype]); in csrow_mem_type_show() 185 return sprintf(data, "%s\n", dev_types[csrow->channels[0]->dimm->dtype]); in csrow_dev_type_show() 194 return sprintf(data, "%s\n", edac_caps[csrow->channels[0]->dimm->edac_mode]); in csrow_edac_mode_show() 197 /* show/store functions for DIMM Label attributes */ 207 if (!rank->dimm->label[0]) in channel_dimm_label_show() 210 return snprintf(data, sizeof(rank->dimm->label) + 1, "%s\n", in channel_dimm_label_show() 211 rank->dimm->label); in channel_dimm_label_show() 229 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store() [all …]
|
H A D | edac_mc.c | 61 unsigned int edac_dimm_info_location(struct dimm_info *dimm, char *buf, in edac_dimm_info_location() argument 64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() 71 dimm->location[i]); in edac_dimm_info_location() 87 edac_dbg(4, " channel->dimm = %p\n", chan->dimm); in edac_mc_dump_channel() 90 static void edac_mc_dump_dimm(struct dimm_info *dimm) in edac_mc_dump_dimm() argument 94 if (!dimm->nr_pages) in edac_mc_dump_dimm() 97 edac_dimm_info_location(dimm, location, sizeof(location)); in edac_mc_dump_dimm() 100 dimm->mci->csbased ? "rank" : "dimm", in edac_mc_dump_dimm() 101 dimm->idx, location, dimm->csrow, dimm->cschannel); in edac_mc_dump_dimm() 102 edac_dbg(4, " dimm = %p\n", dimm); in edac_mc_dump_dimm() [all …]
|
H A D | bluefield_edac.c | 53 * Retrieve information about DIMM on a certain slot. 57 * a1: (Memory controller index) << 16 | (Dimm index in memory controller) 61 * a0: MLXBF_DIMM_INFO defined below describing the DIMM. 184 struct dimm_info *dimm; in bluefield_edac_init_dimms() local 189 dimm = mci->dimms[i]; in bluefield_edac_init_dimms() 195 dimm->mtype = MEM_EMPTY; in bluefield_edac_init_dimms() 201 dimm->edac_mode = EDAC_SECDED; in bluefield_edac_init_dimms() 204 dimm->mtype = MEM_NVDIMM; in bluefield_edac_init_dimms() 206 dimm->mtype = MEM_LRDDR4; in bluefield_edac_init_dimms() 208 dimm->mtype = MEM_RDDR4; in bluefield_edac_init_dimms() [all …]
|
H A D | pasemi_edac.c | 127 struct dimm_info *dimm; in pasemi_edac_init_csrows() local 133 dimm = csrow->channels[0]->dimm; in pasemi_edac_init_csrows() 145 dimm->nr_pages = 128 << (20 - PAGE_SHIFT); in pasemi_edac_init_csrows() 148 dimm->nr_pages = 256 << (20 - PAGE_SHIFT); in pasemi_edac_init_csrows() 152 dimm->nr_pages = 512 << (20 - PAGE_SHIFT); in pasemi_edac_init_csrows() 155 dimm->nr_pages = 1024 << (20 - PAGE_SHIFT); in pasemi_edac_init_csrows() 158 dimm->nr_pages = 2048 << (20 - PAGE_SHIFT); in pasemi_edac_init_csrows() 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows() 169 last_page_in_mmc += dimm->nr_pages; in pasemi_edac_init_csrows() 171 dimm->grain = PASEMI_EDAC_ERROR_GRAIN; in pasemi_edac_init_csrows() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/misc/ |
H A D | intel,baytrail-fsp.txt | 45 do not set "fsp,enable-memory-down", then the DIMM SPD information will be 70 - fsp,dimm-0-enable 71 - fsp,dimm-1-enable 77 - fsp,dimm-width 78 - fsp,dimm-density 79 - fsp,dimm-bus-width 80 - fsp,dimm-sides 81 - fsp,dimm-tcl 82 - fsp,dimm-trpt-rcd 83 - fsp,dimm-twr [all …]
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 27 Add the DIMM inventory path. 43 value: "DIMM C0A1" 48 xyz.openbmc_project.Inventory.Item.Dimm: 66 value: "DIMM C0A2" 71 xyz.openbmc_project.Inventory.Item.Dimm: 89 value: "DIMM C0B1" 94 xyz.openbmc_project.Inventory.Item.Dimm: 112 value: "DIMM C0B2" 117 xyz.openbmc_project.Inventory.Item.Dimm: 135 value: "DIMM C0C1" [all …]
|
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 27 Add the DIMM inventory path. 43 value: "DIMM A0" 48 xyz.openbmc_project.Inventory.Item.Dimm: 66 value: "DIMM A1" 71 xyz.openbmc_project.Inventory.Item.Dimm: 89 value: "DIMM B0" 94 xyz.openbmc_project.Inventory.Item.Dimm: 112 value: "DIMM B1" 117 xyz.openbmc_project.Inventory.Item.Dimm: 135 value: "DIMM C0" [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-edac | 44 which DIMM slot is having errors. 52 indications that a DIMM is beginning to fail. This count 61 information as to which DIMM slot is having errors. Memory is 86 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size 90 Description: This attribute file will display the size of dimm or rank. 91 For dimm*/size, this is the size, in MB of the DIMM memory 93 of the DIMM memory stick. On single rank memories (1R), this 94 is also the total size of the dimm. On dual rank (2R) memories, 95 this is half the size of the total DIMM memories. 97 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type [all …]
|
/openbmc/linux/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 35 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument 37 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf)) 97 .dimm = 0, 103 .dimm = 1, 112 .dimm = 0, 118 .dimm = 1, 124 .dimm = 2, 130 .dimm = 3, 156 .dimm = 0, 228 static int ndtest_get_config_size(struct ndtest_dimm *dimm, unsigned int buf_len, in ndtest_get_config_size() argument [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | dimm.hpp | 25 #include <xyz/openbmc_project/Inventory/Item/Dimm/MemoryLocation/server.hpp> 26 #include <xyz/openbmc_project/Inventory/Item/Dimm/server.hpp> 37 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::DeviceType; 40 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::Ecc; 43 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::MemoryTech; 47 class Dimm : class 49 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm>, 51 inventory::item::dimm::MemoryLocation>, 66 Dimm() = delete; 67 ~Dimm() = default; [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | Dimm.interface.yaml | 2 Implement to provide DIMM attributes. 11 Memory size of DIMM in Kilobyte. 32 the dimm. 180 DDR2 SDRAM Fully Buffered DIMM. 195 Fully Buffered DIMM 2. 225 DDR2 SDRAM Fully Buffered DIMM PROBE. 241 Registered DIMM. 244 Unbuffered DIMM. 247 Small Outline DIMM. 253 mini Registered DIMM. [all …]
|
/openbmc/qemu/include/hw/mem/ |
H A D | pc-dimm.h | 2 * PC DIMM device 23 #define TYPE_PC_DIMM "pc-dimm" 57 * @realize: called after common dimm is realized so that the dimm based 65 void (*realize)(PCDIMMDevice *dimm, Error **errp); 66 void (*unrealize)(PCDIMMDevice *dimm); 69 void pc_dimm_pre_plug(PCDIMMDevice *dimm, MachineState *machine, Error **errp); 70 void pc_dimm_plug(PCDIMMDevice *dimm, MachineState *machine); 71 void pc_dimm_unplug(PCDIMMDevice *dimm, MachineState *machine);
|
/openbmc/linux/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 195 static int intel_dimm_num_devices(const struct dram_dimm_info *dimm) in intel_dimm_num_devices() argument 197 return dimm->ranks * 64 / (dimm->width ?: 1); in intel_dimm_num_devices() 200 /* Returns total Gb for the whole DIMM */ 233 /* Returns total Gb for the whole DIMM */ 267 skl_is_16gb_dimm(const struct dram_dimm_info *dimm) in skl_is_16gb_dimm() argument 270 return dimm->size / (intel_dimm_num_devices(dimm) ?: 1) == 16; in skl_is_16gb_dimm() 275 struct dram_dimm_info *dimm, in skl_dram_get_dimm_info() argument 279 dimm->size = icl_get_dimm_size(val); in skl_dram_get_dimm_info() 280 dimm->width = icl_get_dimm_width(val); in skl_dram_get_dimm_info() 281 dimm->ranks = icl_get_dimm_ranks(val); in skl_dram_get_dimm_info() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-fru.yaml | 39 xyz.openbmc_project.Inventory.Item.Dimm: 66 xyz.openbmc_project.Inventory.Item.Dimm: 93 xyz.openbmc_project.Inventory.Item.Dimm: 120 xyz.openbmc_project.Inventory.Item.Dimm: 147 xyz.openbmc_project.Inventory.Item.Dimm: 174 xyz.openbmc_project.Inventory.Item.Dimm: 201 xyz.openbmc_project.Inventory.Item.Dimm: 228 xyz.openbmc_project.Inventory.Item.Dimm: 255 xyz.openbmc_project.Inventory.Item.Dimm: 282 xyz.openbmc_project.Inventory.Item.Dimm: [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-fru.yaml | 149 xyz.openbmc_project.Inventory.Item.Dimm: 169 xyz.openbmc_project.Inventory.Item.Dimm: 189 xyz.openbmc_project.Inventory.Item.Dimm: 209 xyz.openbmc_project.Inventory.Item.Dimm: 229 xyz.openbmc_project.Inventory.Item.Dimm: 249 xyz.openbmc_project.Inventory.Item.Dimm: 269 xyz.openbmc_project.Inventory.Item.Dimm: 289 xyz.openbmc_project.Inventory.Item.Dimm: 309 xyz.openbmc_project.Inventory.Item.Dimm: 329 xyz.openbmc_project.Inventory.Item.Dimm: [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-cmd/ |
H A D | kudo-ras.sh | 71 …REG70=$(i2cget -f -y "${I2C_S0_SMPRO[0]}" 0x"${I2C_S0_SMPRO[1]}" 0x70 w) # Core, DIMM, SLC, … 74 REG7A=$(i2cget -f -y "${I2C_S0_SMPRO[0]}" 0x"${I2C_S0_SMPRO[1]}" 0x7A w) # DIMM Hot Error 294 echo " DIMM HOT/Warn/Fault " 302 echo " DIMM HOT " 338 echo " Core, DIMM, SLC, PCIe, and Other errors: " 346 echo " DIMM CE Error " 349 echo " DIMM UE Error " 380 echo " DIMM VRD1 fault/warning " 383 echo " DIMM VRD2 fault/warning " 386 echo " DIMM VRD3 fault/warning " [all …]
|
/openbmc/skeleton/configs/ |
H A D | Witherspoon.py | 229 "fru_type": "DIMM", 233 "fru_type": "DIMM", 237 "fru_type": "DIMM", 241 "fru_type": "DIMM", 245 "fru_type": "DIMM", 249 "fru_type": "DIMM", 253 "fru_type": "DIMM", 257 "fru_type": "DIMM", 261 "fru_type": "DIMM", 265 "fru_type": "DIMM", [all …]
|
H A D | Garrison.py | 230 "fru_type": "DIMM", 234 "fru_type": "DIMM", 238 "fru_type": "DIMM", 242 "fru_type": "DIMM", 246 "fru_type": "DIMM", 250 "fru_type": "DIMM", 254 "fru_type": "DIMM", 258 "fru_type": "DIMM", 262 "fru_type": "DIMM", 266 "fru_type": "DIMM", [all …]
|
H A D | Zaius.py | 285 "fru_type": "DIMM", 289 "fru_type": "DIMM", 293 "fru_type": "DIMM", 297 "fru_type": "DIMM", 301 "fru_type": "DIMM", 305 "fru_type": "DIMM", 309 "fru_type": "DIMM", 313 "fru_type": "DIMM", 317 "fru_type": "DIMM", 321 "fru_type": "DIMM", [all …]
|
H A D | Lanyang.py | 285 "fru_type": "DIMM", 289 "fru_type": "DIMM", 293 "fru_type": "DIMM", 297 "fru_type": "DIMM", 301 "fru_type": "DIMM", 305 "fru_type": "DIMM", 309 "fru_type": "DIMM", 313 "fru_type": "DIMM", 317 "fru_type": "DIMM", 321 "fru_type": "DIMM", [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | peci-dimmtemp.rst | 37 Temperature sensor on DIMM readings that are accessible via the processor PECI interface. 47 temp[N]_label Provides string "DIMM CI", where C is DIMM channel and 48 I is DIMM index of the populated DIMM. 49 temp[N]_input Provides current temperature of the populated DIMM. 50 temp[N]_max Provides thermal control temperature of the DIMM. 51 temp[N]_crit Provides shutdown temperature of the DIMM. 56 DIMM temperature attributes will appear when the client CPU's BIOS
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_spd.c | 27 /* DIMM SPD offsets */ 99 /* Dimm Memory Type values */ 142 /* DIMM information structure */ 144 /* DIMM dimensions */ 162 /* DIMM timing parameters */ 178 /* DIMM vendor ID */ 183 u32 dimm); 198 * Args: dimm_addr - array of dimm addresses 209 /* Read the dimm eeprom */ in ddr3_get_dimm_num() 214 /* Far-End DIMM must be connected */ in ddr3_get_dimm_num() [all …]
|