Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2071088imm; Thu, 27 Sep 2018 07:02:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV622RxjH1+h0mULZSOelzzGeV9zGxfK8j9zo4cARkPOrqTjkn7eT1FIHT0kAMP85gKan+tRa X-Received: by 2002:a17:902:7615:: with SMTP id k21-v6mr11447048pll.256.1538056930657; Thu, 27 Sep 2018 07:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538056930; cv=none; d=google.com; s=arc-20160816; b=1FTCC3QUeA0W8fupvpn1o3tc3WFCnUx7y4TzQCl6ZvTFxiZj1nGPGVsA1kwJJ7xtC3 6RSk0KZhCbHFYPxMPHEs2xqiNk0tvbPMi0dN+jecTeg0XqDbWBNWs6B3g8ABmgQgo7mS +/fy7Qlk1hhBzOwA2yEIXp7DhH1yA1at0zE8OqudI15pUIc0TNUbyvMZRWZocbaZtQxj nFbbx+bkMmi//i23Pl8DwmiX12+yTIDM1tjq+a/NWDVOWX0hO7eTlDEkxnCSXvBb42me wgf2soqgawcZbIL2IKF1rpLV+xEnXftSukGDSPTWm8DF4oXfMBxrEDiAX1zaENtXyfFV 7zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hBu/g35Gt8ZJ/4aKNk9hpqghffLFUTwLodfPiV4W11w=; b=u4fvKwrjo68z282D76HW+Bc+oCXpDXuQozJwDV05mzQ5DMKaIZwEX38hxMDjPQmFwf xybc3HFGWybylbEmM5ky0bgVFAODNv7IfsgZq83+Uijj+xl3xcHKOaMsUYkH005SuB39 VZeqpMdrNwzGege9rvKou9UbHbWuTfdVgG5mTNAcnV+ZxQOd+v05eWlShuXxzf19xf8e ejjosXqYc1m2cGVSEIu2G2Egy81RXMl4eaVLfb2eiz4X7Z7/3apUHro3/luVhBA+dhBa SOx4N5Ap1e6WMFmjyPd/1McnESd18L4JN8inZg5t2wYMlwUsr0H7dECRwHsydz8RH22l roUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Ntv9xbXH; 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 r2-v6si1997520pgk.452.2018.09.27.07.01.53; Thu, 27 Sep 2018 07:02:10 -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=@infradead.org header.s=bombadil.20170209 header.b=Ntv9xbXH; 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 S1727476AbeI0UUD (ORCPT + 99 others); Thu, 27 Sep 2018 16:20:03 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52274 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbeI0UUC (ORCPT ); Thu, 27 Sep 2018 16:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hBu/g35Gt8ZJ/4aKNk9hpqghffLFUTwLodfPiV4W11w=; b=Ntv9xbXHMhU9FC3a7/RHdsSku 5NEAzl1fmIOqnyX+RYjfDItexnVPyTDM++iJ6LAYTit3CKKSBrKwNVr6bJhmDkO4oGghlkMx2ecOA EeG2rG+t/H5huZ5CLXRnA1Iq2FGYKgRaLHSee8PzPSuRMxozXRldZV2Z0qrm4Up6NIFwKlpw0YMFd ZwsAg7oF9XVSsJtfXB+09VEzD8RpRbefKLNrWC/8EG56dVKk8lW7LQ6nZbRQ6xuZEst5oHoezBPfe /knrqj2rSNWol29nVTJCcums3aJw6UL1CcnWIZi8GRm19LVDYDRGTGERjyuPYVod61CyfLLo2oevS Fo0KBCEjA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5WrF-0001Xt-VN; Thu, 27 Sep 2018 14:01:33 +0000 Date: Thu, 27 Sep 2018 07:01:33 -0700 From: Christoph Hellwig To: Avri Altman Cc: Evan Green , Doug Anderson , "martin.petersen@oracle.com" , Vinayak Holikatti , "jejb@linux.vnet.ibm.com" , Stanislav Nijnikov , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Bart Van Assche , "adrian.hunter@intel.com" , sayali Subject: Re: [PATCH v4] scsi: ufs: Make sysfs attributes writable Message-ID: <20180927140133.GA22096@infradead.org> References: <20180808224454.243790-1-evgreen@chromium.org> <6dd8a547-7260-09b8-9096-8a1564b08e70@intel.com> <8fd05b2d-fa48-78af-6f1c-7e485c1008f6@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2018 at 06:32:47AM +0000, Avri Altman wrote: > Also, in this context there is the series in > https://www.spinics.net/lists/linux-scsi/msg123479.html > which allows to send UPIUs via a bsg device. > > It's not a provisioning series per-se like Evan's and Sayali's. > It covers the provisioning functionality, > But also allow to send task management UPIU, and UIC commands, > Which can be used for testing and validation. And as someone having been involved with review of a few different UFS provisioning bits this is what I think we should be merging. Instead of being in a rat race of adding ever new sysfs or configfs attributes for things that don't matter to normal driver operation I'd rather have a relatively clean pass through interface and move policy to userspace. Especially given that there are plenty of vendor specific commands at these levels as well.