From: Joerg Roedel <joro@8bytes.org>
To: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>,
iommu@lists.linux-foundation.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH V3 0/3] Add debugfs support to show scalable mode DMAR table
Date: Mon, 27 May 2019 16:16:47 +0200 [thread overview]
Message-ID: <20190527141647.GG8420@8bytes.org> (raw)
In-Reply-To: <cover.1558735674.git.sai.praneeth.prakhya@intel.com>
On Fri, May 24, 2019 at 04:40:14PM -0700, Sai Praneeth Prakhya wrote:
> Changes from V2 to V3:
> ----------------------
> Presently, for V2 patches if kernel command line argument "iommu=pt" is passed,
> dumping DMAR table seg faults. This happens because in pass through mode (for
> non-scalable DMAR's) 3rd bit of context entry is set and it is misinterpreted as
> PASID enabled by debugfs code and hence tries to dereference PASID directory
> pointer which leads to seg fault (PASID directory pointer is undefined for
> non-scalable DMAR's). To fix this, dereference PASID directory pointer only when
> 1. PASID is supported and
> 2. PASID is enabled.
>
> This patch is tested on
> 1. Non-scalable DMAR with and without iommu=pt
> 2. Scalable DMAR with and without iommu=pt
Sorry, missed this patch-set. Applied this one instead of V2.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2019-05-27 14:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 23:40 [PATCH V3 0/3] Add debugfs support to show scalable mode DMAR table Sai Praneeth Prakhya
2019-05-24 23:40 ` [PATCH V3 1/3] iommu/vt-d: Modify the format of intel DMAR tables dump Sai Praneeth Prakhya
2019-05-24 23:40 ` [PATCH V3 2/3] iommu/vt-d: Introduce macros useful for dumping DMAR table Sai Praneeth Prakhya
2019-05-24 23:40 ` [PATCH V3 3/3] iommu/vt-d: Add debugfs support to show scalable mode DMAR table internals Sai Praneeth Prakhya
2019-05-27 14:16 ` Joerg Roedel [this message]
2019-05-29 16:19 ` [PATCH V3 0/3] Add debugfs support to show scalable mode DMAR table Prakhya, Sai Praneeth
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=20190527141647.GG8420@8bytes.org \
--to=joro@8bytes.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=ashok.raj@intel.com \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux-foundation.org \
--cc=sai.praneeth.prakhya@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox