From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: linux@highpoint-tech.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: Question about driver category for submission
Date: Tue, 05 May 2015 10:23:58 -0700 [thread overview]
Message-ID: <1430846638.2173.29.camel@HansenPartnership.com> (raw)
In-Reply-To: <1430845254.106831601@apps.rackspace.com>
On Tue, 2015-05-05 at 13:00 -0400, linux@highpoint-tech.com wrote:
> Hello,
> We would like to submit our driver for Linux kernel embedded. Our
> product is using Marvell 9480/9495 SAS/SATA controller with Marvell
> Port Multiplier(PM) controller to provide PM feature for SATA HDDs.
> From driver source package, we found the Marvell has provided “mvsas”
> source package that covers this chip. But here are questions
>
> 1. The “mvsas” is based on SCSI modules so it links to scsi library
> where it doesn’t support PM feature
It links to libsas, which has SATA support provided via libata but has
the PM code stubbed out. The reason for that is that it was always
thought the benefit of cheap SAS chips was to drive SAS expanders loaded
with SATA devices, since PMs are very functionally lacking compared to
SAS expanders, so no-one was motivated to do the work.
> 2. We use the same controller chip, so we can’t have the code in
> other category.
> 3. To use PM feature, we need to link to SATA library
>
> Our current code is proprietary which uses scsi module and add PM and
> staggered drive spin up features. Hence, this question is to ask Linux
> community to tell us how should we proceed this if we want to open our
> code and get driver embedded? Do we need to add our code based on
> mvsas source? How do we include SATA library in scsi module? or other
> alternatives?
Well, you're already including it via libsas; just do the extra libsas
work to plug in port multipliers and the existing mvsas driver should
work for you.
Staggered spin-ups are more problematic: it needs to be done in the sd
module but there's never been a clear idea of how to do the grouping
(that's why most enterprise devices do staggered spin ups on their own).
James
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-05-05 17:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 17:00 Question about driver category for submission linux
2015-05-05 17:23 ` James Bottomley [this message]
2015-05-05 17:34 ` linux
2015-05-05 17:43 ` James Bottomley
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=1430846638.2173.29.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@highpoint-tech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox