From: Jeff Garzik <jeff@garzik.org>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] libata: implement and use DMA mask configuration helper
Date: Sun, 18 Mar 2007 13:47:48 -0400 [thread overview]
Message-ID: <45FD7B44.5040509@garzik.org> (raw)
In-Reply-To: <45FD5154.9040603@gmail.com>
Tejun Heo wrote:
> Jeff Garzik wrote:
>> Tejun Heo wrote:
>>> Implement and use DMA mask configuration helper.
>>>
>>> Signed-off-by: Tejun Heo <htejun@gmail.com>
>>> ---
>>> This function probably belongs to pci layer. Put it in libata with
>>> pci_test_bits() for the time being.
>> AFAIK the default DMA mask is always 32-bit. Code (often written by me)
>> that sets it to a 32-bit mask was just paranoia, and not really needed.
>>
>> Hence, the pci_go_64() function I added, found in #upstream.
>
> It isn't in #upstream yet. Also, at the second thought, there is a
> problem with pci_go_64(). DMA masks are not reset after driver is
> detached. Even if the device starts with 32bit DMA masks, after a 64bit
> enabled driver is attached and detached, the device's DMA masks are
> 64bit. I'm refreshing new-init-model patchset and keeping
> pci_configure_dma_masks() for now.
That "problem" has existed since day one, and nobody seems to care :)
I can't think of a single 64-bit-capable driver that restores the masks,
and can't think of a single bug report that resulted from it.
Jeff
next prev parent reply other threads:[~2007-03-18 17:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 10:49 [PATCH] libata: implement and use DMA mask configuration helper Tejun Heo
2007-03-09 12:41 ` Jeff Garzik
2007-03-09 13:03 ` Tejun Heo
2007-03-18 14:48 ` Tejun Heo
2007-03-18 17:47 ` Jeff Garzik [this message]
2007-03-18 17:54 ` Tejun Heo
2007-04-09 7:35 ` Tejun Heo
2007-04-09 8:47 ` Jeff Garzik
2007-04-09 9:20 ` Tejun Heo
2007-03-09 12:51 ` Alan Cox
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=45FD7B44.5040509@garzik.org \
--to=jeff@garzik.org \
--cc=htejun@gmail.com \
--cc=linux-ide@vger.kernel.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.