Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753361AbbD0Qqp (ORCPT ); Mon, 27 Apr 2015 12:46:45 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:37240 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753016AbbD0Qqm (ORCPT ); Mon, 27 Apr 2015 12:46:42 -0400 MIME-Version: 1.0 In-Reply-To: <1429730795-6721-1-git-send-email-mcgrof@do-not-panic.com> References: <1429730795-6721-1-git-send-email-mcgrof@do-not-panic.com> From: "Luis R. Rodriguez" Date: Mon, 27 Apr 2015 09:46:21 -0700 X-Google-Sender-Auth: fdyOFCkObkQ3wnf4dY2S0X1OQvY Message-ID: Subject: Re: [PATCH] IB/ipath: use arch_phys_wc_add() and require PAT disabled To: Doug Ledford , Mike Marciniszyn , roland@kernel.org, "Hefty, Sean" , Hal Rosenstock , linux-rdma@vger.kernel.org Cc: Andy Lutomirski , "Michael S. Tsirkin" , "linux-kernel@vger.kernel.org" , "Luis R. Rodriguez" , Suresh Siddha , Rickard Strandqvist , Mike Marciniszyn , Roland Dreier , Ingo Molnar , Linus Torvalds , Thomas Gleixner , Juergen Gross , Daniel Vetter , Dave Airlie , Bjorn Helgaas , Antonino Daplas , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Mel Gorman , Vlastimil Babka , Borislav Petkov , Davidlohr Bueso , Dave Hansen , Arnd Bergmann , Stefan Bader , Konrad Rzeszutek Wilk , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , David Vrabel , Jan Beulich , Toshi Kani , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , linux-fbdev , "xen-devel@lists.xensource.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1458 Lines: 34 On Wed, Apr 22, 2015 at 12:26 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > We are burrying direct access to MTRR code support on > x86 in order to take advantage of PAT. In the future we > also want to make the default behaviour of ioremap_nocache() > to use strong UC, use of mtrr_add() on those systems > would make write-combining void. > > In order to help both enable us to later make strong > UC default and in order to phase out direct MTRR access > code port the driver over to arch_phys_wc_add() and > annotate that the device driver requires systems to > boot with PAT disabled, with the nopat kernel parameter. > > This is a worthy compromise given that the ipath device > driver powers the old HTX bus cards that only work in > AMD systems, while the newer IB/qib device driver > powers all PCI-e cards. The ipath device driver is > obsolete, hardware hard to find and because of this > this its a reasonable compromise to make to require > users of ipath to boot with nopat. Hey folks, I realize its being discussed whether or not to remove the driver entirely from the kernel but in the meantime, is this a reasonable compromise ? Luis -- 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/