commit | 2dd60d79e0202628a47af9812a84d502cc63628c | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jan 20 17:50:21 2011 +1100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 20 11:03:22 2011 +1000 |
tree | 03a114dcb4a8c3b75ec689d372abd331aff5a555 | |
parent | 24cc67de62eebbda3ce0c46bdd56582c00dccd03 [diff] |
powerpc: In HV mode, use HSPRG0 for PACA When running in Hypervisor mode (arch 2.06 or later), we store the PACA in HSPRG0 instead of SPRG1. The architecture specifies that SPRGs may be lost during a "nap" power management operation (though they aren't currently on POWER7) and this enables use of SPRG1 by KVM guests. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>