linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Garry <john.garry@huawei.com>
To: <Viswas.G@microchip.com>, <martin.petersen@oracle.com>,
	<Viswas.G@microchip.com.com>
Cc: <linux-scsi@vger.kernel.org>,
	<Vasanthalakshmi.Tharmarajan@microchip.com>,
	<Deepak.Ukey@microchip.com>, <yuuzheng@google.com>,
	<auradkar@google.com>, <vishakhavc@google.com>,
	<bjashnani@google.com>, <radha@google.com>,
	<akshatzen@google.com>
Subject: Re: [PATCH v8 2/2] pm80xx : Staggered spin up support.
Date: Fri, 11 Sep 2020 08:30:45 +0100	[thread overview]
Message-ID: <30b03265-c2cc-2ce9-1c7c-b2404e51b274@huawei.com> (raw)
In-Reply-To: <SN6PR11MB3488EA8136D36F11D93074919D240@SN6PR11MB3488.namprd11.prod.outlook.com>

On 11/09/2020 06:41, Viswas.G@microchip.com wrote:
> Hi Martin,
> 
> All raid controllers, newer HBAs, and sas expanders do this operation in the product firmware itself and there is no mass need to have it done in libsas. In that case, Will it be good to keep this in driver itself ?
> 

pm80xx seems the most advanced HBA which uses libsas, so I doubt other 
HBA drivers who use libsas support it. And one of these libsas users, 
hisi_sas, does not even have firmware at all, but would like this kernel 
support at some stage.

And I wouldn't expect expander kernel support, since, as you say, 
expanders can support with firmware. I'm not sure if it's even possible 
for the kernel (host) to support this anyway.

Thanks,
John

> Regards,
> Viswas G
> 
>> -----Original Message-----
>> From: Martin K. Petersen <martin.petersen@oracle.com>
>> Sent: Wednesday, September 2, 2020 6:51 AM
>> To: Viswas G <Viswas.G@microchip.com.com>
>> Cc: linux-scsi@vger.kernel.org; Vasanthalakshmi Tharmarajan - I30664
>> <Vasanthalakshmi.Tharmarajan@microchip.com>; Viswas G - I30667
>> <Viswas.G@microchip.com>; Deepak Ukey - I31172
>> <Deepak.Ukey@microchip.com>; martin.petersen@oracle.com;
>> yuuzheng@google.com; auradkar@google.com; vishakhavc@google.com;
>> bjashnani@google.com; radha@google.com; akshatzen@google.com
>> Subject: Re: [PATCH v8 2/2] pm80xx : Staggered spin up support.
>>
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know
>> the content is safe
>>
>> Viswas,
>>
>>> As a part of drive discovery, driver will initaite the drive spin up.
>>> If all drives do spin up together, it will result in large power
>>> consumption. To reduce the power consumption, driver provide an option
>>> to make a small group of drives (say 3 or 4 drives together) to do the
>>> spin up. The delay between two spin up group and no of drives to spin
>>> up (group) can be programmed by the customer in seeprom and driver
>>> will use it to control the spinup.
>>
>> Please implement this in libsas as several people have suggested.
>> Thanks!
>>
>> --
>> Martin K. Petersen      Oracle Linux Engineering
> .
> 


  reply	other threads:[~2020-09-11  7:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20 18:51 [PATCH v8 0/2] pm80xx : Updates for the driver version 0.1.39 Viswas G
2020-08-20 18:51 ` [PATCH v8 1/2] pm80xx : Support for get phy profile functionality Viswas G
2020-09-02  1:19   ` Martin K. Petersen
2020-09-02  6:35     ` Viswas.G
2020-09-03  1:17       ` Martin K. Petersen
2020-09-09 10:15         ` Viswas.G
2020-08-20 18:51 ` [PATCH v8 2/2] pm80xx : Staggered spin up support Viswas G
2020-09-02  1:20   ` Martin K. Petersen
2020-09-02  6:38     ` Viswas.G
2020-09-11  5:41     ` Viswas.G
2020-09-11  7:30       ` John Garry [this message]
     [not found]   ` <SN6PR11MB348877970A45BA993C95D14D9D5B0@SN6PR11MB3488.namprd11.prod.outlook.com>
2020-09-02 14:05     ` Jinpu Wang

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=30b03265-c2cc-2ce9-1c7c-b2404e51b274@huawei.com \
    --to=john.garry@huawei.com \
    --cc=Deepak.Ukey@microchip.com \
    --cc=Vasanthalakshmi.Tharmarajan@microchip.com \
    --cc=Viswas.G@microchip.com \
    --cc=Viswas.G@microchip.com.com \
    --cc=akshatzen@google.com \
    --cc=auradkar@google.com \
    --cc=bjashnani@google.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=radha@google.com \
    --cc=vishakhavc@google.com \
    --cc=yuuzheng@google.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;
as well as URLs for NNTP newsgroup(s).