From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753954AbdJII42 (ORCPT ); Mon, 9 Oct 2017 04:56:28 -0400 Received: from mga01.intel.com ([192.55.52.88]:14289 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbdJII41 (ORCPT ); Mon, 9 Oct 2017 04:56:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,499,1500966000"; d="scan'208";a="908106263" Date: Mon, 9 Oct 2017 11:47:39 +0300 From: Mika Westerberg To: Bjorn Helgaas Cc: Ashok Raj , Keith Busch , "Rafael J . Wysocki" , Lukas Wunner , Michael Jamet , Yehezkel Bernat , Mario.Limonciello@dell.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] PCI: Improvements for native PCIe hotplug Message-ID: <20171009084739.GK2761@lahna.fi.intel.com> References: <20170926141720.25067-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170926141720.25067-1-mika.westerberg@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.0 (2017-09-02) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 26, 2017 at 05:17:13PM +0300, Mika Westerberg wrote: > Hi, > > Currently when plugging PCIe device using native PCIe hotplug Linux PCI > core tries to allocate bus space and resources so that the newly enumerated > topology barely fits there. Now, if the PCIe topology that was just plugged > in has more PCIe hotplug ports we will run out of bus space and resources > pretty quickly. There is a workaround for this by passing pci=hpbussize=N > in the kernel command line but it runs to the same situation after next > hotplug. Hi Bjorn, Do you have any comments regarding this series? I think I need to respin this on top of Andy's for_each_pci_bridge() patch but if there are other comments I can address them at the same time. Thanks!