Revision e06a1548f3043febb658b58ec5ccbc7d03a785af authored by James Hogan on 11 May 2016, 12:50:51 UTC, committed by Ralf Baechle on 13 May 2016, 13:30:25 UTC
The optional CP0_BadInstr and CP0_BadInstrP registers are written with the encoding of the instruction that caused a synchronous exception to occur, and the prior branch instruction if in a delay slot. These will be useful for instruction emulation in KVM, and especially for VZ support where reading guest virtual memory is a bit more awkward. Add CPU option numbers and cpu_has_* definitions to indicate the presence of each registers, and add code to probe for them using bits in the CP0_Config3 register. [ralf@linux-mips.org: resolve merge conflict.] Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/13224/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 37fb60f
File | Mode | Size |
---|---|---|
kasan | ||
Kconfig | -rw-r--r-- | 22.4 KB |
Kconfig.debug | -rw-r--r-- | 3.7 KB |
Makefile | -rw-r--r-- | 3.3 KB |
backing-dev.c | -rw-r--r-- | 26.4 KB |
balloon_compaction.c | -rw-r--r-- | 6.6 KB |
bootmem.c | -rw-r--r-- | 21.0 KB |
cleancache.c | -rw-r--r-- | 9.9 KB |
cma.c | -rw-r--r-- | 12.1 KB |
cma.h | -rw-r--r-- | 515 bytes |
cma_debug.c | -rw-r--r-- | 4.4 KB |
compaction.c | -rw-r--r-- | 52.7 KB |
debug.c | -rw-r--r-- | 4.0 KB |
debug_page_ref.c | -rw-r--r-- | 1.3 KB |
dmapool.c | -rw-r--r-- | 13.8 KB |
early_ioremap.c | -rw-r--r-- | 6.2 KB |
fadvise.c | -rw-r--r-- | 3.7 KB |
failslab.c | -rw-r--r-- | 1.4 KB |
filemap.c | -rw-r--r-- | 75.2 KB |
frame_vector.c | -rw-r--r-- | 6.2 KB |
frontswap.c | -rw-r--r-- | 14.3 KB |
gup.c | -rw-r--r-- | 42.4 KB |
highmem.c | -rw-r--r-- | 11.8 KB |
huge_memory.c | -rw-r--r-- | 90.5 KB |
hugetlb.c | -rw-r--r-- | 117.8 KB |
hugetlb_cgroup.c | -rw-r--r-- | 10.5 KB |
hwpoison-inject.c | -rw-r--r-- | 3.2 KB |
init-mm.c | -rw-r--r-- | 619 bytes |
internal.h | -rw-r--r-- | 15.0 KB |
interval_tree.c | -rw-r--r-- | 3.1 KB |
kmemcheck.c | -rw-r--r-- | 2.9 KB |
kmemleak-test.c | -rw-r--r-- | 3.2 KB |
kmemleak.c | -rw-r--r-- | 54.5 KB |
ksm.c | -rw-r--r-- | 63.1 KB |
list_lru.c | -rw-r--r-- | 12.6 KB |
maccess.c | -rw-r--r-- | 3.1 KB |
madvise.c | -rw-r--r-- | 19.4 KB |
memblock.c | -rw-r--r-- | 48.5 KB |
memcontrol.c | -rw-r--r-- | 150.8 KB |
memory-failure.c | -rw-r--r-- | 48.9 KB |
memory.c | -rw-r--r-- | 107.3 KB |
memory_hotplug.c | -rw-r--r-- | 53.7 KB |
mempolicy.c | -rw-r--r-- | 71.2 KB |
mempool.c | -rw-r--r-- | 14.4 KB |
memtest.c | -rw-r--r-- | 2.7 KB |
migrate.c | -rw-r--r-- | 48.2 KB |
mincore.c | -rw-r--r-- | 6.6 KB |
mlock.c | -rw-r--r-- | 21.0 KB |
mm_init.c | -rw-r--r-- | 4.8 KB |
mmap.c | -rw-r--r-- | 88.5 KB |
mmu_context.c | -rw-r--r-- | 1.3 KB |
mmu_notifier.c | -rw-r--r-- | 11.7 KB |
mmzone.c | -rw-r--r-- | 2.4 KB |
mprotect.c | -rw-r--r-- | 11.2 KB |
mremap.c | -rw-r--r-- | 15.1 KB |
msync.c | -rw-r--r-- | 2.6 KB |
nobootmem.c | -rw-r--r-- | 11.1 KB |
nommu.c | -rw-r--r-- | 48.5 KB |
oom_kill.c | -rw-r--r-- | 25.2 KB |
page-writeback.c | -rw-r--r-- | 83.6 KB |
page_alloc.c | -rw-r--r-- | 197.6 KB |
page_counter.c | -rw-r--r-- | 4.8 KB |
page_ext.c | -rw-r--r-- | 10.7 KB |
page_idle.c | -rw-r--r-- | 5.4 KB |
page_io.c | -rw-r--r-- | 9.3 KB |
page_isolation.c | -rw-r--r-- | 8.4 KB |
page_owner.c | -rw-r--r-- | 8.9 KB |
page_poison.c | -rw-r--r-- | 3.5 KB |
pagewalk.c | -rw-r--r-- | 7.5 KB |
percpu-km.c | -rw-r--r-- | 2.8 KB |
percpu-vm.c | -rw-r--r-- | 10.0 KB |
percpu.c | -rw-r--r-- | 65.8 KB |
pgtable-generic.c | -rw-r--r-- | 4.8 KB |
process_vm_access.c | -rw-r--r-- | 9.9 KB |
quicklist.c | -rw-r--r-- | 2.4 KB |
readahead.c | -rw-r--r-- | 15.3 KB |
rmap.c | -rw-r--r-- | 50.2 KB |
shmem.c | -rw-r--r-- | 90.3 KB |
slab.c | -rw-r--r-- | 107.5 KB |
slab.h | -rw-r--r-- | 12.6 KB |
slab_common.c | -rw-r--r-- | 30.1 KB |
slob.c | -rw-r--r-- | 16.0 KB |
slub.c | -rw-r--r-- | 133.8 KB |
sparse-vmemmap.c | -rw-r--r-- | 7.8 KB |
sparse.c | -rw-r--r-- | 20.8 KB |
swap.c | -rw-r--r-- | 26.2 KB |
swap_cgroup.c | -rw-r--r-- | 4.6 KB |
swap_state.c | -rw-r--r-- | 13.1 KB |
swapfile.c | -rw-r--r-- | 77.4 KB |
truncate.c | -rw-r--r-- | 23.6 KB |
userfaultfd.c | -rw-r--r-- | 7.2 KB |
util.c | -rw-r--r-- | 15.0 KB |
vmacache.c | -rw-r--r-- | 3.1 KB |
vmalloc.c | -rw-r--r-- | 68.0 KB |
vmpressure.c | -rw-r--r-- | 12.5 KB |
vmscan.c | -rw-r--r-- | 110.1 KB |
vmstat.c | -rw-r--r-- | 42.3 KB |
workingset.c | -rw-r--r-- | 17.0 KB |
zbud.c | -rw-r--r-- | 18.2 KB |
zpool.c | -rw-r--r-- | 10.0 KB |
zsmalloc.c | -rw-r--r-- | 48.4 KB |
zswap.c | -rw-r--r-- | 32.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...