From: Andrew Jones Subject: [PATCH kvm-unit-tests 0/8] Extend and apply the errata framework Date: Wed, 24 May 2017 18:08:10 +0200 Message-ID: <20170524160818.4326-1-drjones@redhat.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com, lvivier@redhat.com, thuth@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40458 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030500AbdEXQIW (ORCPT ); Wed, 24 May 2017 12:08:22 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DBD097248B for ; Wed, 24 May 2017 16:08:21 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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... Andrew Jones (8): 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 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 | 11 ++++++++ errata.txt | 7 +++++ lib/errata.h | 21 ++++++++++++-- powerpc/run | 5 ++-- run_tests.sh | 2 ++ scripts/arch-run.bash | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ x86/run | 14 +++++++-- 12 files changed, 193 insertions(+), 19 deletions(-) create mode 100644 errata.txt -- 2.9.4