Message ID | 1538127963-15645-12-git-send-email-paulus@ozlabs.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F10C2112B for <patchwork-kvm@patchwork.kernel.org>; Fri, 28 Sep 2018 09:47:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E47232AF40 for <patchwork-kvm@patchwork.kernel.org>; Fri, 28 Sep 2018 09:47:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7C6A2B039; Fri, 28 Sep 2018 09:47:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6461C2AEA3 for <patchwork-kvm@patchwork.kernel.org>; Fri, 28 Sep 2018 09:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729429AbeI1QJy (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Fri, 28 Sep 2018 12:09:54 -0400 Received: from ozlabs.org ([203.11.71.1]:52633 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729291AbeI1QJR (ORCPT <rfc822;kvm@vger.kernel.org>); Fri, 28 Sep 2018 12:09:17 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42M6JD4mgVz9shy; Fri, 28 Sep 2018 19:46:20 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1538127980; bh=fMlrgWNhWs/3Gzl0paaGrzG6ymkQhsuFSbDmN3UQCvI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GMPLQqY0S68zjTUdPn3yFQgrlLYcGGBhA+mqVI0E5OLQZ1nfjrIBupP8GOWxRFIUL bqOTHVdlW7BLg+Iek9E2n5+EXMKNV4wyPYn6k9dA17u/O9C9nhLZBBkOl33MANKxce X50onIZSygJ6X6xEohroKVNpH0vOeJudwZGceaHxk7pgXh4+aQob6cKRaTbQMv8eve frT0Fi9l1+1ar63Biu1jZjfGZ7PGztHdUPiEG8eKEebtPVOcU/7esQ+khr6uphwXCD JhJji48EmVl34MifXiFmoGPB5Cj2v/d2jLVUwJj8gbMpRO8pD3qi0ggkDApKVP7P6D 2uWdcZMCrj9Hw== From: Paul Mackerras <paulus@ozlabs.org> To: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: linuxppc-dev@ozlabs.org, David Gibson <david@gibson.dropbear.id.au> Subject: [PATCH v2 11/33] powerpc: Add LPCR_EVIRT define Date: Fri, 28 Sep 2018 19:45:41 +1000 Message-Id: <1538127963-15645-12-git-send-email-paulus@ozlabs.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538127963-15645-1-git-send-email-paulus@ozlabs.org> References: <1538127963-15645-1-git-send-email-paulus@ozlabs.org> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
KVM: PPC: Book3S HV: Nested HV virtualization
|
expand
|
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index 6fda746..9c42abf 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h @@ -456,6 +456,7 @@ #define LPCR_HVICE ASM_CONST(0x0000000000000002) /* P9: HV interrupt enable */ #define LPCR_HDICE ASM_CONST(0x0000000000000001) /* Hyp Decr enable (HV,PR,EE) */ #define LPCR_UPRT ASM_CONST(0x0000000000400000) /* Use Process Table (ISA 3) */ +#define LPCR_EVIRT ASM_CONST(0x0000000000200000) /* Enhanced Virtualisation */ #define LPCR_HR ASM_CONST(0x0000000000100000) #ifndef SPRN_LPID #define SPRN_LPID 0x13F /* Logical Partition Identifier */