From: Tim Deegan Subject: Re: [PATCH] use compat_*() for all 32-bit hypercalls. Date: Tue, 10 May 2011 16:26:15 +0100 Message-ID: <20110510152615.GH24692@whitby.uk.xensource.com> References: <20110510125550.GD24692@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Resent-Message-ID: <20110510152642.GI24692@whitby.uk.xensource.com> Resent-To: Xen-devel@lists.xensource.com In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap List-Id: xen-devel@lists.xenproject.org At 16:25 +0100 on 10 May (1305044704), George Dunlap wrote: > Is this a problem for 4.1 as well, or are the lockups in HVMloader > xenbus in code that's been introduced since then? This affects all hvmloaders that use xenbus, which I think includes 4.1 Tim. > On Tue, May 10, 2011 at 1:55 PM, Tim Deegan wrote= : > > The attached patch switches the handling of sched_op, get_xen_version > > and set_timer_op hypercalls from 32-bit HVM guests to use the compat > > versions of the handlers. =A0As far as I can see this is correcting an > > oversight: other hypercalls are already redirected to the compat > > versions and having a mix of translated and untranslated seems like the > > worst option. > > > > The only one of these three that's likely to cause trouble is schedop > > (poll) which almost always happens to work if you call the wrong > > version. =A0However the interlock against concurrent event arrival > > doesn't work, which was leading to lockups in the HVMloader xenbus code= . > > > > Cc'ing various people who I know are responsible for HVM PV drivers jus= t > > in case any ofthem have hardcoded this broken interface into client > > code. > > > > Cheers, > > > > Tim. > > > > -- > > Tim Deegan > > Principal Software Engineer, Xen Platform Team > > Citrix Systems UK Ltd. =A0(Company #02937203, SL9 0BG) > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > --=20 Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)