From patchwork Wed Apr 29 21:44:26 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: 6298541 Return-Path: X-Original-To: patchwork-linux-fbdev@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 E0FDBBEEE1 for ; Wed, 29 Apr 2015 22:03:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E5FA92013A for ; Wed, 29 Apr 2015 22:03:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06E7F2011B for ; Wed, 29 Apr 2015 22:03:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750857AbbD2WD1 (ORCPT ); Wed, 29 Apr 2015 18:03:27 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:36592 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbbD2WD0 (ORCPT ); Wed, 29 Apr 2015 18:03:26 -0400 Received: by pdea3 with SMTP id a3so40284835pde.3; Wed, 29 Apr 2015 15:03:25 -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=eE8EJlp4rWL3OMijlluphi7W81xU26t4bzplTP4GZU+Asz/CkD7z8VUspyszODCzhp NQrLZp04gXEVlXvXK+nNjAiZAzIEY2iZ2vChfAP6Rn1r1ke3JutMbXKyOIPs5Mgfn/UU 9GZUSzQIjFFtwyRi4iHrJDmJF4Dbjr/75ex+J5zNQK5JpJcI7CqQb9Xm+CigIuNNSKzP 9pnwuGsxfPpydSzcOrrYGKZ9NSQMNb9juwh9UlZg60yubpc+wS580ZUHTTIx64gOlpce URqaw826zMFZbz6UR0ev2gpPx7S3toFxPV6V36w+VCX8Ghcd9B4Gu9gDo1xEo1OxhyXC 4FZg== X-Received: by 10.70.140.38 with SMTP id rd6mr2151346pdb.47.1430345005893; Wed, 29 Apr 2015 15:03:25 -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 nj7sm175090pbc.36.2015.04.29.15.03.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Apr 2015 15:03:24 -0700 (PDT) Received: by mcgrof@gmail.com (sSMTP sendmail emulation); Wed, 29 Apr 2015 15:01:15 -0700 From: "Luis R. Rodriguez" To: mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com, bp@suse.de, plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, daniel.vetter@intel.com, airlied@linux.ie Cc: dledford@redhat.com, awalls@md.metrocast.net, syrjala@sci.fi, luto@amacapital.net, mst@redhat.com, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" , Toshi Kani , Roland Dreier , Sean Hefty , Hal Rosenstock , Suresh Siddha , Juergen Gross , Daniel Vetter , Dave Airlie , Antonino Daplas , infinipath@intel.com, linux-rdma@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [PATCH v4 7/8] IB/ipath: add counting for MTRR Date: Wed, 29 Apr 2015 14:44:26 -0700 Message-Id: <1430343867-1001-8-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430343867-1001-1-git-send-email-mcgrof@do-not-panic.com> References: <1430343867-1001-1-git-send-email-mcgrof@do-not-panic.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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,