Searched refs:tcr_el1 (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 300 u64 sctlr_el1, tcr_el1, ttbr0_el1; in aarch64_vcpu_setup() local 317 tcr_el1 = vcpu_get_reg(vcpu, ctxt_reg_alias(vcpu, SYS_TCR_EL1)); in aarch64_vcpu_setup() 328 tcr_el1 |= TCR_TG0_64K; in aarch64_vcpu_setup() 335 tcr_el1 |= TCR_TG0_16K; in aarch64_vcpu_setup() 341 tcr_el1 |= TCR_TG0_4K; in aarch64_vcpu_setup() 354 tcr_el1 |= TCR_IPS_52_BITS; in aarch64_vcpu_setup() 360 tcr_el1 |= TCR_IPS_48_BITS; in aarch64_vcpu_setup() 365 tcr_el1 |= TCR_IPS_40_BITS; in aarch64_vcpu_setup() 371 tcr_el1 |= TCR_IPS_36_BITS; in aarch64_vcpu_setup() 379 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 | 78 sysreg_clear_set(tcr_el1, TCR_HA, 0); in guest_code() 86 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/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/kernel/ |
| H A D | cpufeature.c | 1969 u64 tcr = read_sysreg(tcr_el1) | TCR_EL1_HD; in __cpu_enable_hw_dbm() 1971 write_sysreg(tcr, tcr_el1); in __cpu_enable_hw_dbm() 2253 sysreg_clear_set(tcr_el1, 0, TCR_EL1_E0PD1); in cpu_enable_e0pd()
|
| /linux/arch/arm64/kvm/ |
| H A D | arm.c | 2126 tcr = read_sysreg(tcr_el1); in cpu_prepare_hyp_mode()
|