diff options
author | Stefan Roscher <ossrosch@linux.vnet.ibm.com> | 2008-07-15 02:48:47 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-15 02:48:47 -0400 |
commit | 6f7bc01a7382641c61ec036d68ff3a9140b48a1c (patch) | |
tree | debf518649e7af08c42465f6683bc66322ba1554 /drivers/infiniband/hw/ehca/hcp_if.h | |
parent | 3e255eac561672cbc92844b9f16cae9304c2a783 (diff) |
IB/ehca: In case of lost interrupts, trigger EOI to reenable interrupts
During corner case testing, we noticed that some versions of ehca do
not properly transition to interrupt done in special load situations.
This can be resolved by periodically triggering EOI through H_EOI, if
EQEs are pending.
Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/hcp_if.h')
-rw-r--r-- | drivers/infiniband/hw/ehca/hcp_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/hcp_if.h b/drivers/infiniband/hw/ehca/hcp_if.h index 60ce02b70663..2c3c6e0ea5c2 100644 --- a/drivers/infiniband/hw/ehca/hcp_if.h +++ b/drivers/infiniband/hw/ehca/hcp_if.h | |||
@@ -260,5 +260,6 @@ u64 hipz_h_error_data(const struct ipz_adapter_handle adapter_handle, | |||
260 | const u64 ressource_handle, | 260 | const u64 ressource_handle, |
261 | void *rblock, | 261 | void *rblock, |
262 | unsigned long *byte_count); | 262 | unsigned long *byte_count); |
263 | u64 hipz_h_eoi(int irq); | ||
263 | 264 | ||
264 | #endif /* __HCP_IF_H__ */ | 265 | #endif /* __HCP_IF_H__ */ |