All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH  v1 0/4] HWCAP_CPUID registers for aarch64
@ 2019-01-28 17:39 ` Alex Bennée
  0 siblings, 0 replies; 22+ messages in thread
From: Alex Bennée @ 2019-01-28 17:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-arm, Alex Bennée


Hi,

I posted a series to expose some of the CPU registers to user-space.
The counter registers got merged at the time but the HW_CPUID had some
comments that needed addressing. I've re-spun the series and cleaned
it up, hopefully addressing the comments at the same time. The test
case has been expanded.

The ABI is described in the kernel document:

  https://www.kernel.org/doc/Documentation/arm64/cpu-feature-registers.txt

but from QEMU's point of view we just need to ensure the correct
values are reported for CONFIG_USER_ONLY.

Alex Bennée (4):
  target/arm: relax permission checks for HWCAP_CPUID registers
  target/arm: expose CPUID registers to userspace
  linux-user/elfload: enable HWCAP_CPUID for AArch64
  tests/tcg/aarch64: userspace system register test

 linux-user/elfload.c              |   1 +
 target/arm/cpu.h                  |  12 +++
 target/arm/helper.c               |  57 ++++++++++----
 tests/tcg/aarch64/Makefile.target |   2 +-
 tests/tcg/aarch64/sysregs.c       | 120 ++++++++++++++++++++++++++++++
 5 files changed, 175 insertions(+), 17 deletions(-)
 create mode 100644 tests/tcg/aarch64/sysregs.c

-- 
2.17.1

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

end of thread, other threads:[~2019-02-04 15:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 17:39 [PATCH v1 0/4] HWCAP_CPUID registers for aarch64 Alex Bennée
2019-01-28 17:39 ` [Qemu-devel] " Alex Bennée
2019-01-28 17:39 ` [PATCH v1 1/4] target/arm: relax permission checks for HWCAP_CPUID registers Alex Bennée
2019-01-28 17:39   ` [Qemu-devel] " Alex Bennée
2019-01-28 17:39 ` [PATCH v1 2/4] target/arm: expose CPUID registers to userspace Alex Bennée
2019-01-28 17:39   ` [Qemu-devel] " Alex Bennée
2019-02-04 14:05   ` Peter Maydell
2019-02-04 14:05     ` [Qemu-devel] " Peter Maydell
2019-02-04 15:33     ` Alex Bennée
2019-02-04 15:33       ` [Qemu-devel] " Alex Bennée
2019-02-04 15:55       ` Peter Maydell
2019-02-04 15:55         ` [Qemu-devel] " Peter Maydell
2019-01-28 17:39 ` [PATCH v1 3/4] linux-user/elfload: enable HWCAP_CPUID for AArch64 Alex Bennée
2019-01-28 17:39   ` [Qemu-devel] " Alex Bennée
2019-01-28 17:49   ` Laurent Vivier
2019-01-28 17:49     ` [Qemu-devel] " Laurent Vivier
2019-01-28 17:39 ` [PATCH v1 4/4] tests/tcg/aarch64: userspace system register test Alex Bennée
2019-01-28 17:39   ` [Qemu-devel] " Alex Bennée
2019-01-28 22:03   ` Alex Bennée
2019-01-28 22:03     ` [Qemu-devel] " Alex Bennée
2019-02-04 13:52   ` Peter Maydell
2019-02-04 13:52     ` [Qemu-devel] " Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.