linux-uconsole/arch/mips/include/asm
Maciej W. Rozycki 3b143cca6e MIPS: traps: Correct the SIGTRAP debug ABI in do_watch' and do_trap_or_bp'
Follow our own rules set in <asm/siginfo.h> for SIGTRAP signals issued
from `do_watch' and `do_trap_or_bp' by setting the signal code to
TRAP_HWBKPT and TRAP_BRKPT respectively, for Watch exceptions and for
those Breakpoint exceptions whose originating BREAK instruction's code
does not have a special meaning.  Keep Trap exceptions unaffected as
these are not debug events.

No existing user software is expected to examine signal codes for these
signals as SI_KERNEL has been always used here.  This change makes the
MIPS port more like other Linux ports, which reduces the complexity and
provides for performance improvement in GDB.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: Pedro Alves <palves@redhat.com>
Cc: Luis Machado <lgustavo@codesourcery.com>
Cc: linux-mips@linux-mips.org
Cc: gdb@sourceware.org
Patchwork: https://patchwork.linux-mips.org/patch/12758/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-04-03 12:32:09 +02:00
..
dec
emma
fw MIPS: Malta: Remove fw_memblock_t abstraction 2015-11-11 08:35:45 +01:00
ip32
lasat
mach-ar7
mach-ath25
mach-ath79 irqchip/ath79-cpu: Move the CPU IRQ driver from arch/mips/ath79/ 2016-02-17 13:47:19 +00:00
mach-au1x00
mach-bcm47xx MIPS: BCM47xx: Fetch board info directly in callback function 2015-11-11 08:36:57 +01:00
mach-bcm63xx Revert "MIPS: bcm63xx: nvram: Remove unused bcm63xx_nvram_get_psi_size() function" 2016-01-27 20:51:50 +01:00
mach-bmips
mach-cavium-octeon MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
mach-cobalt
mach-db1x00
mach-dec
mach-emma2rh
mach-generic MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
mach-ip22
mach-ip27 MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
mach-ip28
mach-ip32
mach-jazz
mach-jz4740 MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
mach-lantiq MIPS: Lantiq: Add support for xRX220 SoC 2015-11-11 08:37:31 +01:00
mach-lasat
mach-loongson32
mach-loongson64
mach-malta MIPS: Malta: Setup RAM regions via DT 2015-11-11 08:35:47 +01:00
mach-netlogic
mach-paravirt
mach-pic32 MIPS: Add support for PIC32MZDA platform 2016-01-24 02:53:28 +01:00
mach-pistachio
mach-pmcs-msp71xx
mach-pnx833x
mach-ralink MIPS: ralink: add MT7621 support 2016-01-20 00:39:20 +01:00
mach-rc32434
mach-rm
mach-sead3
mach-sibyte
mach-tx39xx
mach-tx49xx
mach-vr41xx
mach-xilfpga MIPS: xilfpga: Add mipsfpga platform code 2015-11-11 08:38:44 +01:00
mips-boards
netlogic genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
octeon MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
pci MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
sgi MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
sibyte
sn MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
txx9
vr41xx
xtalk
abi.h MIPS: Initial implementation of a VDSO 2015-11-11 08:36:36 +01:00
addrspace.h
amon.h
arch_hweight.h
asm-eva.h
asm-offsets.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-11-15 09:10:53 -08:00
barrier.h mips: define __smp_xxx 2016-01-12 20:46:56 +02:00
bcache.h MIPS: Introduce API for enabling & disabling L2 prefetch 2015-10-26 09:49:41 +01:00
bitops.h
bmips-spaces.h
bmips.h
bootinfo.h
branch.h
break.h
bug.h
bugs.h
cache.h
cacheflush.h
cacheops.h MIPS: Break down cacheops.h definitions 2016-01-24 03:29:58 +01:00
cdmm.h MIPS: CDMM: Add builtin_mips_cdmm_driver() macro 2015-11-05 11:15:41 +01:00
cevt-r4k.h
checksum.h ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short 2016-03-13 23:55:13 -04:00
clkdev.h
clock.h
clocksource.h MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() 2015-11-11 08:36:41 +01:00
cmp.h
cmpxchg.h
compat-signal.h
compat.h MIPS: Clean up compat_siginfo_t 2015-11-12 11:35:47 +01:00
compiler.h
cop2.h
cpu-features.h MIPS: Define the legacy-NaN and 2008-NaN features 2016-01-20 00:39:20 +01:00
cpu-info.h MIPS: cpu_name_string: Use raw_smp_processor_id(). 2016-03-29 23:56:36 +02:00
cpu-type.h
cpu.h MIPS: Define the legacy-NaN and 2008-NaN features 2016-01-20 00:39:20 +01:00
debug.h MIPS: Declare mips_debugfs_dir in a header 2015-10-26 09:49:42 +01:00
delay.h
device.h
div64.h
dma-coherence.h
dma-mapping.h dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
dma.h
ds1287.h
dsp.h
edac.h
elf.h mips: Differentiate between 32 and 64 bit ELF header 2016-02-11 11:38:22 +01:00
errno.h
eva.h
exec.h
fb.h
fixmap.h
floppy.h
fpregdef.h
fpu.h MIPS: Fix FPU disable with preemption 2016-02-01 23:36:38 +01:00
fpu_emulator.h MIPS: math-emu: Make microMIPS branch delay slot emulation work 2016-01-24 01:35:46 +01:00
ftrace.h
futex.h
gio_device.h
gt64120.h
hardirq.h
hazards.h
highmem.h kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
hpet.h
hugetlb.h
hw_irq.h
i8259.h
ide.h
idle.h
inst.h
io.h MIPS: io.h: Define `ioremap_cache' 2016-01-24 01:44:21 +01:00
irq.h
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h MIPS: Cleanup the unused __arch_local_irq_restore() function 2016-01-22 01:58:49 +01:00
isadep.h
jazz.h
jazzdma.h
jump_label.h
Kbuild Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2015-10-04 16:31:13 +01:00
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
kvm_host.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2016-01-24 12:50:56 -08:00
kvm_para.h
linkage.h
local.h
m48t37.h
maar.h MIPS: Initialise MAARs on secondary CPUs 2015-09-27 14:15:26 +02:00
mc146818-time.h
mc146818rtc.h
mips-cm.h MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
mips-cpc.h MIPS: CM: make use of mips_cm_{lock,unlock}_other 2015-11-11 08:35:17 +01:00
mips-r2-to-r6-emul.h MIPS: traps: Correct the SIGTRAP debug ABI in do_watch' and do_trap_or_bp' 2016-04-03 12:32:09 +02:00
mips_machine.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: Update trap codes 2016-01-24 03:20:46 +01:00
mmu.h
mmu_context.h
mmzone.h
module.h
msa.h
msc01_ic.h
nile4.h
paccess.h
page.h Revert "MIPS: Fix PAGE_MASK definition" 2016-01-23 00:28:57 +01:00
pci.h PCI: Move pci_dma_* helpers to common code 2016-03-07 10:40:02 -06:00
perf_event.h
pgalloc.h
pgtable-32.h
pgtable-64.h
pgtable-bits.h mips, thp: remove infrastructure for handling splitting PMDs 2016-01-15 17:56:32 -08:00
pgtable.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2016-01-24 12:50:56 -08:00
pm-cps.h
pm.h
pmon.h
prefetch.h
processor.h MIPS: Fix 64k page support for 32 bit kernels. 2016-02-04 01:24:40 +01:00
prom.h
ptrace.h
r4k-timer.h
r4kcache.h
reboot.h
reg.h
regdef.h
rtlx.h
seccomp.h
setup.h
sgialib.h
sgiarcs.h MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
shmparam.h
sigcontext.h
signal.h
sim.h
smp-cps.h
smp-ops.h MIPS: Make smp CMP, CPS and MT use the new generic IPI functions 2016-02-25 10:56:58 +01:00
smp.h
sni.h
socket.h
sparsemem.h
spinlock.h
spinlock_types.h
spram.h
stackframe.h MIPS: Fix FPU disable with preemption 2016-02-01 23:36:38 +01:00
stackprotector.h
stacktrace.h
string.h
switch_to.h MIPS: Tidy up FPU context switching 2015-09-03 12:08:05 +02:00
syscall.h MIPS: Fix buffer overflow in syscall_get_arguments() 2016-02-01 23:27:08 +01:00
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbdebug.h
tlbflush.h
tlbmisc.h
topology.h
traps.h
txx9irq.h
txx9pio.h
txx9tmr.h
types.h
uaccess.h MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
uasm.h
unaligned.h
unistd.h
uprobes.h
vdso.h MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() 2015-11-11 08:36:41 +01:00
vga.h
vpe.h
war.h
watch.h
wbflush.h