Displaying 5 results from an estimated 5 matches for "intel_vtd_setup".
2012 Jul 30
3
[PATCH] Intel VT-d: Dump IOMMU supported page sizes
diff -r e6266fc76d08 -r 6feac926cf80 xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c Fri Jul 27 12:22:13 2012 +0200
+++ b/xen/drivers/passthrough/vtd/iommu.c Mon Jul 30 15:35:16 2012 -0700
@@ -2137,6 +2137,15 @@ int __init intel_vtd_setup(void)
{
iommu = drhd->iommu;
+ printk("Intel VT-d supported page sizes: 4kB");
+ if (cap_sps_2mb(iommu->cap))
+ printk(", 2MB");
+
+ if (cap_sps_1gb(iommu->cap))
+ printk(", 1GB");
+
+ printk(&q...
2012 Oct 24
5
[PATCH v3] IOMMU: keep disabled until iommu_setup() is called
...ty(&acpi_drhd_units) )
+ if ( !iommu_qinval || !iommu_intremap || list_empty(&acpi_drhd_units) )
return 0;
/* We MUST have a DRHD unit for each IOAPIC. */
--- a/xen/drivers/passthrough/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -2086,7 +2086,10 @@ int __init intel_vtd_setup(void)
int ret;
if ( list_empty(&acpi_drhd_units) )
- return -ENODEV;
+ {
+ ret = -ENODEV;
+ goto error;
+ }
platform_quirks_init();
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -26,7 +26,7 @@
#include <public/hvm/ioreq.h>...
2013 Mar 19
7
[PATCH 0/3] IOMMU errata treatment adjustments
1: IOMMU: properly check whether interrupt remapping is enabled
2: AMD IOMMU: only disable when certain IVRS consistency checks fail
3: VT-d: deal with 5500/5520/X58 errata
Patch 1 and 2 are version 2 of a previously submitted, then
withdrawn patch following up after XSA-36. Patch 3 is version 3 of
a patch previously sent by Malcolm and Andrew.
Signed-off-by: Jan Beulich
2009 Aug 30
0
I/O Virtualization failure on d5400xs with iommu=1
...0000000
(XEN) 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
(XEN) 00000000 00000000 00000000 00000000 ff220000
(XEN) Xen call trace:
(XEN) [<ff1288ad>] clear_fault_bits+0x2d/0xc0
(XEN) [<ff12971b>] init_vtd_hw+0x13b/0x3c0
(XEN) [<ff129f39>] intel_vtd_setup+0x599/0x600
(XEN) [<ff126b96>] iommu_setup+0x26/0x100
(XEN) [<ff117e80>] stopmachine_softirq+0x0/0xa0
(XEN) [<ff1f69d5>] __start_xen+0xef5/0x1570
(XEN) [<ff1e6250>] e820nr+0x0/0x4
(XEN) [<ff10006c>] __high_start+0x58/0x5a
(XEN)
(XEN) Pagetable walk f...
2012 Jan 05
9
[PATCHv2 0 of 2] Deal with IOMMU faults in softirq context.
Hello everyone,
Reposting with after having applied the (minor) fixes suggested by Wei
and Jan.
Allen, if you can tell us what you think about this, or suggest someone
else to ask some feedback to, if you''re no longer involved with VT-d,
that would be great! :-)
--
As already discussed here [1], dealing with IOMMU faults in interrupt
context may cause nasty things to happen, up to