All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <kernel@teksavvy.com>
To: Richard <tuxbox.guru@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Marvel PMP SATA controller
Date: Fri, 01 Oct 2010 09:46:25 -0400	[thread overview]
Message-ID: <4CA5E631.2030903@teksavvy.com> (raw)
In-Reply-To: <4CA498B5.6090503@gmail.com>

On 10-09-30 10:03 AM, Richard wrote:
> On 30/09/10 14:39, Mark Lord wrote:
..
>> Does the existing libata parameter take care of it for you?
>>
>> linux/Documentation/kernel-parameters.txt:
>> eg. libata.force=[ID:]1.5" ## replace [ID:] with port[.device] for the PMP and/or HD
>>
> Unfortunately not.. which is why I asked how to write commands directly on to the SATA bus from kernel space.


Right.  Well, just keep plunking away at it in that ancient kernel, then.
The two modern routines to study/backport are sata_pmp_read() and sata_pmp_write(),
which are used by most controllers to perform PMP register accesses.

However, the host controller may require additional tweaks,
especially if it is a Marvell host controller (sata_mv),
or something that doesn't normally "do" PMP, like ata_piix.

Cheers

      parent reply	other threads:[~2010-10-01 13:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29  6:56 Marvel PMP SATA controller Richard
2010-09-29 19:56 ` Mark Lord
2010-09-29 20:32   ` Richard
2010-09-30 13:39     ` Mark Lord
2010-09-30 14:03       ` Richard
2010-10-01  0:24         ` Robert Hancock
2010-10-01  6:33           ` Richard
2010-10-01 13:46         ` Mark Lord [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=4CA5E631.2030903@teksavvy.com \
    --to=kernel@teksavvy.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tuxbox.guru@gmail.com \
    /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.