From ffc8453bd25ac62ad89e26974a8107846d2f1390 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Sat, 5 Aug 2023 01:03:17 +0200 Subject: [PATCH] linux-user/elfload: Enable vxe2 on s390x The vxe2 hwcap is not set for programs running in linux-user, but is set by a Linux kernel running in softmmu. Add it to the former. Signed-off-by: Ilya Leoshkevich Message-Id: <20230804233748.218935-2-iii@linux.ibm.com> Reviewed-by: David Hildenbrand Reviewed-by: Claudio Fontana Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth --- linux-user/elfload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index ac03beb01b..92b981c445 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1614,6 +1614,7 @@ uint32_t get_elf_hwcap(void) } GET_FEATURE(S390_FEAT_VECTOR, HWCAP_S390_VXRS); GET_FEATURE(S390_FEAT_VECTOR_ENH, HWCAP_S390_VXRS_EXT); + GET_FEATURE(S390_FEAT_VECTOR_ENH2, HWCAP_S390_VXRS_EXT2); return hwcap; }