Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp217028imj; Wed, 13 Feb 2019 07:13:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IaYJnKsYD2/QZYHmBMxzb1dxx+yiVJ8U7KIGbz/1j/fMUtkFmLfY1k2IdtSMoRdHSgW77Fx X-Received: by 2002:a17:902:b83:: with SMTP id 3mr1001671plr.42.1550070803233; Wed, 13 Feb 2019 07:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550070803; cv=none; d=google.com; s=arc-20160816; b=JJACTVgZV0K7Ps+E73avXKr5JHBvkeJCy4n9N8wVPS2cq1xrvn323HEFyHFWuTH2SQ L/0DtvjPR1QJ6J7DHlg5kG93/lYMH6CTb+go3lld0ZK2HLv5twcjAFoI5t41l9xcke0c +phRm/SB9wQTqPn6Q32nrfataTUhrk6EA7MY1ZCIwkvPW4FhXfJLx2G91eOD7/c6xXbG sjr0tsycdBj2xZdoOsYU9DTBSjuuAFB/sIwGSUY6ZHPyz1EvDIlZT+b5ohWd73fQ21LZ TNBN7u0Dj9KtWrs75TBn89tpN5zb+RjfRB/IondUj9Lx5QOhnejMBIFO7jB5erGkXu4M qj8Q== 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=Dt7EwH0wU09rDKGwwGbMfe6lUinGuQ6f5KcIUgyhw2I=; b=kZ/rk6v+MHLjSFHENgtO24Q46iswavwvyTOZTLQcg/0+Yc1pziGgCQbfAugKz4BxBH 8Fxr6r8rUG2utZztU0ImKLK7fbvUyW9PGPWwhviASY7KN6VfuPPz7/znmiGqSJqQQkDO LedtPM5koMV4yiOUkMNLcPNlurAg90S7D3UbwiCx6eBzaSS3VyNiUH80PQMhlOY8Krtb XwTTPEoloSNrKs/C8nLdhquCWYxg2u2CAzWcjJyEW46ry9UwZK7B9GSw7ST9/ItgMKfU jHwPBP9J2sszFU+D6tGHCCGGVgtcp+vq8FQaFu3Oxx/v41vBF8bHwGEaKrIV+pTSFcCu agEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UIcKCeXo; 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 1si6747231plb.103.2019.02.13.07.13.06; Wed, 13 Feb 2019 07:13:23 -0800 (PST) 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=UIcKCeXo; 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 S2391965AbfBMOWx (ORCPT + 99 others); Wed, 13 Feb 2019 09:22:53 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:51060 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731306AbfBMOWw (ORCPT ); Wed, 13 Feb 2019 09:22:52 -0500 Received: by mail-it1-f196.google.com with SMTP id z7so6389469iti.0 for ; Wed, 13 Feb 2019 06:22:52 -0800 (PST) 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=Dt7EwH0wU09rDKGwwGbMfe6lUinGuQ6f5KcIUgyhw2I=; b=UIcKCeXofzBdpiYSM9ja7ySRDYK8fSkp1w+zKIzJZLIQ+6olx1c6Fu/zN3abTTgYVL CaYyBJQQjQWI0r65B4siobcgvxpmzcbbK3jYxnvQ3LtW+15pNQJMzAH2AqTCVfB0GQbu 5mfDAP0SA2EnuBfLkzVTFlRoILy7dITaSFKdYk5xTdCrir0CAOfvARRmynI04IMz497O xrKGcusnwDEKXas0NPYY0fXRMmJqTqHzlGLWuFYYou9+mGA+sEADpoC2vbXgR6I9RBNU 4bH/FnKD6FsUNSODArdHKQmYx3KKy0EdRLpOy7Mo1Qi6EoqhMBHNAm03gt6kymP1lMXW 1vxg== 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=Dt7EwH0wU09rDKGwwGbMfe6lUinGuQ6f5KcIUgyhw2I=; b=N5tF8tN+5K43py9wwNcrIqUAmrmy1S8Qu7dzPpWzAU2YpzeLYwp4gaqQTCvsDTR4CV jSBXe382V75L2WtawPRhn/nOOh3P0E2dcGUytOb2XPARFfLxr88wmbyC9SZ5DOG9UPDf jmqxp52na+yqypNtAtOPv9LeujREaOekBcBRzt2bLkrsnRZDJngfyeF2XXGI3vgNfNXa fyfDXtuaQFAaRc1uv+hfg3Gi3v5slMZyugSxY/oLvxBAFWqX2xCwURkgopcYA55Lb8Ut waxrY83auGwiFgo5goveMG8sE9p8kONIJFillUKgLVNcUKqvB0O3AVfqHqoMWL6YdPDr ZRrA== X-Gm-Message-State: AHQUAubhGpIwYZA/6dLw+gJDAhawoIxE1X3WQZ0b9PjLOjNwIYumjnQq xS8PsbI9SbQYGmz5x/VKSzVKMLY+qfgB2kuw3+qO8Q== X-Received: by 2002:a5e:d609:: with SMTP id w9mr430409iom.170.1550067771719; Wed, 13 Feb 2019 06:22:51 -0800 (PST) MIME-Version: 1.0 References: <20190211143052.3128-1-bsz@semihalf.com> <20190211143052.3128-5-bsz@semihalf.com> <20190213112640.GI7087@linux.intel.com> In-Reply-To: From: Ard Biesheuvel Date: Wed, 13 Feb 2019 15:22:39 +0100 Message-ID: Subject: Re: [PATCH 4/5] efi/libstub/tpm: Retrieve TPM event log in 2.0 format To: Bartosz Szczepanek Cc: Jarkko Sakkinen , linux-efi , linux-integrity , Linux Kernel Mailing List , peterhuewe@gmx.de, =?UTF-8?Q?Thi=C3=A9baud_Weksteen?= , Ingo Molnar , Hans de Goede , Leif Lindholm , Marcin Wojtas 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 On Wed, 13 Feb 2019 at 15:21, Bartosz Szczepanek wrote: > > On Wed, Feb 13, 2019 at 12:26 PM Jarkko Sakkinen > wrote: > > Collides with Matthew's changes. I want to land those change first > > because they are almost production ready. > > > > Maybe you should consider reviewing those changes to make sure that > > they make sense to you so that you can build these on top of after > > these have landed. > > Yeah, I think so. Actually, I wasn't aware of Matthew's efforts, as it > didn't appear on linux-efi mailing list. (On bad, I haven't checked > linux-integrity.) > > At this point, I think it makes more sense to limit this patchset to > 5/5 patch, which makes TPM event log initialized on ARM platforms. > Patches 1-4 introduce nothing more than Matthew already did, maybe > except putting calc_tpm2_event_size to a library instead of making it > inline. This function has already grown a bit so it may be a better > approach, but that's nothing to affect functionality. > > I'll pull Matthew changes to my tree to confirm operation on ARM > platforms, if that works fine the only thing to merge would be 5/5 + > optionally the library change, if we reach agreement on that. > Sounds good, and yes, it would be good to cc patches that affect the EFI subsystem to linux-efi as well.