]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: xgene-msi: Use device-managed memory allocations
authorMarc Zyngier <maz@kernel.org>
Tue, 8 Jul 2025 17:33:58 +0000 (18:33 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 22 Jul 2025 20:33:16 +0000 (15:33 -0500)
commitc9c1578f11af7ebfb62ff683be638ba6f7a9cb44
tree0c8e17e9041a20bb80c9893bb733da0095f175c9
parent0756244d4cbcd9b1403a39e1e719b9b9bcae3aff
PCI: xgene-msi: Use device-managed memory allocations

Since the MSI driver is probed as a platform device, there is no
reason to not use device-managed allocations. That's including
the top-level bookkeeping structure, which is better dynamically
allocated than being static.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20250708173404.1278635-8-maz@kernel.org
drivers/pci/controller/pci-xgene-msi.c