linux/arch/mips
Nicholas Mc Guire ed9244e6c5 MIPS: KVM: Do not sign extend on unsigned MMIO load
Fix possible unintended sign extension in unsigned MMIO loads by casting
to uint16_t in the case of mmio_needed != 2.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Tested-by: James Hogan <james.hogan@imgtec.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9985/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-06-06 10:21:10 +02:00
..
alchemy
ar7
ath25
ath79 MIPS: ath79: Add a missing new line in log message 2015-06-02 16:07:31 +02:00
bcm47xx
bcm63xx This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
bmips
boot
cavium-octeon This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
cobalt
configs MIPS: Fuloong 2E: Replace CONFIG_USB_ISP1760_HCD by CONFIG_USB_ISP1760 2015-05-26 16:46:53 +02:00
dec
emma
fw
include MIPS: Fix a preemption issue with thread's FPU defaults 2015-05-12 23:15:49 +02:00
jazz
jz4740
kernel MIPS: Fix enabling of DEBUG_STACKOVERFLOW 2015-06-06 10:21:09 +02:00
kvm MIPS: KVM: Do not sign extend on unsigned MMIO load 2015-06-06 10:21:10 +02:00
lantiq
lasat
lib MIPS: strnlen_user.S: Fix a CPU_DADDI_WORKAROUNDS regression 2015-05-29 20:23:58 +02:00
loongson MIPS: Loongson-3: Fix a cpu-hotplug issue in loongson3_ipi_interrupt() 2015-06-06 10:21:10 +02:00
loongson1
math-emu MIPS: Fix a preemption issue with thread's FPU defaults 2015-05-12 23:15:49 +02:00
mm MIPS: c-r4k: Fix typo in probe_scache() 2015-06-06 10:21:09 +02:00
mti-malta TTY/Serial patches for 4.1-rc1 2015-04-21 09:33:10 -07:00
mti-sead3
net MIPS: BPF: Fix stack pointer allocation 2015-06-06 10:21:10 +02:00
netlogic
oprofile
paravirt
pci
pistachio
pmcs-msp71xx
pnx833x
power
ralink MIPS: ralink: Fix clearing the illegal access interrupt 2015-06-01 10:51:37 +02:00
rb532
sgi-ip22
sgi-ip27 This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
sgi-ip32 MIPS: IP32: Fix build errors in reset code in DS1685 platform hook. 2015-05-13 00:01:41 +02:00
sibyte
sni
txx9
vr41xx
Kbuild
Kbuild.platforms
Kconfig
Kconfig.debug
Makefile MIPS: Fix wrong CHECKFLAGS (sparse builds) with GCC 5.1 2015-05-12 23:22:39 +02:00