linux/arch/arm
Will Deacon f967dfcedb KVM: ARM/arm64: avoid returning negative error code as bool
commit 18d457661f upstream.

is_valid_cache returns true if the specified cache is valid.
Unfortunately, if the parameter passed it out of range, we return
-ENOENT, which ends up as true leading to potential hilarity.

This patch returns false on the failure path instead.

Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-29 12:25:38 -07:00
..
boot ARM: dts: imx27: only map 4 Kbyte for fec registers 2015-06-06 08:19:37 -07:00
common ARM: common: edma: Fix xbar mapping 2014-06-07 10:28:17 -07:00
configs Add USB_EHCI_EXYNOS to multi_v7_defconfig 2015-01-16 06:59:32 -08:00
crypto crypto: arm/aes update NEON AES module to latest OpenSSL version 2015-03-26 15:06:57 +01:00
firmware ARM: add basic support for Trusted Foundations 2013-12-13 12:50:30 -07:00
include KVM: ARM/arm64: fix non-const declaration of function returning const 2015-06-29 12:25:38 -07:00
kernel ARM: virt: fix wrong HSCTLR.EE bit setting 2015-06-29 12:25:38 -07:00
kvm KVM: ARM/arm64: avoid returning negative error code as bool 2015-06-29 12:25:38 -07:00
lib ARM: 7877/1: use built-in byte swap function 2013-12-29 12:32:45 +00:00
mach-at91 ARM: at91: pm: fix at91rm9200 standby 2015-03-26 15:06:59 +01:00
mach-bcm ARM: pinctrl: Add Broadcom Capri pinctrl driver 2014-01-16 14:25:38 +01:00
mach-bcm2835 ARM: bcm2835: Fix grammar in help message 2014-01-02 12:07:52 -08:00
mach-berlin ARM: add initial support for Marvell Berlin SoCs 2013-12-13 16:31:07 +01:00
mach-clps711x ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
mach-cns3xxx
mach-davinci ARM: driver updates for 3.14 2014-01-23 18:49:36 -08:00
mach-dove
mach-ebsa110
mach-efm32 ARM: new platform for Energy Micro's EFM32 Cortex-M3 SoCs 2013-12-16 17:51:33 +01:00
mach-ep93xx
mach-exynos ACPI and power management updates for 3.14-rc1 2014-01-24 15:51:02 -08:00
mach-footbridge Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-01-24 17:17:30 -08:00
mach-gemini
mach-highbank Merge branches 'amba', 'fixes', 'kees', 'misc' and 'unstable/sa11x0' into for-next 2014-01-21 21:26:33 +00:00
mach-hisi ARM: hisi: fix kconfig warning on HAVE_ARM_TWD 2014-02-02 19:52:42 -08:00
mach-imx ARM: clk-imx6q: fix video divider for rev T0 1.0 2015-01-27 08:18:58 -08:00
mach-integrator ARM: integrator: restore static map on the CP 2014-01-31 14:58:52 -08:00
mach-iop13xx
mach-iop32x ARM: iop32x: fix power off handling for the EM7210 board 2014-01-31 14:58:53 -08:00
mach-iop33x
mach-ixp4xx ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
mach-keystone ARM: keystone: config: fix build warning when CONFIG_DMADEVICES is not set 2014-01-31 15:03:53 -08:00
mach-kirkwood mvebu fixes for v3.13 (incremental #2) 2014-01-31 14:59:28 -08:00
mach-ks8695
mach-lpc32xx
mach-mmp ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
mach-moxart ARM: moxart: move DMA_OF selection to driver 2014-02-02 19:52:45 -08:00
mach-msm ARM: driver updates for 3.14 2014-01-23 18:49:36 -08:00
mach-mv78xx0
mach-mvebu ARM: mvebu: disable I/O coherency on non-SMP situations on Armada 370/375/38x/XP 2015-01-16 06:59:34 -08:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1 ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP 2014-06-30 20:11:53 -07:00
mach-omap2 ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3 2015-03-06 14:43:28 -08:00
mach-orion5x ARM: orion5x: fix target ID for crypto SRAM window 2014-06-07 10:28:17 -07:00
mach-picoxcell
mach-prima2
mach-pxa hx4700: regulator: declare full constraints 2015-03-06 14:43:31 -08:00
mach-realview
mach-rockchip
mach-rpc
mach-s3c24xx ARM: SoC cleanups for 3.14 2014-01-23 18:36:55 -08:00
mach-s3c64xx ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore 2015-05-06 21:59:11 +02:00
mach-s5p64x0
mach-s5pc100
mach-s5pv210
mach-sa1100 ARM: 8284/1: sa1100: clear RCSR_SMR on resume 2015-03-06 14:43:28 -08:00
mach-shmobile ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances 2015-01-27 08:18:58 -08:00
mach-socfpga
mach-spear
mach-sti
mach-sunxi ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
mach-tegra ARM: tegra: Re-add removed SoC id macro to tegra_resume() 2015-01-08 10:00:49 -08:00
mach-u300 ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
mach-ux500 ARM: SoC DT updates for 3.14 2014-01-23 18:45:38 -08:00
mach-versatile ARM: versatile: move GPIO2 and GPIO3 to core 2013-12-20 18:22:47 +01:00
mach-vexpress
mach-virt
mach-vt8500
mach-w90x900
mach-zynq ARM: zynq: Reserve not DMAable space in front of the kernel 2014-02-10 10:45:42 -08:00
mm ARM: 8109/1: mm: Modify pte_write and pmd_write logic for LPAE 2015-04-29 10:31:55 +02:00
net ARM: net fix emit_udiv() for BPF_ALU | BPF_DIV | BPF_K intruction. 2015-05-17 09:53:50 -07:00
nwfpe
oprofile
plat-iop
plat-omap Merge branch 'efm32/soc' into next/soc 2013-12-20 08:59:30 -08:00
plat-orion mvebu fixes for v3.13 (incremental #2) 2014-01-31 14:59:28 -08:00
plat-pxa
plat-samsung MTD updates for 3.14: 2014-01-28 18:56:37 -08:00
plat-versatile ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
tools
vfp
xen xen/gnttab: Use phys_addr_t to describe the grant frame base address 2014-01-30 12:56:34 +00:00
Kconfig locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:06:03 -07:00
Kconfig-nommu
Kconfig.debug ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00
Makefile Merge branches 'fixes' and 'misc' into for-linus 2014-01-28 21:38:48 +00:00