[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v2 0/4] ppc/pnv: XSCOM fixes and unit tests

From: Cédric Le Goater
Subject: [Qemu-ppc] [PATCH v2 0/4] ppc/pnv: XSCOM fixes and unit tests
Date: Mon, 14 Nov 2016 10:12:54 +0100


Here is a little serie adding some fixes for the XSCOM registers of
the POWER9 cores and a unit test. 

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.



Cédric 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]