mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: joseph.cihula@intel.com
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu,
	arjan@linux.intel.com, hpa@zytor.com, andi@firstfloor.org,
	chrisw@sous-sol.org, jmorris@namei.org, jbeulich@novell.com,
	peterm@redhat.com, gang.wei@intel.com, shane.wang@intel.com
Subject: Re: [RFC v6][PATCH 1/4] intel_txt: Intel(R) TXT boot support
Date: Thu, 03 Sep 2009 13:28:34 +0100	[thread overview]
Message-ID: <1251980914.4483.494.camel@macbook.infradead.org> (raw)
In-Reply-To: <4A4ACA63.2000708@intel.com>

On Tue, 2009-06-30 at 19:30 -0700, Joseph Cihula wrote:
> 
> +int tboot_force_iommu(void)
> +{
> +       if (!tboot_enabled())
> +               return 0;
> +
> +       if (no_iommu || swiotlb || dmar_disabled)
> +               pr_warning("Forcing Intel-IOMMU to enabled\n");
> +
> +       dmar_disabled = 0;
> +#ifdef CONFIG_SWIOTLB
> +       swiotlb = 0;
> +#endif
> +       no_iommu = 0;
> +
> +       return 1;
> +}

Ick. The logic for selecting which IOMMU is used is convoluted enough
already, without adding this here.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@intel.com                              Intel Corporation


      reply	other threads:[~2009-09-03 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  2:30 Joseph Cihula
2009-09-03 12:28 ` David Woodhouse [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=1251980914.4483.494.camel@macbook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=andi@firstfloor.org \
    --cc=arjan@linux.intel.com \
    --cc=chrisw@sous-sol.org \
    --cc=gang.wei@intel.com \
    --cc=hpa@zytor.com \
    --cc=jbeulich@novell.com \
    --cc=jmorris@namei.org \
    --cc=joseph.cihula@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterm@redhat.com \
    --cc=shane.wang@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

Powered by JetHome