Files
linux/drivers
Roland Dreier bf628dc22a IB/srp: Fix FMR mapping for 32-bit kernels and addresses above 4G
struct srp_device.fmr_page_mask was unsigned long, which means that
the top part of addresses above 4G was being chopped off on 32-bit
architectures.  Of course nothing good happens when data from SRP
targets is DMAed to the wrong place.

Fix this by changing fmr_page_mask to u64, to match the addresses
actually used by IB devices.

Thanks to Brian Cain <Brian.Cain@ge.com> and David McMillen
<davem@systemfabricworks.com> for help diagnosing the bug and testing
the fix.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-12-15 14:01:49 -08:00
..
2006-12-12 17:41:41 -05:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:24 -08:00
2006-12-08 10:43:20 -08:00
2006-12-13 09:05:52 -08:00
2006-12-07 08:39:33 -08:00
2006-12-11 12:43:35 +01:00
2006-12-11 13:49:53 +11:00
2006-12-08 08:28:57 -08:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:50 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:57:22 -08:00