qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] linux-user: Emulate /proc/cpuinfo on s390x
@ 2023-06-01 16:25 Ilya Leoshkevich
  2023-06-01 16:25 ` [PATCH 1/4] s390x/tcg: Fix CPU address returned by STIDP Ilya Leoshkevich
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Ilya Leoshkevich @ 2023-06-01 16:25 UTC (permalink / raw)
  To: Laurent Vivier, David Hildenbrand, Thomas Huth, Richard Henderson
  Cc: qemu-devel, qemu-s390x, Ilya Leoshkevich

Hi,

This series introduces /proc/cpuinfo linux-user emulation for s390x.
/proc/cpuinfo emulation already exists for sparc, hppa and riscv; this
series follows the pattern established for these platforms.

Patch 1 is a fix for an issue that I noticed while looking for ways to
get to the "identification" field.

Patches 2 and 3 introduce the necessary helpers.

Patch 4 is the actual implementation.

The trigger for this work is a bug report filed by Tulio [1], which has
to do with the llvm-project testcases failing under qemu-user.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2211472

Best regards,
Ilya

Ilya Leoshkevich (4):
  s390x/tcg: Fix CPU address returned by STIDP
  linux-user/elfload: Expose get_elf_hwcap() on s390x
  linux-user/elfload: Introduce elf_hwcap_str() on s390x
  linux-user: Emulate /proc/cpuinfo on s390x

 linux-user/elfload.c      |  29 ++++++++++-
 linux-user/loader.h       |   5 ++
 linux-user/syscall.c      | 106 +++++++++++++++++++++++++++++++++++++-
 target/s390x/cpu_models.c |   4 +-
 target/s390x/cpu_models.h |  10 +++-
 5 files changed, 149 insertions(+), 5 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-02 12:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-01 16:25 [PATCH 0/4] linux-user: Emulate /proc/cpuinfo on s390x Ilya Leoshkevich
2023-06-01 16:25 ` [PATCH 1/4] s390x/tcg: Fix CPU address returned by STIDP Ilya Leoshkevich
2023-06-02 12:03   ` David Hildenbrand
2023-06-01 16:25 ` [PATCH 2/4] linux-user/elfload: Expose get_elf_hwcap() on s390x Ilya Leoshkevich
2023-06-02 12:27   ` David Hildenbrand
2023-06-01 16:25 ` [PATCH 3/4] linux-user/elfload: Introduce elf_hwcap_str() " Ilya Leoshkevich
2023-06-02 12:28   ` David Hildenbrand
2023-06-01 16:25 ` [PATCH 4/4] linux-user: Emulate /proc/cpuinfo " Ilya Leoshkevich
2023-06-02 12:23   ` Ilya Leoshkevich
2023-06-02 12:34   ` David Hildenbrand
2023-06-02 12:36     ` Ilya Leoshkevich

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 NNTP newsgroup(s).