WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [VTD][patch 1/1] vt-d hardware check

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [VTD][patch 1/1] vt-d hardware check
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Sun, 23 Sep 2007 21:45:19 -0700
Delivery-date: Sun, 23 Sep 2007 21:45:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C31A72C8.DE78%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <13A2F7DE1BAEA345A61DD40F303ED7A6850CA3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C31A72C8.DE78%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf8qK+aNrR/pFLgS56NLFji8eoZKQAOALU5AGEjasA=
Thread-topic: [Xen-devel] [VTD][patch 1/1] vt-d hardware check
Yes, I like your change.

I put in vtd_enabled check as a after thought in my patch after thinking
I only want to check host bridge id's only for vt-d systems.

Allen

>-----Original Message-----
>From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
>Sent: Friday, September 21, 2007 11:21 PM
>To: Kay, Allen M; xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-devel] [VTD][patch 1/1] vt-d hardware check
>
>vtd_hw_check() clears vtd_enabled and returns ENODEV, so the 
>caller should
>be:
>
> if (!vtd_enabled)
>    return -ENODEV;
> rc = vtd_hw_check();
> if ( rc )
>    return rc;
>
>Note that the above code skips acpi_dmar_init() entirely if 
>!vtd_enabled.
>This behaviour is different from your patch but I think more sensible?
>
> -- Keir
>
>On 22/9/07 00:39, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:
>
>> This patch disables vt-d for old chipset steppings that does not have
>> compatible CPU compatible vt-d page table format.
>> 
>> Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>