Lines Matching +full:library +full:- +full:sel
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AMD Address Translation Library
16 * MI300 has a fixed, model-specific mapping between a UMC instance and
39 u16 umc_id = FIELD_GET(UMC_ID_MI300, err->ipid); in get_coh_st_inst_id_mi300()
134 * Also, read UMC::CH::Addr{Cfg,Sel,Sel2} and UMC::CH:ColSelLo registers to
330 a_err->addr &= ~MI300_UMC_MCA_COL; in retire_row_mi300()
331 a_err->addr |= FIELD_PREP(MI300_UMC_MCA_COL, col); in retire_row_mi300()
377 u8 node_id = FIELD_GET(MCA_IPID_INST_ID_HI, err->ipid); in get_die_id()
386 return topology_amd_node_id(err->cpu) % topology_amd_nodes_per_pkg(); in get_die_id()
395 return FIELD_GET(UMC_CHANNEL_NUM, err->ipid); in get_coh_st_inst_id()
400 u8 socket_id = topology_physical_package_id(err->cpu); in convert_umc_mca_addr_to_sys_addr()
402 unsigned long addr = get_addr(err->addr); in convert_umc_mca_addr_to_sys_addr()
409 ret_addr = prm_umc_norm_to_sys_addr(socket_id, err->ipid, addr); in convert_umc_mca_addr_to_sys_addr()