[ewg] 1.5.4 pull request

Mike Marciniszyn mike.marciniszyn at qlogic.com
Tue Jul 26 08:08:13 PDT 2011


Vlad,

Please pull the following patches from
git.openfabrics.org/~mmarciniszyn/scm/linux-2.6.to_ofed.

Thanks!
Mike

commit afbcb93ce910f9e8eb335145b0b06ef8ced784ab
Author: Ram Vepa <ram.vepa at qlogic.com>
Date:   Tue Jul 26 10:42:09 2011 -0400

    IB/qib: Adjust to use cpumask_weight() and cpumask_first()

    The cpus_weight macro doesn't work correctly when the
    CONFIG_CPUMASK_OFFSTACK is chosen.

    The macro can walk run off the end of the valid bits in the
    mask because NR_CPUS is much larger than the actual number of bits.

    This patch adjusts the code to use the APIs that were added
    for kernels >= 2.6.30.  Backport adjustments will need to be
    made for older kernels.

    An equivalent patch was also submitted submitted externally by
    KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>.

    Signed-off-by: Mike Marciniszyn <mike.marciniszyn at qlogic.com>

commit 2484eae46e66f32f3a7db0fa2799c1a87240bc1b
Author: Ram Vepa <ram.vepa at qlogic.com>
Date:   Tue Jul 26 08:03:24 2011 -0400

    IB/qib: add sysfs interface to read free contexts

    Indicate the number of free user contexts via the sysfs file
    /sys/class/infiniband/qib0/nfreectxts as required for PSM.

    Signed-off-by: Ram Vepa <ram.vepa at qlogic.com>
    Signed-off-by: Mike Marciniszyn <mike.marciniszyn at qlogic.com>

This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.




More information about the ewg mailing list