Home
last modified time | relevance | path

Searched refs:tcr_el1 (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c219 uint64_t sctlr_el1, tcr_el1; in aarch64_vcpu_setup() local
239 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TCR_EL1), &tcr_el1); in aarch64_vcpu_setup()
253 tcr_el1 |= 1ul << 14; /* TG0 = 64KB */ in aarch64_vcpu_setup()
259 tcr_el1 |= 2ul << 14; /* TG0 = 16KB */ in aarch64_vcpu_setup()
264 tcr_el1 |= 0ul << 14; /* TG0 = 4KB */ in aarch64_vcpu_setup()
273 tcr_el1 |= 6ul << 32; /* IPS = 52 bits */ in aarch64_vcpu_setup()
278 tcr_el1 |= 5ul << 32; /* IPS = 48 bits */ in aarch64_vcpu_setup()
283 tcr_el1 |= 2ul << 32; /* IPS = 40 bits */ in aarch64_vcpu_setup()
289 tcr_el1 |= 1ul << 32; /* IPS = 36 bits */ in aarch64_vcpu_setup()
297 tcr_el1 |= (1 << 8) | (1 << 10) | (3 << 12); in aarch64_vcpu_setup()
[all …]
/linux-6.1.9/arch/arm64/include/asm/
Dmmu_context.h70 unsigned long tcr = read_sysreg(tcr_el1); in __cpu_set_tcr_t0sz()
77 write_sysreg(tcr, tcr_el1); in __cpu_set_tcr_t0sz()
/linux-6.1.9/arch/arm64/mm/
Dproc.S87 mrs x7, tcr_el1
134 mrs x7, tcr_el1
137 msr tcr_el1, x8
462 msr tcr_el1, tcr
/linux-6.1.9/arch/arm64/kernel/
Dcrash_core.c16 return (read_sysreg(tcr_el1) & TCR_T1SZ_MASK) >> TCR_T1SZ_OFFSET; in get_tcr_el1_t1sz()
Dhyp-stub.S190 msr tcr_el1, x0
Dcpufeature.c1809 u64 tcr = read_sysreg(tcr_el1) | TCR_HD; in __cpu_enable_hw_dbm()
1811 write_sysreg(tcr, tcr_el1); in __cpu_enable_hw_dbm()
2031 sysreg_clear_set(tcr_el1, 0, TCR_E0PD1); in cpu_enable_e0pd()
/linux-6.1.9/arch/arm64/kvm/
Darm.c1551 tcr = (read_sysreg(tcr_el1) & TCR_EL2_MASK) | TCR_EL2_RES1; in cpu_prepare_hyp_mode()