public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/28704] New: elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems
@ 2021-12-15 23:30 aurelien at aurel32 dot net
2021-12-17 19:20 ` [Bug build/28704] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2021-12-15 23:30 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28704
Bug ID: 28704
Summary: elf/tst-cpu-features-cpuinfo fails for KVM guests on
some AMD systems
Product: glibc
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: aurelien at aurel32 dot net
CC: carlos at redhat dot com
Target Milestone: ---
On recent AMD systems with the IBRS feature, elf/tst-cpu-features-cpuinfo fails
for KVM guests, but not on the host. I have tracked that to KVM reporting the
AMD IBRS feature using the AMD Intel one:
Checking HAS_CPU_FEATURE (AMD_IBRS):
HAS_CPU_FEATURE (AMD_IBRS): 0
cpuinfo (ibrs): 1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28704] elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems
2021-12-15 23:30 [Bug build/28704] New: elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems aurelien at aurel32 dot net
@ 2021-12-17 19:20 ` cvs-commit at gcc dot gnu.org
2021-12-17 19:21 ` aurelien at aurel32 dot net
2021-12-17 19:35 ` cvs-commit at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-17 19:20 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28704
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aurelien Jarno <aurel32@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=94058f6cde8b887178885954740ac6c866d25eab
commit 94058f6cde8b887178885954740ac6c866d25eab
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Wed Dec 15 23:46:19 2021 +0100
elf: Fix tst-cpu-features-cpuinfo for KVM guests on some AMD systems [BZ
#28704]
On KVM guests running on some AMD systems, the IBRS feature is reported
as a synthetic feature using the Intel feature, while the cpuinfo entry
keeps the same. Handle that by first checking the presence of the Intel
feature on AMD systems.
Fixes bug 28704.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28704] elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems
2021-12-15 23:30 [Bug build/28704] New: elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems aurelien at aurel32 dot net
2021-12-17 19:20 ` [Bug build/28704] " cvs-commit at gcc dot gnu.org
@ 2021-12-17 19:21 ` aurelien at aurel32 dot net
2021-12-17 19:35 ` cvs-commit at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2021-12-17 19:21 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28704
Aurelien Jarno <aurelien at aurel32 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Aurelien Jarno <aurelien at aurel32 dot net> ---
Fixed in 2.35.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28704] elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems
2021-12-15 23:30 [Bug build/28704] New: elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems aurelien at aurel32 dot net
2021-12-17 19:20 ` [Bug build/28704] " cvs-commit at gcc dot gnu.org
2021-12-17 19:21 ` aurelien at aurel32 dot net
@ 2021-12-17 19:35 ` cvs-commit at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-17 19:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28704
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by Aurelien Jarno
<aurel32@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=03de6917bd11c0591867607ce74ef658f76eabb9
commit 03de6917bd11c0591867607ce74ef658f76eabb9
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Wed Dec 15 23:46:19 2021 +0100
elf: Fix tst-cpu-features-cpuinfo for KVM guests on some AMD systems [BZ
#28704]
On KVM guests running on some AMD systems, the IBRS feature is reported
as a synthetic feature using the Intel feature, while the cpuinfo entry
keeps the same. Handle that by first checking the presence of the Intel
feature on AMD systems.
Fixes bug 28704.
(cherry picked from commit 94058f6cde8b887178885954740ac6c866d25eab)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-17 19:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 23:30 [Bug build/28704] New: elf/tst-cpu-features-cpuinfo fails for KVM guests on some AMD systems aurelien at aurel32 dot net
2021-12-17 19:20 ` [Bug build/28704] " cvs-commit at gcc dot gnu.org
2021-12-17 19:21 ` aurelien at aurel32 dot net
2021-12-17 19:35 ` cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).