All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests v2 0/9] Extend and apply the errata framework
@ 2017-06-06 18:22 Andrew Jones
  2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 1/9] arch-run: introduce initrd_create Andrew Jones
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Andrew Jones @ 2017-06-06 18:22 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, rkrcmar, lvivier, thuth

We've had an errata framework merged in for a while, but it hasn't been
getting used (at least not upstream). This series extends it to allow
run script environment provided and host kernel version based generated
errata variables to be automatically provided to unit tests. It then
changes a couple arm unit tests to use the errata framework, now that
it's more useful.

The benefit of this over always using the 'nodefault' group is that
once a host has been patched the unit test will automatically start
running as a regression test - no need to manually run it, meaning no
concern that it will likely never actually be run...

v2:
 - apply a couple good bash suggestions from Laurent
 - apply some debatable bashisms for string manipulation, which
   swaps readability for reduced pipes... [me]

Andrew Jones (9):
  arch-run: introduce initrd_create
  arch-run: provide errata from run env
  x86/run: source config.mak
  arch-run: generate errata when no environ is provided
  mkstandalone: provide errata to tests
  errata: add ERRATA_FORCE
  README: add section on guarding unsafe tests
  AArch32: apply errata framework to unsafe pmccntr64 test
  arm/arm64: apply errata framework to unsafe cpu-on test

 README.md               | 34 +++++++++++++++++++++
 arm/pmu.c               | 26 +++++++++++-----
 arm/psci.c              |  7 ++++-
 arm/run                 |  5 ++--
 arm/unittests.cfg       |  2 +-
 configure               | 12 ++++++++
 errata.txt              |  7 +++++
 lib/errata.h            | 21 +++++++++++--
 powerpc/run             |  5 ++--
 run_tests.sh            |  2 ++
 scripts/arch-run.bash   | 79 +++++++++++++++++++++++++++++++++++++++++++++++++
 scripts/mkstandalone.sh |  6 ++++
 x86/run                 | 14 +++++++--
 13 files changed, 201 insertions(+), 19 deletions(-)
 create mode 100644 errata.txt

-- 
2.9.4

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

end of thread, other threads:[~2017-06-13 10:01 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-06 18:22 [PATCH kvm-unit-tests v2 0/9] Extend and apply the errata framework Andrew Jones
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 1/9] arch-run: introduce initrd_create Andrew Jones
2017-06-08 10:04   ` Laurent Vivier
2017-06-13  8:04     ` Andrew Jones
2017-06-13  9:50       ` Laurent Vivier
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 2/9] arch-run: provide errata from run env Andrew Jones
2017-06-08 10:25   ` Laurent Vivier
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 3/9] x86/run: source config.mak Andrew Jones
2017-06-08 10:25   ` Laurent Vivier
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 4/9] arch-run: generate errata when no environ is provided Andrew Jones
2017-06-08 10:43   ` Laurent Vivier
2017-06-13  8:12     ` Andrew Jones
2017-06-13 10:01       ` Laurent Vivier
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 5/9] mkstandalone: provide errata to tests Andrew Jones
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 6/9] errata: add ERRATA_FORCE Andrew Jones
2017-06-08 10:56   ` Laurent Vivier
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 7/9] README: add section on guarding unsafe tests Andrew Jones
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 8/9] AArch32: apply errata framework to unsafe pmccntr64 test Andrew Jones
2017-06-06 18:22 ` [PATCH kvm-unit-tests v2 9/9] arm/arm64: apply errata framework to unsafe cpu-on test Andrew Jones

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.