From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [PATCH 2 of 5] rombios/ata: Do not wait for BSY to be set Date: Mon, 30 Jul 2012 23:18:57 +0300 Message-ID: <20120730201857.GZ19851@reaktio.net> References: <59de21ca15462034c147.1343677641@andrewcoop.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <59de21ca15462034c147.1343677641@andrewcoop.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Jul 30, 2012 at 08:47:21PM +0100, Andrew Cooper wrote: > I can't find any guarantee in the ATA specification that this will happen, and it > certainly does not with Qemu. SeaBIOS has replaced it with a call to udelay(5) > instead. > > As rombios does not have an equivalent udelay(), so replace the wait with a write > to port 0x80 which is whilelisted by Xen for 'a small delay'. > ^ a small typo probably.. I think it should say "whitelisted". -- Pasi