Searched refs:tcr_el1 (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 301 uint64_t sctlr_el1, tcr_el1, ttbr0_el1; in aarch64_vcpu_setup() local 318 tcr_el1 = vcpu_get_reg(vcpu, ctxt_reg_alias(vcpu, SYS_TCR_EL1)); in aarch64_vcpu_setup() 329 tcr_el1 |= TCR_TG0_64K; in aarch64_vcpu_setup() 336 tcr_el1 |= TCR_TG0_16K; in aarch64_vcpu_setup() 342 tcr_el1 |= TCR_TG0_4K; in aarch64_vcpu_setup() 355 tcr_el1 |= TCR_IPS_52_BITS; in aarch64_vcpu_setup() 361 tcr_el1 |= TCR_IPS_48_BITS; in aarch64_vcpu_setup() 366 tcr_el1 |= TCR_IPS_40_BITS; in aarch64_vcpu_setup() 372 tcr_el1 |= TCR_IPS_36_BITS; in aarch64_vcpu_setup() 380 tcr_el1 |= TCR_IRGN0_WBWA | TCR_ORGN0_WBWA | TCR_SH0_INNER; in aarch64_vcpu_setup() [all …]
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | at.c | 80 sysreg_clear_set(tcr_el1, TCR_HA, 0); in guest_code() 92 sysreg_clear_set(tcr_el1, 0, TCR_HA); in guest_code()
|
| H A D | page_fault_test.c | 202 tcr = read_sysreg(tcr_el1) | TCR_HA; in guest_set_ha() 203 write_sysreg(tcr, tcr_el1); in guest_set_ha()
|
| /linux/arch/arm64/include/asm/ |
| H A D | mmu_context.h | 69 unsigned long tcr = read_sysreg(tcr_el1); in __cpu_set_tcr_t0sz() 76 write_sysreg(tcr, tcr_el1); in __cpu_set_tcr_t0sz()
|
| H A D | assembler.h | 601 mrs \tmp, tcr_el1
|
| /linux/arch/arm64/kernel/ |
| H A D | vmcore_info.c | 17 return (read_sysreg(tcr_el1) & TCR_EL1_T1SZ_MASK) >> TCR_EL1_T1SZ_SHIFT; in get_tcr_el1_t1sz()
|
| H A D | hyp-stub.S | 128 msr tcr_el1, x0
|
| H A D | cpufeature.c | 1968 u64 tcr = read_sysreg(tcr_el1) | TCR_EL1_HD; in __cpu_enable_hw_dbm() 1970 write_sysreg(tcr, tcr_el1); in __cpu_enable_hw_dbm() 2252 sysreg_clear_set(tcr_el1, 0, TCR_EL1_E0PD1); in cpu_enable_e0pd()
|
| /linux/arch/arm64/mm/ |
| H A D | proc.S | 95 mrs x7, tcr_el1 145 mrs x7, tcr_el1 148 msr tcr_el1, x8 540 msr tcr_el1, tcr
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | map_kernel.c | 144 u64 tcr = read_sysreg(tcr_el1) | TCR_EL1_DS; in set_ttbr0_for_lpa2() 266 sysreg_clear_set(tcr_el1, TCR_EL1_T1SZ_MASK, TCR_T1SZ(va_bits)); in early_map_kernel()
|
| /linux/scripts/gdb/linux/ |
| H A D | mm.py | 225 tcr_el1 = gdb.execute("info registers $TCR_EL1", to_string=True) 226 tcr_el1 = int(tcr_el1.split()[1], 16) 227 self.vabits_actual = 64 - ((tcr_el1 >> 16) & 63)
|
| /linux/arch/arm64/kvm/ |
| H A D | arm.c | 2076 tcr = read_sysreg(tcr_el1); in cpu_prepare_hyp_mode()
|