original_kernel/arch/ppc
David Gibson aa1cf632bd [POWERPC] Fix small race in 44x tlbie function
The 440 family of processors don't have a tlbie instruction.  So, we
implement TLB invalidates by explicitly searching the TLB with tlbsx.,
then clobbering the relevant entry, if any.  Unfortunately the PID for
the search needs to be stored in the MMUCR register, which is also
used by the TLB miss handler.  Interrupts were enabled in _tlbie(), so
an interrupt between loading the MMUCR and the tlbsx could cause
incorrect search results, and thus a failure to invalide TLB entries
which needed to be invalidated.

This fixes the problem in both arch/ppc and arch/powerpc by inhibiting
interrupts (even critical and debug interrupts) across the relevant
instructions.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-15 15:12:50 +10:00
..
4xx_io
8xx_io
8260_io
amiga
boot
configs Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
kernel [POWERPC] Fix small race in 44x tlbie function 2007-08-15 15:12:50 +10:00
lib
mm mm: fault feedback #2 2007-07-19 10:04:41 -07:00
platforms serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
syslib [WATCHDOG] mv64x60_wdt: set up platform_device in platform code 2007-07-24 18:56:35 +00:00
xmon
.gitignore
Kconfig
Kconfig.debug
Makefile