All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wilfried Weissmann <Wilfried.Weissmann@gmx.at>
To: James Bottomley <James.Bottomley@HansenPartnership.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: Re: [PATCH 1/1] mvsas: add SGPIO support to Marvell 94xx
Date: Sun, 27 Dec 2015 21:30:23 +0100	[thread overview]
Message-ID: <56804A5F.5040000@gmx.at> (raw)
In-Reply-To: <1451245374.2283.2.camel@HansenPartnership.com>

Am 27.12.15 um 20:42 schrieb James Bottomley:
> On Sun, 2015-12-27 at 20:21 +0100, Wilfried Weissmann wrote:
>> add SGPIO support to Marvell 94xx
>
> How do you actually use this?  It doesn't seem to be plumbed into the
> standard GPIO subsystem and there appears to be no user accessible
> interface for it either (nor is it used internally).
>
> There doesn't appear to be much point adding an unusable feature.

sas_domain_function_template.lldd_write_gpio exposes the interface to libsas. Userspace access is then done via ioctl(SG_IO,...). Existing user space tools such as ledmon use this method, also smp_utils in case you want to have more direct control.

Greetings,
Wilfried

  reply	other threads:[~2015-12-27 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 10:43 [PATCH 1/1] mvsas: add SGPIO support to Marvell 94xx Wilfried Weissmann
2015-12-18  9:19 ` Hannes Reinecke
2015-12-22  2:43 ` Martin K. Petersen
2015-12-27 19:21   ` Wilfried Weissmann
2015-12-27 19:42     ` James Bottomley
2015-12-27 20:30       ` Wilfried Weissmann [this message]
2015-12-28 21:47         ` James Bottomley
2016-01-06 20:29     ` Martin K. Petersen

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=56804A5F.5040000@gmx.at \
    --to=wilfried.weissmann@gmx.at \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=hare@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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.