diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-07-07 16:08:45 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-12 13:07:22 +1000 |
commit | c9100fd244e3fc0b9458488f264546c63623b3a2 (patch) | |
tree | c1ec9c79cf48a0481736c2e82c3bb431a4b37aed /include | |
parent | c0bdf1dac1dd97ed6cbf8008edbcac8dc6e23874 (diff) | |
download | skiboot-c9100fd244e3fc0b9458488f264546c63623b3a2.zip skiboot-c9100fd244e3fc0b9458488f264546c63623b3a2.tar.gz skiboot-c9100fd244e3fc0b9458488f264546c63623b3a2.tar.bz2 |
xive: Properly get rid of donated indirect pages during reset
Otherwise they keep being used accross kexec causing memory
corruption in subsequent kernels once KVM has been used.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xive.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xive.h b/include/xive.h index bddb99c..54b75d8 100644 --- a/include/xive.h +++ b/include/xive.h @@ -109,6 +109,13 @@ #define PC_VSD_TABLE_ADDR 0x488 #define X_PC_VSD_TABLE_DATA 0x112 #define PC_VSD_TABLE_DATA 0x490 +#define X_PC_AT_KILL 0x116 +#define PC_AT_KILL 0x4b0 +#define PC_AT_KILL_VALID PPC_BIT(0) +#define PC_AT_KILL_BLOCK_ID PPC_BITMASK(27,31) +#define PC_AT_KILL_OFFSET PPC_BITMASK(48,60) +#define X_PC_AT_KILL_MASK 0x117 +#define PC_AT_KILL_MASK 0x4b8 /* PC LBS2 register offsets */ #define X_PC_VPC_CACHE_ENABLE 0x161 |