Home
last modified time | relevance | path

Searched refs:imc (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/edac/
H A Di10nm_base.c98 static void __enable_retry_rd_err_log(struct skx_imc *imc, int chan, bool enable, in __enable_retry_rd_err_log() argument
104 s = I10NM_GET_REG32(imc, chan, offsets_scrub[0]); in __enable_retry_rd_err_log()
105 d = I10NM_GET_REG32(imc, chan, offsets_demand[0]); in __enable_retry_rd_err_log()
107 d2 = I10NM_GET_REG32(imc, chan, offsets_demand2[0]); in __enable_retry_rd_err_log()
111 imc->chan[chan].retry_rd_err_log_s = s; in __enable_retry_rd_err_log()
112 imc->chan[chan].retry_rd_err_log_d = d; in __enable_retry_rd_err_log()
114 imc->chan[chan].retry_rd_err_log_d2 = d2; in __enable_retry_rd_err_log()
128 if (imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_UC) in __enable_retry_rd_err_log()
130 if (imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_NOOVER) in __enable_retry_rd_err_log()
132 if (!(imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_EN)) in __enable_retry_rd_err_log()
[all …]
H A Digen6_edac.c161 struct igen6_imc imc[NUM_IMC]; member
453 struct igen6_imc *imc = &igen6_pvt->imc[mc]; in adl_err_addr_to_imc_addr() local
460 mc_hash = readl(imc->window + MAD_MC_HASH_OFFSET); in adl_err_addr_to_imc_addr()
702 struct igen6_imc *imc = &igen6_pvt->imc[res->mc]; in igen6_decode() local
713 hash = readl(imc->window + CHANNEL_HASH_OFFSET); in igen6_decode()
714 s_size = imc->ch_s_size; in igen6_decode()
715 l_map = imc->ch_l_map; in igen6_decode()
721 hash = readl(imc->window + CHANNEL_EHASH_OFFSET); in igen6_decode()
722 s_size = imc->dimm_s_size[idx]; in igen6_decode()
723 l_map = imc->dimm_l_map[idx]; in igen6_decode()
[all …]
H A Dskx_common.c148 res->imc = (int)adxl_values[component_indices[INDEX_MEMCTRL]]; in skx_adxl_decode()
149 if (res->imc == -1) { in skx_adxl_decode()
157 res->imc = (adxl_nm_bitmap & BIT_NM_MEMCTRL) ? in skx_adxl_decode()
166 res->imc = (int)adxl_values[component_indices[INDEX_MEMCTRL]]; in skx_adxl_decode()
172 if (res->imc > NUM_IMC - 1 || res->imc < 0) { in skx_adxl_decode()
173 skx_printk(KERN_ERR, "Bad imc %d\n", res->imc); in skx_adxl_decode()
178 if (d->imc[0].src_id == res->socket) { in skx_adxl_decode()
186 res->socket, res->imc); in skx_adxl_decode()
375 struct skx_imc *imc, int chan, int dimmno, in skx_get_dimm_info() argument
384 cols = imc->hbm_mc ? 6 : numcol(mtr); in skx_get_dimm_info()
[all …]
H A Dskx_base.c115 d->imc[i].chan[m->mtype].cdev = pdev; in get_all_munits()
121 d->imc[i].chan[m->mtype - ERRCHAN0].edev = pdev; in get_all_munits()
181 struct skx_imc *imc = pvt->imc; in skx_get_dimm_config() local
187 pci_read_config_dword(imc->chan[0].cdev, 0x87c, &mcmtr); in skx_get_dimm_config()
191 pci_read_config_dword(imc->chan[i].cdev, 0x8C, &amap); in skx_get_dimm_config()
192 pci_read_config_dword(imc->chan[i].cdev, 0x400, &mcddrtcfg); in skx_get_dimm_config()
195 pci_read_config_dword(imc->chan[i].cdev, in skx_get_dimm_config()
198 ndimms += skx_get_dimm_info(mtr, mcmtr, amap, dimm, imc, i, j, cfg); in skx_get_dimm_config()
200 ndimms += skx_get_nvdimm_info(dimm, imc, i, j, in skx_get_dimm_config()
206 skx_printk(KERN_ERR, "ECC is disabled on imc %d\n", imc->mc); in skx_get_dimm_config()
[all …]
H A Dskx_common.h121 } imc[NUM_IMC]; member
125 struct skx_imc *imc; member
166 int imc; member
254 struct skx_imc *imc, int chan, int dimmno,
257 int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,
260 int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev,
/linux/tools/testing/selftests/resctrl/
H A Dresctrl_val.c184 * imc counters are named as "uncore_imc_<n>", hence in read_from_imc_dir()
226 int imc; in num_of_imcs()
233 for (imc = 0; imc < imcs; imc++) in num_of_imcs()
234 read_mem_bw_initialize_perf_event_attr(imc); in num_of_imcs()
257 int imc, ret; in num_of_imcs()
259 for (imc = 0; imc < imcs; imc
261 int imc, j; initialize_mem_bw_imc() local
296 int imc, ret; perf_open_imc_mem_bw() local
327 int imc; do_imc_mem_bw_test() local
355 int imc; get_mem_bw_imc() local
[all...]
/linux/Documentation/arch/powerpc/
H A Dimc.rst52 `imc-counters` device node which has a compatible field
163 To record an application/process with trace-imc event:
181 Performance data using `perf top` with and without trace-imc event.
183 PMI interrupts count when `perf top` command is executed without trace-imc event.
H A Dindex.rst25 imc
/linux/net/iucv/
H A Diucv.c1658 struct iucv_message_complete *imc = (void *) data; in iucv_message_complete() local
1659 struct iucv_path *path = iucv_path_table[imc->ippathid]; in iucv_message_complete()
1663 msg.flags = imc->ipflags1; in iucv_message_complete()
1664 msg.id = imc->ipmsgid; in iucv_message_complete()
1665 msg.audit = imc->ipaudit; in iucv_message_complete()
1666 memcpy(msg.rmmsg, imc->iprmmsg, 8); in iucv_message_complete()
1667 msg.class = imc->ipsrccls; in iucv_message_complete()
1668 msg.tag = imc->ipmsgtag; in iucv_message_complete()
1669 msg.length = imc->ipbfln2f; in iucv_message_complete()
/linux/tools/perf/Documentation/
H A Dperf-list.txt216 bandwidth would require specifying all imc PMUs (see perf list output),
222 perf stat -C 0 -a imc/cas_count_read/,imc/cas_count_write/ -I 1000 ...
223 perf stat -C 0 -a *imc*/cas_count_read/,*imc*/cas_count_write/ -I 1000 ...
/linux/arch/powerpc/platforms/powernv/
H A DMakefile28 obj-$(CONFIG_PERF_EVENTS) += opal-imc.o
/linux/drivers/i2c/busses/
H A Di2c-piix4.c1043 u8 imc; in piix4_probe() local
1050 0x40, &imc); in piix4_probe()
1051 if (imc & 0x80) in piix4_probe()
/linux/arch/arm64/crypto/
H A Daes-ce.S76 do_enc_Nx d, imc, \k, \i0, \i1, \i2, \i3, \i4
/linux/tools/testing/nvdimm/test/
H A Dndtest.c37 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument
39 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf))
H A Dnfit.c120 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument
122 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf))