From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbdJFLeR (ORCPT ); Fri, 6 Oct 2017 07:34:17 -0400 Received: from 8bytes.org ([81.169.241.247]:37240 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbdJFLeQ (ORCPT ); Fri, 6 Oct 2017 07:34:16 -0400 From: Joerg Roedel To: iommu@lists.linux-foundation.org Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Joerg Roedel Subject: [PATCH 0/2] iommu/amd: Correctly Align Multiple MSI IRQs Date: Fri, 6 Oct 2017 13:34:10 +0200 Message-Id: <1507289652-30166-1-git-send-email-joro@8bytes.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thomas made me recently aware of the fact that the IRQ remapping code in the AMD IOMMU driver does not enforce the required alignment of IRQ indexes for multiple MSI IRQs. This patch-set adds the correct alignment for these IRQs. Regards, Joerg Joerg Roedel (2): iommu/amd: Add align parameter to alloc_irq_index() iommu/amd: Enforce alignment for MSI IRQs drivers/iommu/amd_iommu.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.7.4