IB/qib: add acounting for MTRR
authorLuis R. Rodriguez <[email protected]>
Tue, 21 Apr 2015 21:50:34 +0000 (14:50 -0700)
committerDoug Ledford <[email protected]>
Tue, 5 May 2015 13:18:02 +0000 (09:18 -0400)
There is no good reason not to, we eventually delete it as well.

Cc: Toshi Kani <[email protected]>
Cc: Suresh Siddha <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Antonino Daplas <[email protected]>
Cc: Jean-Christophe Plagniol-Villard <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Cc: Mike Marciniszyn <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Sean Hefty <[email protected]>
Cc: Hal Rosenstock <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/qib/qib_wc_x86_64.c

index 81b225f2300aed34eab9b88077bd4c4097dceae2..fe0850ac6883c498c8a09ef191876941323d581d 100644 (file)
@@ -118,7 +118,7 @@ int qib_enable_wc(struct qib_devdata *dd)
        if (!ret) {
                int cookie;
 
-               cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0);
+               cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 1);
                if (cookie < 0) {
                        {
                                qib_devinfo(dd->pcidev,