diff options
author | 2016-11-29 14:26:55 +0100 | |
---|---|---|
committer | 2016-11-29 14:26:55 +0100 | |
commit | ffcb09f27f46ea21305c7846de1fd3b76e4e6a6f (patch) | |
tree | 7c0e2b94dfd54811714ad06705bf80df39a1f4e5 /arch/powerpc/include/asm/mmu.h | |
parent | Merge tag 'kvm-s390-next-4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux (diff) | |
parent | KVM: Add halt polling documentation (diff) | |
download | wireguard-linux-ffcb09f27f46ea21305c7846de1fd3b76e4e6a6f.tar.xz wireguard-linux-ffcb09f27f46ea21305c7846de1fd3b76e4e6a6f.zip |
Merge branch 'kvm-ppc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
PPC KVM update for 4.10:
* Support for KVM guests on POWER9 using the hashed page table MMU.
* Updates and improvements to the halt-polling support on PPC, from
Suraj Jitindar Singh.
* An optimization to speed up emulated MMIO, from Yongji Xie.
* Various other minor cleanups.
Diffstat (limited to '')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index e88368354e49..060b40b1bc3d 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -208,6 +208,11 @@ extern u64 ppc64_rma_size; /* Cleanup function used by kexec */ extern void mmu_cleanup_all(void); extern void radix__mmu_cleanup_all(void); + +/* Functions for creating and updating partition table on POWER9 */ +extern void mmu_partition_table_init(void); +extern void mmu_partition_table_set_entry(unsigned int lpid, unsigned long dw0, + unsigned long dw1); #endif /* CONFIG_PPC64 */ struct mm_struct; |