Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1047951imm; Wed, 26 Sep 2018 10:44:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV61WSqT28q2I/M55Q76p7+m9W45xe67lWi5g7l2TtIeotCJnwNbklx6y2YAdnNfVYYqrT4la X-Received: by 2002:a17:902:7043:: with SMTP id h3-v6mr7215795plt.103.1537983851492; Wed, 26 Sep 2018 10:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537983851; cv=none; d=google.com; s=arc-20160816; b=fqaZuAjiUT2hNqIWIs79NTF9yx+PqBqnZi2MeebR2+w8372cOLy6StfaRrOlw9Ayp4 /kF7AjJ1HbSFFroYrTvGwgsw3RO69AkDJb+ltpwVZmZmv+x3HBs7Qs83BNizd8sbI+iC 5GZVs3R2Oh52xWpJwZzrkaH8ReCV2L1H8bIsmIk48Wmd/408EearYAK8HqmyxWi94y1l tsVUiN3EBuvkG5kjWbLfhBGZHr2G7CiC+uG9/32y7eCmZX7ClyeseVuOWsF2PdKCdRwO dJ0bI+9rr8R+2AghhV/KFykZ0oM3FusOtQBImTQ6RqjtENEMApvPKyqWW3eIz+mwRQDE FxNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cHHyistBNGDf6xlJba0AJfXRzWFM32OzKmEMegs3LgM=; b=zHX7W+JoTYof9evZ0vp1aSek7agqTn/lJuO1g1Xr2/aUZWZpcGUy+kOWkdncZaDO9f WQ+dFpx/P7VeIelxryyWz4DSQXF5oAjbPBsJOCpqlcC1+0dlxZ+eSVnYNFQV7j8aGyFK FohVpdks+25aBs7cOeCXaGUaEvalhaOxpAIrIK+8TQMlmcwEmx828vdkbR8XpNQHkpQG 7buve6PANAIKIDkEue/5L0W9T70c9Dvv6RO10cL0pxBYiSc0TDmuR0+77JlowsyuWx0E jVAOQX4+cqGIMQJzoY/vsA0D5xXzG+5/Ng9hX2SqmhMMRBLniCKMZZo99+zY4YkVgByF OewQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J17poNW+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7-v6si5290024plt.21.2018.09.26.10.43.56; Wed, 26 Sep 2018 10:44:11 -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=pass header.i=@chromium.org header.s=google header.b=J17poNW+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728335AbeIZX4f (ORCPT + 99 others); Wed, 26 Sep 2018 19:56:35 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33113 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727604AbeIZX4f (ORCPT ); Wed, 26 Sep 2018 19:56:35 -0400 Received: by mail-lj1-f196.google.com with SMTP id l19-v6so11544023ljb.0 for ; Wed, 26 Sep 2018 10:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cHHyistBNGDf6xlJba0AJfXRzWFM32OzKmEMegs3LgM=; b=J17poNW+Sy3L+V7VrEsr43/PS/ft/hrSDZMOYeabaoD7XVnNJpoSjxt/yMiFm7xAb5 iXWZbKn8ktuv1UM6+XD9VyTamPbgjIGwOLiw23zO8o7+b25LcPosvJVexU8lloiJAmxr dFJQFNpJhbL9o11JC6ONF390sd/t78QwyU7AY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cHHyistBNGDf6xlJba0AJfXRzWFM32OzKmEMegs3LgM=; b=oIoTea78RrI+IMLa72bq/HnxsqjXO48XDB3VfGqYxd8edFgbXN2BIktLmDTHzvPWea FBgKPO0FjHuLydzNmJYrMCfZs+YwdRRZ1/ma/tsosKeLKUn702Iim2SUxUo9LyqXSkkz IUpGlTq1NgqqJn/IgKpeLGRj5y4B0VPACLoSmFsiXzUQfPQoYkddciJ/N/Nsjp7bbqwt Kx2X5q5Z+xXQdejKyGMIvk3D58zGjRyTHbgwWk+ERNa/JhCo5rEcCQF9prbBNSTUIoHJ ThYk0wRsRlDa9fTT20zTDVSVdpBrDYkDIJDHkJTiWLybU+AW21AysSADVOkC2wFfTtKS Hz0w== X-Gm-Message-State: ABuFfoi/X7wEi63F8Af49Cq7vko9v2T5MDQXLEiG7WA66bR/FZtjlkn/ EKzDOs3PqPfmNCJl0LHDMeUvTajxBi0= X-Received: by 2002:a2e:58e:: with SMTP id 136-v6mr5468993ljf.130.1537983751239; Wed, 26 Sep 2018 10:42:31 -0700 (PDT) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by smtp.gmail.com with ESMTPSA id j21-v6sm1085484lja.51.2018.09.26.10.42.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 10:42:29 -0700 (PDT) Received: by mail-lj1-f169.google.com with SMTP id p6-v6so26040791ljc.5 for ; Wed, 26 Sep 2018 10:42:29 -0700 (PDT) X-Received: by 2002:a2e:1248:: with SMTP id t69-v6mr4983531lje.129.1537983749198; Wed, 26 Sep 2018 10:42:29 -0700 (PDT) MIME-Version: 1.0 References: <20180808224454.243790-1-evgreen@chromium.org> <6dd8a547-7260-09b8-9096-8a1564b08e70@intel.com> <8fd05b2d-fa48-78af-6f1c-7e485c1008f6@intel.com> In-Reply-To: From: Evan Green Date: Wed, 26 Sep 2018 10:41:52 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4] scsi: ufs: Make sysfs attributes writable To: Doug Anderson Cc: martin.petersen@oracle.com, Vinayak Holikatti , jejb@linux.vnet.ibm.com, stanislav.nijnikov@wdc.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Bart.VanAssche@wdc.com, adrian.hunter@intel.com, sayali Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 6:46 PM Doug Anderson wrote: > > Martin, > > On Tue, Sep 25, 2018 at 6:08 PM Martin K. Petersen > wrote: > > > > Doug, > > > > > I came across this patch and Evan's other one and noticed that they > > > haven't been applied though a batch of other SCSI patches for 4.20 > > > were applied about a week ago. Martin: is there something about these > > > patches that needs to change before they can land? > > > > I have simply been awaiting some sort of consensus on the various > > competing approaches. Lots of patches posted with tiny incremental fixes > > but very little discussion about the merits of one over the other. > > Ah, perfect information! Thank you! I was just confused because I > didn't understand all the status and it just looked like silence here. > > Maybe someone on this thread can start a discussion with all the > stakeholders (people who have been involved in competing patches or > other tiny bits and pieces) and summarize their view of the current > status? Maybe that would help get the ball rolling again? > Ah, I did not realize that's what was being gated on. These patches complement, rather than compete with, the other patches out there. There are two components to completely provisioning a UFS device: writing the configuration descriptors, and setting attributes/flags. My original series [1] did contain support for the provisioning portion, but I opted to leave that to Sayali's patch [2] that uses configfs, rather than duplicate effort. Sayali's other patch [3] does handle setting the reference clock frequency, which has some overlap with this patch in that both set bRefClkFreq. But this patch and the flag patch [4] are still needed for provisioning activity like locking the descriptors down once they're set up, and enable other device experimentation. In other words, they're independent. There was also another independent fix [5] for devices that start in sleep mode, which Linux currently can't handle. That patch got no reviews, which is a shame, and I should probably resend as multiple patches or at least with some additional information. -Evan [1] https://lkml.org/lkml/2018/5/29/969 [2] https://lkml.org/lkml/2018/9/14/293 [3] https://lkml.org/lkml/2018/9/14/292 [4] https://patchwork.kernel.org/patch/10570811/ [5] https://lkml.org/lkml/2018/8/10/669