From patchwork Mon May 4 14:30:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 186156 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp182600ill; Mon, 4 May 2020 07:39:57 -0700 (PDT) X-Google-Smtp-Source: APiQypJpKoWer/DH2fqPSqprkXGHp8BtFDq5V/KWrBUbz7IX/Clauv07pNnL90Zo2XGw6Ltivpwl X-Received: by 2002:a37:668b:: with SMTP id a133mr9178950qkc.488.1588603197743; Mon, 04 May 2020 07:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588603197; cv=none; d=google.com; s=arc-20160816; b=y236wQvX/thrtu+bTQOUsjIMS0e/OKr/rGZeFk1qR7l0gNu/8sBMqjA4+BwYsm2eFl 2OVrxW6mk4TjUW8fFADavTCfHDGGP+aUQf0LD4rOUNFpXntjQWsAbginEV8/RFfyZaTp g0D2ssTIlglCK+xsG4/YVaXYfQnE3j0q4Td3VXN52Po6FZsBjHzmC5cFd93OkoQ38qFX lSzOduxebp1DNtjwf6ZGuMgoV33tWDfcIm+zbiL9cfGkWbLkgOMqSYhPFV0g9c7XDRG6 lZbgmaLsnvcf9E0fa+dB+YpQvAwNVESvcU9FoG5JoDsRh2jzQpQEsqAdraY+3UCWbEOO 4+cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :content-transfer-encoding:in-reply-to:mime-version:references :message-id:subject:to:from:date:dkim-signature; bh=Bo79CUgFM2z6ABK0rxVoGCIfB5lUV00d4CJDYbtIRA8=; b=ALZUv7yYAD22K4aplz7o9rDiBF5Tzb6DoFLa5XvrmFvRVjMT+5gC0H7HoA3OLkal+o uvP1h8Qvx/DaLmWFXFQQILfJNBISQQpQQFT5m0lDN3T4XmhEJHPsVLES4lS0jsDmqGC7 NcPDcHiR2LwQplHqb1h8Tc1xmQ6MDo/Q/xjD//PTG0vQ2CFFISPM72Jo3/w7UDrbR44o cM8In5HaO/to+5epj484nqS0tVd2UWw8wNoTc3BoKMjXpmBlTGIj1Y91m3pg8S4Dsygj VfGwyuOq9bSBpbDIbUXN/sLuq7r1sdaUzx4A2Wn9qWVlZDeebVAfabkWeRfyWo8/2t3K 3ing== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=UN8T5TB7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:470:142::17]) by mx.google.com with ESMTPS id v22si6228503qka.27.2020.05.04.07.39.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 May 2020 07:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) client-ip=2001:470:142::17; Authentication-Results: mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=UN8T5TB7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:35702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVcGD-0006eC-7x for patch@linaro.org; Mon, 04 May 2020 10:39:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVc6i-0006Mm-Co for qemu-devel@nongnu.org; Mon, 04 May 2020 10:30:08 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:24436 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jVc6h-0006Ws-5M for qemu-devel@nongnu.org; Mon, 04 May 2020 10:30:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588602606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bo79CUgFM2z6ABK0rxVoGCIfB5lUV00d4CJDYbtIRA8=; b=UN8T5TB74ZENRqE4sCO3dl37OPXi6A/pEsfImV6nfN9vn00v/CDvbczMbDhTFAFgyhOXte ycbj/ZAmtBzKIkdREVNeyRt9VYhjLf4liP8sHg8qGJlCZZbWHGkqrA1bi6ZzbKB46WAKDW wr2R5SgfcfkLTDQDyCYtM1PxoehGXGE= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-273--G4p8jyWPRqaM4Kw39wxog-1; Mon, 04 May 2020 10:30:04 -0400 X-MC-Unique: -G4p8jyWPRqaM4Kw39wxog-1 Received: by mail-wr1-f72.google.com with SMTP id s11so10856757wru.6 for ; Mon, 04 May 2020 07:30:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HiyhWJdustdM3N2mnLTkt5fy7WWcO4+CQ1UxAjOBv98=; b=Pg9iOuwVrYT51VKVZK7zoSAjtKNeNK6p0dIGYg93gZdsBE9ZtJ0hr90bN7zceztvyg 2Gy/cCxfSMd56tYweFFD4t+Jih3lfBI9KeBZX7clNDwBUk/wz1elyuFBWaMvvGpomU6w 1nS6ALa0RNr1qY6nGIqm08U0wRnSnwXPY7HVtDcYN0RkqTMEON4Yqw44Bq42R9x/lqYj l4lMEFoME5q3RvfMAc7kCCANHDFumfco1iogOkRz/35RE3mKCI2Ee3yNyTmdKm0sc1YL 5Utit3O9K3PPqrLJsecosLBww5FUt/j5kPy4u+28DWpe5uMA59BLxwQh+dLulJJaKUhO CrBA== X-Gm-Message-State: AGi0Pubji8Y3HyO9qjBvs0fCaqrqheNjdIaNG1IQSE/+flmnPom+pjuX jOIX1cAZfsOsCu3Lsg4+/9kW9qECHm1bcaYvL39l+MA5TNoOcjeB8NjQ1VM4z9HDA++9fMxq3DS t2Z/mEWOqh3HvGVE= X-Received: by 2002:a1c:4144:: with SMTP id o65mr15910856wma.78.1588602603432; Mon, 04 May 2020 07:30:03 -0700 (PDT) X-Received: by 2002:a1c:4144:: with SMTP id o65mr15910834wma.78.1588602603265; Mon, 04 May 2020 07:30:03 -0700 (PDT) Received: from redhat.com (bzq-109-66-7-121.red.bezeqint.net. [109.66.7.121]) by smtp.gmail.com with ESMTPSA id 138sm14799517wmb.14.2020.05.04.07.30.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 07:30:02 -0700 (PDT) Date: Mon, 4 May 2020 10:30:00 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL 20/29] bios-tables-test: test pc-dimm and nvdimm coldplug for arm/virt Message-ID: <20200504142814.157589-21-mst@redhat.com> References: <20200504142814.157589-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200504142814.157589-1-mst@redhat.com> X-Mailer: git-send-email 2.24.1.751.gd10ce2899c X-Mutt-Fcc: =sent X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Received-SPF: pass client-ip=207.211.31.120; envelope-from=mst@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/04 05:09:11 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Shameer Kolothum , Eric Auger , Paolo Bonzini , Igor Mammedov Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Shameer Kolothum Since we now have both pc-dimm and nvdimm support, update test_acpi_virt_tcg_memhp() to include those. Signed-off-by: Shameer Kolothum Message-Id: <20200421125934.14952-7-shameerali.kolothum.thodi@huawei.com> Acked-by: Peter Maydell Tested-by: Eric Auger Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/qtest/bios-tables-test.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- MST diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 0a597bbacf..c9843829b3 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -927,12 +927,17 @@ static void test_acpi_virt_tcg_memhp(void) }; data.variant = ".memhp"; - test_acpi_one(" -cpu cortex-a57" + test_acpi_one(" -machine nvdimm=on" + " -cpu cortex-a57" " -m 256M,slots=3,maxmem=1G" " -object memory-backend-ram,id=ram0,size=128M" " -object memory-backend-ram,id=ram1,size=128M" " -numa node,memdev=ram0 -numa node,memdev=ram1" - " -numa dist,src=0,dst=1,val=21", + " -numa dist,src=0,dst=1,val=21" + " -object memory-backend-ram,id=ram2,size=128M" + " -object memory-backend-ram,id=nvm0,size=128M" + " -device pc-dimm,id=dimm0,memdev=ram2,node=0" + " -device nvdimm,id=dimm1,memdev=nvm0,node=1", &data); free_test_data(&data);