bios acpi and vt-d

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
watermirror
Member
Member
Posts: 25
Joined: Tue Nov 05, 2013 4:06 am

bios acpi and vt-d

Post by watermirror »

Hi, I am about implement vt-d in my system.
i have read a lot of documents.i found the vt-d have some relationship with bios and acpi. but i do not know how to start code.
any one can give me some help?
feryno
Member
Member
Posts: 73
Joined: Thu Feb 09, 2012 6:53 am
Location: Czechoslovakia
Contact:

Re: bios acpi and vt-d

Post by feryno »

watermirror wrote:i have read a lot of documents.i found the vt-d have some relationship with bios and acpi. but i do not know how to start code
As first step you have to find DMAR in ACPI.
DMAR is described in chapter 8 of Intel Virtualization Technology for Directed I/O: Spec
http://www.intel.com/content/www/us/en/ ... -spec.html
Be careful when selecting chipset, CPU, firmware vendor - look into MB manual whether VT-d is supported (a menu to enable/disable VT-d in firmware setup)

PS current firmware mainstream is UEFI. But at least 1 vendor still use garbage names like 'UEFI BIOS'
Like this funny message at some of my machines:
Press Del or F2 to enter UEFI BIOS setting
hypervisor-based solutions developer (Intel, AMD)
watermirror
Member
Member
Posts: 25
Joined: Tue Nov 05, 2013 4:06 am

Re: bios acpi and vt-d

Post by watermirror »

hi, feryno.
my target machine is VMware 10.

I found RSDT,XSDT. In XSDT, I found DSDT(I don't why the DSDT not in FACP)

But nothing else.

i don't know where is DMAR.

by the way, my PC's board is asus b85, support vt-d.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: bios acpi and vt-d

Post by Combuster »

is VMware 10
is asus b85
You do realize that those are two essentially completely different machines? What goes for one doesn't go for the other.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
feryno
Member
Member
Posts: 73
Joined: Thu Feb 09, 2012 6:53 am
Location: Czechoslovakia
Contact:

Re: bios acpi and vt-d

Post by feryno »

dmar from asus p9d-ws, the CPU is Xeon E3 1230 v3
(after enabling VT-d in uefi setting as it is DISABLED BY DEFAULT)

Image

Memory Address 00000000DD934870 80 Bytes
DD934870: 44 4D 41 52 80 00 00 00-01 95 49 4E 54 45 4C 20 *DMAR......INTEL *
DD934880: 48 53 57 20 00 00 00 00-01 00 00 00 49 4E 54 4C *HSW ........INTL*
DD934890: 01 00 00 00 26 01 00 00-00 00 00 00 00 00 00 00 *....&...........*
DD9348A0: 00 00 20 00 01 00 00 00-00 00 D9 FE 00 00 00 00 *.. .............*
DD9348B0: 03 08 00 00 08 F0 1F 00-04 08 00 00 00 F0 0F 00 *................*
DD9348C0: 01 00 30 00 00 00 00 00-00 30 8A DD 00 00 00 00 *..0......0......*
DD9348D0: FF FF 8A DD 00 00 00 00-01 08 00 00 00 00 1D 00 *................*
DD9348E0: 01 08 00 00 00 00 1A 00-01 08 00 00 00 00 14 00 *................*
hypervisor-based solutions developer (Intel, AMD)
Post Reply