diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-30 08:51:40 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-30 08:51:40 -0400 |
commit | 53ea2e462e1b5b898d244bb113993df709107e32 (patch) | |
tree | 6ed864c3915eb9f2595e9103926bb94c3e92e1c8 /Documentation/virtual | |
parent | ee1a725f449d6e631405755f16f3c60c49e8fec5 (diff) | |
parent | d8d164a9850d486cc48081c18831680254688d0f (diff) |
Merge tag 'signed-kvm-ppc-next' of git://github.com/agraf/linux-2.6 into kvm-next
Patch queue for ppc - 2014-05-30
In this round we have a few nice gems. PR KVM gains initial POWER8 support
as well as LE host awareness, ihe e500 targets can now properly run u-boot,
LE guests now work with PR KVM including KVM hypercalls and HV KVM guests
can now use huge pages.
On top of this there are some bug fixes.
Conflicts:
include/uapi/linux/kvm.h
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 6 | ||||
-rw-r--r-- | Documentation/virtual/kvm/ppc-pv.txt | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index cac0ba127576..6ff3a7742989 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -1794,6 +1794,11 @@ registers, find a list below: | |||
1794 | PPC | KVM_REG_PPC_MMCR0 | 64 | 1794 | PPC | KVM_REG_PPC_MMCR0 | 64 |
1795 | PPC | KVM_REG_PPC_MMCR1 | 64 | 1795 | PPC | KVM_REG_PPC_MMCR1 | 64 |
1796 | PPC | KVM_REG_PPC_MMCRA | 64 | 1796 | PPC | KVM_REG_PPC_MMCRA | 64 |
1797 | PPC | KVM_REG_PPC_MMCR2 | 64 | ||
1798 | PPC | KVM_REG_PPC_MMCRS | 64 | ||
1799 | PPC | KVM_REG_PPC_SIAR | 64 | ||
1800 | PPC | KVM_REG_PPC_SDAR | 64 | ||
1801 | PPC | KVM_REG_PPC_SIER | 64 | ||
1797 | PPC | KVM_REG_PPC_PMC1 | 32 | 1802 | PPC | KVM_REG_PPC_PMC1 | 32 |
1798 | PPC | KVM_REG_PPC_PMC2 | 32 | 1803 | PPC | KVM_REG_PPC_PMC2 | 32 |
1799 | PPC | KVM_REG_PPC_PMC3 | 32 | 1804 | PPC | KVM_REG_PPC_PMC3 | 32 |
@@ -1868,6 +1873,7 @@ registers, find a list below: | |||
1868 | PPC | KVM_REG_PPC_PPR | 64 | 1873 | PPC | KVM_REG_PPC_PPR | 64 |
1869 | PPC | KVM_REG_PPC_ARCH_COMPAT 32 | 1874 | PPC | KVM_REG_PPC_ARCH_COMPAT 32 |
1870 | PPC | KVM_REG_PPC_DABRX | 32 | 1875 | PPC | KVM_REG_PPC_DABRX | 32 |
1876 | PPC | KVM_REG_PPC_WORT | 64 | ||
1871 | PPC | KVM_REG_PPC_TM_GPR0 | 64 | 1877 | PPC | KVM_REG_PPC_TM_GPR0 | 64 |
1872 | ... | 1878 | ... |
1873 | PPC | KVM_REG_PPC_TM_GPR31 | 64 | 1879 | PPC | KVM_REG_PPC_TM_GPR31 | 64 |
diff --git a/Documentation/virtual/kvm/ppc-pv.txt b/Documentation/virtual/kvm/ppc-pv.txt index 4643cde517c4..319560646f32 100644 --- a/Documentation/virtual/kvm/ppc-pv.txt +++ b/Documentation/virtual/kvm/ppc-pv.txt | |||
@@ -94,10 +94,24 @@ a bitmap of available features inside the magic page. | |||
94 | The following enhancements to the magic page are currently available: | 94 | The following enhancements to the magic page are currently available: |
95 | 95 | ||
96 | KVM_MAGIC_FEAT_SR Maps SR registers r/w in the magic page | 96 | KVM_MAGIC_FEAT_SR Maps SR registers r/w in the magic page |
97 | KVM_MAGIC_FEAT_MAS0_TO_SPRG7 Maps MASn, ESR, PIR and high SPRGs | ||
97 | 98 | ||
98 | For enhanced features in the magic page, please check for the existence of the | 99 | For enhanced features in the magic page, please check for the existence of the |
99 | feature before using them! | 100 | feature before using them! |
100 | 101 | ||
102 | Magic page flags | ||
103 | ================ | ||
104 | |||
105 | In addition to features that indicate whether a host is capable of a particular | ||
106 | feature we also have a channel for a guest to tell the guest whether it's capable | ||
107 | of something. This is what we call "flags". | ||
108 | |||
109 | Flags are passed to the host in the low 12 bits of the Effective Address. | ||
110 | |||
111 | The following flags are currently available for a guest to expose: | ||
112 | |||
113 | MAGIC_PAGE_FLAG_NOT_MAPPED_NX Guest handles NX bits correclty wrt magic page | ||
114 | |||
101 | MSR bits | 115 | MSR bits |
102 | ======== | 116 | ======== |
103 | 117 | ||