Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/edac/
Di10nm_base.c90 static void __enable_retry_rd_err_log(struct skx_imc *imc, int chan, bool enable, in __enable_retry_rd_err_log() argument
96 s = I10NM_GET_REG32(imc, chan, offsets_scrub[0]); in __enable_retry_rd_err_log()
97 d = I10NM_GET_REG32(imc, chan, offsets_demand[0]); in __enable_retry_rd_err_log()
99 d2 = I10NM_GET_REG32(imc, chan, offsets_demand2[0]); in __enable_retry_rd_err_log()
103 imc->chan[chan].retry_rd_err_log_s = s; in __enable_retry_rd_err_log()
104 imc->chan[chan].retry_rd_err_log_d = d; in __enable_retry_rd_err_log()
106 imc->chan[chan].retry_rd_err_log_d2 = d2; in __enable_retry_rd_err_log()
120 if (imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_UC) in __enable_retry_rd_err_log()
122 if (imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_NOOVER) in __enable_retry_rd_err_log()
124 if (!(imc->chan[chan].retry_rd_err_log_s & RETRY_RD_ERR_LOG_EN)) in __enable_retry_rd_err_log()
[all …]
Digen6_edac.c157 struct igen6_imc imc[NUM_IMC]; member
344 struct igen6_imc *imc = &igen6_pvt->imc[mc]; in adl_err_addr_to_imc_addr() local
351 mc_hash = readl(imc->window + MAD_MC_HASH_OFFSET); in adl_err_addr_to_imc_addr()
513 struct igen6_imc *imc = &igen6_pvt->imc[res->mc]; in igen6_decode() local
524 hash = readl(imc->window + CHANNEL_HASH_OFFSET); in igen6_decode()
525 s_size = imc->ch_s_size; in igen6_decode()
526 l_map = imc->ch_l_map; in igen6_decode()
532 hash = readl(imc->window + CHANNEL_EHASH_OFFSET); in igen6_decode()
533 s_size = imc->dimm_s_size[idx]; in igen6_decode()
534 l_map = imc->dimm_l_map[idx]; in igen6_decode()
[all …]
Dskx_common.c138 res->imc = (adxl_nm_bitmap & BIT_NM_MEMCTRL) ? in skx_adxl_decode()
147 res->imc = (int)adxl_values[component_indices[INDEX_MEMCTRL]]; in skx_adxl_decode()
153 if (res->imc > NUM_IMC - 1 || res->imc < 0) { in skx_adxl_decode()
154 skx_printk(KERN_ERR, "Bad imc %d\n", res->imc); in skx_adxl_decode()
159 if (d->imc[0].src_id == res->socket) { in skx_adxl_decode()
167 res->socket, res->imc); in skx_adxl_decode()
344 struct skx_imc *imc, int chan, int dimmno, in skx_get_dimm_info() argument
353 cols = imc->hbm_mc ? 6 : numcol(mtr); in skx_get_dimm_info()
355 if (imc->hbm_mc) { in skx_get_dimm_info()
373 imc->mc, chan, dimmno, size, npages, in skx_get_dimm_info()
[all …]
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 …]
Dskx_common.h98 } imc[NUM_IMC]; member
102 struct skx_imc *imc; member
135 int imc; member
194 struct skx_imc *imc, int chan, int dimmno,
197 int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,
200 int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev,
/linux-6.1.9/tools/testing/selftests/resctrl/
Dresctrl_val.c280 int imc, j; in initialize_mem_bw_imc() local
287 for (imc = 0; imc < imcs; imc++) { in initialize_mem_bw_imc()
289 membw_initialize_perf_event_attr(imc, j); in initialize_mem_bw_imc()
308 int imc, j, ret; in get_mem_bw_imc() local
312 for (imc = 0; imc < imcs; imc++) { in get_mem_bw_imc()
314 ret = open_perf_event(imc, cpu_no, j); in get_mem_bw_imc()
319 membw_ioctl_perf_event_ioc_reset_enable(imc, j); in get_mem_bw_imc()
325 for (imc = 0; imc < imcs; imc++) { in get_mem_bw_imc()
327 membw_ioctl_perf_event_ioc_disable(imc, j); in get_mem_bw_imc()
334 for (imc = 0; imc < imcs; imc++) { in get_mem_bw_imc()
[all …]
/linux-6.1.9/Documentation/powerpc/
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.
Dindex.rst24 imc
/linux-6.1.9/net/iucv/
Diucv.c1612 struct iucv_message_complete *imc = (void *) data; in iucv_message_complete() local
1613 struct iucv_path *path = iucv_path_table[imc->ippathid]; in iucv_message_complete()
1617 msg.flags = imc->ipflags1; in iucv_message_complete()
1618 msg.id = imc->ipmsgid; in iucv_message_complete()
1619 msg.audit = imc->ipaudit; in iucv_message_complete()
1620 memcpy(msg.rmmsg, imc->iprmmsg, 8); in iucv_message_complete()
1621 msg.class = imc->ipsrccls; in iucv_message_complete()
1622 msg.tag = imc->ipmsgtag; in iucv_message_complete()
1623 msg.length = imc->ipbfln2f; in iucv_message_complete()
/linux-6.1.9/arch/powerpc/perf/
DMakefile13 obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o
/linux-6.1.9/arch/powerpc/platforms/powernv/
DMakefile28 obj-$(CONFIG_PERF_EVENTS) += opal-imc.o
/linux-6.1.9/tools/perf/Documentation/
Dperf-list.txt204 bandwidth would require specifying all imc PMUs (see perf list output),
210 perf stat -C 0 -a imc/cas_count_read/,imc/cas_count_write/ -I 1000 ...
211 perf stat -C 0 -a *imc*/cas_count_read/,*imc*/cas_count_write/ -I 1000 ...
/linux-6.1.9/drivers/i2c/busses/
Di2c-piix4.c1049 u8 imc; in piix4_probe() local
1056 0x40, &imc); in piix4_probe()
1057 if (imc & 0x80) in piix4_probe()
/linux-6.1.9/arch/arm64/crypto/
Daes-ce.S81 do_enc_Nx d, imc, \k, \i0, \i1, \i2, \i3, \i4
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.c35 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument
37 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf))
Dnfit.c120 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument
122 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf))