[PATCH] eal/x86: fix segfaults in waitpkg power intrinsics
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Nov 8 04:19:20 CET 2023
On Tue, Nov 07, 2023 at 04:19:01PM +0000, Bruce Richardson wrote:
> From: David Hunt <david.hunt at intel.com>
>
> The code was recently enhanced to allow the use of the waitpkg
> intrinsics rather than the raw assembly in the rte_power functions.
> However, the parameters to the intrinsics, while compiling fine, were
> incorrect, and would segfault when run on the appropriate hardware.
> This patch fixes the intrinsic parameters. Tested on a system with
> tpause and umonitor/umwait instructions.
>
> Fixes: 60943c04f3bc ("eal/x86: use intrinsics for power management")
>
> Signed-off-by: David Hunt <david.hunt at intel.com>
> Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list