Received: from eggs.gnu.org ([2001:4830:134:3::10]:54083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6DKH-0003cm-Hk for qemu-devel@nongnu.org; Mon, 14 Nov 2016 04:13:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6DKE-0005dY-DH for qemu-devel@nongnu.org; Mon, 14 Nov 2016 04:13:17 -0500 Received: from 7.mo4.mail-out.ovh.net ([178.33.253.54]:47410) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c6DKE-0005cJ-7r for qemu-devel@nongnu.org; Mon, 14 Nov 2016 04:13:14 -0500 Received: from player750.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 7F57B1CFBB for ; Mon, 14 Nov 2016 10:13:10 +0100 (CET) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Mon, 14 Nov 2016 10:12:54 +0100 Message-Id: <1479114778-3881-1-git-send-email-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 0/4] ppc/pnv: XSCOM fixes and unit tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: David Gibson , qemu-devel@nongnu.org, Alexander Graf , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Hello, Here is a little serie adding some fixes for the XSCOM registers of the POWER9 cores and a unit test.=20 Changes since v1 : - fixed pnv_xscom_addr() for 32bit host systems - replace hweight_long() by ctpop64() Tested on a 32-bit LE system and on 64-bit LE and BE systems. Thanks, C. C=C3=A9dric Le Goater (3): ppc/pnv: add a 'xscom_core_base' field to PnvChipClass ppc/pnv: fix xscom address translation for POWER9 tests: add XSCOM tests for the PowerNV machine David Gibson (1): ppc/pnv: Fix fatal bug on 32-bit hosts hw/ppc/pnv.c | 10 +++- hw/ppc/pnv_xscom.c | 8 +-- include/hw/ppc/pnv.h | 1 + include/hw/ppc/pnv_xscom.h | 5 +- tests/Makefile.include | 1 + tests/pnv-xscom-test.c | 140 +++++++++++++++++++++++++++++++++++++++= ++++++ 6 files changed, 156 insertions(+), 9 deletions(-) create mode 100644 tests/pnv-xscom-test.c --=20 2.7.4