On Mon, Jul 16, 2018 at 8:48 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > 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. > Hi, What are the alternatives ? I haven't find any information of this issue of memory allocation and rescan, so any pointer will help, Thanks, ranran >> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html