From: Tom Rotenberg Subject: Re: Possible bug with pass-through hot-plug? Date: Sun, 29 Nov 2009 12:27:45 +0200 Message-ID: <8686c3cd0911290227i7bd388bbp29dba45f6f22a5f3@mail.gmail.com> References: <20091124054844.GA21865@verge.net.au> <20091126224739.GK11254@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091126224739.GK11254@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Horman Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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 wrote: > On Thu, Nov 26, 2009 at 01:54:24PM +0000, Keir Fraser wrote: >> On 24/11/2009 05:48, "Simon Horman" 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 l= ook >> 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 > > > Index: xen-unstable.hg/tools/firmware/hvmloader/acpi/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- xen-unstable.hg.orig/tools/firmware/hvmloader/acpi/Makefile 2009-11-2= 7 08:59:33.000000000 +1100 > +++ xen-unstable.hg/tools/firmware/hvmloader/acpi/Makefile =A0 =A0 =A0200= 9-11-27 09:45:32.000000000 +1100 > @@ -36,7 +36,7 @@ dsdt.c: dsdt.asl mk_dsdt.c > =A0 =A0 =A0 =A0$(MAKE) iasl > =A0 =A0 =A0 =A0$(HOSTCC) $(HOSTCFLAGS) -o mk_dsdt mk_dsdt.c > =A0 =A0 =A0 =A0head -n -1 $< >_dsdt.asl > - =A0 =A0 =A0 mk_dsdt >>_dsdt.asl > + =A0 =A0 =A0 ./mk_dsdt >>_dsdt.asl > =A0 =A0 =A0 =A0iasl -tc _dsdt.asl > =A0 =A0 =A0 =A0mv _dsdt.hex dsdt.c > =A0 =A0 =A0 =A0echo "int DsdtLen=3Dsizeof(AmlCode);" >> dsdt.c >