powerpc: Set up LPCR for running guest partitions
authorPaul Mackerras <paulus@samba.org>
Wed, 29 Jun 2011 00:20:24 +0000 (00:20 +0000)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:52 +0000 (13:16 +0300)
commit923c53caea446d246949c94703be83e68f251af7
treeab9c8b76e630cb94a41951369e6ffc354d0b91c3
parentdf6909e5d52f67be01862c5cb453e509aee661f1
powerpc: Set up LPCR for running guest partitions

In hypervisor mode, the LPCR controls several aspects of guest
partitions, including virtual partition memory mode, and also controls
whether the hypervisor decrementer interrupts are enabled.  This sets
up LPCR at boot time so that guest partitions will use a virtual real
memory area (VRMA) composed of 16MB large pages, and hypervisor
decrementer interrupts are disabled.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/cpu_setup_power7.S