From patchwork Wed Jun 14 04:31:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiwoong Kim X-Patchwork-Id: 13279526 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 C4471EB64D8 for ; Wed, 14 Jun 2023 04:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233720AbjFNEl3 (ORCPT ); Wed, 14 Jun 2023 00:41:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234040AbjFNElX (ORCPT ); Wed, 14 Jun 2023 00:41:23 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5371F1BE3 for ; Tue, 13 Jun 2023 21:41:21 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20230614044117epoutp011f2c7d603e8d64b5e667d7d61cf6b05e~obMqfHvwl2620726207epoutp01O for ; Wed, 14 Jun 2023 04:41:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20230614044117epoutp011f2c7d603e8d64b5e667d7d61cf6b05e~obMqfHvwl2620726207epoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1686717677; bh=UTp2spf180fapim/QCGBMuGvcRmlmKbbwTJawClBTJo=; h=From:To:Cc:Subject:Date:References:From; b=VJC3EuJjQcjy53i317PUpkpAY1MwggC7HDemD9pE26ieyukonBFv5/T880+0M6+wZ qp7cOSuyofo8NIrxb6hLQ+dXi0IGHaQZhmsk7xlWvGbThlVjcRGBrvcXZBeqXorvx/ AhX1GWCjmcwbTcGMQLfZpr+nqBqDoFqr3RYd0SxA= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20230614044117epcas2p30a32e7bdaf1e216b7d2fc05297d37c21~obMqCF2n82216722167epcas2p3p; Wed, 14 Jun 2023 04:41:17 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.97]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Qgt6N6fZMz4x9Q5; Wed, 14 Jun 2023 04:41:16 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 2A.19.07392.CE449846; Wed, 14 Jun 2023 13:41:16 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20230614044116epcas2p4174f088a892ca2d2d156944449f6823f~obMo6xLoD2937929379epcas2p4o; Wed, 14 Jun 2023 04:41:16 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230614044116epsmtrp1930bd94b1ac3c8e43235cf98bb532903~obMo5Y_K13155031550epsmtrp17; Wed, 14 Jun 2023 04:41:16 +0000 (GMT) X-AuditID: b6c32a47-157fd70000001ce0-0b-648944ecd760 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D2.D0.27706.CE449846; Wed, 14 Jun 2023 13:41:16 +0900 (KST) Received: from ubuntu.dsn.sec.samsung.com (unknown [10.229.95.128]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230614044116epsmtip18a4e154b4e06e21e36d5302f731c43dd~obMorEBwJ1168811688epsmtip1b; Wed, 14 Jun 2023 04:41:16 +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: [PATCH v3 0/2] change UIC command handling Date: Wed, 14 Jun 2023 13:31:54 +0900 Message-Id: X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSbUxbZRTOe+/lUha63BQY7+pYmhLDh4G1lJa7uTKSwdZkkxD3Q90g3R29 AtKv9BaFTRMUHLRTKVOKLDhkjUIQ01BLhbYIazEdJOIc4grqwuZYAoowKsMujFl6Uf+dc57n nOc573s4KM+E8zlVWiNt0FJqIb4Lc/kzZFl/FJpUouVgFjlxvx8n56+6cHIxPIOT1++aMNK6 GkbJL2zzGHkt6EJI95MGhBwMDmPkrPNbjJx2d+LkpdtDONkT2EJI869BQH62tYyRX916hBUQ iukfTyhs3kVEYbk2BhQb9mZc8XBhDlN84OwDipBjv6Jp7BJSwjldfbiSplS0QUBry3WqKm2F XHjilPKoUioTibPEB8k8oUBLaWi5sPBkSdaxKnVkA6HgdUpdEymVUAwjPJB/2KCrMdKCSh1j lAtpvUqtz9NnM5SGqdFWZGtp4yGxSJQjjRDPVld6/PO43orWBuy3Y+qBDzEDDgcSuXB08oIZ 7OLwiCEALSsejE3WALQtbKBs8gjA3xvtsWYQF+2Y6vkIsMAIgH0PP49lk78BXPbfB9ssnMiA C7NtyDaQSKwi8GmPKwqgRBp0W24g23ECIYF/ekejMUY8C7uCG1EJLkHCy9P9KCu3H85OmaI+ IPEuB65M9AMWKIStvfM4GyfApYBzxx8fLrZcjGW3q4be7j1suRbarMsYG0vglQdNYJuCRoza 3QdYdiocn8NYl7ths//JzhAubL7IYxtT4ePLH+7o74Uds7/saCr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SlCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeS90nYwXEkhPLEnNTk0tSC2CyTJx cEo1MLUt2v8scKPbjh83nljv4PZhu7m95eHMCz6rGlkM23rFbZ4mfl44qULuqPQH3h/8E3XS ptsptf+7fXjl1qLT9i9EVF79EI3+oRWRyingWGzI9iT8MYNH97K1fw7+OnK017v+zOev055U fldL+XL57t+1947ujE555LSy/MnvgsnqnFUTHGxMgnnfVfhzabqWMwteLFUpc7lY1txw+8Xt xZOyJL5zG7nuDNv9w6ArQqU8aurc+f12ixVTkm66F3jLLL52x+1qddF3P5eIzFmrLq12fOzs dd9C1q2SVWkDc/wRD5WbdUWfzrqqfZdIsDMxjvFbKd/wZt+KNdevb/U0s006bCXhoRSY++bH A+a2i0osxRmJhlrMRcWJAJg/w+POAgAA X-CMS-MailID: 20230614044116epcas2p4174f088a892ca2d2d156944449f6823f X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230614044116epcas2p4174f088a892ca2d2d156944449f6823f 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(-)