From: Tom Rotenberg Subject: Re: Possible bug with pass-through hot-plug? Date: Sun, 18 Oct 2009 07:20:05 +0200 Message-ID: <8686c3cd0910172220k25ba4f13kdb1ca1c6854d6fdd@mail.gmail.com> References: <20091010014127.GB22324@verge.net.au> <20091012223616.GC9072@verge.net.au> <8686c3cd0910130208k7b9b0feva576864c9d819737@mail.gmail.com> <20091013094345.GA16712@verge.net.au> <8686c3cd0910130252m6a57388cv8b4d5211a14a4998@mail.gmail.com> <20091015093107.GA11293@verge.net.au> <8686c3cd0910150238h3d79d81dse8ee1ecb8f5350f2@mail.gmail.com> <20091015110632.GA14946@verge.net.au> <8686c3cd0910150702l542f75cbq6ffeee9c1ea47057@mail.gmail.com> <20091016074352.GA17063@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <20091016074352.GA17063@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 List-Id: xen-devel@lists.xenproject.org Simon, Just checked what u propsed, and it works. So, i'm pretty sure, that the problem is with the ASL code. I thought of an implementaion change of the ASL code, which will make it work: we will change it from: ... if ( slt == 0x1 ) else if (slt == 0x2) ... else if (slt == 0x20) .,.. to the following (just as an example): if ( slt < 0x10 ) { if (slt == 0x1) ... } else { if ( slt == 0x11) ... } What do u think about this? On Fri, Oct 16, 2009 at 9:43 AM, Simon Horman wrote: > On Thu, Oct 15, 2009 at 04:02:59PM +0200, Tom Rotenberg wrote: >> Well, i don't have a patch for it, as i'm not that skilled with >> writing ASL code for the DSDT. >> When i tried to change the levle interrupt to edge, it didn't work, >> although i though it should work, so it might be a bug i wrote. >> >> Bottom line, if you are skilled enough to write a "smarter" device >> search code for the DSDT - you should try it. I think that will solve >> it. If you don't think you'll be able to pull it off, i can try to >> prepare a patch, but it's not my sepciality... :) >> >> What do u think we should do to solve it? > > I did think of a check that might help. > > It is to simply move slot 8 (which is the lowest numbered slot > that fails for me) up to be the first if clause. That should > exercise your timing theory without having to get too involved > in how to write better ASL (which frankly seems a bit painful to me). >