Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754211Ab0A1EcA (ORCPT ); Wed, 27 Jan 2010 23:32:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753549Ab0A1Eb7 (ORCPT ); Wed, 27 Jan 2010 23:31:59 -0500 Received: from g1t0026.austin.hp.com ([15.216.28.33]:31751 "EHLO g1t0026.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752490Ab0A1Eb6 (ORCPT ); Wed, 27 Jan 2010 23:31:58 -0500 Subject: Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs) From: Bjorn Helgaas To: Yinghai Lu Cc: Linus Torvalds , Jesse Barnes , Jeff Garrett , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Linux PCI , Myron Stowe , Matthew Garrett , Ingo Molnar In-Reply-To: <4B60CD99.7020305@kernel.org> References: <201001271345.54454.bjorn.helgaas@hp.com> <201001271403.41955.bjorn.helgaas@hp.com> <4B60CD99.7020305@kernel.org> Content-Type: text/plain Date: Wed, 27 Jan 2010 21:26:02 -0700 Message-Id: <1264652762.24020.5.camel@dc7800.home> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2524 Lines: 57 On Wed, 2010-01-27 at 15:34 -0800, Yinghai Lu wrote: > On 01/27/2010 01:03 PM, Bjorn Helgaas wrote: > > On Wednesday 27 January 2010 01:50:12 pm Linus Torvalds wrote: > >> > >> On Wed, 27 Jan 2010, Bjorn Helgaas wrote: > >>> > >>> Without intel_bus.c, we essentially assume config 1 all the time. > >>> If we keep intel_bus.c and this patch for .33, things should work > >>> for configs 1 and 4. Adding support for config 4 is good. > >> > >> Quite frankly, is there any major downside to just disabling/removing > >> intel_bus.c for 2.6.33? If we're not planning on having it in the long run > >> anyway - or even if we are, but we can't be really happy about the state > >> of it as it would be in 2.6.33, not using it at all seems to be the > >> smaller headache. > >> > >> The machines that it helps are also the machines where you can fix things > >> up with 'use_csr', no? And they are pretty rare, and they didn't use to > >> work without that use_csr in 2.6.32 either, so it's not even a regression. > >> > >> Am I missing something? > > > > Only that when we added intel_bus.c, Yinghai reported that the reason > > was because a machine had a broken _CRS, so "pci=use_crs" wouldn't help. > > > > At the time, Windows hadn't been brought up on that box. My > > speculation is that by now, they've done that bringup and probably > > fixed the _CRS issue, so it might work now. > > > > If that's the case, we could drop intel_bus.c from .33 and just use > > "pci=use_crs" on those boxes until we can figure out how to turn it > > on automatically. > > BIOS fixed that problem already. but > 1. how to turn that pci=use_crs for that box automatically ? > how about our other kind of boxes? Yes, we need a way to turn on "pci=use_crs" automatically. My first thought is to turn it on for all BIOSes with dates of 2010 or later, and in addition, have a whitelist of the pre-2010 machines that require it. > 2. how about when apci is disabled? When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer. Bjorn -- 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/