From: Jeff Garzik <jeff@garzik.org>
To: Kristen Carlson Accardi <kristen.c.accardi@intel.com>,
James.Bottomley@steeleye.com, linux-scsi@vger.kernel.org
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
linux-ide@vger.kernel.org, edwintorok@gmail.com, axboe@kernel.dk
Subject: Re: [patch 2/4] Expose Power Management Policy option to users
Date: Mon, 30 Jul 2007 12:32:54 -0400 [thread overview]
Message-ID: <46AE12B6.6090408@garzik.org> (raw)
In-Reply-To: <20070705130518.135e4e3c.kristen.c.accardi@intel.com>
Kristen Carlson Accardi wrote:
> @@ -42,6 +42,16 @@ enum scsi_eh_timer_return {
> EH_RESET_TIMER,
> };
>
> +/*
> + * shost pm policy: If you alter this, you also need to alter scsi_sysfs.c
> + * (for the ascii descriptions)
> + */
> +enum scsi_host_link_pm {
> + SHOST_NOT_AVAILABLE,
> + SHOST_MIN_POWER,
> + SHOST_MAX_PERFORMANCE,
> + SHOST_MEDIUM_POWER,
> +};
>
> struct scsi_host_template {
> struct module *module;
> @@ -345,6 +355,12 @@ struct scsi_host_template {
> int (*suspend)(struct scsi_device *, pm_message_t state);
>
> /*
> + * link power management support
> + */
> + int (*set_link_pm_policy)(struct Scsi_Host *, enum scsi_host_link_pm);
> + enum scsi_host_link_pm default_link_pm_policy;
> +
> + /*
> * Name of proc directory
> */
> char *proc_name;
> @@ -642,6 +658,7 @@ struct Scsi_Host {
>
>
> enum scsi_host_state shost_state;
> + enum scsi_host_link_pm shost_link_pm_policy;
>
> /* ldm bits */
> struct device shost_gendev;
Any chance the SCSI peeps could ACK this, and then let me include it in
the ALPM patchset in the libata tree?
Jeff
next prev parent reply other threads:[~2007-07-30 16:32 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070705194909.337398431@intel.com>
2007-07-05 20:05 ` [patch 1/4] Store interrupt value Kristen Carlson Accardi
2007-08-01 8:18 ` Tejun Heo
2007-08-01 14:01 ` Jeff Garzik
2007-08-01 21:18 ` Kristen Carlson Accardi
2007-07-05 20:05 ` [patch 2/4] Expose Power Management Policy option to users Kristen Carlson Accardi
2007-07-09 19:36 ` Pavel Machek
2007-07-11 16:51 ` Kristen Carlson Accardi
2007-07-30 16:32 ` Jeff Garzik [this message]
2007-07-31 6:27 ` Tejun Heo
2007-07-31 14:16 ` Arjan van de Ven
2007-07-31 14:45 ` Tejun Heo
2007-07-31 16:15 ` Arjan van de Ven
2007-07-31 18:29 ` Tejun Heo
2007-08-01 9:23 ` Tejun Heo
2007-08-01 16:31 ` Kristen Carlson Accardi
2007-08-01 21:16 ` Kristen Carlson Accardi
2007-08-09 16:10 ` Kristen Carlson Accardi
2007-07-31 16:18 ` Kristen Carlson Accardi
2007-07-31 17:48 ` Tejun Heo
2007-07-31 20:24 ` Kristen Carlson Accardi
2007-08-01 3:20 ` Tejun Heo
2007-07-31 14:58 ` Tejun Heo
2007-07-31 14:18 ` James Bottomley
2007-08-01 16:53 ` Matthew Wilcox
2007-08-01 17:06 ` James Bottomley
2007-07-31 16:30 ` Kristen Carlson Accardi
2007-07-31 18:02 ` Tejun Heo
2007-07-31 19:58 ` Kristen Carlson Accardi
2007-08-01 3:24 ` Tejun Heo
2007-08-01 15:52 ` Kristen Carlson Accardi
2007-08-01 21:07 ` Kristen Carlson Accardi
2007-07-05 20:05 ` [patch 3/4] Enable link power management for ata drivers Kristen Carlson Accardi
2007-07-05 22:33 ` Andrew Morton
2007-07-05 22:37 ` Andrew Morton
2007-07-06 0:01 ` Jeff Garzik
2007-07-06 0:02 ` Jeff Garzik
2007-07-06 0:17 ` Andrew Morton
2007-07-06 0:00 ` Jeff Garzik
2007-08-01 8:27 ` Tejun Heo
2007-08-01 9:45 ` edwintorok
2007-08-01 21:11 ` Kristen Carlson Accardi
2007-08-02 5:27 ` Tejun Heo
2007-07-05 20:05 ` [patch 4/4] Enable Aggressive Link Power management for AHCI controllers Kristen Carlson Accardi
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=46AE12B6.6090408@garzik.org \
--to=jeff@garzik.org \
--cc=James.Bottomley@steeleye.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=edwintorok@gmail.com \
--cc=kristen.c.accardi@intel.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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 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.