lkml.org 
[lkml]   [2009]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC v6][PATCH 1/4] intel_txt: Intel(R) TXT boot support
From
Date
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



\
 
 \ /
  Last update: 2009-09-03 14:31    [W:0.057 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site