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] Possible bug with pass-through hot-plug?

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Possible bug with pass-through hot-plug?
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Sun, 29 Nov 2009 12:27:45 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Sun, 29 Nov 2009 02:28:08 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WgLclgh0mtjfghFgblu8eo8VmSnF8ecIKyzDowN3Zg0=; b=Qudj0ZDtJSMooxtQ+eWvhK7tZn+oZy1Fu+AKDhO3CRDaq4Oo8JEJPof21VKML+vzXR FDqNlL+rUr/zrYLJyYyAllnld2xN9UseQv+437uvuw5K6ABMIriHYzBMxeDgqTBXfI7P UljcO0H2zJ5uAG3/gCQE0rD34fB43UTnq/ulw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h2EiXqNM2IOnGiNNt1Xl9FByuLMNnxUEJbI+BN6M00pga3xeNVXVP7QSG5CO0UDaxc WQcg/IyivytfEZxubzlpR4TSQZYg20GhjqeUw61Kr+f8csAewRt8BFlMp8LlmcUa6MR6 QKR15ezp/QVeMzRhd+/2Y1hngcF6GKzKd450s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091126224739.GK11254@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20091124054844.GA21865@xxxxxxxxxxxx> <C7343910.2DBC%keir.fraser@xxxxxxxxxxxxx> <20091126224739.GK11254@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Simon,

I can confirm that the original patch u sent is working, and it fixed
the problem.
Thanks!

Tom

On Fri, Nov 27, 2009 at 12:47 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Thu, Nov 26, 2009 at 01:54:24PM +0000, Keir Fraser wrote:
>> On 24/11/2009 05:48, "Simon Horman" <horms@xxxxxxxxxxxx> wrote:
>>
>> > sorry for the extended delay, I was first busy with travel
>> > and then with family. I'm finally back on deck and sifting through
>> > my todo list.
>> >
>> > Can you see if the patch below solves the problem that you were
>> > observing. It seems to help in my test environment.
>> >
>> > -----------------------------------------------------------------------------
>> >
>> > hvmloader: pass-through: use O(log(n)) logic for hotplug events
>>
>> This looked good to me, but I think that all this per-slot logic in DSDT is
>> a pain to manage manually. So I've applied a patch (xen-unstable:20510) to
>> auto-generate those parts of the DSDT. Simon: you might want to take a look
>> and also check that it does actually work. ;-)
>
> Hi Keir,
>
> that seems to work with the following minor modification in place.
>
> -------------------------------------------------------------------
>
> build: Execute mk_dsdt with path
>
> Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
>
>
> Index: xen-unstable.hg/tools/firmware/hvmloader/acpi/Makefile
> ===================================================================
> --- xen-unstable.hg.orig/tools/firmware/hvmloader/acpi/Makefile 2009-11-27 
> 08:59:33.000000000 +1100
> +++ xen-unstable.hg/tools/firmware/hvmloader/acpi/Makefile      2009-11-27 
> 09:45:32.000000000 +1100
> @@ -36,7 +36,7 @@ dsdt.c: dsdt.asl mk_dsdt.c
>        $(MAKE) iasl
>        $(HOSTCC) $(HOSTCFLAGS) -o mk_dsdt mk_dsdt.c
>        head -n -1 $< >_dsdt.asl
> -       mk_dsdt >>_dsdt.asl
> +       ./mk_dsdt >>_dsdt.asl
>        iasl -tc _dsdt.asl
>        mv _dsdt.hex dsdt.c
>        echo "int DsdtLen=sizeof(AmlCode);" >> dsdt.c
>

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

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