Message ID | 20211119163710.974653-4-alex.bennee@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=J+MM=QG=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14529C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Nov 2021 16:39:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9B9060FC3 for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Nov 2021 16:39:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D9B9060FC3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MvgVJNg8eZsGjN1b6nByjgkMx21Ywe7LoFSz0WTwJ2Q=; b=JidsnQlANYA4kv co5JGta65bcP3/MKlcSLbA4AE2s9+HFFRjZixSCXsl5GqW3ulHZYO/YkXBVS0YHQF7wFxeztuVYhA YCu0iOi4eW2x6V/bzlg7mo7NI42bpO1J06Vf+D9vukhMly8scJrCOSGIFFiK7imv2d/1NvlHEOT8g BKozKtxoHomFvmKaAIVv7NHMxcuZAUzkjYZQ8WPbaYv9tpNOsczv3aMpRHPUKS12l7dGk4wOwfGSQ iezbyef9rrRuikSNxgB3m7dHk28PNjl1hWNeKKccQGYpMZzt61jV3GNeaC4KQDiyStu2plPpkawFy saloanQ6Gl862+ySdX4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo6tT-00B3dy-RU; Fri, 19 Nov 2021 16:37:44 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo6t2-00B3WU-9c for linux-arm-kernel@lists.infradead.org; Fri, 19 Nov 2021 16:37:17 +0000 Received: by mail-wr1-x435.google.com with SMTP id i5so19190894wrb.2 for <linux-arm-kernel@lists.infradead.org>; Fri, 19 Nov 2021 08:37:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UBTLYu0ovf90Ly8jIucNjZn0s6JSXdArNLPowmPdXjc=; b=YafddRxj9VBjZzRlxSamFKtngp9kYQ/Om6EnwnudYXjJCJd722nl8E5+pxBa7+IsPc 83efOXLfP236CvwaWzzAxIMlzCcdKh8S+J7sMw2Meb7MZYYiH5kb4BU1yowwH+TewDI6 X2wl3xmG/2/4mjDUuRK1es7OGu0lWBR2jMsV4LVwHfKT7TPClcNFHc3W/2btWNjvNFJ7 30Sp0dfQIc5SEF6NpuQjdaATSmdhExxfBHWU3/1SEebk+mYPT8aWAU+Y+5OkvC2aqV5u DHNOYSrn9t+mSyQymC+FIW69HipUe4ItdOnWD/ltILkAbB0qE3BAcY5B8wAx+UONSO6i 3mPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UBTLYu0ovf90Ly8jIucNjZn0s6JSXdArNLPowmPdXjc=; b=7kLkshQnWuw9O/OBgAyLmgrRJytTNgFFvHt+lnclgmWL3wa7sx9GMY8uqz9GqS3cXm V9pSmICVnOuFAT8/hrnqtRuMMV759k6HG95OVJLnDJLtoCuCotwDjNW1XYevNDTNZ5kw at+YleR/PXfS2KfGRrMXnSRtVLqmIg7lts/W4TUpA/eknR7vz0D18cai8gCbe446o+MJ DjU6kVf4ZIy4B6i8JzXppLXLIKPb9jQ1jAjYVGRO8D5jX+0PNTGFfbjJwEHlkYDbgJrc NVR3ZZH1FXAYOr9MQjRJf5jXSYdZzLG6icHV0cFCh4EjPZ9tkmb/JDHNQqoEA3kr1Uu9 asZg== X-Gm-Message-State: AOAM532Bpj0zYOYPOm7E+oITQwuWuV1l1ecEfGGGoQnDJtq+9LVI+Gph jUk0behX45EU30p/w9fRfnnUXQ== X-Google-Smtp-Source: ABdhPJy8eUMgWTmXLHQO73lzwoAiNLaV22W1knajMZd2flThIs36ASzjzldkk3oB/MzzmN49Z8cxrQ== X-Received: by 2002:a05:6000:143:: with SMTP id r3mr9139425wrx.236.1637339834937; Fri, 19 Nov 2021 08:37:14 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r8sm328551wrz.43.2021.11.19.08.37.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 08:37:11 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 721D91FF9A; Fri, 19 Nov 2021 16:37:10 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: kvm@vger.kernel.org Cc: qemu-arm@nongnu.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@arm.com, maz@kernel.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Subject: [kvm-unit-tests PATCH v4 3/3] arch-run: do not process ERRATA when running under TCG Date: Fri, 19 Nov 2021 16:37:10 +0000 Message-Id: <20211119163710.974653-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211119163710.974653-1-alex.bennee@linaro.org> References: <20211119163710.974653-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211119_083716_358534_7A51662F X-CRM114-Status: GOOD ( 13.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
GIC ITS tests
|
expand
|
diff --git a/scripts/arch-run.bash b/scripts/arch-run.bash index 43da998..f1f4456 100644 --- a/scripts/arch-run.bash +++ b/scripts/arch-run.bash @@ -267,7 +267,9 @@ env_file () env_errata () { - if [ "$ERRATATXT" ] && [ ! -f "$ERRATATXT" ]; then + if [ "$ACCEL" = "tcg" ]; then + eval export "ERRATA_FORCE=y" + elif [ "$ERRATATXT" ] && [ ! -f "$ERRATATXT" ]; then echo "$ERRATATXT not found. (ERRATATXT=$ERRATATXT)" >&2 return 2 elif [ "$ERRATATXT" ]; then
All the errata checking looks at the current host kernel version. For TCG runs this is entirely irrelevant as the host kernel has no impact on the behaviour of the guest. In fact we should set ERRATA_FORCE to ensure we run those tests as QEMU doesn't attempt to model non-confirming architectures. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- scripts/arch-run.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)