From: Suzuki Poulose Date: Sun, 15 Apr 2012 21:48:21 +0000 (+0000) Subject: powerpc/44x: Fix/Initialize PID to kernel PID before the TLB search X-Git-Tag: v3.5-rc1~132^2~23^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f13bfcc6961a5c9f511c401292db522edcd0b061;p=pandora-kernel.git 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 Cc: Josh Boyer Signed-off-by: Josh Boyer --- Reading git-diff-tree failed