Hey Naveen,

Unless QEMU got support for AVX2, I'm pretty sure this will start breaking
things that depend on qemu-usermode, were you able to test this with
something that uses gobject-introspection?

Alejandro

On Thu, 25 Feb 2021 at 01:24, Naveen Saini <naveen.kumar.sa...@intel.com>
wrote:

> Currenty qemu-usermode is being removed from MACHINE_FEATURES,which
> does not allow user to build in qemu-usermode even though AVX instructions
> are not enabled.
>
> Check for qemu-usermode and AVX instructions set is already in place.
>
> [YOCTO #14248]
>
> Signed-off-by: Naveen Saini <naveen.kumar.sa...@intel.com>
> ---
>  conf/machine/include/tune-skylake.inc | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/conf/machine/include/tune-skylake.inc
> b/conf/machine/include/tune-skylake.inc
> index 4882600b..7f03c714 100644
> --- a/conf/machine/include/tune-skylake.inc
> +++ b/conf/machine/include/tune-skylake.inc
> @@ -24,9 +24,6 @@ PACKAGE_EXTRA_ARCHS_tune-skylake-64 =
> "${PACKAGE_EXTRA_ARCHS_tune-core2-64} skyl
>  QEMU_EXTRAOPTIONS_skylake-64 = " -cpu Skylake-Client"
>
>
> -# Disable QEMU usermode by default (get avx2)
> -MACHINE_FEATURES_remove = "qemu-usermode"
> -
>  # If qemu-usermode is enabled, we have to disable avx2 ISA extensions,
> but we can keep mtune as skylake vs generic
>  SKYLAKE_TUNE .= "${@bb.utils.contains('MACHINE_FEATURES',
> 'qemu-usermode', ' -mtune=skylake ${QEMU_UNAVAILABLE_ISA}', '-mtune=generic
> -mavx2', d)}"
>
> --
> 2.17.1
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6945): 
https://lists.yoctoproject.org/g/meta-intel/message/6945
Mute This Topic: https://lists.yoctoproject.org/mt/80892807/21656
Group Owner: meta-intel+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to