<div dir="ltr"><span style="font-size:12.8px">> If you are </span><span style="font-size:12.8px">lucky, you only need to add 20~30 lines to your chipset's code.</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Could you, please, show us an explicit example (of these 20 to 30 lines of code)?!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 5, 2017 at 7:34 PM, Nico Huber <span dir="ltr"><<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On 05.06.2017 18:58, Himanshu Chauhan wrote:<br>
><br>
>> On 05-Jun-2017, at 10:19 PM, ron minnich <<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>> wrote:<br>
>><br>
>> The reason I ask about what you need is that on chromebooks the main<br>
>> coreboot support came down to 'don't disable anything’.<br>
><br>
> I think its can’t just be disabled. Its just that kernel is not given<br>
> any knowledge about its existence. This is what I want to know. The<br>
> commercial BIOSes give an option of “enable VT-d” support. What do they<br>
> do when this option is selected? Can this be implemented in Coreboot?<br>
> This probably brings me to your next question of what is required. I<br>
> would spend some time to figure that out.<br>
<br>
</span>First thing, the firmware doesn't have to support it. It's only that<br>
Intel chose _not_ to write per platform OS drivers and let the firm-<br>
ware do the abstraction instead (I know a kernel that works pretty well<br>
with VT-d even if there are no DMAR tables).<br>
<br>
coreboot already handles VT-d support on some chipsets (GM45, Sandy/<br>
Ivy Bridge come to mind). You can look how it's done there. If you are<br>
lucky, you only need to add 20~30 lines to your chipset's code.<br>
<br>
If your chipset needs special initialization, it's most probably docu-<br>
mented in the BIOS Writer's Guide (BWG) or BIOS Specification. Though,<br>
you need an NDA with Intel to get these.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nico<br>
</font></span></blockquote></div><br></div>