From patchwork Fri Jun 10 16:07:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 580617 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp1899370max; Fri, 10 Jun 2022 09:27:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqO709YCywYmLc+90a5glGgpXAOahn1mrGxNQZdCeJMLd8gIfNIxi0ijIKEWXu0tHVMjCZ X-Received: by 2002:a05:622a:1a83:b0:304:f576:bd67 with SMTP id s3-20020a05622a1a8300b00304f576bd67mr18044138qtc.1.1654878448482; Fri, 10 Jun 2022 09:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654878448; cv=none; d=google.com; s=arc-20160816; b=keY7O7SzwurIsxUzbtVmSks8W1G5uhsn3rEyg+vKeROL9PXtB1TKUr3Y8EEoSIdDOC InN2RU0zvxvVCMUnpJl8X9GlB1lDaWFlqXl8p9V8YmgUHakWxLd+wSfw8dbb+13hWeOF L/3PfzYf/utlSALXmrT8Y9fPBGNKppGsfS4ui37mnP4Q1KM+vO+Cx0imF9lxyMf7PBGI TLQao0VpVq0Ew0JOGa0sLLFSg5CBcxsiapbiNvRWgpc4X+SzMoWEx1iZj5K/Yt9Lr0vB gGfVK2dQyueBzeGCuO+iHsFn2xqkDZspfgQdBSBx8Wi9YaIFd1pybaP+mvkX+qQgQ5Oc e4kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=pXh1kgWRuZgm5DYxtunGuJhsz5Yd/FxYKF1GsS/GYOE=; b=Fw2YzvCCEc0YAl8n9Rjfcl+kz9Sa5L2x6ZMt21anwyLiK2FMHYZxQsbou+AN+Fbl4T Ps4Tl38OC2HSr8E0oB2jzcvrn3/IW2IVElFDUo9xpN8AO8wThpWeJrIFPqD5k8qQNU4u SFnQm+v1H/ZDvpdy2ZbNF7OIEdby8MqboPQAygl38yYPOOxTJnEwoVnJEiYUsCK15mWM OEFM23WjP6rlAN5m4gfXp/CSYvy/rGnW2vK1SJF8zzUcsUW3fqIybu92gcnlnfk3OqUr tdfYbjK3/MI5hMwFHmVoypqODBHWymzLy2LWsAccOhY0hZpu6858ylKGZiGTHRxC/+TX 8Ofw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="k6/5+V6K"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x25-20020a05620a01f900b006a5837a783csi8742415qkn.606.2022.06.10.09.27.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Jun 2022 09:27:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="k6/5+V6K"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzhTs-0007XD-3E for patch@linaro.org; Fri, 10 Jun 2022 12:27:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzhBN-0008Ux-Q5 for qemu-devel@nongnu.org; Fri, 10 Jun 2022 12:08:22 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:33172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzhB6-0007IF-28 for qemu-devel@nongnu.org; Fri, 10 Jun 2022 12:08:19 -0400 Received: by mail-wm1-x332.google.com with SMTP id i17-20020a7bc951000000b0039c4760ec3fso2230672wml.0 for ; Fri, 10 Jun 2022 09:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=pXh1kgWRuZgm5DYxtunGuJhsz5Yd/FxYKF1GsS/GYOE=; b=k6/5+V6KdPS0r9i3GjfMmZFGawyjoewjDJtBaWo/eGm9nYyL2jcBwLL6LvZ1+m+Pgm HcR2EdYfAjF0CTIlQAfB8YuTqeRTpbYf5qlSLV5CK6V8dS+szByP0QyR4jgOwBsQihQT V7rXlcHIrxyBJnzCv08lCOiowQ5KH1IcHP/6oeyn0iwOt60p5RSWLtoe8snLZvMVtrIQ bVpZOM4n4N0PGqPwNYW30INWbvXTH1620+lqSYp8tEgCMmhf07BoaEtyGXkYQZpHp9Kr JwxnkAduFqjp7nj8f1q4D6t+9Su9Z2NkKSsn53ldlpLOejHoS3i02OaaLQF7jitSGTUo aguA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pXh1kgWRuZgm5DYxtunGuJhsz5Yd/FxYKF1GsS/GYOE=; b=iphVhTACSCbvwK/vPoBgvJIhHZw0KVxyEOu2WvrQ64C6Kr6wk7Y7pgyfjtxvSOyF8j CgnL1DUnCAdMu72UZs9890q+ucd+9r/E6R+tr2fK2rUHVk3knp4Z9k32q4YIzbo/J3Jx tNhL7j8FiL350QUr4GuVa4OBbGiYeIbKVFUDMORF2v+AWQDLiVMyHtFKftDiTX3Xbobg DcJKuz2EEVQTnXppuYZvoSx7db1GZ6xXwT6q9wI591vwytG2oVJZd30YSw0Ohd7uDn2Q SKvoeQd/ur7dH5vnso5oEPKJmcg8q7x9UbGzzPjnYAo+jxM3wVoguOZAIiQyWrpzapCL dgWw== X-Gm-Message-State: AOAM532C1yE8ikDoSOvwVZlcKfE9h/TekT0drufCT0ejun56dkoP/595 vRZhkQJiCx6tI47xzPC6T8JWQ2AUsaWJzA== X-Received: by 2002:a05:600c:4fcb:b0:39c:64cd:cc89 with SMTP id o11-20020a05600c4fcb00b0039c64cdcc89mr439532wmq.197.1654877281523; Fri, 10 Jun 2022 09:08:01 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bp11-20020a5d5a8b000000b0020c5253d926sm14276053wrb.114.2022.06.10.09.08.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 09:08:01 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 24/28] tests/qtest: Reduce npcm7xx_sdhci test image size Date: Fri, 10 Jun 2022 17:07:34 +0100 Message-Id: <20220610160738.2230762-25-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220610160738.2230762-1-peter.maydell@linaro.org> References: <20220610160738.2230762-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Hao Wu Creating 1GB image for a simple qtest is unnecessary and could lead to failures. We reduce the image size to 1MB to reduce the test overhead. Signed-off-by: Hao Wu Message-id: 20220609214125.4192212-1-wuhaotsh@google.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- tests/qtest/npcm7xx_sdhci-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/npcm7xx_sdhci-test.c b/tests/qtest/npcm7xx_sdhci-test.c index aa35a77e8d3..5d68540e520 100644 --- a/tests/qtest/npcm7xx_sdhci-test.c +++ b/tests/qtest/npcm7xx_sdhci-test.c @@ -24,7 +24,7 @@ #define NPCM7XX_REG_SIZE 0x100 #define NPCM7XX_MMC_BA 0xF0842000 #define NPCM7XX_BLK_SIZE 512 -#define NPCM7XX_TEST_IMAGE_SIZE (1 << 30) +#define NPCM7XX_TEST_IMAGE_SIZE (1 << 20) char *sd_path;