]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Disable VPHN polling during a suspend operation
authorJesse Larrew <jlarrew@linux.vnet.ibm.com>
Wed, 1 Dec 2010 12:31:26 +0000 (12:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Dec 2010 04:36:30 +0000 (15:36 +1100)
commit47308f462c4deba5251d536f67c6cbe87e05736b
treee30f3b6449ede133a03a56d8e57a82751ce3dbdc
parent4ee7a70068f3c9164c0447e0074d55e8c0b9bcc8
powerpc: Disable VPHN polling during a suspend operation

Tie the polling mechanism into the ibm,suspend-me rtas call to
stop/restart polling before/after a suspend, hibernate, migrate,
or checkpoint restart operation. This ensures that the system has a
chance to disable the polling if the partition is migrated to a system
that does not support VPHN (and vice versa).

Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/topology.h
arch/powerpc/kernel/rtas.c