OpenCloudOS-Kernel/arch/tile/kernel
Chris Metcalf 70d2b5958a tile: improve illegal translation interrupt handling
First, don't re-enable interrupts blindly in the Linux trap handler.
We already handle page faults this way; synchronous interrupts like
ILL_TRANS will fire even when interrupts are disabled, and we don't
want to re-enable interrupts in that case.

For ILL_TRANS, we now pass the ILL_VA_PC reason into the trap handler
so we can report it properly; this is the address that caused the
illegal translation trap.  We print the address as part of the
pr_alert() message now if it's coming from the kernel.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-08-13 16:26:13 -04:00
..
Makefile tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
asm-offsets.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
backtrace.c arch/tile: big-endian: properly bswap instruction bundles when backtracing 2012-06-18 13:11:21 -04:00
compat.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-05-01 07:21:43 -07:00
compat_signal.c tile: switch to generic compat rt_sigaction() 2013-02-03 18:16:22 -05:00
early_printk.c tile: various console improvements 2013-08-12 14:46:18 -04:00
entry.S tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE 2012-10-20 13:13:29 -04:00
futex_64.S arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
hardwall.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
head_32.S tile: convert uses of "inv" to "finv" 2013-07-31 11:51:19 -04:00
head_64.S tile: improve big-endian support 2013-08-13 16:26:05 -04:00
hvglue.lds tile: various console improvements 2013-08-12 14:46:18 -04:00
intvec_32.S tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
intvec_64.S tile: improve illegal translation interrupt handling 2013-08-13 16:26:13 -04:00
irq.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
machine_kexec.c arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
messaging.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci-dma.c tile PCI DMA: fix bug in non-page-aligned accessors 2013-08-06 12:56:04 -04:00
pci.c tile PCI RC: support pci=off boot arg for tilepro 2013-08-05 16:12:57 -04:00
pci_gx.c tile PCI RC: reduce driver's vmalloc space usage 2013-08-06 12:56:12 -04:00
proc.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
process.c tile: make register dumps more readable 2013-08-13 16:26:09 -04:00
ptrace.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
reboot.c tile: various console improvements 2013-08-12 14:46:18 -04:00
regs_32.S Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
regs_64.S Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
relocate_kernel_32.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
relocate_kernel_64.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
setup.c tile: support "memmap" boot parameter 2013-08-12 14:46:43 -04:00
signal.c tile: switch to generic sigaltstack 2013-02-03 18:16:21 -05:00
single_step.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
smp.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
smpboot.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
stack.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
sys.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
sysfs.c arch/tile: allow querying cpu module information from the hypervisor 2012-05-25 12:48:28 -04:00
tile-desc_32.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
tile-desc_64.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
time.c tile: ns2cycles should use __raw_get_cpu_var 2013-03-26 13:52:16 -04:00
tlb.c arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
traps.c tile: improve illegal translation interrupt handling 2013-08-13 16:26:13 -04:00
unaligned.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
usb.c usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
vmlinux.lds.S tile: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00