powerpc/pseries: Add page coalescing support
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 4 May 2011 06:01:20 +0000 (16:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 06:02:21 +0000 (16:02 +1000)
commit9ee820fa005254dfc816330f6654f14dcb2beee1
tree1d36b17ec6a4c56dd24f9be2f7f31e6321040ed0
parent7707e4110e5692fe85e7e6c471c9bb2a9254d313
powerpc/pseries: Add page coalescing support

Adds support for page coalescing, which is a feature on IBM Power servers
which allows for coalescing identical pages between logical partitions.
Hint text pages as coalesce candidates, since they are the most likely
pages to be able to be coalesced between partitions. This patch also
exports some page coalescing statistics available from firmware via
lparcfg.

[BenH: Moved a couple of things around to fix compile problems]

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/pSeries_reconfig.h
arch/powerpc/kernel/lparcfg.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/rtas.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c