[PATCH v4 3/4] eal: add Arm WFET in power management intrinsics

Thomas Monjalon thomas at monjalon.net
Thu Oct 10 19:01:55 CEST 2024


26/07/2024 19:15, Wathsala Vithanage:
> Wait for event with timeout (WFET) puts the CPU in a low power
> mode and stays there until an event is signalled (SEV), loss of
> an exclusive monitor or a timeout.
> WFET is enabled selectively by checking FEAT_WFxT in Linux
> auxiliary vector. If FEAT_WFxT is not available power management
> will fallback to WFE.
> WFE is available on all the Arm platforms supported by DPDK.
> Therefore, the RTE_ARM_USE_WFE macro is not required to enable
> the WFE feature for PMD power monitoring. 
> RTE_ARM_USE_WFE is used at the build time to use the WFE instruction
> where applicable in the code at the developer's discretion rather
> than as an indicator of the instruction's availability.
> 
> Signed-off-by: Wathsala Vithanage <wathsala.vithanage at arm.com>
> Reviewed-by: Dhruv Tripathi <dhruv.tripathi at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Jack Bond-Preston <jack.bond-preston at foss.arm.com>
> Reviewed-by: Nick Connolly <nick.connolly at arm.com>
> Reviewed-by: Vinod Krishna <vinod.krishna at arm.com>

Series applied, thanks.





More information about the dev mailing list