All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <qemu@kernel.dk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] lba48 support
Date: Fri, 30 Dec 2005 21:17:17 +0100	[thread overview]
Message-ID: <20051230201716.GV2772@suse.de> (raw)
In-Reply-To: <43B5B156.5030007@bellard.org>

On Fri, Dec 30 2005, Fabrice Bellard wrote:
> Jens Axboe wrote:
> >Saw the posts on this the other day and had a few spare hours to play
> >with this. Works for me, with and without DMA (didn't test mult mode,
> >but that should work fine too).
> >
> >Test with caution though, it's changing the ide code so could eat your
> >data if there's a bug there... Most clever OS's don't use lba48 even for
> >lba48 capable drives, unless the device is > 2^28 sectors and the
> >current request is past that (but they could be taking advantage of the
> >larger transfer size possible, in which case lba48 will be used even for
> >low sectors...).
> 
> Thank you for the patch ! At least two details should be corrected 
> before I can apply it:
> 
> 1) Each duplicated IDE register acts as a 2 byte FIFO, so the logic you 
> added in the write function should be modified (the regs_written field 
> is not needed).

Perfect, I wasn't very fond of that approach either (it seemed fragile).

> 2) The read back logic should be implemented (HOB bit in the device 
> control register).

Indeed. I'll get these things fixed up, wont be before monday though.

-- 
Jens Axboe

  reply	other threads:[~2005-12-30 20:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-29 22:07 [Qemu-devel] [PATCH] lba48 support Jens Axboe
2005-12-30 22:14 ` Fabrice Bellard
2005-12-30 20:17   ` Jens Axboe [this message]
2006-01-02 12:59   ` Jens Axboe
2006-01-02 15:20     ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051230201716.GV2772@suse.de \
    --to=qemu@kernel.dk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.