diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-03 18:50:04 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 11:38:05 +1100 |
commit | 172ca9261800bacbbc7d320d9924d9b482dff8de (patch) | |
tree | 7abd6ddf1e6b9a147a0826c374f0d1bca80806d3 /include/asm-ppc64/dma-mapping.h | |
parent | 7f79da7accd63a6adb84f4602f66779f6a701e7b (diff) |
[PATCH] ppc64: PCI error event dispatcher
12-eeh-event-dispatcher.patch
ppc64: EEH Recovery dispatcher thread
This patch adds a mechanism to create recovery threads when an
EEH event is received. Since an EEH freeze state may be detected
within an interrupt context, we need to get out of the interrupt
context before starting recovery. This dispatcher does this in
two steps: first, it uses a workqueue to get out, and then
lanuches a kernel thread, so that the recovery routine can
sleep for exteded periods without upseting the keventd.
A kernel thread is created with each EEH event, rather than
having one long-running daemon started at boot time. This is
because it is anticipated that EEH events will be very rare
(very very rare, ideally) and so its pointless to cluter the
process tables with a daemon that will almost never run.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions