From nobody Mon Feb 9 16:34:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1488511672800952.3793236560745; Thu, 2 Mar 2017 19:27:52 -0800 (PST) Received: from localhost ([::1]:55860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjdsl-0000dO-E5 for importer@patchew.org; Thu, 02 Mar 2017 22:27:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjdqT-00083n-E7 for qemu-devel@nongnu.org; Thu, 02 Mar 2017 22:25:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjdqQ-0001HM-Ao for qemu-devel@nongnu.org; Thu, 02 Mar 2017 22:25:29 -0500 Received: from ozlabs.org ([103.22.144.67]:49907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cjdqP-0001E5-5t; Thu, 02 Mar 2017 22:25:26 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 3vZF1R66Ddz9s7h; Fri, 3 Mar 2017 14:25:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1488511515; bh=xRCQTFqhvbh0mX4DnDvC7jogVtG1ImRHNwxRWmbVMho=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T2BZxPXnupxFtJ4554VvA72Npr0HBsd8h6cc6IRTxEWp/nhF2wa0+ZuZGEgCIbwpZ C7AVETjo34H14yed4im2h82DfxYgbQfqC25WR4PdlP4sCOJl6IXXm23MljXYzT32Dh pBJ+oKz1+AZlxT/1wfCFBZULZo18xne9qzNIMufQ= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 3 Mar 2017 14:24:53 +1100 Message-Id: <20170303032507.16142-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170303032507.16142-1-david@gibson.dropbear.id.au> References: <20170303032507.16142-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PULL 03/17] powernv: Don't test POWER9 CPU yet X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, thuth@redhat.com, mdroth@linux.vnet.ibm.com, aik@ozlabs.ru, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, sjitindarsingh@gmail.com, sam.bobroff@au1.ibm.com, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" A couple of tests for the work-in-progress 'powernv' machine type attempt to test on POWER9 CPUs. However the POWER9 CPU support is incomplete and this doesn't really work. In particular the firmware image we have currently assumes the presence of the SDR1 register, which no longer exists on POWER9. We only got away with this so far, because of a different bug which added SDR1 to POWER9 even though it shouldn't be there. For now, remove POWER9 testing of powernv, POWER8 testing will do for now until the POWER9 support is more complete. Signed-off-by: David Gibson --- tests/boot-serial-test.c | 2 +- tests/pnv-xscom-test.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index 44c82e5..57edf6a 100644 --- a/tests/boot-serial-test.c +++ b/tests/boot-serial-test.c @@ -29,7 +29,7 @@ static testdef_t tests[] =3D { { "ppc64", "ppce500", "", "U-Boot" }, { "ppc64", "prep", "", "Open Hack'Ware BIOS" }, { "ppc64", "pseries", "", "Open Firmware" }, - { "ppc64", "powernv", "-cpu POWER9", "SkiBoot" }, + { "ppc64", "powernv", "-cpu POWER8", "SkiBoot" }, { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" }, { "i386", "pc", "-device sga", "SGABIOS" }, { "i386", "q35", "-device sga", "SGABIOS" }, diff --git a/tests/pnv-xscom-test.c b/tests/pnv-xscom-test.c index 5951da1..5adc3fd 100644 --- a/tests/pnv-xscom-test.c +++ b/tests/pnv-xscom-test.c @@ -41,7 +41,9 @@ static const PnvChip pnv_chips[] =3D { .xscom_core_base =3D 0x10000000ull, .cfam_id =3D 0x120d304980000000ull, .first_core =3D 0x1, - }, { + }, +#if 0 /* POWER9 support is not ready yet */ + { .chip_type =3D PNV_CHIP_POWER9, .cpu_model =3D "POWER9", .xscom_base =3D 0x000603fc00000000ull, @@ -49,6 +51,7 @@ static const PnvChip pnv_chips[] =3D { .cfam_id =3D 0x100d104980000000ull, .first_core =3D 0x20, }, +#endif }; =20 static uint64_t pnv_xscom_addr(const PnvChip *chip, uint32_t pcba) --=20 2.9.3