From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [RFC PATCH 0/5] amd_iommu: Refactor IOMMU group and support virtual aliases Date: Thu, 18 Oct 2012 15:29:10 -0600 Message-ID: <1350595750.2112.438.camel@bling.home> References: <20121009044057.16302.44577.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121009044057.16302.44577.stgit-xdHQ/5r00wBBDLzU/O5InQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Joerg.Roedel-5C7GfCeVMHo@public.gmane.org Cc: florian-Q0TRQrZM+Zzk1uMJSBkQmQ@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org Joerg, I think this series is good-to-go, modulo any testing you may be able to do on it. I'm going to be offline for a couple weeks so feel free to incorporate this RFC directly or I can re-spin something when I'm back. Thanks, Alex On Mon, 2012-10-08 at 22:49 -0600, Alex Williamson wrote: > This series is meant to refactor IOMMU group support in amd_iommu > to properly support virtual aliases. If multiple devices alias to > the same virtual alias, they should be grouped together. This code > also verifies whether the alias should be the root of the group vs > devices above the alias. > > This seems to do the right thing on my system, but that's not saying > a lot since it doesn't do anything interesting with aliases. I'd > appreciate if Joerg and Florian could test this on their systems. > Thanks, > > Alex > > --- > > Alex Williamson (5): > amd_iommu: Properly account for virtual aliases in IOMMU groups > amd_iommu: Split IOMMU group allocation and attach > amd_iommu: Split upstream bus device lookup > amd_iommu: Split IOMMU Group topology walk > amd_iommu: Split IOMMU group initialization > > > drivers/iommu/amd_iommu.c | 184 ++++++++++++++++++++++++++++++--------- > drivers/iommu/amd_iommu_types.h | 1 > 2 files changed, 142 insertions(+), 43 deletions(-) > _______________________________________________ > iommu mailing list > iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu