qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Samuel Thibault <samuel.thibault@gnu.org>
Cc: damien@zamaudio.com, John Snow <jsnow@redhat.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: Re: [PATCH] ide: Cap LBA28 capacity announcement to 2^28-1
Date: Wed, 20 Oct 2021 10:57:58 +0200	[thread overview]
Message-ID: <YW/aFkIM67jtd28X@redhat.com> (raw)
In-Reply-To: <20211005235713.iodzsdcfazo6gtme@begin>

Am 06.10.2021 um 01:57 hat Samuel Thibault geschrieben:
> Ping?
> 
> Samuel Thibault, le mar. 24 août 2021 12:43:44 +0200, a ecrit:
> > The LBA28 capacity (at offsets 60/61 of identification) is supposed to
> > express the maximum size supported by LBA28 commands. If the device is
> > larger than this, we have to cap it to 2^28-1.
> > 
> > At least NetBSD happens to be using this value to determine whether to use
> > LBA28 or LBA48 for its commands, using LBA28 for sectors that don't need
> > LBA48. This commit thus fixes NetBSD access to disks larger than 128GiB.
> > 
> > Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

Thanks, applied to the block branch. (I hope John doesn't have a problem
with me stealing this patch from his maintainership area.)

Kevin



      reply	other threads:[~2021-10-20  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24 10:43 [PATCH] ide: Cap LBA28 capacity announcement to 2^28-1 Samuel Thibault
2021-09-05  7:30 ` Samuel Thibault
2021-10-05 23:57 ` Samuel Thibault
2021-10-20  8:57   ` Kevin Wolf [this message]

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=YW/aFkIM67jtd28X@redhat.com \
    --to=kwolf@redhat.com \
    --cc=damien@zamaudio.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).