All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: Alan <alan@lxorguk.ukuu.org.uk>, linux-ide@vger.kernel.org
Subject: Re: Impact of no_lba48{_dma} = 1 ?
Date: Wed, 07 Feb 2007 17:09:34 +0300	[thread overview]
Message-ID: <45C9DD9E.3070706@ru.mvista.com> (raw)
In-Reply-To: <45C9DAC7.10701@imc-berlin.de>

Hello.

Steven Scholz wrote:

>>>So rqsize is only needed for DMA accesses?

>>PIO transfers are sector at a time, or multi-sector up to a usual limit
>>of about 16 sectors.

> So again: rqsize does not matter for PIO transfer?

> Looking at the lines

> 	if (hwif->no_lba48_dma && lba48 && dma) {
> 		if (block + rq->nr_sectors > 1ULL << 28)
> 			dma = 0;
> 		else
> 			lba48 = 0;
> 	}

> in drivers/ide/ide-disk.c. Does that mean that 48bit LBA adressing using the
> task_ioreg_t stuff is only used for sector numbers larger 1 << 28?

    If you're asking in general, no, that does not follow from that code.
    It only takes care of the no_lba48_dma case.

MBR, Sergei

  reply	other threads:[~2007-02-07 14:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07  9:56 Impact of no_lba48{_dma} = 1 ? Steven Scholz
2007-02-07 11:58 ` Alan
2007-02-07 13:25   ` Steven Scholz
2007-02-07 13:53     ` Alan
2007-02-07 13:49       ` Sergei Shtylyov
2007-02-07 14:11         ` Alan
2007-02-07 14:03           ` Steven Scholz
2007-02-07 14:19             ` Alan
2007-02-07 14:10           ` Sergei Shtylyov
2007-02-07 13:57       ` Steven Scholz
2007-02-07 14:09         ` Sergei Shtylyov [this message]
2007-02-07 14:16         ` Alan

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=45C9DD9E.3070706@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=steven.scholz@imc-berlin.de \
    /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.