From: Kumar Gala Date: Sat, 13 Dec 2008 23:01:37 +0000 (-0600) Subject: powerpc/fsl-booke: Fix problem with _tlbil_va being interrupted X-Git-Tag: v2.6.28-rc9~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e774d8833de1a0037be2384efccadf16935675;p=pandora-kernel.git powerpc/fsl-booke: Fix problem with _tlbil_va being interrupted An example calling sequence which we did see: copy_user_highpage -> kmap_atomic -> flush_tlb_page -> _tlbil_va We got interrupted after setting up the MAS registers before the tlbwe and the interrupt handler that caused the interrupt also did a kmap_atomic (ide code) and thus on returning from the interrupt the MAS registers no longer contained the proper values. Since we dont save/restore MAS registers for normal interrupts we need to disable interrupts in _tlbil_va to ensure atomicity. Signed-off-by: Kumar Gala --- Reading git-diff-tree failed