Home
last modified time | relevance | path

Searched full:wfe (Results 1 – 25 of 88) sorted by relevance

1234

/openbmc/linux/arch/x86/kernel/
H A Dcet.c85 * By definition, all missing-ENDBRANCH #CPs are a result of WFE && !ENDBR.
88 * the WFE state of the interrupted context needs to be cleared to let execution
93 * This is not a problem with IDT because it doesn't preserve WFE and IRET doesn't
94 * set WFE. But FRED provides space on the entry stack (in an expanded CS area)
95 * to save and restore the WFE state, thus the WFE state is no longer clobbered,
106 * For FRED, a test to check if fred_cs.wfe is set would be dropped in ibt_clear_fred_wfe()
109 regs->fred_cs.wfe = 0; in ibt_clear_fred_wfe()
/openbmc/linux/arch/arm/include/asm/
H A Dspinlock.h14 * sev and wfe are ARMv6K extensions. Uniprocessor ARMv6 may not have the K
19 * For Thumb-2, special care is needed to ensure that the conditional WFE
29 #define WFE(cond) __ALT_SMP_ASM( \ macro
31 "wfe" cond ".n", \
36 #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop") macro
74 wfe(); in arch_spin_lock()
147 WFE("ne") in arch_write_lock()
217 WFE("mi") in arch_read_lock()
H A Dmcs_spinlock.h11 /* Ensure prior stores are observed before we enter wfe. */ \
14 wfe(); \
H A Dbarrier.h12 #define wfe() __asm__ __volatile__ ("wfe" : : : "memory") macro
15 #define wfe() do { } while (0) macro
/openbmc/linux/drivers/soc/tegra/
H A Dflowctrl.c80 /* clear wfe bitmap */ in flowctrl_cpu_suspend_enter()
84 /* pwr gating on wfe */ in flowctrl_cpu_suspend_enter()
90 /* clear wfe bitmap */ in flowctrl_cpu_suspend_enter()
100 * hence use wfe that is working perfectly fine. in flowctrl_cpu_suspend_enter()
103 * while wfe for the power-gating, just like it in flowctrl_cpu_suspend_enter()
136 /* clear wfe bitmap */ in flowctrl_cpu_suspend_exit()
144 /* clear wfe bitmap */ in flowctrl_cpu_suspend_exit()
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dsystem.h42 * WFE must also be implemented.
46 * If the Event Register is not set, WFE suspends execution until
53 * If the Event Register is set, WFE clears it and returns immediately.
54 * If WFE is implemented, SEV must also be implemented.
56 #define wfe() __asm__ __volatile__ ("wfe\n\t" : : ); macro
/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dsec_entry_cpu1.S28 * waits on WFE, polling on AUX_CORE_BOOT_x registers.
96 wfe @ Wait for CPU1 to finish
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dmp.c90 * observe the correct value after waking up from wfe. in fsl_layerscape_wake_seconday_cores()
148 * cores then the pre-bootloader code will trap them in a "wfe" unless in fsl_layerscape_wake_seconday_cores()
279 * without a valid entry address will be trapped by "wfe". "sev" kicks in cpu_release()
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dsec_boot.S72 * Step-5: If address is not available, enter WFE.
123 wfe
/openbmc/linux/arch/arm/common/
H A Dmcpm_head.S64 wfe
134 wfe
/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dspin_table_v8.S12 0: wfe
/openbmc/linux/arch/arm/mach-rockchip/
H A Dplatsmp.c140 * stay at wfe state, once they are activated, they will check in rockchip_boot_secondary()
145 * the wfe state.The wait time is affected by many aspects. in rockchip_boot_secondary()
338 * executing v7_coherency_exit() and reach the WFI/WFE state in rockchip_cpu_kill()
H A Dsleep.S27 wfe
/openbmc/u-boot/arch/arm/mach-uniphier/arm32/
H A Dpsci_smp.S37 wfe
/openbmc/linux/Documentation/devicetree/bindings/arm/freescale/
H A Dfsl,imx7ulp-pm.yaml19 The WFI or WFE instruction is used to invoke a Sleep, Deep Sleep or
/openbmc/linux/arch/arm64/include/asm/
H A Dbarrier.h20 #define wfe() asm volatile("wfe" : : : "memory") macro
H A Dcmpxchg.h219 " wfe\n" \
223 " wfe\n" \
/openbmc/u-boot/arch/arm/mach-k3/
H A Dcommon.c42 asm volatile("wfe"); in jump_to_image_no_args()
/openbmc/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
H A Dother.json93 …": "This event counts every cycle that the instruction unit is halted by the WFE/WFI instruction.",
96 …n": "This event counts every cycle that the instruction unit is halted by the WFE/WFI instruction."
/openbmc/linux/drivers/clocksource/
H A DKconfig315 executing the wfe instruction at a frequency represented as a
319 The main use of the event stream is wfe-based timeouts of userspace
321 on wfe to safeguard against any programming errors in case an expected
/openbmc/linux/Documentation/translations/zh_CN/arch/arm64/
H A Damu.rst34 当处于 WFI 或者 WFE 状态时,计数器不会增长。
/openbmc/linux/include/linux/mailbox/
H A Dmtk-cmdq-mailbox.h25 * WFE arg_b
/openbmc/linux/Documentation/translations/zh_TW/arch/arm64/
H A Damu.rst37 當處於 WFI 或者 WFE 狀態時,計數器不會增長。
/openbmc/linux/arch/arm64/lib/
H A Ddelay.c45 wfe(); in __delay()
/openbmc/linux/arch/arm/mach-tegra/
H A Dsleep-tegra30.S216 * it when halting but not before it is in the "WFE" state.
222 moveq r4, #(1 << 4) @ wfe bitmap
232 subs r3, r3, #1 @ delay as a part of wfe war.
266 * 38 nop's, which fills rest of wfe cache line and

1234