IB/ehca: Fix driver on relocatable kernel
authorSonny Rao <sonnyrao@us.ibm.com>
Fri, 20 Aug 2010 04:10:19 +0000 (04:10 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 6 Oct 2010 19:57:07 +0000 (12:57 -0700)
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>

No differences found