Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp60855lfe; Fri, 15 Apr 2022 19:31:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK24i/Fnn72LWZY/3gmE+TwdAYsxC3LFUz2CvVOT3k0BlKEXv4CTBSxF/IUE2L/xS3nJ5z X-Received: by 2002:a65:5286:0:b0:398:dad:c3d8 with SMTP id y6-20020a655286000000b003980dadc3d8mr1437942pgp.228.1650076296843; Fri, 15 Apr 2022 19:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076296; cv=none; d=google.com; s=arc-20160816; b=uIbdFM0rCqyTkwYZ+iZXa+bjSt9UZEKv8f1laMBofHmxz6oEn0LNgDzpiM+PicNlvz oQOhMTFNF+HkMj4fNNiUmmxXXyKxs04RzCItH9diMcReczfZgKpR4/qRJY/4WdHydisL dcO/LWWMeYxJMFUNUjxt0YpwBTANRvU2/3XAcyJw9hJYsOh3SAoFi8qllmtziSx/68Oj SwVgt2fHDaZKZrSXUsjnwr6qVuczilicx6kAVc92WhAqJwnH3MjNCxri54u3TIU4EcYv wVZJsemnva3x6hNUwfPlVIxX58JchmP8utxzngCb1HSbm44bk8AHQPZ7TFjkI20riDsc 6qWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=IpYYeAQ6KoLNRNaExAXyGq7eNl9eMq0NHJWTamim55k=; b=ET7RTXNerBSMEg5rRYjWntpgw5xjaLvGXmvjteuDx0WzAmUqPknQn5X+nhOidULLQX tE+Yt3R1whLQz14TFQ4c4eRaYX8vE7P8nAVRDMD/FKRly8oP9yVZd0TUbHrZMAXEfyvU yrZ25ujpLpCJDATXLVovG+CahoehreDZAgxbYue+RQkXAIgkObaCScImwOEhAONxhCvc vHMmsmbSZ8kAFSknxkH7KVXoV76xTtT2To90cL0qoaWzPMwMZvP5EaEROodtDi2aOymF LX+ZVuGsvq/J+140ASuFre9haGx5scpueChOc30G396ywEQ0w9nvVPgBVpg0JY5JXvHu U4aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ObwEW4Ah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m16-20020a056a00081000b004fa3a8dff78si3037183pfk.47.2022.04.15.19.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:31:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ObwEW4Ah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D3BAA1265B0; Fri, 15 Apr 2022 18:42:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244534AbiDNRKa (ORCPT + 99 others); Thu, 14 Apr 2022 13:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245598AbiDNRHh (ORCPT ); Thu, 14 Apr 2022 13:07:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4889735DFA; Thu, 14 Apr 2022 09:53:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E9445B82AE8; Thu, 14 Apr 2022 16:53:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35736C385A1; Thu, 14 Apr 2022 16:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649955183; bh=IpYYeAQ6KoLNRNaExAXyGq7eNl9eMq0NHJWTamim55k=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ObwEW4Ah7UXpwECxgpa2X5sokAilNrRPzW+6qFKNiKfeHVqVQ1dj3fExDrJ9AIkNO 4Nf+WAtxvnNXvMMDk1P6SrCxUcUUzxRYGO1y8mMhawQb39KB1KoshZx1MhE81z2xAV ty0gwxV+q7OPvfCJT3SfXQqhgHx7V7UE5eIqn4WdiRGEqXIyf3/JzlDCeP0NwSMg06 4LmMZrgY34Mh+NUpVXz5yT82ohgvQSsubh6cHslAkS+frCg5CokA/6PJE1gDoth6gU C2E+sNVjbav+WHoEhGuluC4zE75owTxlUUrv2/ZLf2H8qaMJ69Und0iU9bkOVDpcni 6HUNbHbRZwrWQ== Message-ID: <047c3145c93a35ec3096aad44b221bda7d9e12c7.camel@kernel.org> Subject: Re: [PATCH] tpm: cr50: Add new device/vendor ID 0x504a6666 From: Jarkko Sakkinen To: Paul Menzel Cc: "Jes B. Klinke" , linux-integrity@vger.kernel.org, Jason Gunthorpe , Peter Huewe , linux-kernel@vger.kernel.org Date: Thu, 14 Apr 2022 19:51:55 +0300 In-Reply-To: <068becdf-2d88-65a1-5977-1fedd34a8f0b@molgen.mpg.de> References: <20220405173741.4023216-1-jbk@chromium.org> <6528eec1-0ab1-a5ff-3e30-2e06256dfd04@molgen.mpg.de> <068becdf-2d88-65a1-5977-1fedd34a8f0b@molgen.mpg.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.44.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 T24gVGh1LCAyMDIyLTA0LTE0IGF0IDE3OjA2ICswMjAwLCBQYXVsIE1lbnplbCB3cm90ZToKPiBE ZWFyIEphcmtrbywKPiAKPiAKPiBBbSAxNC4wNC4yMiB1bSAxNDowOCBzY2hyaWViIEphcmtrbyBT YWtraW5lbjoKPiA+IE9uIFRodSwgQXByIDA3LCAyMDIyIGF0IDEyOjIxOjQ0UE0gKzAyMDAsIFBh dWwgTWVuemVsIHdyb3RlOgo+IAo+ID4gPiBUaGFuayB5b3UgZm9yIHlvdXIgcGF0Y2guCj4gPiA+ IAo+ID4gPiBBbSAwNS4wNC4yMiB1bSAxOTozNyBzY2hyaWViIEplcyBCLiBLbGlua2U6Cj4gPiA+ ID4gQWNjZXB0IG9uZSBhZGRpdGlvbmFsIG51bWVyaWNhbCB2YWx1ZSBvZiBESUQ6VklEIGZvciBu ZXh0IGdlbmVyYXRpb24KPiA+ID4gPiBHb29nbGUgVFBNLCB0byBiZSB1c2VkIGluIGZ1dHVyZSBD aHJvbWVib29rcy4KPiA+ID4gCj4gPiA+IE1heWJlIGV4dGVuZDoKPiA+ID4gCj4gPiA+IOKApiBH b29nbGUgVFBNIHdpdGggbmV3IGZpcm13YXJlIOKApgo+ID4gPiA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