Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2906070ybd; Thu, 27 Jun 2019 22:51:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIfpnlMM0BkBb7uuFr6eCboy3C5hy68pO8dJhMnASUoNNCiSbZnlRmJD5fnKC6ZoItS2G3 X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr9267250plp.126.1561701097035; Thu, 27 Jun 2019 22:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561701097; cv=none; d=google.com; s=arc-20160816; b=QYa0DapfQdtv+SIKu5IBZA5yBYGRt9rP1G5/S3rH12OIaT4eE+o+EmWfMcVjWknbH1 rpmYInBqL+6WFJqg+zWDzUIN5/1rdvEWwYBq1+Qm1xxNzhHaAILEoWPgP1OOF0OvWAGY tQk5RO3ieJJKhxDwnIAbvB2dvfTrc3UPIlKm7r0hTXgwnoY7+ntylmznmxdfjbbdma7Y zYjMGkx7QFc5gKOD5WN8x5fPazQOJPeNkND1VIgThiQt6g2cNITjXyZ9B69pRmm8/l6v gdOQVjEEgzn3yXkOXamdDaiC0fKOeG0oJ8Lz3tBaqvOuz1IKhpBj50FvP9F/n6EkfHH/ fY1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cbFBRaRExGspP5FBHqiodiH1th1SFCHyj3/EvKVMOx0=; b=pqmQM/xa3vCNGlBBJgW2vpMP2GNFCT55d/sbwslJwvE4rnu3vZxLIVpQMJHTi1woOh +0SOkUh9vsZc89BKfFhCJjkCpfTgF9Ws6CX3OZ+/zJb6vEFFABocmaROCewf3LLp59Hx kcW5XUi+VuhPi7J2d/ssTR8ja0mIS6jG/Vr3kSfVtDNpDquKnb4FG6q0nmDyaQUi57D0 2kEwpOvRXJzjqKAI6T6hmNy4gSzHa6mELD8CogToYiE+DI0YnMzwDxSIEdVIZFhCzMQb lMxDyhn3LOwFqH3dByhpzjfdi37/su3owaRer45H3DZUe5E/LE457HdYUjq7GW4knIxA 4+rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKNi1swU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si1247177pla.121.2019.06.27.22.51.20; Thu, 27 Jun 2019 22:51:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKNi1swU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbfF1Fua (ORCPT + 99 others); Fri, 28 Jun 2019 01:50:30 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42058 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfF1Fua (ORCPT ); Fri, 28 Jun 2019 01:50:30 -0400 Received: by mail-lj1-f193.google.com with SMTP id t28so4701997lje.9 for ; Thu, 27 Jun 2019 22:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cbFBRaRExGspP5FBHqiodiH1th1SFCHyj3/EvKVMOx0=; b=VKNi1swUOq5lK8dq5fqpEDERV76IAnNdVZ5XZGkHh0446kzeu1AUrTBtfcWnqjwz7s CFLCv+VQfnCjIW21Uxjhk9kIItpOCpOBVaNjc4RN6PTb/zpOPrs2Jj7LcyAqecc21QRV 2zT0yeebkvwCzjWi2Tq7+2u7CBR3i7VsePNdHChsH3C/xrJfBA9rwWPDAi8E7lXECpz8 Q1nuzUYvZIvaVHYYNFAHG986q7tr+zKqYG229xXRcT4HSClajfzb3LUyrKnMstHdN24Y IWVk/TCCmQCNkoJVw/Yul28cipc8m3F/AL+0q4ind6UeYydAvf+v66mhP8+vCEXX70QX +NNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cbFBRaRExGspP5FBHqiodiH1th1SFCHyj3/EvKVMOx0=; b=iIo/cB1qGdvETSSDkYaA3JVAQikJTMdNXQua87ACRjOojjG9Qt6OZLevinNG1rXDU4 JXgQVBEz/mIGHara9JzWyKHA8Dddb9cHqlOaPhM8dv+uaPjwSLN/fpQYpPIaejsdNYPV zU9KPR74ckQKGX33nL9dcmB30b+CfWnS5Ejxli+K/loHR/mg3oAUt6yEGEZ4UX+HCFjm ZuBS7+wnOGeMTypVob84P0St3eeWy8L9VJz4EXZ+UYUECO9+K06XFsuK1/Fg9NbNvYSO vByV0t3DF0H+kiEDXHw0OWiqmsOtNJBXuK9NCY5bO4aFs0vGoqf3LwPzFeMYqFhkL0iq 4R4A== X-Gm-Message-State: APjAAAVwcXhRYP8ATd56Re8IQJZs03w/jzQIj6pQB70u3RpA4tcVKFPb RLx5sl9Sp6+PuTfj9XrM93EHL4ZEqmKn8U+nKclebw== X-Received: by 2002:a2e:4b12:: with SMTP id y18mr4842583lja.238.1561701027991; Thu, 27 Jun 2019 22:50:27 -0700 (PDT) MIME-Version: 1.0 References: <20190625201341.15865-1-sashal@kernel.org> <20190625201341.15865-2-sashal@kernel.org> <673dd30d03e8ed9825bb46ef21b2efef015f6f2a.camel@linux.intel.com> <20190626235653.GL7898@sasha-vm> In-Reply-To: From: Sumit Garg Date: Fri, 28 Jun 2019 11:20:16 +0530 Message-ID: Subject: Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE To: Jarkko Sakkinen , Sasha Levin Cc: peterhuewe@gmx.de, jgg@ziepe.ca, corbet@lwn.net, Linux Kernel Mailing List , linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, Microsoft Linux Kernel List , Thirupathaiah Annapureddy , "Bryan Kelly (CSI)" , tee-dev@lists.linaro.org, Ilias Apalodimas , rdunlap@infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jarkko and Sasha, On Thu, 27 Jun 2019 at 18:47, Jarkko Sakkinen wrote: > > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've just been massaging this patch more than "authoring" it. > > If you feel strongly about it feel free to add a Co-authored patch with > > my name, but in my mind this is just Thiru's work. > > This is just my subjective view but writing code is easier than making > it work in the mainline in 99% of cases. If this patch was doing > something revolutional, lets say a new outstanding scheduling algorithm, > then I would think otherwise. It is not. You without question deserve > both credit and also the blame (if this breaks everything) :-) > > > > process-wise if the original author of the patch is also the only tester > > > of the patch? > > > > There's not much we can do about this... Linaro folks have tested this > > without the fTPM firmware, so at the very least it won't explode for > > everyone. If for some reason non-microsoft folks see issues then we can > > submit patches on top to fix this, we're not just throwing this at you > > and running away. > > So why any of those Linaro folks can't do it? I can add after tested-by > tag parentheses something explaining that context of testing. It is > reasonable given the circumstances. Simply because the hardware I have (Developerbox) doesn't provide enough flash space (as per current memory map) for this fTPM driver to be loaded as early TA along with OP-TEE binary. So I can't get any further point than sanity probe failure check for which I think a tested-by won't be appropriate. -Sumit > > I can also give an explanation in my next PR along the lines what you > are saying. This would definitely work for me. > > /Jarkko >