From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 16 Jul 2018 17:48:43 +0000 Subject: Re: reserve memory Message-Id: <20180716174843.GC8555@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Jul 16, 2018 at 03:41:05PM +0300, Ran Shalit wrote: > Hello, > > When doing : > echo 1 > /sys/bus/pci/rescan Eeek, don't do that unless you _REALLY_ have no other option. > Does it results in memory allocation for the new added device ? It depends. It depends in your platform and what you mean exactly by "memory allocation". > Is it that by adding "pci=hpmemsize" we can reserve the memory for the > hot-plug device ? ( So, that there is no dynamic allocation in runtime > ) I don't know, you should ask this on the linux-pci mailing list as that is where the developers who added this are at. good luck! greg k-h