Home
last modified time | relevance | path

Searched refs:ctr_el0 (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/arm64/kernel/
Dalternative.c126 u64 cur, d_size, ctr_el0; in clean_dcache_range_nopatch() local
128 ctr_el0 = arm64_ftr_reg_ctrel0.sys_val; in clean_dcache_range_nopatch()
129 d_size = 4 << cpuid_feature_extract_unsigned_field(ctr_el0, in clean_dcache_range_nopatch()
/linux-6.6.21/arch/arm64/include/asm/
Dassembler.h273 mrs \reg, ctr_el0 // read CTR
297 mrs \tmp, ctr_el0 // read CTR
318 mrs \tmp, ctr_el0 // read CTR
/linux-6.6.21/arch/arm64/kvm/
Dsys_regs.c1662 u64 ctr_el0 = read_sanitised_ftr_reg(SYS_CTR_EL0); in reset_clidr() local
1666 if ((ctr_el0 & CTR_EL0_IDC)) { in reset_clidr()
1675 loc = (ctr_el0 & CTR_EL0_DIC) ? 1 : 2; in reset_clidr()
1694 if (!(ctr_el0 & CTR_EL0_DIC)) in reset_clidr()
1715 u64 ctr_el0 = read_sanitised_ftr_reg(SYS_CTR_EL0); in set_clidr() local
1718 if ((val & CLIDR_EL1_RES0) || (!(ctr_el0 & CTR_EL0_IDC) && idc)) in set_clidr()