kernel_optimize_test/drivers/misc/cxl
Ian Munsie a98e6e9f4e cxl: Add timeout to process element commands
In the event that something goes wrong in the hardware and it is unable
to complete a process element comment we would end up polling forever,
effectively making the associated process unkillable.

This patch adds a timeout to the process element command code path, so
that we will give up if the hardware does not respond in a reasonable
time.

Cc: stable@vger.kernel.org
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-12-12 13:06:47 +11:00
..
base.c
context.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00
cxl.h cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00
debugfs.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
fault.c powerpc/mm: don't do tlbie for updatepp request with NO HPTE fault 2014-12-05 16:26:15 +11:00
file.c cxl: Fix afu_read() not doing finish_wait() on signal or non-blocking 2014-10-09 11:29:57 +11:00
irq.c cxl: Name interrupts in /proc/interrupt 2014-11-18 13:01:39 +11:00
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
main.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
Makefile cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
native.c cxl: Add timeout to process element commands 2014-12-12 13:06:47 +11:00
pci.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00
sysfs.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00