]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/MSI: Check the device specific address mask in msi_verify_entries()
authorVivian Wang <wangruikang@iscas.ac.cn>
Thu, 29 Jan 2026 01:56:07 +0000 (09:56 +0800)
committerThomas Gleixner <tglx@kernel.org>
Sat, 31 Jan 2026 00:11:48 +0000 (01:11 +0100)
commit52f0d862f595a2fa18ef44532619a080c24fe4cb
tree6c36c017769dbce54b706d15f42b64c7cb10ef71
parent386ced19e9a348e8131d20f009e692fa8fcc4568
PCI/MSI: Check the device specific address mask in msi_verify_entries()

Instead of a 32-bit/64-bit dichotomy, check the MSI address against
the device specific address mask.

This allows platforms with an MSI doorbell address above the 32-bit limit
to work with devices without full 64-bit MSI address support, as long as
the doorbell is within the addressable range of the device.

[ tglx: Massaged changelog ]

Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260129-pci-msi-addr-mask-v4-2-70da998f2750@iscas.ac.cn
drivers/pci/msi/msi.c