diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-06 09:13:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-06 09:13:11 -0400 |
commit | 4305f42401b29e2e024bd064618faf25aef5cb69 (patch) | |
tree | 1bc924cfa60c9efbb21e07c1d834f495301cffc8 /arch/mips/kernel/mips-r2-to-r6-emul.c | |
parent | db8262787e82b5c0fa57bd9d676add187519a751 (diff) | |
parent | 4a89cf810130fde41e3fc729e770cb1a5a87d245 (diff) |
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle:
"This is the main pull request for MIPS for 4.8. Also includes is a
minor SSB cleanup as SSB code traditionally is merged through the MIPS
tree:
ATH25:
- MIPS: Add default configuration for ath25
Boot:
- For zboot, copy appended dtb to the end of the kernel
- store the appended dtb address in a variable
BPF:
- Fix off by one error in offset allocation
Cobalt code:
- Fix typos
Core code:
- debugfs_create_file returns NULL on error, so don't use IS_ERR for
testing for errors.
- Fix double locking issue in RM7000 S-cache code. This would only
affect RM7000 ARC systems on reboot.
- Fix page table corruption on THP permission changes.
- Use compat_sys_keyctl for 32 bit userspace on 64 bit kernels.
David says, there are no compatibility issues raised by this fix.
- Move some signal code around.
- Rewrite r4k count/compare clockevent device registration such that
min_delta_ticks/max_delta_ticks files are guaranteed to be
initialized.
- Only register r4k count/compare as clockevent device if we can
assume the clock to be constant.
- Fix MSA asm warnings in control reg accessors
- uasm and tlbex fixes and tweaking.
- Print segment physical address when EU=1.
- Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO.
- CP: Allow booting by VP other than VP 0
- Cache handling fixes and optimizations for r4k class caches
- Add hotplug support for R6 processors
- Cleanup hotplug bits in kconfig
- traps: return correct si code for accessing nonmapped addresses
- Remove cpu_has_safe_index_cacheops
Lantiq:
- Register IRQ handler for virtual IRQ number
- Fix EIU interrupt loading code
- Use the real EXIN count
- Fix build error.
Loongson 3:
- Increase HPET_MIN_PROG_DELTA and decrease HPET_MIN_CYCLES
Octeon:
- Delete built-in DTB pruning code for D-Link DSR-1000N.
- Clean up GPIO definitions in dlink_dsr-1000n.dts.
- Add more LEDs to the DSR-100n DTS
- Fix off by one in octeon_irq_gpio_map()
- Typo fixes
- Enable SATA by default in cavium_octeon_defconfig
- Support readq/writeq()
- Remove forced mappings of USB interrupts.
- Ensure DMA descriptors are always in the low 4GB
- Improve USB reset code for OCTEON II.
Pistachio:
- Add maintainers entry for pistachio SoC Support
- Remove plat_setup_iocoherency
Ralink:
- Fix pwm UART in spis group pinmux.
SSB:
- Change bare unsigned to unsigned int to suit coding style
Tools:
- Fix reloc tool compiler warnings.
Other:
- Delete use of ARCH_WANT_OPTIONAL_GPIOLIB"
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (61 commits)
MIPS: mm: Fix definition of R6 cache instruction
MIPS: tools: Fix relocs tool compiler warnings
MIPS: Cobalt: Fix typo
MIPS: Octeon: Fix typo
MIPS: Lantiq: Fix build failure
MIPS: Use CPHYSADDR to implement mips32 __pa
MIPS: Octeon: Dlink_dsr-1000n.dts: add more leds.
MIPS: Octeon: Clean up GPIO definitions in dlink_dsr-1000n.dts.
MIPS: Octeon: Delete built-in DTB pruning code for D-Link DSR-1000N.
MIPS: store the appended dtb address in a variable
MIPS: ZBOOT: copy appended dtb to the end of the kernel
MIPS: ralink: fix spis group pinmux
MIPS: Factor o32 specific code into signal_o32.c
MIPS: non-exec stack & heap when non-exec PT_GNU_STACK is present
MIPS: Use per-mm page to execute branch delay slot instructions
MIPS: Modify error handling
MIPS: c-r4k: Use SMP calls for CM indexed cache ops
MIPS: c-r4k: Avoid small flush_icache_range SMP calls
MIPS: c-r4k: Local flush_icache_range cache op override
MIPS: c-r4k: Split r4k_flush_kernel_vmap_range()
...
Diffstat (limited to 'arch/mips/kernel/mips-r2-to-r6-emul.c')
-rw-r--r-- | arch/mips/kernel/mips-r2-to-r6-emul.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/mips-r2-to-r6-emul.c b/arch/mips/kernel/mips-r2-to-r6-emul.c index 43fbadc78d0a..c3372cac6db2 100644 --- a/arch/mips/kernel/mips-r2-to-r6-emul.c +++ b/arch/mips/kernel/mips-r2-to-r6-emul.c | |||
@@ -283,7 +283,7 @@ static int jr_func(struct pt_regs *regs, u32 ir) | |||
283 | err = mipsr6_emul(regs, nir); | 283 | err = mipsr6_emul(regs, nir); |
284 | if (err > 0) { | 284 | if (err > 0) { |
285 | regs->cp0_epc = nepc; | 285 | regs->cp0_epc = nepc; |
286 | err = mips_dsemul(regs, nir, cepc); | 286 | err = mips_dsemul(regs, nir, epc, cepc); |
287 | if (err == SIGILL) | 287 | if (err == SIGILL) |
288 | err = SIGEMT; | 288 | err = SIGEMT; |
289 | MIPS_R2_STATS(dsemul); | 289 | MIPS_R2_STATS(dsemul); |
@@ -1033,7 +1033,7 @@ repeat: | |||
1033 | if (nir) { | 1033 | if (nir) { |
1034 | err = mipsr6_emul(regs, nir); | 1034 | err = mipsr6_emul(regs, nir); |
1035 | if (err > 0) { | 1035 | if (err > 0) { |
1036 | err = mips_dsemul(regs, nir, cpc); | 1036 | err = mips_dsemul(regs, nir, epc, cpc); |
1037 | if (err == SIGILL) | 1037 | if (err == SIGILL) |
1038 | err = SIGEMT; | 1038 | err = SIGEMT; |
1039 | MIPS_R2_STATS(dsemul); | 1039 | MIPS_R2_STATS(dsemul); |
@@ -1082,7 +1082,7 @@ repeat: | |||
1082 | if (nir) { | 1082 | if (nir) { |
1083 | err = mipsr6_emul(regs, nir); | 1083 | err = mipsr6_emul(regs, nir); |
1084 | if (err > 0) { | 1084 | if (err > 0) { |
1085 | err = mips_dsemul(regs, nir, cpc); | 1085 | err = mips_dsemul(regs, nir, epc, cpc); |
1086 | if (err == SIGILL) | 1086 | if (err == SIGILL) |
1087 | err = SIGEMT; | 1087 | err = SIGEMT; |
1088 | MIPS_R2_STATS(dsemul); | 1088 | MIPS_R2_STATS(dsemul); |
@@ -1149,7 +1149,7 @@ repeat: | |||
1149 | if (nir) { | 1149 | if (nir) { |
1150 | err = mipsr6_emul(regs, nir); | 1150 | err = mipsr6_emul(regs, nir); |
1151 | if (err > 0) { | 1151 | if (err > 0) { |
1152 | err = mips_dsemul(regs, nir, cpc); | 1152 | err = mips_dsemul(regs, nir, epc, cpc); |
1153 | if (err == SIGILL) | 1153 | if (err == SIGILL) |
1154 | err = SIGEMT; | 1154 | err = SIGEMT; |
1155 | MIPS_R2_STATS(dsemul); | 1155 | MIPS_R2_STATS(dsemul); |