Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1321932rwd; Wed, 31 May 2023 12:13:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sVylzyVGsz166zPcWoL+HGgVak666aq/b7eYVURE5BIJqv24772bo5qgqFh5OOt99paKs X-Received: by 2002:a05:6830:1044:b0:6af:7493:79be with SMTP id b4-20020a056830104400b006af749379bemr2080817otp.10.1685560403985; Wed, 31 May 2023 12:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685560403; cv=none; d=google.com; s=arc-20160816; b=ESwe6QB2NAZSh8GMr3su3YozSxc1xlNKMHddv1132qROEKKgdg45qN1YSZIwmIFoYG cOyX6MZgIwEWYuvlrD80/gEuoX9eTLynXkFfXH/OZQFs8MIpCpWcA4yR9GBevk+5yFxn F1URoW9zm6dt0l2aNmhg71VM/tU6nDSG0ttd+rOdswOBlx1Lk1E0eZ/JCoNS+xP2u+ug zwXaj4DVBSlVng2FcNEJvJ6504rT1Sop2fsKqGduvf/8tSWyx0AhZ/N2KZ30ezpBL2d7 98V8CsONwSdfj4szZSyeqvlh2tdNw/vZFrxd1+lMyHi0LkyGP3EyyGxc5GfyyZNDsNi0 K7mA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=9rE+SRTAB7sC3g3Xr1k+PcNR3GwWZig7+s8JNU7XI3Y=; b=q451vnA1vHNtCxGjY6l7IZRTj2DR+xZGTUOZcbeJe5CAmrsWDmdJOQ0EanpkoGO1nQ z36l5yiSLix4fzGOzC/lx0vrVypCG0ZOdzy50OVf9xj2C+oIWyUThR2jnJ0m2ai10MGB qq+PUWGZjLYOQ6hEnGAr9jlsl5Z5YezHhneUTK+heHJDmQypLzvtqSD9j0iM3SnZl4TT SoArihgt3rEEPgQLPEFGGchFG1hnxPfxNQ78xQShtvRY2GehgJDj9br7+UV6qDRsU4Ja 6wkUCB5aVcabV8EIIyXwpmLkT0leGos3iXsoVn2tFeA2kPu5Ot0F8HlJUDlIGQNMhX4J 2kxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=Fh3aU97Z; 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 bk13-20020a056a02028d00b005321c71cab1si938030pgb.455.2023.05.31.12.13.09; Wed, 31 May 2023 12:13:23 -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=Fh3aU97Z; 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 S229591AbjEaTKd (ORCPT + 99 others); Wed, 31 May 2023 15:10:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjEaTKa (ORCPT ); Wed, 31 May 2023 15:10:30 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6C01F135; Wed, 31 May 2023 12:10:17 -0700 (PDT) Received: from thinkpad-p16sg1.corp.microsoft.com (unknown [167.220.83.99]) by linux.microsoft.com (Postfix) with ESMTPSA id 69D6C20FC460; Wed, 31 May 2023 12:10:16 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 69D6C20FC460 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1685560216; bh=9rE+SRTAB7sC3g3Xr1k+PcNR3GwWZig7+s8JNU7XI3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fh3aU97ZtLl3PvKiFD9yWeRQQQOiG5RXMOq9r1TDHFc3KdhBh+vWqhIRBW2UZ0Oo3 26z1yMRdq/L6jlE6v08iZ4HaVdcy8VmbNqSb8d0DoJylWTO2bmGXwDFxEODsbuuoO7 7rQ9wWuH8I00/AeQiO+TQaKPHibhShpFNwzPMVfk= From: Shyam Saini To: alex.bennee@linaro.org Cc: code@tyhicks.com, Matti.Moell@opensynergy.com, arnd@linaro.org, bing.zhu@intel.com, hmo@opensynergy.com, ilias.apalodimas@linaro.org, joakim.bech@linaro.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org, maxim.uvarov@linaro.org, ruchika.gupta@linaro.org, tomas.winkler@intel.com, ulf.hansson@linaro.org, yang.huang@intel.com, sumit.garg@linaro.org, jens.wiklander@linaro.org, op-tee@lists.trustedfirmware.org Subject: [PATCH v2 0/4] rpmb subsystem, uapi and virtio-rpmb driver Date: Wed, 31 May 2023 12:10:07 -0700 Message-Id: <20230531191007.13460-1-shyamsaini@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220405093759.1126835-1-alex.bennee@linaro.org> References: <20220405093759.1126835-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,URIBL_BLOCKED, 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 Alex, [ Resending, Sorry for the noise ] Are you still working on it or planning to resubmit it ? [1] The current optee tee kernel driver implementation doesn't work when IMA is used with optee implemented ftpm. The ftpm has dependency on tee-supplicant which comes once the user space is up and running and IMA attestation happens at boot time and it requires to extend ftpm PCRs. But IMA can't use PCRs if ftpm use secure emmc RPMB partition. As optee can only access RPMB via tee-supplicant(user space). So, there should be a fast path to allow optee os to access the RPMB parititon without waiting for user-space tee supplicant. To achieve this fast path linux optee driver and mmc driver needs some work and finally it will need RPMB driver which you posted. Please let me know what's your plan on this. [1] https://optee.readthedocs.io/en/latest/architecture/secure_storage.html Best Regards, Shyam