mbox series

[v3,0/5] KVM: selftests: Add ID reg test, update headers

Message ID 20231011195740.3349631-1-oliver.upton@linux.dev (mailing list archive)
Headers show
Series KVM: selftests: Add ID reg test, update headers | expand

Message

Oliver Upton Oct. 11, 2023, 7:57 p.m. UTC
v2: https://lore.kernel.org/kvmarm/20231010011023.2497088-1-oliver.upton@linux.dev/

v2 -> v3:
 - Use the kernel's script/data for generating the header instad of a
   copy (broonie)

Jing Zhang (2):
  tools headers arm64: Update sysreg.h with kernel sources
  KVM: arm64: selftests: Test for setting ID register from usersapce

Oliver Upton (3):
  tools: arm64: Add a Makefile for generating sysreg-defs.h
  perf build: Generate arm64's sysreg-defs.h and add to include path
  KVM: selftests: Generate sysreg-defs.h and add to include path

 tools/arch/arm64/include/.gitignore           |   1 +
 tools/arch/arm64/include/asm/gpr-num.h        |  26 +
 tools/arch/arm64/include/asm/sysreg.h         | 839 ++++--------------
 tools/arch/arm64/tools/Makefile               |  38 +
 tools/perf/Makefile.perf                      |  15 +-
 tools/perf/util/Build                         |   2 +-
 tools/testing/selftests/kvm/Makefile          |  24 +-
 .../selftests/kvm/aarch64/aarch32_id_regs.c   |   4 +-
 .../selftests/kvm/aarch64/debug-exceptions.c  |  12 +-
 .../selftests/kvm/aarch64/page_fault_test.c   |   6 +-
 .../selftests/kvm/aarch64/set_id_regs.c       | 479 ++++++++++
 .../selftests/kvm/lib/aarch64/processor.c     |   6 +-
 12 files changed, 785 insertions(+), 667 deletions(-)
 create mode 100644 tools/arch/arm64/include/.gitignore
 create mode 100644 tools/arch/arm64/include/asm/gpr-num.h
 create mode 100644 tools/arch/arm64/tools/Makefile
 create mode 100644 tools/testing/selftests/kvm/aarch64/set_id_regs.c


base-commit: dafa493dd01d5992f1cb70b08d1741c3ab99e04a

Comments

Marc Zyngier Oct. 18, 2023, 1:44 p.m. UTC | #1
On Wed, 11 Oct 2023 20:57:35 +0100,
Oliver Upton <oliver.upton@linux.dev> wrote:
> 
> v2: https://lore.kernel.org/kvmarm/20231010011023.2497088-1-oliver.upton@linux.dev/
> 
> v2 -> v3:
>  - Use the kernel's script/data for generating the header instad of a
>    copy (broonie)
> 
> Jing Zhang (2):
>   tools headers arm64: Update sysreg.h with kernel sources
>   KVM: arm64: selftests: Test for setting ID register from usersapce
> 
> Oliver Upton (3):
>   tools: arm64: Add a Makefile for generating sysreg-defs.h
>   perf build: Generate arm64's sysreg-defs.h and add to include path
>   KVM: selftests: Generate sysreg-defs.h and add to include path
> 
>  tools/arch/arm64/include/.gitignore           |   1 +
>  tools/arch/arm64/include/asm/gpr-num.h        |  26 +
>  tools/arch/arm64/include/asm/sysreg.h         | 839 ++++--------------
>  tools/arch/arm64/tools/Makefile               |  38 +
>  tools/perf/Makefile.perf                      |  15 +-
>  tools/perf/util/Build                         |   2 +-
>  tools/testing/selftests/kvm/Makefile          |  24 +-
>  .../selftests/kvm/aarch64/aarch32_id_regs.c   |   4 +-
>  .../selftests/kvm/aarch64/debug-exceptions.c  |  12 +-
>  .../selftests/kvm/aarch64/page_fault_test.c   |   6 +-
>  .../selftests/kvm/aarch64/set_id_regs.c       | 479 ++++++++++
>  .../selftests/kvm/lib/aarch64/processor.c     |   6 +-
>  12 files changed, 785 insertions(+), 667 deletions(-)
>  create mode 100644 tools/arch/arm64/include/.gitignore
>  create mode 100644 tools/arch/arm64/include/asm/gpr-num.h
>  create mode 100644 tools/arch/arm64/tools/Makefile
>  create mode 100644 tools/testing/selftests/kvm/aarch64/set_id_regs.c

With Cornelia's comment addressed,

Acked-by: Marc Zyngier <maz@kernel.org>

	M.
Oliver Upton Oct. 18, 2023, 11:58 p.m. UTC | #2
On Wed, 11 Oct 2023 19:57:35 +0000, Oliver Upton wrote:
> v2: https://lore.kernel.org/kvmarm/20231010011023.2497088-1-oliver.upton@linux.dev/
> 
> v2 -> v3:
>  - Use the kernel's script/data for generating the header instad of a
>    copy (broonie)
> 
> Jing Zhang (2):
>   tools headers arm64: Update sysreg.h with kernel sources
>   KVM: arm64: selftests: Test for setting ID register from usersapce
> 
> [...]

Applied to kvmarm/next, thanks!

[1/5] tools: arm64: Add a Makefile for generating sysreg-defs.h
      https://git.kernel.org/kvmarm/kvmarm/c/02e85f74668e
[2/5] perf build: Generate arm64's sysreg-defs.h and add to include path
      https://git.kernel.org/kvmarm/kvmarm/c/e2bdd172e665
[3/5] KVM: selftests: Generate sysreg-defs.h and add to include path
      https://git.kernel.org/kvmarm/kvmarm/c/9697d84cc3b6
[4/5] tools headers arm64: Update sysreg.h with kernel sources
      https://git.kernel.org/kvmarm/kvmarm/c/0359c946b131
[5/5] KVM: arm64: selftests: Test for setting ID register from usersapce
      https://git.kernel.org/kvmarm/kvmarm/c/54a9ea73527d

--
Best,
Oliver