From: Jeff Garzik <jgarzik@pobox.com>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] add boot option to control Intel combined mode behavior (to allow DMA in combined mode configs!)
Date: Tue, 29 Nov 2005 16:54:21 -0500 [thread overview]
Message-ID: <438CCE0D.7090304@pobox.com> (raw)
In-Reply-To: <200511282306.38515.jbarnes@virtuousgeek.org>
Jesse Barnes wrote:
> Combined mode sucks. Especially when both libata and the legacy IDE
> drivers try to drive ports on the same device, since that makes DMA
> rather difficult.
>
> This patch addresses the problem by allowing the user to control which
> driver binds to the ports in a combined mode configuration. In many
> cases, they'll probably want the libata driver to control both ports
> since it can use DMA for talking with ATAPI devices (when
> libata.atapi_enabled=1 of course). It also allows the user to get old
> school behavior by letting the legacy IDE driver bind to both ports.
> But neither is forced, the patch doesn't change current behavior unless
> one of intel_combined_mode=ide or intel_combined_mode=libata is passed
> on the boot line. Either of those options may require you to access
> your devices via different device nodes (/dev/hd* in the ide case
> and /dev/sd* in the libata case), though of course if you have udev
> installed nicely you may not notice anything. :)
>
> Let me know if the documentation is too cryptic, I'd be happy to expand
> on it if necessary. I think most users will want to boot with
> 'intel_combined_mode=libata' and add 'options libata atapi_enabled=1'
> to their modules.conf to get good DVD playing and disk behavior
> (haven't tested CD or DVD writing though).
>
> Documentation/kernel-parameters.txt | 7 +++++++
> drivers/pci/quirks.c | 30 ++++++++++++++++++++++++++++
>
> I'd much rather things behave sanely by default (i.e. DMA for devices on
> both ports), but apparently that's difficult given the various chip
> bugs and hardware configs out there (not to mention that people's
> drives may suddenly change from /dev/hdc to /dev/sdb), so this boot
> option may be the correct long term fix.
>
> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Seems like it should work. I presume you tested this?
Remove the 'intel_' prefix from the kernel parameter, since this concept
applies to other controllers as well. Otherwise, seems OK.
Jeff
next prev parent reply other threads:[~2005-11-29 21:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-29 7:06 [PATCH] add boot option to control Intel combined mode behavior (to allow DMA in combined mode configs!) Jesse Barnes
2005-11-29 21:54 ` Jeff Garzik [this message]
2005-11-29 22:15 ` Jesse Barnes
2005-12-02 4:07 ` Jesse Barnes
2005-12-13 8:05 ` Jeff Garzik
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=438CCE0D.7090304@pobox.com \
--to=jgarzik@pobox.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox