Patchwork [1/2] linux-headers: POWER8 partial update

login
register
mail settings
Submitter Greg Kurz
Date Oct. 7, 2013, 3:23 p.m.
Message ID <20131007152335.26996.61260.stgit@bahia.local>
Download mbox | patch
Permalink /patch/281132/
State New
Headers show

Comments

Greg Kurz - Oct. 7, 2013, 3:23 p.m.
Add definition for KVM_REG_PPC_LPCR, taken from:

https://github.com/agraf/linux-2.6/commit/1a87967d4c

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
---
 linux-headers/asm-powerpc/kvm.h |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/linux-headers/asm-powerpc/kvm.h b/linux-headers/asm-powerpc/kvm.h
index 0fb1a6e..bb5b4ce 100644
--- a/linux-headers/asm-powerpc/kvm.h
+++ b/linux-headers/asm-powerpc/kvm.h
@@ -499,6 +499,9 @@  struct kvm_get_htab_header {
 #define KVM_REG_PPC_TLB3PS	(KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9a)
 #define KVM_REG_PPC_EPTCFG	(KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9b)
 
+/* POWER8 registers */
+#define KVM_REG_PPC_LPCR        (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb5)
+
 /* PPC64 eXternal Interrupt Controller Specification */
 #define KVM_DEV_XICS_GRP_SOURCES	1	/* 64-bit source attributes */