[ofw] [PATCH] mthca/mlx4: allow retrieving CA attributes with pageable memory

Sean Hefty sean.hefty at intel.com
Wed Aug 26 10:11:43 PDT 2009


>Modify the HCA drivers to support querying for attributes using a pageable
>buffer.  Since the query calls block, it seems appropriate for the calls to
>allow pageable memory, rather than forcing the user to allocate a non-paged
>buffer in order to obtain a list of attributes.  The problem stems from the HCA
>drivers accessing a user's buffer after acquiring a spinlock that raise IRQL.
>
>This fixes kernel crashes with both the winmad and winverbs drivers.
>
>Signed-off-by: Sean Hefty <sean.hefty at intel.com>

This patch is still pending acceptance, but I've committed the four other
patches I've sent recently to the svn trunk (2382-2385):

librdmacm: fix race in ucma_init()
winverbs: ensure that event and mutex are resident
winverbs: EP is not in provider list, so don't try to remove it
ofed libs: prevent double initialization of critical section

- Sean




More information about the ofw mailing list