Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5680320iob; Tue, 10 May 2022 00:45:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQCMH0RCw/tn8NnGBN5rli0lQwGrGxGm8OUluuYWPM3PfQHWF9I10fG155gbNFfp0DO8iR X-Received: by 2002:a17:906:594a:b0:6f3:d242:8d64 with SMTP id g10-20020a170906594a00b006f3d2428d64mr18075939ejr.34.1652168716902; Tue, 10 May 2022 00:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652168716; cv=none; d=google.com; s=arc-20160816; b=NuJYKjAxTF/yR3TJtktr5UHIvzqkHK9yAVuQcFzyaL7qJUQl1tzBU5k3LBpH5qPu4S G3nerb6FHWBBLzNCZzvzhX8ql9y2j/KSv9ZivUnpY6qDqXcBq6KYjSWP70NN/CszW254 Fzah0oIh7Alw63B4VejwAIETzCrjIa69dlcJGrMNy1rhs8W7kGq+P+CQgMkk213hw1di 4eWNXkjttric9nLzFKOs/aGG/Q1qH3QMshe+PY1VasCpYJwxTamUUPTJuE2QdbpH7eKs KY6i13Dx1D/NWZmYK5no412mNdWMDmSVuK4Q3yrcods6Fgy4fMjfoV5bU3BkdA3RJjqO wvsw== 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=BLA8xn4IElcO3LAMo06B8+heYNNfifdUw16XRT/rcmc=; b=pv7XN7W8WSf0udbB554stMIFrStT9hdS2zPVaWnIO99Tu/8uNiWgh/ITHnPoCugIB/ GviKghfsiNA9tAisanOoLgdbFNuzHr+d4st8WSZq/VXUjWxFRMNx/rjajA2WmPW4KC0g FgaU/1mdfqeYyxLJKMePPtKI/t1oMRYQPGIkPXrzTPvgPoU2GstdGbk+B4xAFBSVBvwN XHRS8UWrNSXoWLDKCMPc5+Yt/PXwwrPn17iris61gH0HIfmCrjNS10h+6/g+UMVDvY4E jWas8CpcVYFU9+4oppDtITXtUBFL2yA5Ji0uxcvD6/nO9VrdYVR5TFeFi9IjWeGDvif5 P7EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UpSfHuf5; 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 qq14-20020a17090720ce00b006df76385e53si15413412ejb.755.2022.05.10.00.44.53; Tue, 10 May 2022 00:45:16 -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=UpSfHuf5; 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 S234415AbiEJCCK (ORCPT + 99 others); Mon, 9 May 2022 22:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234404AbiEJCCI (ORCPT ); Mon, 9 May 2022 22:02:08 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE693210B94 for ; Mon, 9 May 2022 18:58:09 -0700 (PDT) Received: from epcas3p3.samsung.com (unknown [182.195.41.21]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220510015803epoutp019c894b618d1b12e7013b56bfc1748b80~tm788d5E-1461514615epoutp01O for ; Tue, 10 May 2022 01:58:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220510015803epoutp019c894b618d1b12e7013b56bfc1748b80~tm788d5E-1461514615epoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1652147884; bh=BLA8xn4IElcO3LAMo06B8+heYNNfifdUw16XRT/rcmc=; h=Subject:Reply-To:From:To:CC:Date:References:From; b=UpSfHuf5ZNEO03uoeaRtz3N8ygdqu7/uzq+GsaYCdPrVGPsIS5BQCeZ0cFXrO8ltX EqxrX+8VRse/lAP+G3+bKD8nYIoKsTfsbjYVqgyhUUZHHNq0ON4IrcqWJpSRSx1PPW 3Z6wUNKPso18Ue5LVFp5NWL/jTIW9YTE+pRJs0Ro= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas3p1.samsung.com (KnoxPortal) with ESMTP id 20220510015803epcas3p1237a4112ed387a6af4ac0dffe51b9028~tm78XAo8U1834718347epcas3p1p; Tue, 10 May 2022 01:58:03 +0000 (GMT) Received: from epcpadp4 (unknown [182.195.40.18]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4Ky1Qg29SRz4x9Q2; Tue, 10 May 2022 01:58:03 +0000 (GMT) Mime-Version: 1.0 Subject: RE: [PATCH v4 5/6] scsi: ufshpb: Add handing of device reset HPB regions Infos in HPB device mode 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: <1889248251.21652147883293.JavaMail.epsvc@epcpadp4> Date: Tue, 10 May 2022 10:02:55 +0900 X-CMS-MailID: 20220510010255epcms2p3f347f4b1a597c27248bacfa9dddf3139 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: 20220505134735epcas2p457a16df1b023585b188cc6fc15f37932 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=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: X-Mailing-List: linux-kernel@vger.kernel.org Hi=C2=A0Bean=C2=A0Huo, =C2=A0 >In=C2=A0UFS=C2=A0HPB=C2=A0Spec=C2=A0JESD220-3A, >=C2=A0 >"5.8.=C2=A0Active=C2=A0and=C2=A0inactive=C2=A0information=C2=A0upon=C2=A0p= ower=C2=A0cycle >... >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 >Therefore,=C2=A0for=C2=A0HPB=C2=A0device=C2=A0control=C2=A0mode,=C2=A0if= =C2=A0the=C2=A0UFS=C2=A0device=C2=A0is=C2=A0reset=C2=A0via=C2=A0the=C2=A0RS= T_N >pin,=C2=A0the=C2=A0active=C2=A0region=C2=A0information=C2=A0in=C2=A0the=C2= =A0device=C2=A0will=C2=A0be=C2=A0reset.=C2=A0If=C2=A0the=C2=A0host=C2=A0sid= e >receives=C2=A0this=C2=A0notification=C2=A0from=C2=A0the=C2=A0device=C2=A0s= ide,=C2=A0it=C2=A0is=C2=A0recommended=C2=A0to=C2=A0inactivate >all=C2=A0active=C2=A0regions=C2=A0in=C2=A0the=C2=A0host's=C2=A0HPB=C2=A0ca= che. >=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