Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756933AbYHaAu3 (ORCPT ); Sat, 30 Aug 2008 20:50:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755925AbYHaAuT (ORCPT ); Sat, 30 Aug 2008 20:50:19 -0400 Received: from rv-out-0506.google.com ([209.85.198.230]:1248 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755561AbYHaAuS (ORCPT ); Sat, 30 Aug 2008 20:50:18 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LxZVnOemcAXolfqMCd4ysjJ3ZgaFLEeOSM9QaJZPDoo3TUghwJGhHFIt/GIWls/cEQ G9Znv3QrHFUAcbRX+jJcf1M5BKX0X150Wpvzdp6afrShU2fVKNlV95Hnj1Hs0pHWhzkP k2V4eacRJk9f7yiGAWANNYp1Bekh/cCUGtmSQ= Message-ID: <86802c440808301750w6655bbek557e6a23b8036654@mail.gmail.com> Date: Sat, 30 Aug 2008 17:50:16 -0700 From: "Yinghai Lu" To: "Linus Torvalds" , "Ivan Kokshaysky" Subject: Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd Cc: "Jordan Crouse" , "Rafael J. Wysocki" , "Linux Kernel Mailing List" , "Jeff Garzik" , "Tejun Heo" , "Ingo Molnar" , "David Witbrodt" , "Andrew Morton" , "Kernel Testers" In-Reply-To: <86802c440808301727k3e86c816j323eca0fb5e3f4fc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86802c440808301210u6db1b4e7p4036bdc95db1a601@mail.gmail.com> <86802c440808301314t525d1b75r9afcc73857cf5c79@mail.gmail.com> <86802c440808301550s627dfcb0h7ff8971c8248703a@mail.gmail.com> <86802c440808301639j137ebef1r1ecadeebd351fc03@mail.gmail.com> <86802c440808301727k3e86c816j323eca0fb5e3f4fc@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1703 Lines: 48 On Sat, Aug 30, 2008 at 5:27 PM, Yinghai Lu wrote: > On Sat, Aug 30, 2008 at 4:39 PM, Yinghai Lu wrote: >> On Sat, Aug 30, 2008 at 4:28 PM, Linus Torvalds >> wrote: >>> >>> >>> On Sat, 30 Aug 2008, Yinghai Lu wrote: >>>> >>>> wait, THAT BAR is 64BIT capable, So kernel should assign 64bit range to it... >>>> it request_resource fails... >>> >>> I don't think we've ever done new allocations in 64 bits. Although looking >>> for it, I have to admit that I don't see what would limit us right now. >>> There used to be some paths that weren't 64-bit clean, but I think we >>> fixed all of those. >> >> would be some corner case... >> > > pci_assign_unassigned_resources==>pci_bus_assign_resources==>pbus_assign_resources_sorted(struct > > static void pbus_assign_resources_sorted(struct pci_bus *bus) > { > struct pci_dev *dev; > struct resource *res; > struct resource_list head, *list, *tmp; > int idx; > > head.next = NULL; > list_for_each_entry(dev, &bus->devices, bus_list) { > u16 class = dev->class >> 8; > > /* Don't touch classless devices or host bridges or ioapics. */ > if (class == PCI_CLASS_NOT_DEFINED || > class == PCI_CLASS_BRIDGE_HOST) > continue; > > > it skips the host bridge... what's story for not touching host bridges? YH -- 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/