]> 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)
commit225e403714b9ce9f34a977d7480abbdefd6f6e11
treeab9c8b76e630cb94a41951369e6ffc354d0b91c3
parentd10b017a2dd2d7a968699741e867be72bc60e941
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