Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1515967rwb; Wed, 26 Jul 2023 13:53:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlElhNk7Q9J/MR+JS+erUooLd1YWeDPNyh2BtHK4Nn5AgmOUjwXQSjBfMTeQIE2U5xrUepfF X-Received: by 2002:a17:902:da8a:b0:1bb:9c73:1a3d with SMTP id j10-20020a170902da8a00b001bb9c731a3dmr3833489plx.21.1690404827272; Wed, 26 Jul 2023 13:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690404827; cv=none; d=google.com; s=arc-20160816; b=PkAmH1VMAMVlg+drS4Xl+h5zD1KTHlb23LRsvONXdje2B/wSn3DiEtzCTbpDug1Hfw zQK6nttwEI7VBH53WhXx/UEQ7O4eAKMTmnNsr5DgpVwYob17OKPE6Hvk8pziKRLE/qBO tRE1u5aYalqod3YyqJPtswD41O3//Z/1jURYHnWc25qnw8PvMTYAG3rmcs5TCNpd0Ksp rq3rcf8qtl+HsXQ26ubR7zleVRjK6HrHrUgGWDEIR+66QtJq7wtR4I8XJeKgVfuV/zHb GlzikapfIRQqqHA3196i9VHdZuD1/MGJF8J0st7HNM24jbH9CbMcoP/SbtXt7MNpyfDr t57Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature:dkim-filter; bh=v9Ru5Fve35C7Z1Toy6pZJ0CeTADZeQV0Hv8hBNlOAh4=; fh=dAjwC67CC2L04U4dOMDEqJlKbc96o9TrxFyG8pRZb40=; b=Zv0kNTw+aPpXs3EBbXasfmh3YPxxfjYsW8r8iyckCRiTG3D6oUkJX7+EdO07sGwHlJ A605fzVwdwvlFxXaV5x+fuNPMfMWdKh/v7siRBPyP6szkWlkg7CCxn7eiM71z3mbpgJ6 mC64AbjOpAQ7RUI7FPvwiVYESXwPpF61xlfq57suoUkrj8SlyhyOO/J2LtSLsWuMt5fQ LAs7U/Kkb8ulzUWhLQsaw4ZicLKzqyyvyPqWPj0IPbH1gm5387HN9lUB3Wr2PAq3nsuo lPjxh3e9Qk9FEHA7l44+U8/vR0pATGCwkCGU6HBPLLIv7CCXW8JLWRAD2RR5qF3tWv32 PKqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=mDffDAlN; 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=linux.microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170902cec500b001bb7b0d358bsi1317090plg.272.2023.07.26.13.53.27; Wed, 26 Jul 2023 13:53:47 -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=@linux.microsoft.com header.s=default header.b=mDffDAlN; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbjGZUK4 (ORCPT + 99 others); Wed, 26 Jul 2023 16:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjGZUKk (ORCPT ); Wed, 26 Jul 2023 16:10:40 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F1F112D54; Wed, 26 Jul 2023 13:10:13 -0700 (PDT) Received: by linux.microsoft.com (Postfix, from userid 1152) id 79DC12383121; Wed, 26 Jul 2023 13:10:13 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 79DC12383121 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1690402213; bh=v9Ru5Fve35C7Z1Toy6pZJ0CeTADZeQV0Hv8hBNlOAh4=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=mDffDAlNHmkg7IieLpRPyms9IEYX0q80BejfwEuKgb7OfLvEqWpkAiPibufKSh0PH zCEGOPML5eVhLJiLI13On9L4qm+iSrfosSuag0nwmZoelxd0NRkVdCzxjNkZIgKxcU JgedsL4M0TWWCNZdAez+D/i6A3EAHr6WpN1aG2L8= Received: from localhost (localhost [127.0.0.1]) by linux.microsoft.com (Postfix) with ESMTP id 768F13070325; Wed, 26 Jul 2023 13:10:13 -0700 (PDT) Date: Wed, 26 Jul 2023 13:10:13 -0700 (PDT) From: Shyam Saini To: Randy Dunlap cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-scsi@vger.kernel.org, =?ISO-8859-15?Q?Alex_Benn=E9e?= , Tomas Winkler , Ulf Hansson , Linus Walleij , Arnd Bergmann , Ilias Apalodimas , Sumit Garg , Tyler Hicks , "Srivatsa S . Bhat" , Paul Moore , Allen Pais Subject: Re: [RFC, PATCH 1/1] rpmb: add Replay Protected Memory Block (RPMB) driver In-Reply-To: <233853ab-235b-d4dd-cd69-588d1a83ce4f@infradead.org> Message-ID: References: <20230722014037.42647-1-shyamsaini@linux.microsoft.com> <20230722014037.42647-2-shyamsaini@linux.microsoft.com> <233853ab-235b-d4dd-cd69-588d1a83ce4f@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-19.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 Randy, Thank you for the reviews. > Hi-- > > On 7/21/23 18:40, Shyam Saini wrote: >> diff --git a/drivers/rpmb/Kconfig b/drivers/rpmb/Kconfig >> new file mode 100644 >> index 000000000000..f2a9ebdc4435 >> --- /dev/null >> +++ b/drivers/rpmb/Kconfig >> @@ -0,0 +1,11 @@ >> +# SPDX-License-Identifier: GPL-2.0 >> +# Copyright (c) 2015-2019, Intel Corporation. >> + >> +config RPMB >> + tristate "RPMB partition interface" >> + help >> + Unified RPMB partition interface for RPMB capable devices such as >> + eMMC and UFS. Provides interface for in kernel security controllers to > > Indent the line above with one tab + 2 spaces instead of many spaces. >> + access RPMB partition. >> + >> + If unsure, select N. > > Do we want a separate subdir in drivers/ for various "misc" drivers? > with only one driver in it? > > Will there be other drivers in rpmb? > There may be others as the usage of rpmb driver grow over time but for now, this is the only driver. Should i keep it like this ?[A Thanks, Shyam