Searched refs:tcr_el1 (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 219 uint64_t sctlr_el1, tcr_el1; in aarch64_vcpu_setup() local 239 get_reg(vm, vcpuid, 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-5.19.10/arch/arm64/include/asm/ |
D | mmu_context.h | 71 unsigned long tcr = read_sysreg(tcr_el1); in __cpu_set_tcr_t0sz() 78 write_sysreg(tcr, tcr_el1); in __cpu_set_tcr_t0sz()
|
/linux-5.19.10/arch/arm64/mm/ |
D | proc.S | 83 mrs x7, tcr_el1 130 mrs x7, tcr_el1 133 msr tcr_el1, x8 493 msr tcr_el1, tcr
|
/linux-5.19.10/arch/arm64/kernel/ |
D | crash_core.c | 16 return (read_sysreg(tcr_el1) & TCR_T1SZ_MASK) >> TCR_T1SZ_OFFSET; in get_tcr_el1_t1sz()
|
D | hyp-stub.S | 126 msr tcr_el1, x0
|
D | cpufeature.c | 1704 u64 tcr = read_sysreg(tcr_el1) | TCR_HD; in __cpu_enable_hw_dbm() 1706 write_sysreg(tcr, tcr_el1); in __cpu_enable_hw_dbm() 1926 sysreg_clear_set(tcr_el1, 0, TCR_E0PD1); in cpu_enable_e0pd()
|
/linux-5.19.10/arch/arm64/kvm/ |
D | arm.c | 1553 tcr = (read_sysreg(tcr_el1) & TCR_EL2_MASK) | TCR_EL2_RES1; in cpu_prepare_hyp_mode()
|