From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tHBPj1rVhzDvQr for ; Mon, 14 Nov 2016 11:35:21 +1100 (AEDT) Received: by mail-pf0-x244.google.com with SMTP id 144so5151252pfv.0 for ; Sun, 13 Nov 2016 16:35:21 -0800 (PST) From: Suraj Jitindar Singh To: linuxppc-dev@lists.ozlabs.org Cc: sjitindarsingh@gmail.com, kvm-ppc@vger.kernel.org, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, agraf@suse.com Subject: [PATCH V4 0/2] powerpc: add support for ISA v2.07 compat level Date: Mon, 14 Nov 2016 11:35:06 +1100 Message-Id: <1479083708-11797-1-git-send-email-sjitindarsingh@gmail.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Version v3.00 of the ISA added a new compat level to the processor compatibility register (PCR), an ISA v2.07 compatibility mode. Upstream QEMU already supports this so it may as well go into the kernel now. Change Log: V1 -> V2: - Reworked logic to set and mask the PCR, no functional change V2 -> V3: - Reworked logic again, no functional change V3 -> V4: - Added a comment in the first patch to clarify why a 'dummy' PCR v3.00 value is needed Suraj Jitindar Singh (2): powerpc: Define new ISA v3.00 logical PVR value and PCR register value powerpc/kvm: Update kvmppc_set_arch_compat() for ISA v3.00 arch/powerpc/include/asm/reg.h | 11 +++++++++++ arch/powerpc/kvm/book3s_hv.c | 38 +++++++++++++++++++++++--------------- 2 files changed, 34 insertions(+), 15 deletions(-) -- 2.5.5