From patchwork Tue Jun 9 00:20:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Luis R. Rodriguez" X-Patchwork-Id: 6568851 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0C817C0020 for ; Tue, 9 Jun 2015 00:27:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E3CB20450 for ; Tue, 9 Jun 2015 00:27:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BFA5203EB for ; Tue, 9 Jun 2015 00:27:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932201AbbFIA1M (ORCPT ); Mon, 8 Jun 2015 20:27:12 -0400 Received: from mail-qk0-f174.google.com ([209.85.220.174]:36180 "EHLO mail-qk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932182AbbFIA1L (ORCPT ); Mon, 8 Jun 2015 20:27:11 -0400 Received: by qkx62 with SMTP id 62so1621708qkx.3; Mon, 08 Jun 2015 17:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Sx3IhWdPtktBTw6eZPWTqT41HquYQTHn6gFtnH85pec=; b=cB8lyyws9mAVRt7XA0TuBVhl4NckG8SN3XwBEvjWC9kjf5YatIZAX0vP/9QvsGw5CK NLJlutRTy26QSc7A5eThlOi9cj6ogYvnQa7DlkrWZ4MiNstzqVsGEs0MQeOD3bk2TpX2 st7JFAy0zfq02DNFI7MgIoNCYhIPVGIiexHnZTJBZtae+NoTaNC9BWXMH1tnSA/ew+Jw rktgyoLs+lQvvQrrIfBJPm6pxxTBXJAR0zywdG5Z6mRU4pOd2f7tiJSJv4pUMpXhbCev iiD6Ce2Hx2ZV1WbompN+9cwBZu37PiKBzGcNwOKFFuh2iQWmi5knCL/H0Hmrj1UgWsuH ofsQ== X-Received: by 10.55.19.197 with SMTP id 66mr37592448qkt.24.1433809630194; Mon, 08 Jun 2015 17:27:10 -0700 (PDT) Received: from mcgrof@gmail.com (c-98-234-145-61.hsd1.ca.comcast.net. [98.234.145.61]) by mx.google.com with ESMTPSA id b133sm1951867qhc.40.2015.06.08.17.27.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Jun 2015 17:27:09 -0700 (PDT) Received: by mcgrof@gmail.com (sSMTP sendmail emulation); Mon, 08 Jun 2015 17:24:57 -0700 From: "Luis R. Rodriguez" To: mchehab@osg.samsung.com, bp@suse.de Cc: tomi.valkeinen@ti.com, bhelgaas@google.com, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" , Toshi Kani , Roland Dreier , Sean Hefty , Hal Rosenstock , Suresh Siddha , Ingo Molnar , Thomas Gleixner , Juergen Gross , Daniel Vetter , Andy Lutomirski , Dave Airlie , Antonino Daplas , Jean-Christophe Plagniol-Villard , infinipath@intel.com, linux-fbdev@vger.kernel.org Subject: [PATCH v6 2/3] IB/ipath: add counting for MTRR Date: Mon, 8 Jun 2015 17:20:21 -0700 Message-Id: <1433809222-28261-3-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1433809222-28261-1-git-send-email-mcgrof@do-not-panic.com> References: <1433809222-28261-1-git-send-email-mcgrof@do-not-panic.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Luis R. Rodriguez" There is no good reason not to, we eventually delete it as well. Cc: Toshi Kani Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Juergen Gross Cc: Daniel Vetter Cc: Andy Lutomirski Cc: Dave Airlie Cc: Antonino Daplas Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: infinipath@intel.com Cc: linux-rdma@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Luis R. Rodriguez --- drivers/infiniband/hw/ipath/ipath_wc_x86_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ipath/ipath_wc_x86_64.c b/drivers/infiniband/hw/ipath/ipath_wc_x86_64.c index 4ad0b93..70c1f3a 100644 --- a/drivers/infiniband/hw/ipath/ipath_wc_x86_64.c +++ b/drivers/infiniband/hw/ipath/ipath_wc_x86_64.c @@ -127,7 +127,7 @@ int ipath_enable_wc(struct ipath_devdata *dd) "(addr %llx, len=0x%llx)\n", (unsigned long long) pioaddr, (unsigned long long) piolen); - cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0); + cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 1); if (cookie < 0) { { dev_info(&dd->pcidev->dev,