diff options
author | Dave Olson <dave.olson@qlogic.com> | 2010-06-17 19:13:44 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-07-06 17:13:20 -0400 |
commit | fce24a9d28f8b99fd0eacc14e252ab4fca9527a7 (patch) | |
tree | 590717ce8bd0e8a63e072b4bd79b99be69c3b8c8 /drivers/infiniband/hw/qib/qib_init.c | |
parent | 67a3e12b05e055c0415c556a315a3d3eb637e29e (diff) |
IB/qib: Don't mark VL15 bufs as WC to avoid a rare 7322 chip problem
Don't set write combining via PAT on the VL15 buffers to avoid a rare
problem with unaligned writes from interrupt-flushed store buffers.
Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_init.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 9b40f345ac3..25895991dc5 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c | |||
@@ -1499,6 +1499,12 @@ bail: | |||
1499 | return -ENOMEM; | 1499 | return -ENOMEM; |
1500 | } | 1500 | } |
1501 | 1501 | ||
1502 | /* | ||
1503 | * Note: Changes to this routine should be mirrored | ||
1504 | * for the diagnostics routine qib_remap_ioaddr32(). | ||
1505 | * There is also related code for VL15 buffers in qib_init_7322_variables(). | ||
1506 | * The teardown code that unmaps is in qib_pcie_ddcleanup() | ||
1507 | */ | ||
1502 | int init_chip_wc_pat(struct qib_devdata *dd, u32 vl15buflen) | 1508 | int init_chip_wc_pat(struct qib_devdata *dd, u32 vl15buflen) |
1503 | { | 1509 | { |
1504 | u64 __iomem *qib_kregbase = NULL; | 1510 | u64 __iomem *qib_kregbase = NULL; |