Skip to contentSkip to conversation

We still have to disable vtd for old chipset?

DISCUSSION Neo Jia 6 participants 14 messages Jun 3, 2008 – Sep 23, 2008

lore
Share & tools
lore

Neo Jia

author
#0 lore raw

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#1 lore raw

I believe the hardware interface was different in older chipsets, so there's really no chance we'll support them.

-- Keir

Quoted 12 lines · Neo Jia

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo

author
#2 lore raw
Quoted 1 line

sudo /sbin/lspci

Password:
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 10)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 10) 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 10) 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 10) 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 10) 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 10)

In the user mailing list, I saw somebody is using VT-D on this chipset?

Thanks,
Neo

Quoted 22 lines · Keir Fraser

I believe the hardware interface was different in older chipsets, so there's really no chance we'll support them.

-- Keir

Quoted 12 lines · Neo Jia

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#3 lore raw

The interface changed in a pre-release stepping of that chipset model. I assume you must have a development (not retail) machine?

-- Keir

Quoted 15 lines · Neo Jia
Quoted 1 line

sudo /sbin/lspci

Password:
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 10)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 10) 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 10) 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 10) 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 10) 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 10)

Quoted 21 lines

In the user mailing list, I saw somebody is using VT-D on this chipset?

Thanks,
Neo

Quoted 14 lines · Keir Fraser

I believe the hardware interface was different in older chipsets, so there's really no chance we'll support them.

-- Keir

Quoted 7 lines · Neo Jia

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is

http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00284.html>>>
.

Quoted 10 lines
Quoted 8 lines
Quoted 5 lines

So, I am wondering if there is any fix for this?

Thanks,
Neo

#4 lore raw
In reply to Neo Jia

I've been using VT-d with a Dell T7400 myself without seeing this particular problem. As Keir suggests, I guess you have a pre-retail version of the machine. That said, I've had to patch up Xen to get my version of the chipset working. There were some bogus values in the ACPI tables that determined the scope of the IOMMUs. I'm not sure how to reliably detect that this problem exists, or whether it's even worth trying to fix. I've been waiting for updates that solves the problem, but there hasn't been anything so far. I've attached the patch in case someone else have similar problems.

eSk

xen/drivers/passthrough/vtd/dmar.c +23 -18
diff -r 77dec8732cde xen/drivers/passthrough/vtd/dmar.c
@@ -180,7 +180,12 @@
     return NULL;
 }
 
-static int scope_device_count(void *start, void *end)
+static u8 path_dev(u8 dev, int type)
+{
+    return (type == DMAR_TYPE) ? dev >> 3 : dev;
+}
+
+static int scope_device_count(void *start, void *end, int type)
 {
     struct acpi_dev_scope *scope;
     u16 bus, sub_bus, sec_bus;
@@ -206,7 +211,7 @@
         while ( --depth > 0 )
         {
             bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SECONDARY_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SECONDARY_BUS);
             path++;
         }
 
@@ -214,18 +219,18 @@
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found endpoint: bdf = %x:%x:%x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             count++;
         }
         else if ( scope->dev_type == ACPI_DEV_P2PBRIDGE )
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found bridge: bdf = %x:%x:%x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             sec_bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SECONDARY_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SECONDARY_BUS);
             sub_bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SUBORDINATE_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SUBORDINATE_BUS);
 
             while ( sec_bus <= sub_bus )
             {
@@ -252,14 +257,14 @@
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found IOAPIC: bdf = %x:%x:%x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             count++;
         }
         else
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found MSI HPET: bdf = %x:%x:%x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             count++;
         }
 
@@ -304,7 +309,7 @@
             dprintk(XENLOG_ERR VTDPREFIX, "invalid vt-d acpi entry type\n");
     }
 
-    *cnt = scope_device_count(start, end);
+    *cnt = scope_device_count(start, end, type);
     if ( *cnt == 0 )
     {
         dprintk(XENLOG_INFO VTDPREFIX, "acpi_parse_dev_scope: no device\n");
@@ -328,7 +333,7 @@
         while ( --depth > 0 )
         {
             bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SECONDARY_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SECONDARY_BUS);
             path++;
         }
 
@@ -336,20 +341,20 @@
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found endpoint: bdf = %x:%x:%x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             pdev->bus = bus;
-            pdev->devfn = PCI_DEVFN(path->dev, path->fn);
+            pdev->devfn = PCI_DEVFN(path_dev(path->dev, type), path->fn);
             pdev++;
         }
         else if ( scope->dev_type == ACPI_DEV_P2PBRIDGE )
         {
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found bridge: bus = %x dev = %x func = %x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
             sec_bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SECONDARY_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SECONDARY_BUS);
             sub_bus = pci_conf_read8(
-                bus, path->dev, path->fn, PCI_SUBORDINATE_BUS);
+                bus, path_dev(path->dev, type), path->fn, PCI_SUBORDINATE_BUS);
 
             while ( sec_bus <= sub_bus )
             {
@@ -382,17 +387,17 @@
                 return -ENOMEM;
             acpi_ioapic_unit->apic_id = scope->enum_id;
             acpi_ioapic_unit->ioapic.bdf.bus = bus;
-            acpi_ioapic_unit->ioapic.bdf.dev = path->dev;
+            acpi_ioapic_unit->ioapic.bdf.dev = path_dev(path->dev, type);
             acpi_ioapic_unit->ioapic.bdf.func = path->fn;
             list_add(&acpi_ioapic_unit->list, &dmaru->ioapic_list);
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found IOAPIC: bus = %x dev = %x func = %x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
         }
         else
             dprintk(XENLOG_INFO VTDPREFIX,
                     "found MSI HPET: bus = %x dev = %x func = %x\n",
-                    bus, path->dev, path->fn);
+                    bus, path_dev(path->dev, type), path->fn);
         start += scope->length;
     }
 

[Neo Jia]

Quoted 15 lines
Quoted 1 line

sudo /sbin/lspci

Password:
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 10)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 10) 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 10) 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 10) 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 10) 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 10) 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 10)

Quoted 22 lines

In the user mailing list, I saw somebody is using VT-D on this chipset?

Thanks,
Neo

Quoted 16 lines · Keir Fraser

I believe the hardware interface was different in older chipsets, so there's really no chance we'll support them.

-- Keir

Quoted 9 lines · Neo Jia

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00284.html.

So, I am wondering if there is any fix for this?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

May I ask: on the Dell T7400, what kernel parameters do you use in grub.conf to enable VT-D?

On my DQ35 mobo with Xen 3.3.0 and CentOS 5.2, I used "kernel /xen-3.3.0.gz vtd=1 iommu=1 acpi=force apic=on", and it comes up & NIC passthru works. But the same line on my T7400 just crashes very early in the boot with a big hex dump.

If I set "acpi=off" it boots on the T7400, but I get a VT-D error: "intel_iommu_add_device: context mapping failed".

Is this addressed in xen-unstable? Is there a way to tell if I have the old Seaburg chipset? (This T7400 is pretty new tho.)

Thanks,
Ed Nadolski

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Espen Skoglund
Sent: Tuesday, June 03, 2008 4:50 AM
To: Neo Jia
Cc: [email protected]; Keir Fraser
Subject: Re: [Xen-devel] We still have to disable vtd for old chipset?

I've been using VT-d with a Dell T7400 myself without seeing this particular problem. As Keir suggests, I guess you have a pre-retail version of the machine. That said, I've had to patch up Xen to get my version of the chipset working. There were some bogus values in the ACPI tables that determined the scope of the IOMMUs. I'm not sure how to reliably detect that this problem exists, or whether it's even worth trying to fix. I've been waiting for updates that solves the problem, but there hasn't been anything so far. I've attached the patch in case someone else have similar problems.

eSk

#6 lore raw

Aha, looks like a BIOS issue. Upgrading from BIOS A02 to A03 to A04 seems to have fixed it. I now see the "Intel VT-d has been enabled" in the xm dmesg. The support.dell.com webpage shows BIOS A03 included a fix to the ACPI table.

Now to see if device passthru works... :)

Ed

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Tuesday, September 23, 2008 4:39 PM
To: Espen Skoglund; Neo Jia; Kumar, Venkat
Cc: [email protected]; [email protected]; Fraser
Subject: RE: [Xen-devel] We still have to disable vtd for old chipset?

May I ask: on the Dell T7400, what kernel parameters do you use in grub.conf to enable VT-D?

On my DQ35 mobo with Xen 3.3.0 and CentOS 5.2, I used "kernel /xen-3.3.0.gz vtd=1 iommu=1 acpi=force apic=on", and it comes up & NIC passthru works. But the same line on my T7400 just crashes very early in the boot with a big hex dump.

If I set "acpi=off" it boots on the T7400, but I get a VT-D error: "intel_iommu_add_device: context mapping failed".

Is this addressed in xen-unstable? Is there a way to tell if I have the old Seaburg chipset? (This T7400 is pretty new tho.)

Thanks,
Ed Nadolski

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Espen Skoglund
Sent: Tuesday, June 03, 2008 4:50 AM
To: Neo Jia
Cc: [email protected]; Keir Fraser
Subject: Re: [Xen-devel] We still have to disable vtd for old chipset?

I've been using VT-d with a Dell T7400 myself without seeing this particular problem. As Keir suggests, I guess you have a pre-retail version of the machine. That said, I've had to patch up Xen to get my version of the chipset working. There were some bogus values in the ACPI tables that determined the scope of the IOMMUs. I'm not sure how to reliably detect that this problem exists, or whether it's even worth trying to fix. I've been waiting for updates that solves the problem, but there hasn't been anything so far. I've attached the patch in case someone else have similar problems.

eSk

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
In reply to Neo Jia

This check was needed as some earlier versions of server platform does not support p2m/vt-d page table sharing.

Since now we have separate page tables, we don't need that check anymore. You can just remove the check locally to get it to work on your system.

We will submit a patch to remove it in the upstream.

Allen

Quoted 29 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: Monday, June 02, 2008 6:01 PM
To: [email protected]
Subject: [Xen-devel] We still have to disable vtd for old chipset?

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/
msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo

Signature · 7 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
author
#8 lore raw

So, Xen VT-d should work on my system (pre-retail)?

Thanks,
Neo

Quoted 41 lines · Allen M

This check was needed as some earlier versions of server platform does not support p2m/vt-d page table sharing.

Since now we have separate page tables, we don't need that check anymore. You can just remove the check locally to get it to work on your system.

We will submit a patch to remove it in the upstream.

Allen

Quoted 29 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: Monday, June 02, 2008 6:01 PM
To: [email protected]
Subject: [Xen-devel] We still have to disable vtd for old chipset?

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000 revision = 10

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/
msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#9 lore raw

It should work assuming your BIOS is reporting VT-d correctly. At least the page table sharing should no longer be the issue.

Allen

Quoted 64 lines

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: Tuesday, June 03, 2008 8:23 AM
To: Kay, Allen M
Cc: [email protected]
Subject: Re: [Xen-devel] We still have to disable vtd for old chipset?

So, Xen VT-d should work on my system (pre-retail)?

Thanks,
Neo

Quoted 1 line · Allen M

This check was needed as some earlier versions of server

platform does

Quoted 21 lines

not support p2m/vt-d page table sharing.

Since now we have separate page tables, we don't need that check anymore. You can just remove the check locally to get it to work on your system.

We will submit a patch to remove it in the upstream.

Allen

Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: Monday, June 02, 2008 6:01 PM
To: [email protected]
Subject: [Xen-devel] We still have to disable vtd for old chipset?

I am seeing the following error message in xm dmesg.

(XEN) [VT-D]utils.c:59: *** VT-d disabled - pre C0-step Seaburg found (XEN) [VT-D]utils.c:62: *** vendor = 8086 device = 4000

revision = 10

Quoted 19 lines
Quoted 18 lines

This is on Dell T7400. And the change is
http://lists.xensource.com/archives/html/xen-changelog/2007-09/
msg00284.html.

So, I am wondering if there is any fix for this?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#10 lore raw

Kay, Allen M writes ("RE: [Xen-devel] We still have to disable vtd for old chipset?"):

Quoted 2 lines

It should work assuming your BIOS is reporting VT-d correctly. At least the page table sharing should no longer be the issue.

Are you sure ? My understanding (admittedly half-remembered from some technical note that came with the motherboard replacement to bring our pre-C0 pre-production VT-d system up to date) was that the iommu page table format is different in the pre-C0 chipsets.

That would explain why pagetable sharing between iommu and normal mmu is not possible with those chipsets. But it also makes those pre-C0 chipsets completely incompatible with all of the code in Xen, because Xen doesn't know anything about those pre-C0 pagetables ? (And isn't going to be taught.)

Ian.

author
#11 lore raw

I just tried it by removing the checking. The following is from my xm dmesg. Does those warning matter?

(XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) I/O virtualisation enabled
(XEN) [VT-D]iommu.c:1241:d32767 context_context_mapping: nested PCI bridge not supported: bdf = 0:9:0 sec_bus = 3 sub_bus = 7 (XEN) [VT-D]iommu.c:1241:d32767 context_context_mapping: nested PCI bridge not supported: bdf = 3:0:0 sec_bus = 4 sub_bus = 6 (XEN) *** LOADING DOMAIN 0 ***

Thanks,
Neo

Quoted 17 lines · Ian Jackson

Kay, Allen M writes ("RE: [Xen-devel] We still have to disable vtd for old chipset?"):

Quoted 2 lines

It should work assuming your BIOS is reporting VT-d correctly. At least the page table sharing should no longer be the issue.

Are you sure ? My understanding (admittedly half-remembered from some technical note that came with the motherboard replacement to bring our pre-C0 pre-production VT-d system up to date) was that the iommu page table format is different in the pre-C0 chipsets.

That would explain why pagetable sharing between iommu and normal mmu is not possible with those chipsets. But it also makes those pre-C0 chipsets completely incompatible with all of the code in Xen, because Xen doesn't know anything about those pre-C0 pagetables ? (And isn't going to be taught.)

Ian.

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#12 lore raw

Queued invalidation and Interrupt Remapping are for Nahalem generation of HW. The messages are probably too verbose.

Nested PCI bridge means you the devices behind more than 1 level of pci bridges are found. As we don't support this in our code yet, these devices most likely don't work.

Try PCI-e device passthrough first. They should work for you.

We are thinking of implementing a new "xm" tool to list the devices that are available for passthrough to make this stuff easier.

Allen

Quoted 60 lines

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: Tuesday, June 03, 2008 11:39 AM
To: Ian Jackson
Cc: Kay, Allen M; [email protected]
Subject: Re: [Xen-devel] We still have to disable vtd for old chipset?

I just tried it by removing the checking. The following is from my xm dmesg. Does those warning matter?

(XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1722: Queued Invalidation hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) [VT-D]iommu.c:1730: Interrupt Remapping hardware not found (XEN) I/O virtualisation enabled
(XEN) [VT-D]iommu.c:1241:d32767 context_context_mapping: nested PCI bridge not supported: bdf = 0:9:0 sec_bus = 3 sub_bus = 7 (XEN) [VT-D]iommu.c:1241:d32767 context_context_mapping: nested PCI bridge not supported: bdf = 3:0:0 sec_bus = 4 sub_bus = 6 (XEN) *** LOADING DOMAIN 0 ***

Thanks,
Neo

Quoted 1 line · Ian Jackson

Kay, Allen M writes ("RE: [Xen-devel] We still have to

disable vtd for old chipset?"):

Quoted 1 line
Quoted 1 line

It should work assuming your BIOS is reporting VT-d

correctly. At least

Quoted 3 lines
Quoted 1 line

the page table sharing should no longer be the issue.

Are you sure ? My understanding (admittedly half-remembered

from some

Quoted 1 line

technical note that came with the motherboard replacement to

bring our

Quoted 11 lines

pre-C0 pre-production VT-d system up to date) was that the iommu page table format is different in the pre-C0 chipsets.

That would explain why pagetable sharing between iommu and normal mmu is not possible with those chipsets. But it also makes those pre-C0 chipsets completely incompatible with all of the code in Xen, because Xen doesn't know anything about those pre-C0 pagetables ? (And isn't going to be taught.)

Ian.

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#13 lore raw
In reply to Ian Jackson
Quoted 6 lines

Are you sure ? My understanding (admittedly half-remembered from some technical note that came with the motherboard replacement to bring our pre-C0 pre-production VT-d system up to date) was that the iommu page table format is different in the pre-C0 chipsets.

Quoted 6 lines

That would explain why pagetable sharing between iommu and normal mmu is not possible with those chipsets. But it also makes those pre-C0 chipsets completely incompatible with all of the code in Xen, because Xen doesn't know anything about those pre-C0 pagetables ? (And isn't going to be taught.)

I think the issues was the pre-c0 seaburg was force checking 0 for some bits by the cpu. It's just something for a quick try. I don't have access to pre-c0 HW anymore.

allen