xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@amd.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: "Leonardo Prosperi" <leo.prosperi@gmail.com>,
	"Jens Krehbiel-Gräther" <xen@jkg-it-services.de>,
	"Huang2, Wei" <Wei.Huang2@amd.com>,
	"Sander Eikelenboom" <linux@eikelenboom.it>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"Joop Boonen" <joop_boonen@web.de>
Subject: Re: IOMMU and AMD 890fx
Date: Thu, 3 Jun 2010 13:51:05 +0200	[thread overview]
Message-ID: <4C079729.8030502@amd.com> (raw)
In-Reply-To: <20100603112649.GG11162@8bytes.org>

Hi,

Jörg is correct, thanks for picking this up. Some additions inline.
Joerg Roedel wrote:
> Hello Jens,
> 
> On Thu, Jun 03, 2010 at 12:51:23PM +0200, Jens Krehbiel-Gräther wrote:
>> I got this answer from asrock support:
>>
>> <answer>
>> So, I get more/final answer from Taiwan department:
>>
>> For H/W part:
>> >From chipset spec, RD890(890FX) did support IOMMU.
>> But IOMMU also need CPU to support.
> 
> Thats wrong. The IOMMU is a feature of the chipset northbridge and does
> not need additional cpu support.
> 
>> Till now, AMD has no plan to support
>> IOMMU on desktop CPU (AM3 socket).
> 
> There are AM3 boards out there with server a chipset that have it
> enabled. Its no question of a socket.
That would be the Tyan S8005, although the official CPU support list 
only lists Opteron parts (those in AM3 socket: Suzuka and Budapest)
> 
>> It only support with server CPU.
> 
> Also wrong. I have seen systems with desktop cpus that have IOMMU
> enabled (Phenom X4 and Phenom X6).
> 
>> For BIOS part:
> 
>> AMD has removed IOMMU related registers.
> 
> Hard to believe. I have found people in the net who say that the ASUS
> Crosshair IV mobo has IOMMU support in the BIOS. So if they can enable
> it, asrock can do that too. Its just the BIOS which has to enable it

If you want to check this yourself:
For out-of-the-box support there needs to be an ACPI table called IVRS 
setup by the BIOS, you can spot this in xm dmesg (or in dmesg on native 
Linux):
(XEN) ACPI: IVRS C7E7ACC8, 00E0 (r1  AMD     RD890S  6040000 AMD         0)
On a native Linux you can also find the table in /sys/firmware/acpi/tables
If the table is present, recent Xen versions (as well as Linux and KVM) 
should automatically enable and use the IOMMU.

If the ACPI table is missing, you can try to look for the corresponding 
PCI device: it should have a vendor/device-id of 1002:5a23, lspci lists 
it as:
00:00.2 Generic system peripheral [0806]: ATI Technologies Inc Device 5a23
If anyone has a board with the PCI device but a missing ACPI table, 
please tell us.

We are already trying to improve the situation, you could help us by 
reporting the IOMMU support status on 890FX boards. Simply check for the 
ACPI table:
# xm dmesg | grep IVRS    or
$ ls /sys/firmware/acpi/tables/IVRS
and by checking for the PCI device:
$ /sbin/lspci -d 1002:5a23


Hope that helps.

Regards,
Andre.


-- 
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  parent reply	other threads:[~2010-06-03 11:51 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <z2n56ae3d9b1005081631sf3c31fafsb24b018c70b11b1a@mail.gmail.com>
2010-05-09 18:01 ` IOMMU and AMD 890fx Leonardo Prosperi
2010-05-10  4:43   ` Huang2, Wei
2010-05-10  6:16     ` Pasi Kärkkäinen
2010-05-10  6:38     ` Sander Eikelenboom
2010-06-03  4:07       ` Leonardo Prosperi
2010-06-03  8:19         ` Sander Eikelenboom
2010-06-03  8:53           ` Joop Boonen
2010-06-03  9:23             ` Sander Eikelenboom
2010-06-03 10:51               ` Jens Krehbiel-Gräther
2010-06-03 11:11                 ` Sander Eikelenboom
2010-06-04  6:14                   ` Huang2, Wei
2010-06-06  9:08                     ` Jens Krehbiel-Gräther
     [not found]                   ` <4C0FF901.6090708@amd.com>
2010-06-10  7:12                     ` Jens Krehbiel-Gräther
2010-06-10  7:23                       ` Sander Eikelenboom
2010-06-10 10:21                         ` Jens Krehbiel-Gräther
2010-06-10 18:01                         ` Jens Krehbiel-Gräther
2010-06-03 11:26                 ` Joerg Roedel
2010-06-03 11:50                   ` Sander Eikelenboom
2010-06-03 11:51                   ` Andre Przywara [this message]
2010-06-03 13:41                     ` Jens Krehbiel-Gräther
2010-06-03 15:05                       ` Joerg Roedel
2010-06-10 18:49                     ` Andrew Oakley
2010-06-10 19:12                       ` Wei Huang
2010-06-10 19:15                         ` Andrew Oakley
2010-06-14 11:08                           ` Jens Krehbiel-Gräther
2010-06-14 11:30                             ` Joerg Roedel
2010-06-14 13:49                             ` Andre Przywara
2010-06-15 21:37                               ` Joop Boonen
2010-06-15 22:40                                 ` Huang2, Wei
2010-06-16 22:09                                   ` Jens Krehbiel-Gräther
2010-06-17 13:14                                     ` Konrad Rzeszutek Wilk
2010-06-17 17:16                                       ` Wei Huang
2010-06-17 23:35                                         ` Jens Krehbiel-Gräther
2010-06-18 14:24                                           ` Sander Eikelenboom
2010-06-19  7:48                                             ` Jens Krehbiel-Gräther
2010-06-21 15:00                                             ` Jens Krehbiel-Gräther
2010-06-21 15:39                                               ` Joerg Roedel
2010-06-18 17:36                                           ` Huang2, Wei
2010-06-19  7:46                                             ` Jens Krehbiel-Gräther
     [not found]                                       ` <4C1A5882 <4C20E51D.1000406@jkg-it-services.de>
     [not found]                                         ` <EE335F95F28A664DB4A21289D2AA053B42F7C382@SAUSEXMBP01.amd.com>
2010-06-23 12:45                                           ` Jens Krehbiel-Gräther
2010-06-17  8:20                                   ` Jens Krehbiel-Gräther
2010-06-26 20:49                                 ` Joop Boonen
2010-07-06 14:54                       ` Andrew Oakley
2010-07-06 15:03                         ` Sander Eikelenboom
2010-07-07  7:47                         ` Sander Eikelenboom
2010-07-07 10:37                           ` Jens Krehbiel-Gräther
2010-07-07 13:53                             ` Sander Eikelenboom
2010-07-07 18:28                             ` Sander Eikelenboom

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=4C079729.8030502@amd.com \
    --to=andre.przywara@amd.com \
    --cc=Wei.Huang2@amd.com \
    --cc=joop_boonen@web.de \
    --cc=joro@8bytes.org \
    --cc=leo.prosperi@gmail.com \
    --cc=linux@eikelenboom.it \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen@jkg-it-services.de \
    /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;
as well as URLs for NNTP newsgroup(s).