]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51d1d4c206d6be017fbb3dc66fbd0c4816b5d6a8
treeab9c8b76e630cb94a41951369e6ffc354d0b91c3
parentdc14e36a3873c3a449dbf087b6ffa9db467fb83a
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