diff options
author | Suzuki Poulose <suzuki@in.ibm.com> | 2012-04-15 23:48:21 +0200 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2012-05-03 14:37:36 +0200 |
commit | f13bfcc6961a5c9f511c401292db522edcd0b061 (patch) | |
tree | 155e83bebe453ddac859a7b542e98ecc0f3f2a52 /Documentation/power | |
parent | powerpc: Remove old powerpc specific ptrace getregs/setregs calls (diff) | |
download | linux-f13bfcc6961a5c9f511c401292db522edcd0b061.tar.xz linux-f13bfcc6961a5c9f511c401292db522edcd0b061.zip |
powerpc/44x: Fix/Initialize PID to kernel PID before the TLB search
Initialize the PID register with kernel pid (0) before we start
setting the TLB mapping for KEXEC. Also set the MMUCR[TID] to kernel
PID.
This was spotted while testing the kexec on ISS for 47x. ISS doesn't
return a successful tlbsx for a kernel address with PID set to a user PID.
Though the hardware/qemu/simics work fine.
This patch is harmless and initializes the PID to 0 (kernel PID) which
is usually the case during a normal kernel boot. This would fix the kexec
on ISS for 440. I have tested this patch on sequoia board.
Signed-off-by: Suzuki K Poulose <suzuki@in.ibm.com>
Cc: Josh Boyer <jwboyer@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions