Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965158AbbDUW62 (ORCPT ); Tue, 21 Apr 2015 18:58:28 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:37680 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964865AbbDUW6Y (ORCPT ); Tue, 21 Apr 2015 18:58:24 -0400 Date: Tue, 21 Apr 2015 16:57:32 -0600 From: Jason Gunthorpe To: "Luis R. Rodriguez" Cc: Andy Lutomirski , mike.marciniszyn@intel.com, infinipath@intel.com, linux-rdma@vger.kernel.org, awalls@md.metrocast.net, Toshi Kani , "H. Peter Anvin" , Ingo Molnar , "linux-kernel@vger.kernel.org" , Hal Rosenstock , Sean Hefty , Suresh Siddha , Rickard Strandqvist , Roland Dreier , Juergen Gross , Mauro Carvalho Chehab , Borislav Petkov , Mel Gorman , Vlastimil Babka , Davidlohr Bueso , Dave Hansen , Jean-Christophe Plagniol-Villard , Thomas Gleixner , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Linux Fbdev development list , linux-media@vger.kernel.org, X86 ML , mcgrof@do-not-panic.com Subject: Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR Message-ID: <20150421225732.GA17356@obsidianresearch.com> References: <20150421224601.GY5622@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150421224601.GY5622@wotan.suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.183 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 25 On Wed, Apr 22, 2015 at 12:46:01AM +0200, Luis R. Rodriguez wrote: > are talking about annotating the qib driver as "known to be broken without PAT" > and since the ipath driver needs considerable work to be ported to > use PAT (the This only seems to be true for one of the chips that driver supports, not all possibilities. > userspace register is just one area) I wanted to review if we can just remove > MTRR use on the ipath driver and annotate write-combining with PAT as a TODO > item. AFAIK, dropping MTRR support will completely break the performance to the point the driver is unusable. If we drop MTRR we may as well remove the driver. Mike, do you think the time is right to just remove the iPath driver? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/