linux/arch/parisc/include/asm
John David Anglin e8d8fc219f parisc: Ensure volatile space register %sr1 is not clobbered
I still see the occasional random segv on rp3440.  Looking at one of
these (a code 15), it appeared the problem must be with the cache
handling of anonymous pages.  Reviewing this, I noticed that the space
register %sr1 might be being clobbered when we flush an anonymous page.

Register %sr1 is used for TLB purges in a couple of places.  These
purges are needed on PA8800 and PA8900 processors to ensure cache
consistency of flushed cache lines.

The solution here is simply to move the %sr1 load into the TLB lock
region needed to ensure that one purge executes at a time on SMP
systems.  This was already the case for one use.  After a few days of
operation, I haven't had a random segv on my rp3440.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: <stable@vger.kernel.org> # 3.10
Signed-off-by: Helge Deller <deller@gmx.de>
2013-07-09 22:09:22 +02:00
..
Kbuild
agp.h
asm-offsets.h
asmregs.h
assembly.h parisc: make interrupt and interruption stack allocation reentrant 2013-05-24 22:35:36 +02:00
atomic.h parisc: implement atomic64_dec_if_positive() 2013-05-06 23:10:04 +02:00
barrier.h
bitops.h
bug.h
bugs.h
cache.h
cacheflush.h parisc: Change kunmap macro to static inline function 2013-04-25 22:36:31 +02:00
checksum.h
cmpxchg.h
compat.h parisc: convert msgrcv and msgsnd syscalls to use compat layer 2013-02-20 22:56:50 +01:00
compat_ucontext.h
current.h
delay.h
dma-mapping.h parisc: Provide default implementation for dma_{alloc, free}_attrs 2013-05-06 22:29:09 +02:00
dma.h
eisa_bus.h
eisa_eeprom.h
elf.h parisc: fix personality on 32bit kernel 2013-02-20 22:55:26 +01:00
fb.h
fixmap.h
floppy.h parisc: remove IRQF_DISABLED 2013-02-20 22:50:26 +01:00
ftrace.h
futex.h
grfioctl.h
hardirq.h parisc: fix irq stack on UP and SMP 2013-05-24 23:29:01 +02:00
hardware.h
ide.h
io.h
irq.h
irqflags.h
kbdleds.h
kmap_types.h
ldcw.h
led.h
linkage.h
machdep.h
mc146818rtc.h
mckinley.h
mmu.h
mmu_context.h
mmzone.h parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50 (part 2) 2013-06-18 20:20:21 +02:00
module.h
page.h
parisc-device.h
parport.h
pci.h parisc: provide pci_mmap_page_range() for parisc 2013-06-18 20:29:08 +02:00
pdc.h
pdc_chassis.h
pdcpat.h
perf.h
perf_event.h
pgalloc.h
pgtable.h consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
prefetch.h
processor.h parisc: fix irq stack on UP and SMP 2013-05-24 23:29:01 +02:00
psw.h
ptrace.h
ropes.h
rt_sigframe.h
rtc.h
runway.h
scatterlist.h
sections.h
serial.h
shmparam.h
signal.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-02-23 18:50:11 -08:00
smp.h
special_insns.h parisc: optimize mtsp(0,sr) inline assembly 2013-07-09 22:09:21 +02:00
spinlock.h
spinlock_types.h
string.h
superio.h
switch_to.h
syscall.h
termios.h
thread_info.h parisc: add kernel stack overflow check 2013-05-07 21:34:07 +02:00
timex.h
tlb.h
tlbflush.h parisc: Ensure volatile space register %sr1 is not clobbered 2013-07-09 22:09:22 +02:00
traps.h
uaccess.h parisc: uaccess: fix compiler warnings caused by __put_user casting 2013-04-25 22:36:42 +02:00
ucontext.h
unaligned.h
unistd.h consolidate cond_syscall and SYSCALL_ALIAS declarations 2013-03-03 22:55:19 -05:00
unwind.h