Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5557679iob; Mon, 9 May 2022 20:38:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrhDsMCgjyW4TAtIOzJ+Kd9+T72dCtQunrJJrfb67WgROtEocsu2k9Kdx6YLw3MisyaUYm X-Received: by 2002:a17:902:aa4b:b0:15f:b2c:73c7 with SMTP id c11-20020a170902aa4b00b0015f0b2c73c7mr9015856plr.164.1652153930123; Mon, 09 May 2022 20:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652153930; cv=none; d=google.com; s=arc-20160816; b=S1GgbvSS2eEevmGmdhzepddfSymfQtSnd+6xBDH2MtvnMZjImcFynFJNaZoLs87AXS ciFzQpghn9IHRHFuE6hjQDcA285YD+yHN3uYLPo7zPTcgbuc02eH655ktOzLJvxt52vF PvJ4YODJpvRMbEYOAIOOyH+Lvwp8/N5QWaPO/TbIma9TlIHDeEPanAVs9gR3kimHJbtQ WHTfvxWLJY2b1S8NYgPcXjkJdvSOguOOgHFeAk/qoTczDzfjNIGOSLHHx1nI1qIcpVA3 W5gYtPPjkyTLq+ItPFRcWvhXp40N36N+rRKKDpPGnTT3xKG2sakFOGCkJ3OR8swt2EK2 y6ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:date :message-id:cc:to:from:sender:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=FzQStU6k7eJOrZgUYQW4e7Jyi6Q5Qxh7TIHqNxb/uns=; b=gUA2ZhF96m/SnmQy62T1hWMOxPbYaYOLUatUn0tT56y58pl7Et9a1n9Zupqojrnmwa dTrDoegGihHdnSIdzmbQhbjZOsUPpf7npm4bD9vPSI1QJwOT2ht42Kg88W2Rl/0of7sK 7UR9aH3ubOCA5Sktq186h21ddtbTzkT/UJN4tDsIGeP4DAtmSS+rSMFXPD67ayy1v/EM 50vgbFkDAPlES40PhRZIMiyrvo4ZB7CQa0m/qK3OyqAnkAcAatnQIKZuMBaDKRUJ4K68 K4epN99ZzyncRsPBbtbvvKEpyySFuyz+ZDLl6MoYkMuBlkqiaAaMPOrtsT+tCs5S5tD9 C1Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="HchkM/5U"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a63610a000000b003c62592bfadsi15370223pgb.805.2022.05.09.20.38.35; Mon, 09 May 2022 20:38:50 -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=@samsung.com header.s=mail20170921 header.b="HchkM/5U"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234455AbiEJCCM (ORCPT + 99 others); Mon, 9 May 2022 22:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234426AbiEJCCK (ORCPT ); Mon, 9 May 2022 22:02:10 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE7C3210BBD for ; Mon, 9 May 2022 18:58:09 -0700 (PDT) Received: from epcas3p2.samsung.com (unknown [182.195.41.20]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220510015804epoutp04bd50d3512cc6ee3e61ad87ab12d649b1~tm79MC1rm3173731737epoutp04g for ; Tue, 10 May 2022 01:58:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220510015804epoutp04bd50d3512cc6ee3e61ad87ab12d649b1~tm79MC1rm3173731737epoutp04g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1652147884; bh=FzQStU6k7eJOrZgUYQW4e7Jyi6Q5Qxh7TIHqNxb/uns=; h=Subject:Reply-To:From:To:CC:Date:References:From; b=HchkM/5UrV+H2SdnpEC5s5DkKEdxCWdbUiQW6+MRRxuNXZL3vQEo5KKZYX4HQ+/Ox 8sIpsUTSKFpm1nwjiHgei6gxxHj2S+E1tumr0a+dnqgN1+YuI0r5t8j0EN/hVN1Z4f +tVy9nw+v13Blzq75dbNkoCQ+dRnyQCSzpQysJiM= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas3p2.samsung.com (KnoxPortal) with ESMTP id 20220510015803epcas3p298966c5609bc26e85d353af373616066~tm78sbatV1055010550epcas3p2X; Tue, 10 May 2022 01:58:03 +0000 (GMT) Received: from epcpadp4 (unknown [182.195.40.18]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4Ky1Qg4jfhz4x9Q2; Tue, 10 May 2022 01:58:03 +0000 (GMT) Mime-Version: 1.0 Subject: RE: [PATCH v4 3/6] scsi: ufshpb: Cleanup the handler when device reset HPB information Reply-To: daejun7.park@samsung.com Sender: Daejun Park From: Daejun Park To: Bean Huo , ALIM AKHTAR , "avri.altman@wdc.com" , "asutoshd@codeaurora.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , "cang@codeaurora.org" , Daejun Park , "peter.wang@mediatek.com" , "powen.kao@mediatek.com" , Keoseong Park , cpgsproxy3 CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <1295226194.41652147883654.JavaMail.epsvc@epcpadp4> Date: Tue, 10 May 2022 10:03:21 +0900 X-CMS-MailID: 20220510010321epcms2p2e88db0f37b976804f44760f5ac2e081c Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20220505134730epcas2p1423c1274105c2611825a692ca7375f6e References: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi=C2=A0Bean=C2=A0Huo, =C2=A0 >From:=C2=A0Bean=C2=A0Huo=C2=A0 >=C2=A0 >"When=C2=A0the=C2=A0device=C2=A0is=C2=A0powered=C2=A0off=C2=A0by=C2=A0the= =C2=A0host,=C2=A0the=C2=A0device=C2=A0may=C2=A0restore=C2=A0L2P=C2=A0map=C2= =A0data >upon=C2=A0power=C2=A0up=C2=A0or=C2=A0build=C2=A0from=C2=A0the=C2=A0host=E2= =80=99s=C2=A0HPB=C2=A0READ=C2=A0command.=C2=A0In=C2=A0case=C2=A0device=C2= =A0powered >up=C2=A0and=C2=A0lost=C2=A0HPB=C2=A0information,=C2=A0device=C2=A0can=C2= =A0signal=C2=A0to=C2=A0the=C2=A0host=C2=A0through=C2=A0HPB=C2=A0Sense=C2=A0= data, >by=C2=A0setting=C2=A0HPB=C2=A0Operation=C2=A0as=C2=A0=E2=80=982=E2=80=99= =C2=A0which=C2=A0will=C2=A0inform=C2=A0the=C2=A0host=C2=A0that=C2=A0device= =C2=A0reset=C2=A0HPB >information." >=C2=A0 >This=C2=A0patch=C2=A0is=C2=A0to=C2=A0clean=C2=A0up=C2=A0the=C2=A0handler= =C2=A0and=C2=A0make=C2=A0the=C2=A0intent=C2=A0of=C2=A0this=C2=A0handler=C2= =A0more >readable,=C2=A0no=C2=A0functional=C2=A0change. >=C2=A0 >Signed-off-by:=C2=A0Bean=C2=A0Huo=C2=A0 >Reviewed-by:=C2=A0Keoseong=C2=A0Park=C2=A0 =C2=A0 Here=C2=A0is=C2=A0my=C2=A0reviewed-by=C2=A0tag. Reviewed-by:=C2=A0Daejun=C2=A0Park=C2=A0 =C2=A0 Thanks, Daejun =C2=A0