[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120123140355.GA19255@amd.com>
Date: Mon, 23 Jan 2012 15:03:55 +0100
From: Joerg Roedel <joerg.roedel@....com>
To: Ohad Ben-Cohen <ohad@...ery.com>,
Stepan Moskovchenko <stepanm@...eaurora.org>,
David Brown <davidb@...eaurora.org>
CC: <iommu@...ts.linux-foundation.org>, <linux-kernel@...r.kernel.org>
Subject: OMAP and MSM IOMMU driver misbehavior
Hi,
while reviewing another IOMMU driver again I came across a problem in
the IOMMU drivers for OMAP and MSM platforms. In both drivers the
'domain_destroy with devices attached' case isn't handled correctly.
OMAP driver seems not to track the devices attached to a domain at all.
So when a domain is destroyed it can happen that the hardware still
references old (and already freed) page-table pointers.
MSM tracks devices in a domain, but does not automatically remove the
devices from a domain that is about to be destroyed.
Please tell me when I mis-read the code, otherwise please fix this in
your drivers so that we can get consistent behavior for IOMMU-API
users :-)
Thanks,
Joerg
--
AMD Operating System Research Center
Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists