On Mon, Feb 19, 2024 at 08:28:39PM -0500, Sasha Levin wrote:
This is a note to let you know that I've just added the patch titled
PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git%3Ba=su...
The filename of the patch is: pci-dwc-endpoint-fix-dw_pcie_ep_raise_msix_irq-align.patch and it can be found in the queue-5.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let stable@vger.kernel.org know about it.
Hello stable maintainers,
I notice that upstream commit: 2217fffcd63f ("PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support")
has been backported (as it should) to: 5.10: https://marc.info/?l=linux-stable-commits&m=170839241818847&w=2 (only queued so far) 5.15: https://lore.kernel.org/stable/20240122235754.541847685@linuxfoundation.org/ 6.1: https://lore.kernel.org/stable/20240122235802.692374956@linuxfoundation.org/ 6.6: https://lore.kernel.org/stable/20240122235824.991665077@linuxfoundation.org/ 6.7: https://lore.kernel.org/stable/20240122235832.684822707@linuxfoundation.org/
Unfortunately, while this commit fixed a bug, it introduced another bug.
This "another bug" is fixed in upstream commit: b5d1b4b46f85 ("PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()")
This fix has been backported to: 6.7: https://marc.info/?l=linux-stable-commits&m=170836979506847&w=2 (only queued so far)
But needs to be backported to 5.10, 5.15, 6.1, 6.6, 6.7.
It does not apply without conflicts, so I've attached two backported versions. (There was a minor conflict with the headers.)
backport-all-but-5_10.patch - for 5.15, 6.1, 6.6, 6.7 backport-5_10.patch - for 5.10
Kind regards, Niklas