From: Felix Kuperjans <felix@desaster-games.com>
To: xen-devel@lists.xensource.com
Subject: About VT-d on ASUS P6T
Date: Tue, 11 May 2010 12:09:27 +0200 [thread overview]
Message-ID: <4BE92CD7.1080205@desaster-games.com> (raw)
Hi,
as I posted on xen-users, I've successfully used pci passtrough on an ASUS P6T mainboard which is known to have really buggy RMRR tables.
I needed the iommu=passtrough and iommu_inclusive_mapping=1 command line options, combined with a little change to the RMRR parsing code:
dmar.c:
@@ -559,8 +558,7 @@
dprintk(XENLOG_WARNING VTDPREFIX,
" The RMRR (%"PRIx64", %"PRIx64") is incorrect!\n",
rmrru->base_address, rmrru->end_address);
- xfree(rmrru);
- ret = -EFAULT;
+ acpi_register_rmrr_unit(rmrru);
}
else
{
This way, the condition that causes the error printed above, does not lead to an abortion of VT-d code, but instead registers the RMRR unit as if it was correct.
VT-d is working properly afterwards and I've tested some devices successfully.
Probably, you would prefer to choose the action based on some command line option (like iommu_inclusive_mapping=1) instead of ignoring this error by default.
Regards,
Felix
next reply other threads:[~2010-05-11 10:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 10:09 Felix Kuperjans [this message]
2010-05-12 1:54 ` About VT-d on ASUS P6T Han, Weidong
2010-05-12 8:57 ` Felix Kuperjans
2010-05-12 10:11 ` Han, Weidong
-- strict thread matches above, loose matches on Subject: below --
2010-05-11 9:59 Felix Kuperjans
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=4BE92CD7.1080205@desaster-games.com \
--to=felix@desaster-games.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.