mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@sous-sol.org>
To: Joseph Cihula <joseph.cihula@intel.com>
Cc: "dwmw2@infradead.org" <dwmw2@infradead.org>,
	"iommu@lists.linux-foundation.org"
	<iommu@lists.linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	akpm@linux-foundation.org, "Wei, Gang" <gang.wei@intel.com>
Subject: Re: [PATCH RESEND 2] intel_iommu: disable all VT-d PMRs when TXT launched
Date: Thu, 21 Apr 2011 15:44:15 -0700	[thread overview]
Message-ID: <20110421224415.GG9569@sequoia.sous-sol.org> (raw)
In-Reply-To: <4DB0AB00.80105@intel.com>

* Joseph Cihula (joseph.cihula@intel.com) wrote:
> This patch detects when the kernel has been launched with TXT and then
> disables the PMRs on all VT-d engines.  In some cases where the reason
> that remapping is not being enabled is due to possible ACPI DMAR table
> errors, the VT-d engine addresses may not be correct and thus not able
> to be safely programmed even to disable PMRs.  Because part of the TXT
> launch process is the verification of these addresses, it will always be
> safe to disable PMRs if the TXT launch has succeeded and hence only
> doing this in such cases.

What about on resume?  The ->ignored units won't get PMR disabled.

      parent reply	other threads:[~2011-04-21 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 18:04 [PATCH] " Joseph Cihula
2011-04-13 20:46 ` [PATCH RESEND] " Joseph Cihula
2011-04-21 22:09 ` [PATCH RESEND 2] " Joseph Cihula
2011-04-21 22:13   ` David Woodhouse
2011-04-21 22:44   ` Chris Wright [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=20110421224415.GG9569@sequoia.sous-sol.org \
    --to=chrisw@sous-sol.org \
    --cc=akpm@linux-foundation.org \
    --cc=dwmw2@infradead.org \
    --cc=gang.wei@intel.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=joseph.cihula@intel.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome