Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146Ab3FNDXD (ORCPT ); Thu, 13 Jun 2013 23:23:03 -0400 Received: from mail-ob0-f180.google.com ([209.85.214.180]:54009 "EHLO mail-ob0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790Ab3FNDXA (ORCPT ); Thu, 13 Jun 2013 23:23:00 -0400 MIME-Version: 1.0 In-Reply-To: References: <1371141152-9468-1-git-send-email-jiang.liu@huawei.com> Date: Thu, 13 Jun 2013 20:22:58 -0700 X-Google-Sender-Auth: SQNbuJEyKT0SCKP_gAf3eF9Jnx8 Message-ID: Subject: Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver From: Yinghai Lu To: "Alexander E. Patrakov" Cc: Jiang Liu , "Rafael J . Wysocki" , Bjorn Helgaas , Greg Kroah-Hartman , Yijing Wang , Jiang Liu , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 29 On Thu, Jun 13, 2013 at 7:06 PM, Alexander E. Patrakov wrote: > 2013/6/14 Yinghai Lu : >> the 3) is about pci resource allocation? >> because pcibios_add_bus is called too early? > > (3) is https://bugzilla.kernel.org/show_bug.cgi?id=56531 > >> If that is case, we should have something like attached patch for it. > > It does not even compile because the argument of pci_bus_add_devices() > points to a const struct. You can't increment a member of it. And even > if you remove the const from both the declaration and the definition > of that function, the patch doesn't help at all. > > Here is /proc/ioports with the fixed-up patch: dmesg with the fixed-up patch on v3.10-rc? After look at the your dmesg v3.10-rc5, we really should move pcibios_add_bus down. as we do have children slots under .... Yinghai -- 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/