From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bASP5-0007kT-Cb for qemu-devel@nongnu.org; Tue, 07 Jun 2016 21:35:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bASP2-0004kE-2b for qemu-devel@nongnu.org; Tue, 07 Jun 2016 21:35:31 -0400 Date: Wed, 8 Jun 2016 11:11:18 +1000 From: David Gibson Message-ID: <20160608011118.GQ9226@voom.fritz.box> References: <1465313980-31281-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l8yJEXo8J9fv7OFY" Content-Disposition: inline In-Reply-To: <1465313980-31281-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/5] ppc: Improve sPAPR CPU compatibility mode settings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-ppc@nongnu.org, agraf@suse.de, qemu-devel@nongnu.org, Alexey Kardashevskiy --l8yJEXo8J9fv7OFY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 07, 2016 at 05:39:35PM +0200, Thomas Huth wrote: > If a guest currently only requests PowerISA 2.07 compatiblity mode with > the "ibm,client-architecture-support" firmware call, but does not > specify a matching real PVR for the host CPU on a POWER8 host, > it ends up in POWER7 / PowerISA 2.06 compatibility mode since QEMU > does not support 2.07 compatibility mode yet. This currently happens > when running a Linux guest on a POWER8NVL host, since Linux guests > do not use the PVR for these CPUs for the "ibm,client-architecture- > support" call yet (but I submitted a patch for the kernel to fix this > issue there last week, so the support should soon be there, too). >=20 > Anyway, QEMU should also support a proper 2.07 compatibility mode > if the host CPU can do it. So this patch series introduces such a > mode and does some clean-ups and other fixes along the way (e.g. > it splits the ambiguous pcr_mask setting into two variables, one > for defining the valid bits in the PCR register, and one for > storing the valid ISA levels). >=20 > Thomas Huth (5): > ppc/spapr: Refactor h_client_architecture_support() CPU parsing code > ppc: Split pcr_mask settings into supported bits and the register mask > ppc: Provide function to get CPU class of the host CPU > ppc: Improve PCR bit selection in ppc_set_compat() > ppc: Add PowerISA 2.07 compatibility mode >=20 > hw/ppc/spapr_hcall.c | 63 +++++++++++++++++++++++++++------------= ------ > target-ppc/cpu-qom.h | 3 ++- > target-ppc/cpu.h | 1 + > target-ppc/kvm.c | 19 ++++++++++---- > target-ppc/kvm_ppc.h | 7 +++++ > target-ppc/translate_init.c | 22 +++++++++++----- > 6 files changed, 78 insertions(+), 37 deletions(-) Applied to ppc-for-2.7, thanks. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --l8yJEXo8J9fv7OFY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXV3C2AAoJEGw4ysog2bOStDQQAOc6sQEVom1ec5y0Na0ZaCri qmnjW6dXqfTauQAg08DxKgJCLX6zLr+rUvG/cKMOGby7dswO63Ms/RXcm2EtX9Uf hUUov9lVg5pb6ar1rBKIaEpzT6kjKflTgY+jLNCB/fsIO8bSPuXGMoweQM9zvWmV PXXZIdpOCfkRGNMrb1u91p7vxDPjSPzoLPRvN6xTTArALlwtViI3lpifxeVaCjHF nRPfD+EHbsqZjuK/BmnpJdtOI4Oj+BgIqXKldZU6GcRqx5L9xqD1dnFFN+zMOvR+ M9XpC8QgcGfQ0rDxv16WoQI9Skk/vj4etaJOa9kRvozcYUWMV4hgSorth5hjgeA4 net1RtQhoA19jOD98L8tBsKkDuTg3MrgICCuzvsW2bwHARYzVHvURACIworIiFet ikcaHuhM9AU5fTRQ2qiqyvr88O+ULdov2olC1W4HzFKqFVuKWPYwIlErTo5uXZ/C jr3/fnWkCgcfy2KMK4Tgj4x5gfvP4EKsDnBnoegiZ7BoIeOCfu/0CwMf8bWxnOlI cskFGh/bi1G3+DTRM0vkJS1pctVx6UGBgpByIzgzLtRz43qdbZA47glliGnVBVP/ 0lFdUQ4G5tcEDBYjdxTxf+dSxbA9dcvJBvBT2m4G/M9RBOI6HttRcBJvvn8HvJ7S oZpNvUPfWU/y5XaDUqad =W4sq -----END PGP SIGNATURE----- --l8yJEXo8J9fv7OFY--