linux/arch
Russell Currey 062e414cf4 powerpc/pseries/eeh: Handle RTAS delay requests in configure_bridge
commit 871e178e0f upstream.

In the "ibm,configure-pe" and "ibm,configure-bridge" RTAS calls, the
spec states that values of 9900-9905 can be returned, indicating that
software should delay for 10^x (where x is the last digit, i.e. 990x)
milliseconds and attempt the call again. Currently, the kernel doesn't
know about this, and respecting it fixes some PCI failures when the
hypervisor is busy.

The delay is capped at 0.2 seconds.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-08-22 22:38:06 +01:00
..
alpha alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO 2016-08-22 22:37:51 +01:00
arc ARC: unbork !LLSC build 2016-06-15 21:29:35 +01:00
arm ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on exynos4210-trats 2016-08-22 22:37:55 +01:00
arm64 arm64: cpuinfo: Missing NULL terminator in compat_hwcap_str 2016-08-22 22:37:57 +01:00
avr32 avr32: handle NULL as a valid clock object 2015-08-25 10:13:52 +01:00
blackfin blackfin: vmlinux.lds.S: reserve 32 bytes space at the end of data section for XIP kernel 2014-07-26 08:32:50 +08:00
c6x C6x: time: Ensure consistency in __init 2015-05-06 11:33:02 +01:00
cris vm: add VM_FAULT_SIGSEGV handling support 2015-02-04 10:58:27 +00:00
frv vm: add VM_FAULT_SIGSEGV handling support 2015-02-04 10:58:27 +00:00
hexagon Hexagon: Delete stale barrier.h 2014-05-01 10:09:47 -07:00
ia64 efi/reboot: Add generic wrapper around EfiResetSystem() 2015-05-12 09:36:34 +01:00
m32r m32r: fix m32104ut_defconfig build fail 2016-02-02 19:09:43 +00:00
m68k m68k: Define asmlinkage_protect 2015-10-19 14:31:37 +01:00
metag metag: Fix KSTK_EIP() and KSTK_ESP() macros 2015-03-18 09:58:55 +00:00
microblaze vm: add VM_FAULT_SIGSEGV handling support 2015-02-04 10:58:27 +00:00
mips MIPS: fix read_msa_* & write_msa_* functions on non-MSA toolchains 2016-08-22 22:38:06 +01:00
mn10300 mn10300: Select CONFIG_HAVE_UID16 to fix build failure 2016-02-03 00:09:10 +00:00
openrisc openrisc: fix CONFIG_UID16 setting 2016-02-03 09:51:34 +00:00
parisc parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls 2016-06-15 21:29:31 +01:00
powerpc powerpc/pseries/eeh: Handle RTAS delay requests in configure_bridge 2016-08-22 22:38:06 +01:00
s390 s390/vmem: fix identity mapping 2016-08-22 22:37:57 +01:00
score vm: add VM_FAULT_SIGSEGV handling support 2015-02-04 10:58:27 +00:00
sh sh64: fix __NR_fgetxattr 2016-01-25 10:43:29 +00:00
sparc sparc64: fix incorrect sign extension in sys_sparc64_personality 2016-02-02 19:09:41 +00:00
tile tile: use free_bootmem_late() for initrd 2015-08-11 09:57:43 +01:00
um fs/coredump: prevent fsuid=0 dumps into user-controlled directories 2016-05-01 00:06:04 +02:00
unicore32 nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2015-05-06 10:24:18 +01:00
x86 x86/PCI: Mark Broadwell-EP Home Agent 1 as having non-compliant BARs 2016-08-22 22:38:00 +01:00
xtensa xtensa: clear all DBREAKC registers on start 2016-05-01 00:05:57 +02:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig uprobes: Kconfig dependency fix 2014-03-18 16:39:33 -04:00