iommu/amd: Allocate IOMMU irqs using numa locality info
authorVasant Hegde <vasant.hegde@amd.com>
Tue, 21 Mar 2023 09:23:48 +0000 (09:23 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2023 14:43:40 +0000 (15:43 +0100)
commit4d4a0dbab2b998692f54fa6f7a9d2eb675110743
treeb1629a7cf2e148e46cd6983ffb9d62e34e8b436d
parent0d571dcbe7c6d36dcfcb8e04a49cc01fe462d171
iommu/amd: Allocate IOMMU irqs using numa locality info

Use numa information to allocate irq resources and also to set
irq affinity. This optimizes the IOMMU interrupt handling.

Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Alexey Kardashevskiy <aik@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20230321092348.6127-3-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/init.c