]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iommu/amd: Enforce alignment for MSI IRQs
authorJoerg Roedel <jroedel@suse.de>
Fri, 6 Oct 2017 10:22:06 +0000 (12:22 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 10 Oct 2017 14:04:20 +0000 (16:04 +0200)
commit53b9ec3fbb7da97d13951debbd42e3a0c4a7c9f7
tree997405f3b20a8130d440f5125f7cac36b2c03f5b
parent37946d95fc1a41ed79efb613b0818c2cdecbb2fa
iommu/amd: Enforce alignment for MSI IRQs

Make use of the new alignment capability of
alloc_irq_index() to enforce IRQ index alignment
for MSI.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Fixes: 2b324506341cb ('iommu/amd: Add routines to manage irq remapping tables')
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c