Re: [PATCH RFC] scsi: ufs: Disable blk-mq for now

2018-09-14 Thread Adrian Hunter
On 14/09/18 09:17, Adrian Hunter wrote: > On 14/09/18 04:52, Ming Lei wrote: >> On Thu, Sep 13, 2018 at 03:15:39PM +0300, Adrian Hunter wrote: >>> On 13/09/18 15:05, Ming Lei wrote: >>>> On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote: >>>&g

Re: [PATCH RFC] scsi: ufs: Disable blk-mq for now

2018-09-13 Thread Adrian Hunter
On 14/09/18 04:52, Ming Lei wrote: > On Thu, Sep 13, 2018 at 03:15:39PM +0300, Adrian Hunter wrote: >> On 13/09/18 15:05, Ming Lei wrote: >>> On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote: >>>> blk-mq does not support runtime pm, so disable blk-mq sup

Re: [PATCH RFC] scsi: ufs: Disable blk-mq for now

2018-09-13 Thread Adrian Hunter
On 13/09/18 15:05, Ming Lei wrote: > On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote: >> blk-mq does not support runtime pm, so disable blk-mq support for now. > > So could you describe a bit what the issue you are trying to fix? UFS is a low-power solution, so we

[PATCH RFC] scsi: ufs: Disable blk-mq for now

2018-09-13 Thread Adrian Hunter
blk-mq does not support runtime pm, so disable blk-mq support for now. Fixes: d5038a13eca7 ("scsi: core: switch to scsi-mq by default") Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd.c b/dr

Re: [PATCH V12 2/2] scsi: ufs: Add configfs support for UFS provisioning

2018-09-12 Thread Adrian Hunter
On 30/08/18 13:46, Sayali Lokhande wrote: > This patch adds configfs support to provision UFS device at > runtime. This feature can be primarily useful in factory or > assembly line as some devices may be required to be configured > multiple times during initial system development phase. > Configur

[PATCH V3 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-20 Thread Adrian Hunter
(yet to be applied) patch "scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries" Adrian Hunter (1): scsi: ufs: Add support for Auto-Hibernate Idle Timer Documentation/ABI/testing/sysfs-driver-ufs | 15 ++ drivers/scsi/ufs/ufs-sysfs.

[PATCH V3 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-20 Thread Adrian Hunter
latency. Set a default value of 150 ms. Signed-off-by: Adrian Hunter --- Documentation/ABI/testing/sysfs-driver-ufs | 14 ++ drivers/scsi/ufs/ufs-sysfs.c | 76 ++ drivers/scsi/ufs/ufshcd.c | 26 ++ drivers/scsi/ufs/ufshcd.h

Re: [PATCH V2 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-20 Thread Adrian Hunter
On 20/03/18 13:56, Stanislav Nijnikov wrote: > > >> -Original Message----- >> From: Adrian Hunter [mailto:adrian.hun...@intel.com] >> Sent: Monday, March 19, 2018 10:01 AM >> To: Vinayak Holikatti ; Martin K. Petersen >> ; James E.J. Bottomley >>

[PATCH V2 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-19 Thread Adrian Hunter
latency. Set a default value of 150 ms. Signed-off-by: Adrian Hunter --- Documentation/ABI/testing/sysfs-driver-ufs | 15 ++ drivers/scsi/ufs/ufs-sysfs.c | 77 ++ drivers/scsi/ufs/ufshcd.c | 26 ++ drivers/scsi/ufs/ufshcd.h

[PATCH V2 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-19 Thread Adrian Hunter
-hibernate during resume, and otherwise avoids updating the register if the device is runtime suspended. Also a default value of 150ms is set. Changes in V2: Re-based on top of (yet to be applied) patch "scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries"

Re: [PATCH] scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries

2018-03-16 Thread Adrian Hunter
was added to the ABI file. The on-write behaviour of > these entries wasn't changed. > > Signed-off-by: Stanislav Nijnikov Acked-by: Adrian Hunter > --- > Documentation/ABI/testing/sysfs-driver-ufs | 67 ++ > drivers/scsi

Re: [PATCH 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-03-05 Thread Adrian Hunter
On 19/02/18 08:35, Adrian Hunter wrote: > On 18/02/18 11:45, Avri Altman wrote: >> >> >>> -Original Message- >>> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- >>> ow...@vger.kernel.org] On Behalf Of Adrian Hunter >>> Sent

Re: [PATCH 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-02-18 Thread Adrian Hunter
On 18/02/18 11:45, Avri Altman wrote: > > >> -Original Message- >> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- >> ow...@vger.kernel.org] On Behalf Of Adrian Hunter >> Sent: Friday, February 16, 2018 2:01 PM >> To: Vinayak Holikatti

[PATCH 1/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-02-16 Thread Adrian Hunter
latency. Set a default value of 150 ms. Signed-off-by: Adrian Hunter --- Documentation/ABI/testing/sysfs-driver-ufs | 15 ++ drivers/scsi/ufs/ufs-sysfs.c | 77 ++ drivers/scsi/ufs/ufshcd.c | 26 ++ drivers/scsi/ufs/ufshcd.h

[PATCH 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer

2018-02-16 Thread Adrian Hunter
of 150ms is set. Adrian Hunter (1): scsi: ufs: Add support for Auto-Hibernate Idle Timer Documentation/ABI/testing/sysfs-driver-ufs | 15 ++ drivers/scsi/ufs/ufs-sysfs.c | 77 ++ drivers/scsi/ufs/ufshcd.c | 26

Re: [PATCH] Revert "scsi: default to scsi-mq"

2017-08-16 Thread Adrian Hunter
On 14/08/17 18:21, Bart Van Assche wrote: > On Sun, 2017-08-13 at 19:44 +0200, Christoph Hellwig wrote: >> Defaulting to scsi-mq in 4.13-rc has shown various regressions >> on setups that we didn't previously consider. Fixes for them are >> in progress, but too invasive to make it in this cycle.

[PATCH V4 1/2] scsi: ufshcd-pci: Fix PM config

2017-06-06 Thread Adrian Hunter
Put PM functions under correct config options and use standard PM macros to set callbacks. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs

[PATCH V4 2/2] scsi: ufshcd-pci: Add Intel CNL support

2017-06-06 Thread Adrian Hunter
Add PCI id and variant ops for Intel CNL UFS host controller. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c index

[PATCH V4 0/2] scsi: ufshcd-pci: Add Intel CNL support

2017-06-06 Thread Adrian Hunter
Change variant name from intel to intel-pci Adrian Hunter (2): scsi: ufshcd-pci: Fix PM config scsi: ufshcd-pci: Add Intel CNL support drivers/scsi/ufs/ufshcd-pci.c | 60 +-- 1 file changed, 47 insertions(+), 13 deletions(-) Regards Adrian

[PATCH V3 2/2] scsi: ufshcd-intel-pci: Add PCI driver for Intel Host controllers

2017-06-06 Thread Adrian Hunter
From: Szymon Mielczarek This patch adds a glue pci driver for Intel UFS Host controllers. Signed-off-by: Szymon Mielczarek Signed-off-by: Adrian Hunter --- Changes in V3: Remove UFSHCI class code and match on PCI device ID Changes in V2: Change variant name from intel to

Re: [PATCH V2 1/2] scsi: ufs: Tidy clocks list head usage

2017-06-05 Thread Adrian Hunter
Oops, sorry, didn't mean to send this one again, since it has been applied.

[PATCH V2 1/2] scsi: ufs: Tidy clocks list head usage

2017-06-05 Thread Adrian Hunter
From: Szymon Mielczarek Move the initialization of clocks list head to ufshcd_alloc_host so that every driver doesn't have to do it. Remove checks for the list head being NULL because that is not possible. Signed-off-by: Szymon Mielczarek Signed-off-by: Adrian Hunter --- drivers/scsi/u

[PATCH V2 2/2] scsi: ufshcd-intel-pci: Add PCI driver for Intel Host controllers

2017-06-05 Thread Adrian Hunter
From: Szymon Mielczarek This patch adds a glue pci driver for Intel UFS Host controllers. Signed-off-by: Szymon Mielczarek Signed-off-by: Adrian Hunter --- Changes in V2: Change variant name from intel to intel-pci drivers/scsi/ufs/Kconfig| 11 +++ drivers/scsi/ufs

[PATCH 2/2] scsi: ufshcd-intel-pci: Add PCI driver for Intel Host controllers

2017-06-05 Thread Adrian Hunter
From: Szymon Mielczarek This patch adds a glue pci driver for Intel UFS Host controllers. Signed-off-by: Szymon Mielczarek Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/Kconfig| 11 +++ drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufshcd-intel-pci.c | 183

[PATCH 0/2] scsi: ufs: Add PCI driver for Intel Host controllers

2017-06-05 Thread Adrian Hunter
Hi Here is a PCI driver for Intel UFS host controllers, with a small tidy-up precursor patch. Szymon Mielczarek (2): scsi: ufs: Tidy clocks list head usage scsi: ufshcd-intel-pci: Add PCI driver for Intel Host controllers drivers/scsi/ufs/Kconfig| 11 +++ drivers/scsi

[PATCH 1/2] scsi: ufs: Tidy clocks list head usage

2017-06-05 Thread Adrian Hunter
From: Szymon Mielczarek Move the initialization of clocks list head to ufshcd_alloc_host() so that every driver doesn't have to do it. Remove checks for the list head being NULL because that is not possible. Signed-off-by: Szymon Mielczarek Signed-off-by: Adrian Hunter --- drivers/scs

Re: [PATCH 4/4] mtd: nand: nandsim: convert to memalloc_noreclaim_*()

2017-04-05 Thread Adrian Hunter
On 05/04/17 14:39, Vlastimil Babka wrote: > On 04/05/2017 01:36 PM, Richard Weinberger wrote: >> Michal, >> >> Am 05.04.2017 um 13:31 schrieb Michal Hocko: >>> On Wed 05-04-17 09:47:00, Vlastimil Babka wrote: Nandsim has own functions set_memalloc() and clear_memalloc() for robust setting

Re: [PATCH] block: Fix secure erase

2016-08-16 Thread Adrian Hunter
On 15/08/16 21:14, Christoph Hellwig wrote: > On Mon, Aug 15, 2016 at 11:43:12AM -0500, Shaun Tancheff wrote: >> Hmm ... Since REQ_SECURE implied REQ_DISCARD doesn't this >> mean that we should include REQ_OP_SECURE_ERASE checking >> wherever REQ_OP_DISCARD is being checked now in drivers/scsi/sd.c

Re: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem

2016-06-22 Thread Adrian Hunter
On 02/06/16 00:41, Tomas Winkler wrote: > Register eMMC RPMB partition with the RPMB subsystem and provide > implementation for the RPMB access operations abstracting > actual multi step process. > > V2: resend > V3: commit message fix > V4: Kconfig: use select RPMB to ensure valid configuration >