diff options
author | Sonny Rao <sonnyrao@us.ibm.com> | 2010-08-20 04:10:19 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-10-06 19:57:07 (GMT) |
commit | 625fbd3a36d836efaaee4b6d9c2fcd25e3654624 (patch) | |
tree | b89d4762c1e6d5fbbfa83d447695a0f4ae969ce0 /drivers/infiniband/hw/mlx4/main.c | |
parent | 252a52aa4fa22a668f019e55b3aac3ff71ec1c29 (diff) | |
download | linux-fsl-qoriq-625fbd3a36d836efaaee4b6d9c2fcd25e3654624.tar.xz |
IB/ehca: Fix driver on relocatable kernel
the eHCA driver registers a MR for all of kernel memory, but makes the
assumption that valid memory exists at KERNELBASE. This assumption
may not be true in the case of a relocatable kernel, so use KERNELBASE
+ PHYSICAL_START to get the true beginning of usable kernel memory.
cc: Joachim Fenkes <fenkes@de.ibm.com>
cc: Christoph Raisch <raisch@de.ibm.com>
cc: Hoan-Ham Hguyen <hnguyen@de.ibm.com>
Signed-off-by: Sonny Rao <sonnyrao@us.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions