From: Greg KH gregkh@linuxfoundation.org Sent: Wednesday, July 2, 2025 1:08 AM To: Dexuan Cui decui@microsoft.com Cc: Stable stable@vger.kernel.org; Long Li longli@microsoft.com Subject: [EXTERNAL] Re: Please cherry-pick this commit to v5.15.y, 5.10.y and 5.4.y: 23e118a48acf ("PCI: hv: Do not set PCI_COMMAND_MEMORY to reduce VM boot time")
On Wed, Jun 25, 2025 at 06:05:26AM +0000, Dexuan Cui wrote:
Hi, The commit has been in v6.1.y for 3+ years (but not in the 5.x stable branches): 23e118a48acf ("PCI: hv: Do not set PCI_COMMAND_MEMORY to reduce VM boot time")
The commit can be cherry-picked cleanly to the latest 5.x stable branches, i.e. 5.15.185, 5.10.238 and 5.4.294.
It adds a new build warning on 5.4.y, so I will not apply it there, sorry. Will go apply it to 5.10.y and 5.15.y for now.
Out of curiosity, I built 5.4.y plus the commit and got this warning:
drivers/pci/controller//pci-hyperv.c: In function 'prepopulate_bars': drivers/pci/controller//pci-hyperv.c:1731:13: warning: unused variable 'command' [-Wunused-variable]
I think 5.4.y lacks another commit made in 2019: ac82fc832708 ("PCI: hv: Add hibernation support") but definitely we don't want to pull this commit into 5.4.y.
thanks,
greg k-h
I guess this requested commit doesn't really need to go into 5.4.y, which I suppose isn't used widely any more. I listed it just for completeness :-)
Thank you Greg for applying the commit into 5.10.y and 5.15.y!
Thanks, Dexuan