linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: linux-ide@vger.kernel.org, stable@kernel.org
Subject: Re: [PATCH resend] pata_hpt3x2n: fix clock turnaround
Date: Thu, 17 Dec 2009 01:13:12 -0500	[thread overview]
Message-ID: <4B29CBF8.1070709@pobox.com> (raw)
In-Reply-To: <200912071652.57615.sshtylyov@ru.mvista.com>

On 12/07/2009 08:52 AM, Sergei Shtylyov wrote:
> The clock turnaround code still doesn't work for several reasons:
>
> - 'USE_DPLL' flag in 'ap->host->private_data' is never initialized or updated,
>    so the driver can only set the chip to the DPLL clock mode, not the PCI mode;
>
> - the driver doesn't serialize access to the channels depending on the current
>    clock mode like the vendor drivers, so the clock turnaround is only executed
>    "optionally", not always as it should be;
>
> - the wrong ports are written to when hpt3x2n_set_clock() is called for the
>    secondary channel;
>
> - hpt3x2n_set_clock() can inadvertently enable the disabled channels when
>    resetting the channel state machines.
>
> Signed-off-by: Sergei Shtylyov<sshtylyov@ru.mvista.com>
> Cc:stable@kernel.org

applied, after fixing this newly-appearing niggle:

drivers/ata/pata_hpt3x2n.c: In function ‘hpt3x2n_qc_issue’:
drivers/ata/pata_hpt3x2n.c:327: warning: cast to pointer from integer of 
different size

      parent reply	other threads:[~2009-12-17  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-07 13:52 [PATCH resend] pata_hpt3x2n: fix clock turnaround Sergei Shtylyov
2009-12-07 19:29 ` Jeff Garzik
2009-12-17  6:13 ` Jeff Garzik [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=4B29CBF8.1070709@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=sshtylyov@ru.mvista.com \
    --cc=stable@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;
as well as URLs for NNTP newsgroup(s).