Searched refs:sctlr (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/arch/arm64/kvm/hyp/ |
A D | exception.c | 94 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local 111 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL1); in enter_exception64() 116 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL2); in enter_exception64() 146 if (!(sctlr & SCTLR_EL1_SPAN)) in enter_exception64() 157 if (sctlr & SCTLR_ELx_DSSBS) in enter_exception64() 194 u32 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL1); in get_except32_cpsr() local 214 if (sctlr & BIT(31)) in get_except32_cpsr() 221 if (!(sctlr & BIT(23))) in get_except32_cpsr() 237 if (sctlr & BIT(25)) in get_except32_cpsr() 264 if (sctlr & BIT(30)) in get_except32_cpsr() [all …]
|
/linux-6.3-rc2/drivers/firmware/efi/libstub/ |
A D | arm32-stub.c | 14 static void get_cpu_state(u32 *cpsr, u32 *sctlr) in get_cpu_state() argument 18 asm("mrc p15, 4, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state() 20 asm("mrc p15, 0, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state() 26 u32 cpsr, sctlr; in check_platform_features() local 29 get_cpu_state(&cpsr, &sctlr); in check_platform_features() 33 (sctlr & 1) ? "en" : "dis"); in check_platform_features() 44 efi_entry_state->sctlr_before_ebs = sctlr; in check_platform_features()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | pointer_auth.c | 70 u64 sctlr; in ptrauth_set_enabled_keys() local 82 sctlr = tsk->thread.sctlr_user; in ptrauth_set_enabled_keys() 83 sctlr &= ~arg_to_enxx_mask(keys); in ptrauth_set_enabled_keys() 84 sctlr |= arg_to_enxx_mask(enabled); in ptrauth_set_enabled_keys() 85 tsk->thread.sctlr_user = sctlr; in ptrauth_set_enabled_keys() 87 update_sctlr_el1(sctlr); in ptrauth_set_enabled_keys()
|
A D | mte.c | 202 unsigned long sctlr = task->thread.sctlr_user; in mte_update_sctlr_user() local 212 sctlr &= ~SCTLR_EL1_TCF0_MASK; in mte_update_sctlr_user() 219 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYMM); in mte_update_sctlr_user() 221 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYNC); in mte_update_sctlr_user() 223 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, SYNC); in mte_update_sctlr_user() 224 task->thread.sctlr_user = sctlr; in mte_update_sctlr_user()
|
A D | process.c | 507 void update_sctlr_el1(u64 sctlr) in update_sctlr_el1() argument 513 sysreg_clear_set(sctlr_el1, SCTLR_USER_MASK & ~SCTLR_ELx_ENIA, sctlr); in update_sctlr_el1()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-sprd.c | 799 if (sctlr->can_dma(sctlr, sdev, t)) in sprd_spi_transfer_one() 810 spi_finalize_current_transfer(sctlr); in sprd_spi_transfer_one() 921 struct spi_controller *sctlr; in sprd_spi_probe() local 928 if (!sctlr) in sprd_spi_probe() 943 sctlr->bus_num = pdev->id; in sprd_spi_probe() 944 sctlr->set_cs = sprd_spi_chipselect; in sprd_spi_probe() 946 sctlr->can_dma = sprd_spi_can_dma; in sprd_spi_probe() 947 sctlr->auto_runtime_pm = true; in sprd_spi_probe() 952 platform_set_drvdata(pdev, sctlr); in sprd_spi_probe() 1000 spi_controller_put(sctlr); in sprd_spi_probe() [all …]
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/vhe/ |
A D | tlb.c | 16 u64 sctlr; member 39 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR); in __tlb_switch_to_guest() 76 write_sysreg_el1(cxt->sctlr, SYS_SCTLR); in __tlb_switch_to_host()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | kvm_emulate.h | 475 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be() local 476 sctlr |= SCTLR_ELx_EE; in kvm_vcpu_set_be() 477 vcpu_write_sys_reg(vcpu, sctlr, SCTLR_EL1); in kvm_vcpu_set_be()
|
A D | processor.h | 335 void update_sctlr_el1(u64 sctlr);
|
Completed in 19 milliseconds