From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v2] iommu: Add event tracing feature to iommu Date: Wed, 14 Aug 2013 18:17:58 +0200 Message-ID: <20130814161758.GQ28811@8bytes.org> References: <1375196229-2784-1-git-send-email-shuah.kh@samsung.com> <20130814141758.GN28811@8bytes.org> <520BAAF0.8000509@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <520BAAF0.8000509-Sze3O3UU22JBDgjK7y7TUQ@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: Shuah Khan Cc: ohad-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, aik-sLpHqDYs0B2HXe+LvDLADg@public.gmane.org, fweisbec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rostedt-nx8X9YLhiw1AfugRpC6u6w@public.gmane.org, tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org, mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, shuahkhan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, andreas.herrmann-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org, Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Aug 14, 2013 at 10:06:08AM -0600, Shuah Khan wrote: > Is this what you have in mind or does my original patch set minus > the amd_event and drivers/iommu/amd_iommu.c change? > > Patch 1: > drivers/iommu/Makefile > drivers/iommu/iommu-traces.c > include/trace/events/iommu.h > > One patch for each of the following events? > > iommu:add_device_to_group > iommu:remove_device_from_group > iommu:attach_device_to_domain > iommu:detach_device_from_domain > iommu:unmap > iommu:map Right, please do a seperate patch for each event. > I see what you are saying. Adding event to report_iommu_fault() > would cover all IOMMUs. I would like to work on adding an event > unless you already have it in works. I don't, so feel free to add one too. Joerg