Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp426395imm; Thu, 31 May 2018 03:06:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJwxM8LR5udiGK/UJI1Je6AX5HY6X9gfnXZdrvoXhAKgTNfy6Tgj3CvPqIx9p1KqvNPkAcI X-Received: by 2002:a17:902:5409:: with SMTP id d9-v6mr6287637pli.1.1527761172719; Thu, 31 May 2018 03:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527761172; cv=none; d=google.com; s=arc-20160816; b=KwAGSSb1VVTK2BPVvmvIDCthmgAjLotmWA+IR81vBeNQKIm5ThVztj8Kw5ufKMyoJy 9VUDTC+i2cV2sbJzA6FUR03+7X7mUq0XMYtV6jznixGlzALlpXhCVyggTAyWTUsauEPS lIGe+12aIN8Ag3nwpFXqSCeZprs0VaLpbX+1QIj6g4pVOdStcwEZ52EOac0ubDVcjK8d veOO++ipl9tvS/jOJ7Ixj8JDybFdY/1S1SoYVVqMUlPsx37683/VsAzSjJbi0wQijLTw L+kvKVo6pSJ9XopCYEl2h4YxkWRplJDK53PW11UhXRma/KcYmcTGg91tOl6v42Nnssns 8JGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:wdcipoutbound :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature:arc-authentication-results; bh=thK2UxgnFBfMpENVNTdNH6Ln7/upg1XdtMri5BZzjNk=; b=ZF2SUzsaWLvQJnCo3242Uil8WzLA8dK0mWYbNDbeJbyH4oLRGwLRko21RcGpYIFYmd /A+LYxAtvYkTXs31UiQcH6pEALBlr79M7EKZP5Fap1/tkRZ3JN1Hw93aZnliij86Ekl6 b0ugwYU2KpCmGc0z0/MNKrk92/NJYrA55OZd6Y2CZSQHd+3vSJfng4bQEm5sQiSNS7t4 h6lgQS+z8wwFZzAiLnmUcUt3tsXhT2t0Mt1TWh5WD6HPqtPoDwVwU11IJaxafMQUw3m/ dWo1mX0P+oEjcTRrKavsNNRyLjHpRCJEE3S4n8E6RcARt5V0MWZG3VWMOu2cQ8rf94UD fYmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Ts5nq8Ip; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=GLwphO20; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19-v6si16388702pls.176.2018.05.31.03.05.58; Thu, 31 May 2018 03:06:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Ts5nq8Ip; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=GLwphO20; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754325AbeEaKE0 (ORCPT + 99 others); Thu, 31 May 2018 06:04:26 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:15130 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754212AbeEaKEW (ORCPT ); Thu, 31 May 2018 06:04:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1527761280; x=1559297280; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=CSskW+/l9GjBwn3qdfF4J90cxLhtL33OoePUqzz9Zic=; b=Ts5nq8Ip8WXXvdDQ+gQRN4IgP7jB1jwXq9J7bpfTTZpLHZZeWLxG3n1V XBi1vxQrdIIDObx8H0L+gvyN8sqORVSH5qc83x1M0B0gBbRNpOMyHO6DJ u9kCsuEw2ySgnVEaGlfEeJCGHD7qrkR62gRaj9Bt9xEd897lKYi15mJdB p59akcCTWfPaclXHtgJlUowt/OxjeGyuUwIpkatsreZxJamFH1zmhf3JB g+KSYYukn96bIv1Aksi5NZreP4WAaedPvo+pKP4O6H/WL9C8o7tYlx9QC CO5DD9cNnHkUUdVlu11nTHrXPRh/NBmbTDFrsydRFJf6T9mqeNo9wDfuf Q==; X-IronPort-AV: E=Sophos;i="5.49,463,1520870400"; d="scan'208";a="176178364" Received: from mail-by2nam03lp0054.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.54]) by ob1.hgst.iphmx.com with ESMTP; 31 May 2018 18:07:57 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=thK2UxgnFBfMpENVNTdNH6Ln7/upg1XdtMri5BZzjNk=; b=GLwphO20sJu90QnjyZCXvSMzpJDi+z/wQayHGFyAGEp+IFN9k25x6hIsAqGF74wo0HLkK8BNPH7rdyxfqGtcT0SioaoMRyLFoyDTFk9ufz6UttEsID2JytltHLNafKEO1O5JVYWa2OXal7mHvZ+u/8MWIjIvFAYeTE+6ELewS+Y= Received: from MWHPR04MB1137.namprd04.prod.outlook.com (10.173.51.151) by MWHPR04MB0416.namprd04.prod.outlook.com (10.173.48.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Thu, 31 May 2018 10:04:18 +0000 Received: from MWHPR04MB1137.namprd04.prod.outlook.com ([fe80::994f:2142:1c75:8481]) by MWHPR04MB1137.namprd04.prod.outlook.com ([fe80::994f:2142:1c75:8481%18]) with mapi id 15.20.0797.020; Thu, 31 May 2018 10:04:18 +0000 From: Stanislav Nijnikov To: Evan Green , Vinayak Holikatti , "James E.J. Bottomley" , "Martin K. Petersen" , "linux-kernel@vger.kernel.org" , "linux-scsi@vger.kernel.org" CC: Gwendal Grignou , Alex Lemberg , Avri Altman Subject: RE: [PATCH 0/7] Enable UFS provisioning via Linux Thread-Topic: [PATCH 0/7] Enable UFS provisioning via Linux Thread-Index: AQHT93lpGmTFqrK/4k6nSxRetFdr1aRJmw1A Date: Thu, 31 May 2018 10:04:18 +0000 Message-ID: References: <20180529181740.195362-1-evgreen@chromium.org> In-Reply-To: <20180529181740.195362-1-evgreen@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [212.25.79.133] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB0416;7:qJMDl6dcMXHZpmi9WPx9D9hSMcApEnUTw4sn6Xoz8luNEW7S1nknG3JHbNl79iyq/0nyEtDZ0P3MIIbtfPf1cw5ygVeeMpKHR7+pRDx4HDZc9WaCofj+3chuEB5Am0X2QK46MMTxQbRGgAdjpAPv1BSj/9ZJag6sI9ygv79hrW/v3W+v7UXrNXKzYUwDpaqTkuKgCvHu+G+R+QBqJODXZcAsvITmxSrQoAHM+wMC4MGMEfQbf3jPHfj8JD+rpFfu;20:T3bD4ROqEdwv87XFwxK9ypy+BnroMhi0dTcfSF5Wn05cVsKgKrR+zJ4SjRINBBZzFD61FIQP42lHCqo45PHExUKHNJuATbvyhyE/LKmlX1Mnt71AgEOter7asydIerFmsFxYB3RY4CN3vhNOZ1u1UBVFvlmtFoVonucq1uJt//U= x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB0416; x-ms-traffictypediagnostic: MWHPR04MB0416: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Stanislav.Nijnikov@wdc.com; wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(85827821059158)(104084551191319)(146099531331640); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:MWHPR04MB0416;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB0416; x-forefront-prvs: 06891E23FB x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(39380400002)(346002)(396003)(376002)(199004)(189003)(13464003)(110136005)(8936002)(316002)(2906002)(54906003)(81156014)(97736004)(486006)(6116002)(3846002)(74316002)(11346002)(476003)(81166006)(446003)(86362001)(25786009)(3280700002)(8676002)(305945005)(5660300001)(3660700001)(6436002)(5250100002)(53546011)(59450400001)(26005)(6246003)(55016002)(53936002)(186003)(33656002)(2201001)(2900100001)(76176011)(2501003)(72206003)(7736002)(4326008)(66066001)(102836004)(68736007)(478600001)(106356001)(6506007)(7696005)(39060400002)(9686003)(229853002)(105586002)(99286004)(14454004);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB0416;H:MWHPR04MB1137.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-microsoft-antispam-message-info: MnDl/S8BUms9grVrOQ3x9EPgQmcnbpDYgKrCcAjxNPzgMW9nq68Wu//sEgrJIuwQ3rc6iHPmsrEC9vWCOWH0ii0klhbZ/sGlt3rBBxPUoVzt1AnlyrDDzTjw5ZgLi2sf12BPV/PgfuUlbEvH1NLfhSAzeX43XNYBjmlEDrvHCTM0V/U+7QVb3AT2nv0o4dO0 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c9aad1c2-5870-41dd-bac9-08d5c6dddfb2 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9aad1c2-5870-41dd-bac9-08d5c6dddfb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2018 10:04:18.4803 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0416 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Evan, I have some generic notes: - Why to create new sysfs entries for the configuration descriptor fields i= f they are just duplication of fields in the device and unit descriptors? A= nd the sysfs representation of the device and unit descriptors is existing = already. - It would be nice to have some "packet" mode allowing to gather configurat= ion changes and apply them at once, not one by one. - Why to put documentation update in the separate patches? Regards Stanislav > -----Original Message----- > From: Evan Green > Sent: Tuesday, May 29, 2018 9:18 PM > To: Vinayak Holikatti ; James E.J. Bottomley ; Martin K. Petersen > ; Stanislav Nijnikov ; linux-kernel@vger.kernel.org; linux- > scsi@vger.kernel.org > Cc: Gwendal Grignou ; Evan Green > Subject: [PATCH 0/7] Enable UFS provisioning via Linux >=20 > This series enables provisioning UFS devices using the existing sysfs > interface. This functionality is primarily useful along the assembly > line, but might also be useful for end users that receive devices that > aren't locked down. >=20 > Evan Green (7): > scsi: ufs: Add Configuration Descriptor to sysfs > scsi: ufs: Add config descriptor documentation > scsi: ufs: Make sysfs attributes writable > scsi: ufs: sysfs: Document attribute writability > scsi: ufs: Refactor descriptor read for write > scsi: ufs: Enable writing config descriptor > scsi: ufs: Update config descriptor documentation >=20 > Documentation/ABI/testing/sysfs-driver-ufs | 174 ++++++++++++++++++++--- > drivers/scsi/ufs/ufs-sysfs.c | 217 +++++++++++++++++++++++= +++--- > drivers/scsi/ufs/ufs.h | 29 ++++ > drivers/scsi/ufs/ufshcd.c | 89 ++++++++---- > drivers/scsi/ufs/ufshcd.h | 16 ++- > 5 files changed, 458 insertions(+), 67 deletions(-) >=20 > -- > 2.13.5