linux/arch/powerpc
Michael Ellerman 686978b15c powerpc/xive: Fix missing check of rc != OPAL_BUSY
Dan Carpenter noticed that the code in __xive_native_disable_queue() has a for
loop with an unconditional break in the middle, which doesn't make a lot of
sense.

What the code's supposed to do is loop as long as OPAL says it's busy, if we get
any other return code, either success or failure, then we should break the loop.

So add the missing check.

Fixes: 243e25112d ("powerpc/xive: Native exploitation of the XIVE interrupt controller")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-04-20 14:43:19 +10:00
..
boot powerpc/boot: Fix zImage TOC alignment 2017-03-08 10:39:32 +11:00
configs powerpc/configs: Re-enable POWER8 crc32c 2017-03-28 10:52:04 +11:00
crypto crypto: powerpc - Fix initialisation of crc32c context 2017-03-08 14:01:08 +08:00
include powerpc/64s: Remove SAO feature from Power9 DD1 2017-04-19 20:48:25 +10:00
kernel powerpc/64s: Minor fix for MCE TLB flush for radix 2017-04-19 20:00:18 +10:00
kvm Merge branch 'topic/xive' (early part) into next 2017-04-12 22:31:37 +10:00
lib powerpc fixes for 4.11 #3 2017-03-07 10:46:10 -08:00
math-emu
mm powerpc/iommu: Do not call PageTransHuge() on tail pages 2017-04-19 20:00:20 +10:00
net
oprofile
perf powerpc/perf: Add Power8 mem_access event to sysfs 2017-04-19 20:00:23 +10:00
platforms powerpc/64s: Remove ICSWX feature from Power9 2017-04-19 20:21:50 +10:00
purgatory kexec, x86/purgatory: Unbreak it and clean it up 2017-03-10 20:55:09 +01:00
scripts
sysdev powerpc/xive: Fix missing check of rc != OPAL_BUSY 2017-04-20 14:43:19 +10:00
xmon Merge branch 'topic/xive' (early part) into next 2017-04-12 22:31:37 +10:00
Kconfig powerpc: Make sparsemem the default on 64-bit Book3S 2017-04-11 07:46:05 +10:00
Kconfig.debug
Makefile powerpc: Fix compiling a BE kernel with a powerpc64le toolchain 2017-03-03 11:24:50 +11:00
relocs_check.sh