From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Gary R Hook <ghook-5C7GfCeVMHo@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] iommu/amd - Update the PASID information printed to the system log
Date: Thu, 3 May 2018 22:29:28 +0200 [thread overview]
Message-ID: <20180503202928.GZ15462@8bytes.org> (raw)
In-Reply-To: <526f3331-610f-9556-1d6d-f595d689b6de-5C7GfCeVMHo@public.gmane.org>
On Thu, May 03, 2018 at 01:09:18PM -0500, Gary R Hook wrote:
> Yes, I didn't quite get this right. Both values should be passed along. Or
> perhaps the entire event could be passed in and decoded by
> amd_iommu_report_page_fault()?
You already pass in the flags, you can chose the correct message by
looking at the GN flag there and treat the value as a domid or a pasid.
Joerg
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Gary R Hook <ghook@amd.com>
Cc: Gary R Hook <gary.hook@amd.com>,
iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] iommu/amd - Update the PASID information printed to the system log
Date: Thu, 3 May 2018 22:29:28 +0200 [thread overview]
Message-ID: <20180503202928.GZ15462@8bytes.org> (raw)
In-Reply-To: <526f3331-610f-9556-1d6d-f595d689b6de@amd.com>
On Thu, May 03, 2018 at 01:09:18PM -0500, Gary R Hook wrote:
> Yes, I didn't quite get this right. Both values should be passed along. Or
> perhaps the entire event could be passed in and decoded by
> amd_iommu_report_page_fault()?
You already pass in the flags, you can chose the correct message by
looking at the GN flag there and treat the value as a domid or a pasid.
Joerg
next prev parent reply other threads:[~2018-05-03 20:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-01 19:52 [PATCH 0/2] Tweak AMD IOMMU logging Gary R Hook
2018-05-01 19:52 ` Gary R Hook
2018-05-01 19:52 ` [PATCH 1/2] iommu/amd - Update the PASID information printed to the system log Gary R Hook
2018-05-01 19:52 ` Gary R Hook
2018-05-03 13:57 ` Joerg Roedel
2018-05-03 13:57 ` Joerg Roedel
[not found] ` <20180503135706.nypxlwlt7jhqhhum-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2018-05-03 18:09 ` Gary R Hook
2018-05-03 18:09 ` Gary R Hook
[not found] ` <526f3331-610f-9556-1d6d-f595d689b6de-5C7GfCeVMHo@public.gmane.org>
2018-05-03 20:29 ` Joerg Roedel [this message]
2018-05-03 20:29 ` Joerg Roedel
2018-05-01 19:53 ` [PATCH 2/2] iommu/amd - Update logging information for new event type Gary R Hook
2018-05-01 19:53 ` Gary R Hook
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=20180503202928.GZ15462@8bytes.org \
--to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
--cc=ghook-5C7GfCeVMHo@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.