All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org,
	linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org
Subject: Re: [PATCH] perf/x86/amd: Adding support for new IOMMU performance event
Date: Mon, 14 Dec 2015 16:05:42 +0100	[thread overview]
Message-ID: <20151214150542.GD11292@8bytes.org> (raw)
In-Reply-To: <1449874397-27056-1-git-send-email-Suravee.Suthikulpanit@amd.com>

On Fri, Dec 11, 2015 at 04:53:17PM -0600, Suravee Suthikulpanit wrote:
> From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> 
> This patch adds new IOMMU performance event based on
> the information in table 74 of the AMD I/O Virtualization Technology
> (IOMMU) Specification (Document Id: 4882, Rev 2.62, Feb 2015)
> 
> Link: http://support.amd.com/TechDocs/48882_IOMMU.pdf
> Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
> ---
>  arch/x86/kernel/cpu/perf_event_amd_iommu.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Joerg Roedel <jroedel@suse.de>
Acked-by: Joerg Roedel <jroedel@suse.de>

> 
> diff --git a/arch/x86/kernel/cpu/perf_event_amd_iommu.c b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
> index 97242a9..86f8259 100644
> --- a/arch/x86/kernel/cpu/perf_event_amd_iommu.c
> +++ b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
> @@ -118,6 +118,11 @@ static struct amd_iommu_event_desc amd_iommu_v2_event_descs[] = {
>  	AMD_IOMMU_EVENT_DESC(cmd_processed,           "csource=0x11"),
>  	AMD_IOMMU_EVENT_DESC(cmd_processed_inv,       "csource=0x12"),
>  	AMD_IOMMU_EVENT_DESC(tlb_inv,                 "csource=0x13"),
> +	AMD_IOMMU_EVENT_DESC(ign_rd_wr_mmio_1ff8h,    "csource=0x14"),
> +	AMD_IOMMU_EVENT_DESC(vapic_int_non_guest,     "csource=0x15"),
> +	AMD_IOMMU_EVENT_DESC(vapic_int_guest,         "csource=0x16"),
> +	AMD_IOMMU_EVENT_DESC(smi_recv,                "csource=0x17"),
> +	AMD_IOMMU_EVENT_DESC(smi_blk,                 "csource=0x18"),
>  	{ /* end: all zeroes */ },
>  };
>  
> -- 
> 1.9.1
> 

      reply	other threads:[~2015-12-14 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 22:53 [PATCH] perf/x86/amd: Adding support for new IOMMU performance event Suravee Suthikulpanit
2015-12-11 22:53 ` Suravee Suthikulpanit
2015-12-14 15:05 ` Joerg Roedel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151214150542.GD11292@8bytes.org \
    --to=joro@8bytes.org \
    --cc=Suravee.Suthikulpanit@amd.com \
    --cc=acme@kernel.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.