[ewg] Re: [PATCH] IB/ehca: Make sure user pages are from hugetlb before using MR large pages

2007-09-13 Thread Christoph Raisch
Roland Dreier wrote on 13.09.2007 06:33:45: Also if someone runs a kernel with 64K pages on a machine where they end up being simulated from 4K pages, do you have the same issue with the hypervisor ganging together non-contiguous pages? With todays hypervisor and todays pagesizes and todays

[ewg] Re: [PATCH] IB/ehca: Make sure user pages are from hugetlb before using MR large pages

2007-09-13 Thread Joachim Fenkes
Roland Dreier [EMAIL PROTECTED] wrote on 13.09.2007 06:33:45: -#define HCA_CAP_MR_PGSIZE_4K 1 -#define HCA_CAP_MR_PGSIZE_64K 2 -#define HCA_CAP_MR_PGSIZE_1M 4 -#define HCA_CAP_MR_PGSIZE_16M 8 +#define HCA_CAP_MR_PGSIZE_4K 0x8000 +#define HCA_CAP_MR_PGSIZE_64K 0x4000

[ewg] [PATCH 0/3] IB/ehca: MR/MW fixes

2007-09-13 Thread Joachim Fenkes
This patchset replaces Nam's previous MR/MW patch (posted by me). I split the #define fixes into a separate patch and moved the is the memory from hugetlbfs? code into ib_umem_get(). [1/3] fixes the page size HW cap defines [2/3] adds the hugetlb test to ib_umem_get() [3/3] finally uses the

[ewg] [PATCH 2/3] IB/umem: Add hugetlb flag to struct ib_umem

2007-09-13 Thread Joachim Fenkes
During ib_umem_get(), determine whether all pages from the memory region are hugetlb pages and report this in the hugetlb field. Low-level driver can use this information if they need it. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/core/umem.c | 20

[ewg] [PATCH 3/3] IB/ehca: Make sure user pages are from hugetlb before using MR large pages

2007-09-13 Thread Joachim Fenkes
...because, on virtualized hardware like System p, we can't be sure that the physical pages behind them are contiguous. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_mrmw.c | 25 +++-- 1 files changed, 15 insertions(+), 10 deletions(-)

[ewg] [GIT PULL ofed-1.3] cxgb3 bug fixes

2007-09-13 Thread Steve Wise
For ofed-1.3, please pull from: git://git.openfabrics.org/~swise/ofed-1.3 ofed_kernel The 1.3 patch series is identical to the ofed_1_2_c series except that the first patch, 0029-*, isn't needed since its already in ofed-1.3 from 2.6.23. Thanks, Steve. Steve Wise wrote: Vlad