Thread (2 messages) flat view 2 messages, 2 authors, 2007-12-10

Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

From: Joachim Fenkes <hidden>
Date: 2007-12-10 17:42:18
Also in: lkml

On Monday 10 December 2007 00:22, Roland Dreier wrote:
Fair enough... according to Documentation/infiniband/core_locking.txt,
the only driver methods that cannot sleep are:

    [...]
    map_phys_fmr
In fact, we do use hCalls there. Our hardware doesn't actually support FMRs,
so we translate a "map FMR" into a "reallocate PMR", which doesn't work
without hCalls. What's more, the hCalls involved (e.g. H_FREE_RESOURCE)
might well return H_LONG_BUSY, so the whole operation might sleep; no way
around it.

How should we deal with this?

Thanks,
  Joachim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help