Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp682467rwb; Thu, 10 Nov 2022 06:13:27 -0800 (PST) X-Google-Smtp-Source: AMsMyM5QXltT8eLotCY3GK3tiavEypmFl439AEuvo17AApXgu5E3r/Py948t871GHfVNUi0bN3Fr X-Received: by 2002:a17:907:da5:b0:7ad:7e95:6513 with SMTP id go37-20020a1709070da500b007ad7e956513mr61535320ejc.442.1668089607584; Thu, 10 Nov 2022 06:13:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668089607; cv=none; d=google.com; s=arc-20160816; b=vZdhFDgyZg3SmEmiMBY53avD4dhhj31YBrw+a9N8JjwErD0RSu2bGsNKh8rzKoi4n5 GkX3RjRKijEczRzuw9hijY3SrWxltnQeMmK+72gO7TrMJ/u2EaR0kx60MBerqeWVEa3s ygrZb3L164h9iyHlNFCSRfM0RHEvhI3KnO+McvEChcUsoWjLzKjH0dQZoDLi/lOEYr1L dNaBABSdXPTwVV2d8OpRGB3e7eGUKYZiPuiMGAd6WMJBQd06+sXCpKUmCpxaPaW1/BOv n7BAJAluCZMsk95fcJIn5mWzrBTH1smXjbI7nNWj6ShgcGWg1ReuDoeSx+l4NjmVyont Ewsw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=L6wvDDhXKUzII32ywi5QeK1Fitev1Yi4DtJi2jmWynw=; b=ecPgCtcfOE24NIP2dAyxo3qEGa4WmF6lN7RVj0wZ8dwfqSWb3qubl4URP6zRJ4Mm6A YyhHVzDbIl3ZXG2BVYP+vsTvlRaKwrkFx86favG01opv/NkNQvA/sE70tfPwYgzSu3/U A+rOg7H1cBrQMOksyp5QPgGC5jGXtSfkAJMq2NxkLHiTizNYmRZiNwqfUOacGQBVjXDj H7E3Mvbtgtkevr9ej6r2Cl4Q5B/5iaECFqCnW5gk4PWIt1lxGiV7jx9cEpwRsLhKJ2/D WLbOsqAEoEbscvyPNrE2aiwbZ8HQGt4oyjpMJEOItGIbRwu3tKJunNaXfbSJV/pTtvre rbYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@iokpp.de header.s=strato-dkim-0002 header.b="hDDgMl/9"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020aa7c54f000000b00452697eda4csi16365529edr.58.2022.11.10.06.13.03; Thu, 10 Nov 2022 06:13:27 -0800 (PST) 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="hDDgMl/9"; 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 S230342AbiKJNvC (ORCPT + 92 others); Thu, 10 Nov 2022 08:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbiKJNvB (ORCPT ); Thu, 10 Nov 2022 08:51:01 -0500 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 41815CE0; Thu, 10 Nov 2022 05:50:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1668088250; s=strato-dkim-0002; d=iokpp.de; h=References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Cc:Date: From:Subject:Sender; bh=L6wvDDhXKUzII32ywi5QeK1Fitev1Yi4DtJi2jmWynw=; b=hDDgMl/9pDYuVxCZO9yeomuGvAHvl3zMfAYDx5fB+1GHAQdkO0LiQEq76OqnTIjEmP Rejwuap91u2H1z9n4QQ+QGf9FurC8QJYtRbqzQSxkDVLyWK3n13aJiDDpcNVdY+lplnJ QkJw80tZO7IAXLhKXhB/JaIoaISQ7oFmtYKpSSID21kjgrA47vRnnD9tNbjvUaT08hoj 5f+bRRvlnNsIH5cf7/sP8SlflhXw0pMJqbm+2QAOVgZoprqm9Ff3oDdcmsPWX68NSXe6 KpMZMgEEEidPeOCg9y0ZGI4RmQr1kGnmYMyk2SJcEOHRt7Swd4EozU2Y1Wp4FfweqLYO xVfQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkFe0i9dN8c2t4QQyGBB/NDXvjDB6pBSeBwhhSxarlUcu05JCAPyj3VPAceccYJs0uz" X-RZG-CLASS-ID: mo00 Received: from blinux by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id z9cfbfyAADolxCp (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 10 Nov 2022 14:50:47 +0100 (CET) Message-ID: <95651ffcf1d00f54b72eca006355cc6591787068.camel@iokpp.de> Subject: Re: [RFC PATCH v1 0/2] UFS Advanced RPMB From: Bean Huo To: Avri Altman , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "beanhuo@micron.com" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , "daejun7.park@samsung.com" , "quic_cang@quicinc.com" , "quic_nguyenb@quicinc.com" , "quic_xiaosenh@quicinc.com" , "quic_richardp@quicinc.com" , "quic_asutoshd@quicinc.com" , "hare@suse.de" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Thu, 10 Nov 2022 14:50:47 +0100 In-Reply-To: References: <20221107131038.201724-1-beanhuo@iokpp.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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: X-Mailing-List: linux-kernel@vger.kernel.org Avri, Thanks for your suggetions and review On Wed, 2022-11-09 at 08:18 +0000, Avri Altman wrote: > > In UFS 4.0, it introduced advanced RPMB, which can significantly > > improve > > RPMB's command performance, enhancing its atomic operation. We > > don't > > know which implementation will please everyone, mark this advanced > > RPMB > > patch as RFC. Any suggestions to make the patch a master patch are > > welcome. > > Based on suggestions and feedback from Hannes Reinecke and Bart, we > > can > > use job_bsg->request and job_bsg->reply to pass EHS packets without > > changing > > the BSG V4 structure and BSG core. So we push RFC patch just to > > start > > Advanced RPMB mainlining > > I concur with this approach. > > The current limitations that the new spec imposes, > > e.g. putting confidential data in a construct that lives in the ufs- > driver, > > practically gives no other alternative but ufs-bsg. > > > > If no one else object, maybe you can leave out the rfc from the next > version. > > I will prepare next version, and address your all questions in the next version. thanks. Kind regards, Bean