Thread (3 messages) flat view 3 messages, 3 authors, 2014-09-05

Re: [PATCH v2] iommu/fsl: Fix warning resulting from adding PCI device twice

From: Joerg Roedel <joro@8bytes.org>
Date: 2014-09-05 14:04:19
Also in: linux-iommu, lkml

On Thu, Sep 04, 2014 at 05:08:45PM +0530, Varun Sethi wrote:
iommu_group_get_for_dev determines the iommu group for the PCI device and adds
the device to the group.

In the PAMU driver we were again adding the device to the same group without checking
if the device already had an iommu group. This resulted in the following warning.

[...]

Signed-off-by: Varun Sethi <redacted>
---
v2 changes
- directly check for the device iommu_group

 drivers/iommu/fsl_pamu_domain.c |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Applied to iommu/fixes and added stable tag, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help