From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760079Ab0ENXcb (ORCPT ); Fri, 14 May 2010 19:32:31 -0400 Received: from terminus.zytor.com ([198.137.202.10]:42019 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754626Ab0ENXc3 (ORCPT ); Fri, 14 May 2010 19:32:29 -0400 Message-ID: <4BEDDD77.1050205@zytor.com> Date: Fri, 14 May 2010 16:32:07 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jesse Barnes CC: Mike Travis , Bjorn Helgaas , Mike Habeck , Ingo Molnar , Thomas Gleixner , x86@kernel.org, Jacob Pan , Tejun Heo , LKML , Yinghai , "linux-pci@vger.kernel.org" , Myron Stowe Subject: Re: [Patch 1/1] x86 pci: Add option to not assign BAR's if not already assigned References: <4BEAF008.9030805@sgi.com> <201005131256.17997.bjorn.helgaas@hp.com> <4BEC5530.1000008@sgi.com> <201005131402.30759.bjorn.helgaas@hp.com> <20100514152509.3aeb37b4@virtuousgeek.org> <4BEDCFD9.7020202@sgi.com> <20100514154706.4f36f4ed@virtuousgeek.org> <4BEDDACD.9040704@zytor.com> <20100514162836.27e0325a@virtuousgeek.org> In-Reply-To: <20100514162836.27e0325a@virtuousgeek.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2010 04:28 PM, Jesse Barnes wrote: > On Fri, 14 May 2010 16:20:45 -0700 > "H. Peter Anvin" wrote: > >> On 05/14/2010 03:47 PM, Jesse Barnes wrote: >>> >>> Wow and they're using cards that want to use I/O space? Funky. It's >>> too late to get this into 2.6.34, but that can't be what you were >>> expecting... I don't see a problem with getting something like this in >>> for 2.6.35. >>> >> >> Most cards on the market provide I/O BARs as a convenience to legacy >> BIOSes; they don't need the I/O BAR functionality from inside a >> full-featured OS. There are a few, key, exceptions, mainly in the form >> of legacy-interface devices like UARTs and VGA (note that VGA has its >> own routing bits and is therefore unaffected by this problem.) > > Yeah, it's the "legacy" part that I'm questioning. I'm just lamenting > that it's dying off so slowly... > > And yes, VGA is an unfortunate standard. > I'm not lamenting that fact, because my experience is that what ends up replacing it is often far worse. Consider UARTs -- no MMU dependencies at all, can be accessed with four lines of assembly, and compare it to EHCI debug port, the driver for which is over 900 lines in the Linux kernel -- and that assumes that you're already in flat mode. -hpa