]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ionic: advertise 52-bit addressing limitation for MSI-X
authorDavid Christensen <drc@linux.ibm.com>
Mon, 3 Jun 2024 21:27:41 +0000 (17:27 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Jun 2024 22:53:22 +0000 (15:53 -0700)
commit1467713eb2244a54c99028a2eacd44f2d1badaf7
tree6aaf658ba1f61e5841c5be91eb7387ccb30ddd97
parentc790275b5edf5d8280ae520bda7c1f37da460c00
ionic: advertise 52-bit addressing limitation for MSI-X

Current ionic devices only support 52 internal physical address
lines. This is sufficient for x86_64 systems which have similar
limitations but does not apply to all other architectures,
notably IBM POWER (ppc64). To ensure that MSI/MSI-X vectors are
not set outside the physical address limits of the NIC, set the
no_64bit_msi value of the pci_dev structure during device probe.

Signed-off-by: David Christensen <drc@linux.ibm.com>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240603212747.1079134-1-drc@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c