From patchwork Wed Aug 2 01:28:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiwoong Kim X-Patchwork-Id: 13337517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62F52EB64DD for ; Wed, 2 Aug 2023 01:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbjHBBpE (ORCPT ); Tue, 1 Aug 2023 21:45:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbjHBBpD (ORCPT ); Tue, 1 Aug 2023 21:45:03 -0400 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84A2EDE for ; Tue, 1 Aug 2023 18:45:01 -0700 (PDT) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230802013850epoutp0243b602aa94ad4fe40dc7d08faa869925~3bUWKqhCo2483924839epoutp025 for ; Wed, 2 Aug 2023 01:38:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230802013850epoutp0243b602aa94ad4fe40dc7d08faa869925~3bUWKqhCo2483924839epoutp025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1690940330; bh=UTp2spf180fapim/QCGBMuGvcRmlmKbbwTJawClBTJo=; h=From:To:Cc:Subject:Date:References:From; b=EObybahhQI8texORO+HgKCWJv5iD5LnVbf2n8RLMa+uP85dvmLBkdu4fdh6PXzZ3e 5bPp9Kr/MRa3/CcVWLDE8SfMwiXylfiSrhO2RPO8aKsK9jG0Ti5jFmjFueogaq1bWc 2LlpVFhUSeRFBGA5ys23Jda7cQzic7dAUOE1PTIA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20230802013849epcas2p3aaaebb3a4d25c93d5371c95dc33d85c9~3bUVmAKFM2061320613epcas2p3C; Wed, 2 Aug 2023 01:38:49 +0000 (GMT) Received: from epsmgec2p1-new.samsung.com (unknown [182.195.36.92]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4RFvlF2dyPz4x9Q1; Wed, 2 Aug 2023 01:38:49 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmgec2p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id 63.96.29526.9A3B9C46; Wed, 2 Aug 2023 10:38:49 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20230802013848epcas2p3a896970d5bdc8e3f3e422c84c282a151~3bUUpvjeP2063320633epcas2p32; Wed, 2 Aug 2023 01:38:48 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230802013848epsmtrp2156a6eee4530405a398e9e029373e1cd~3bUUo8KB81331913319epsmtrp2F; Wed, 2 Aug 2023 01:38:48 +0000 (GMT) X-AuditID: b6c32a4d-853ff70000047356-f8-64c9b3a95461 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 46.0A.34491.8A3B9C46; Wed, 2 Aug 2023 10:38:48 +0900 (KST) Received: from ubuntu.dsn.sec.samsung.com (unknown [10.229.95.128]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230802013848epsmtip2d41050ecba6841c4e4af8d5dec783f92~3bUUaRQAa0101401014epsmtip21; Wed, 2 Aug 2023 01:38:48 +0000 (GMT) From: Kiwoong Kim To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, jejb@linux.ibm.com, martin.petersen@oracle.com, beanhuo@micron.com, adrian.hunter@intel.com, sc.suh@samsung.com, hy50.seo@samsung.com, sh425.lee@samsung.com, kwangwon.min@samsung.com, junwoo80.lee@samsung.com, wkon.kim@samsung.com Cc: Kiwoong Kim Subject: [RESEND PATCH v3 0/2] change UIC command handling Date: Wed, 2 Aug 2023 10:28:31 +0900 Message-Id: X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSf0wbZRjed3deDxRzFsa+1QzhyDJBCy3jxw1hYlzMTUSRJi6aTbjQC5CW tvbHxhaTYVRaQBmwjbGyOgabk2IkaVmlCG4tM0DCgAEGSoCURKZllk1L0Elglh7T/573fZ/n fZ7vB4EK63ARUabSc1oVq6TwcMwxkJAu7rAPyyXzt0l6+Jdvcdr7lQOnfY9+xmnXYjVGNz18 hNKd7V6MbptxIHTvxqcIfWPGidGe7p8werL3Ek7XTvfg9PXBTYSumZ8B9LVNP0bbJ9awHJKZ nMpl2vt8CFPfdgswf3WZcOaPpVmMqeu2AiZgi2GMt2qRfOIDRVYpx8o5bSynKlbLy1Ql2VSu rPD1wrR0iVQsPUBnULEqtpzLpg69lS9+o0wZPAEVe5xVGoKtfFano5IPZmnVBj0XW6rW6bMp TiNXajI0STq2XGdQlSSpOH2mVCJJSQsSixSlPwx4cU0TWjHYNf1UJXAjNSCMgGQqrF6pQmtA OCEk+wDcWOzD+OJPAEeaHyB8sQZg27IRfyIZNj0W8IN+AOdWh7YlfwPo6QgItlg4mQCXPOdD 8ijyIQIfX3eArQFK7oO99UMh90gyEw74GkJrMXIvHDXxFhEkDX/90Sng7WKgZ7Q6lBCSnxCw u2NsO/oheN5jRHkcCZcHu7cFIhhY6Q8uIoJYAfuuRPPtCtje5Md4vB+a7xnBFgUNBu3qTebZ 8fD2LManfBaa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ZSYRX+vfxFCHelMTKqtSi/Pii0pzU4kOM0hwsSuK84i96U4QE0hNLUrNTUwtSi2CyTByc Ug1MrR3ax/+ccmUpObqxaEthVNaL+oosRf2yiEwLQ6G5J7Y3nYpZyHm5tzeQp+9VSbHf67nl oZ8DJYz9vA8cOi/jwPMzrzFBmH+a6JX46GrNp10M4vkXj5d8qf/76sDiyGOzIjQvzQlmLfqd pP+pM8ksRu5fb0j3g+XH5I7zbjxw72NmxvojMz0bpBJ9ubSVFJ8+embYOys7Qe5j5DWOw6fT lf0v7ErJvLL7DUdS9jQfMc/bQtMrtmf3sfaZLelKZWLc9/+g6Kow5p3bw/YH6u05eJmp8EWD 40u5LTdL54SfP5+YfEj3i1F0t6BXZ3THCjf++U52E3yi9e7URv5l9X37272eN7PRso77enzY LSWW4oxEQy3mouJEAJGqH6fOAgAA X-CMS-MailID: 20230802013848epcas2p3a896970d5bdc8e3f3e422c84c282a151 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230802013848epcas2p3a896970d5bdc8e3f3e422c84c282a151 References: Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org v2 -> v3: rule out the change of polling w/ pmc from this thread. (I'll post the change later) v1 -> v2: remove an unused variable in __ufshcd_send_uic_cmd Kiwoong Kim (2): ufs: make __ufshcd_send_uic_cmd not wrapped by host_lock ufs: poll HCS.UCRDY before issuing a UIC command drivers/ufs/core/ufshcd.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)