Message ID | 20221022213650.626766-1-beanhuo@iokpp.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1362748wrr; Sat, 22 Oct 2022 14:41:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Fnlaopsgizz5t02mczDiY8uDNzjESAEAQMIJth6hyt0J2IKJBu4bVjqlSzb6XgQob0aAr X-Received: by 2002:a17:90b:4a0b:b0:20c:5ac8:1e2c with SMTP id kk11-20020a17090b4a0b00b0020c5ac81e2cmr29532285pjb.98.1666474880380; Sat, 22 Oct 2022 14:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666474880; cv=none; d=google.com; s=arc-20160816; b=WwbDMiX+vlmEakUCLHqfsnZB0r8ZJfHG7U250h2S3wUOr5bV8EasfgrBtH3B2y4S+C otDC3L/l6O1LbOQ7BXhRhuNt1CVOdS9joGpnGuQwxPvZPoEndbg7uBPidZf9kcxH402r IYmxULkxgSr/5lam88xGxdfjygz+sQbcFpeIOwZ8fSeKKWkxhd6BFtvVNK7YsSCK79Md ddD7UqDK+ATS275Rwr8rPSpC3BPlWs8Nn8L8W4TPIY/zca2/INqDhI6dOPqeyJgSK2Yu 66UBow8otSac0ABQfT5Wt5doFPVQq1kxtHcv0pHo7yihDBvxvxhi14flBo0TZSD2NTwK qOpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pxGRSZ1v1hPpxgBZWeqPDzvMA+Ms7cKLZyQDWCA/9do=; b=Pizr3fFTHcWO4M0Xd1oyCyg7jTK/GUmKLjvKleuT4DK7xyCdXlkMcWTtHWWRZRKSMD lV1+Z3ieaCKnRUlXahRGCz1u4N/V0D6FFACTkEmk4i0+MnIUYOK6rt09dnw1iVNDkJQw IHjV4Vh7tzeHVPhnZKu6iGl16WSZVHZUGw+QIeqETRzx2eEAP69qvmtqWXGJO2GZhhC7 sIh6HsUMjqKbyZOCAosvOgUzmXAMbw1/7pveDZikLwpFqlQ/lT7zssffPeVwzF5KfesG DM2Z6f+xcVjZvFpTEr+8dE5+4Qy09NHcKHyXbVOA4DPC/iiPZ7bx9jVz2xjNNWMfV9yE +Gmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@iokpp.de header.s=strato-dkim-0002 header.b=VTHlOE1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a056a001a5500b00562a1cb3661si31658473pfv.272.2022.10.22.14.41.08; Sat, 22 Oct 2022 14:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@iokpp.de header.s=strato-dkim-0002 header.b=VTHlOE1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229961AbiJVVhN (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Sat, 22 Oct 2022 17:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbiJVVhI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 22 Oct 2022 17:37:08 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A703FA01A; Sat, 22 Oct 2022 14:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1666474619; s=strato-dkim-0002; d=iokpp.de; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=pxGRSZ1v1hPpxgBZWeqPDzvMA+Ms7cKLZyQDWCA/9do=; b=VTHlOE1KaaOCmxC4S5xMfIBW3vXH2JFDlwbaWCMAt+wvnGcrBYTfoc9NJJh0Oh9Mk8 HfBRz3Vjz3jg+zj4Mc1rN+xZsdFetY5bDMT0SprC4TWIznkABcpWJngJohADq+vr8FI2 fZurZlQs8J4IYgHPU07X22C3Q0fx7KGUeitv8ughV4pqEl5iIukB+O8n2QAc229cY4i+ 45CXOKrYAUwftdK/H2scz19x/gjexJr1JZ7TU7JShCbPyBQPXtfKgXwXLuKwh0RT+k7s zJx0kiw8yJyNrF6No0GbGOhn2y6R4u+KGAxgKUfzAE2Bf0F9ruGImySo4Lq3MyR6JNeg l0SA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkFe0i9dN8c2t4QQyGBB/NDXvjDB6pBSedrgBzPc9DUyubU4DD/R51xABQjgP5pGGXp2Dw=" X-RZG-CLASS-ID: mo00 Received: from linux.. by smtp.strato.de (RZmta 48.2.0 DYNA|AUTH) with ESMTPSA id zad98cy9MLawnUS (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 22 Oct 2022 23:36:58 +0200 (CEST) From: Bean Huo <beanhuo@iokpp.de> To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org, daejun7.park@samsung.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/3] Changes for ufshcd.c Date: Sat, 22 Oct 2022 23:36:47 +0200 Message-Id: <20221022213650.626766-1-beanhuo@iokpp.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747425563860119016?= X-GMAIL-MSGID: =?utf-8?q?1747425563860119016?= |
Series | Changes for ufshcd.c | |
Message
Bean Huo
Oct. 22, 2022, 9:36 p.m. UTC
From: Bean Huo <beanhuo@micron.com>
v3--v4:
1. Change patch 1/3 title
2. Fix one typo in patch 3/3
3. Fix coding type issue in patch 2/3 based on Bart's comment
v2--v3:
1. Add patch 3/3
2. Add remove unused parameter param_offset in patch 1/3 based on Daejun's comment
3. Further optimized patch 2/3 based on Bart's comment
v1--v2:
1. change in ufshcd_lu_init() in patch 2/2:
1) Remove duplicate parameter initialization
2) Move lun parameter initialization before kmalloc()
Bean Huo (3):
scsi: ufs: core: Revert "WB is only available on LUN #0 to #7"
scsi: ufs: core: Cleanup ufshcd_slave_alloc()
scsi: ufs: core: Use is_visible to control UFS unit descriptor sysfs
nodes
drivers/ufs/core/ufs-sysfs.c | 21 ++++-
drivers/ufs/core/ufshcd-priv.h | 6 +-
drivers/ufs/core/ufshcd.c | 152 ++++++++++++---------------------
3 files changed, 74 insertions(+), 105 deletions(-)