Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7509709yba; Thu, 2 May 2019 11:06:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxH/utMYtKUm8+em1SRl6iMSwfO4t0/TqNCB6RTmCh4Fi95/vOpwNv3MljLPj0ZAV4zcoG X-Received: by 2002:a62:2687:: with SMTP id m129mr5810330pfm.204.1556820379244; Thu, 02 May 2019 11:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556820379; cv=none; d=google.com; s=arc-20160816; b=qAHx2huqApIoBYEzu8F6hE0suGU5lwn/AlYOKGpD+uMnBHjji0clPIaB38IyeGf2ut 6DANB94roYPO+io7Rb1HBSGtE0y4l3N/QJxACCqMo7m7RKF/leA5sTpqFU4WLMMNEQ7q K5LDxmC+bYr9WHc3Lhfhcqq8Ha9MQhnL1vYI8osw/0PU4aCo+usYdMF0xc1MHfj3CqJ7 wv5UaL7+V4MDa7TF+WO60b9u4FYGRkR+N+kaQ5Te8x2DgwNrk3Ev2WcrQei65rMbGJLE p6rg4ogDO7DYItomkYHlTiF+o+V+NwjC3+7+oZ+6d/gvhTeg7QH1WfyskZRIoU+JXlm/ lPXw== 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=pxRYtB+CK6Ich2oLVLgzBqTdwyqbVB4RtVqM1iRZzuk=; b=uebHi5wy6cg0paw9apxSWnML7IdZT5IZSTT9PFKJ9wMrfYSN+zZB/TdZQmsTByG00y oiQj6deCIrgy5QEBMeVmuHvrAGiv6GB/TrdeaCAdmOfmgJio2G5s3lEEiHddKABQDy3w ZhUApCCdwsXhK35OYv2MF/+2ttsLkiQmwGMlWfkptEN5soAIbyBOmgjUhLD+LH/YobI2 5luSZghPlbr/0twYIpVWj42Qvn2+Ebkpng2/7g2QWUY7Bnlu0uu6rltw2OdjYHfn5Yoq INbCs8QwwEIIWAoVa5XpmF9Pz+mdpKPLGIj/IqL/Q/kRQ4Ho8sE+3CxAwTY7lTT7lJuN Ch1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AHmFY0vp; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a62si43223612pla.107.2019.05.02.11.06.03; Thu, 02 May 2019 11:06:19 -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=@google.com header.s=20161025 header.b=AHmFY0vp; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfEBSDV (ORCPT + 99 others); Thu, 2 May 2019 14:03:21 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:33485 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbfEBSDU (ORCPT ); Thu, 2 May 2019 14:03:20 -0400 Received: by mail-it1-f196.google.com with SMTP id u16so1269521itc.0 for ; Thu, 02 May 2019 11:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pxRYtB+CK6Ich2oLVLgzBqTdwyqbVB4RtVqM1iRZzuk=; b=AHmFY0vpHLiYI3WSJEyOMUm1XfkTvSqPKSXw7HXgBlZL663topOcjXDnBPRqIqlJBZ 41mzOPiqZaRtuyFfHaL4mGPxlCLNHu4LV2R7fWyVBFrX/iHu/sT8OcmEoNEmFBIohMaB 1zzdwFk0aOGsG8ei3M4dHdTt7jBYuJCq/uKAybSgLx0QIWRh4yXJ48BbMciuTz9jrWto NVeD6ozfjOaWvO3Eso+0U/ljm39krOkrfHpLrfyb4uCaEq8BXNyShmacpEduMePeZnTu IbXH83VvWrEFWFA12FOu80yYxNDIqLTFG4pgYFy8HKi5s7DZwfr28Z5lro8hdbiLOdVN nqMA== 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=pxRYtB+CK6Ich2oLVLgzBqTdwyqbVB4RtVqM1iRZzuk=; b=easZT+BP52eyaqu3DDV7mPeVhPYXKl7fxLxdU17A35G8g0IO5y97tYSws2OkbTidIs x0mzOMD02ShlukS8oY8eHXNjsQwYFF9XMXaCuke3XwHC++md53+rYPczpFCac8Jg4AT6 +XPk5DsMwUXRkMRm4a2EqMHi1NvxiImElX5YC0J4T2Un/Ebcocn1uZ0/Wu4e3TbHJCg5 RY+3kUA7H6CpIcJS1cGrMD/Y96sA1Mlk21E5kT3gClmNmmmiM98yiIALlOpQ4lw348v5 sfI6mG/VCewYhoyhtThdrZBWZm7ZxF7ry37qXe9Y6UyyhNDCQVSE1VHHIJbIRVMXKuqq rK5A== X-Gm-Message-State: APjAAAW7el3qSN3gOBff//CiApcggdv2d38iBnGwm3rpUgp+9bbeinRQ hAy64oFD2VgKi92ZTVKxZDKtWKeXirPVKKVAAIxLbQ== X-Received: by 2002:a24:eb04:: with SMTP id h4mr3780308itj.16.1556820199498; Thu, 02 May 2019 11:03:19 -0700 (PDT) MIME-Version: 1.0 References: <20190227202658.197113-1-matthewgarrett@google.com> <20190227202658.197113-3-matthewgarrett@google.com> <20190502083240.GJ14532@linux.intel.com> In-Reply-To: <20190502083240.GJ14532@linux.intel.com> From: Matthew Garrett Date: Thu, 2 May 2019 11:03:08 -0700 Message-ID: Subject: Re: [PATCH V5 2/4] tpm: Reserve the TPM final events table To: Jarkko Sakkinen Cc: Bartosz Szczepanek , linux-integrity , Peter Huewe , Jason Gunthorpe , Roberto Sassu , linux-efi , LSM List , Linux Kernel Mailing List , =?UTF-8?Q?Thi=C3=A9baud_Weksteen?= 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 Thu, May 2, 2019 at 1:32 AM Jarkko Sakkinen wrote: > > On Tue, Apr 30, 2019 at 03:07:09PM +0200, Bartosz Szczepanek wrote: > > I may be a little late with this comment, but I've just tested these > > patches on aarch64 platform (from the top of jjs/master) and got > > kernel panic ("Unable to handle kernel read", full log at the end of > > mail). I think there's problem with below call to > > tpm2_calc_event_log_size(), where physical address of efi.tpm_log is > > passed as (void *) and never remapped: > > Not late. This is not part of any PR yet. Thank you for the > feedback! > > Matthew, can you send an updated version of the whole patch set > with fixes to this issue and also reordering of the includes? Yes, I'll resend and let's do this again for 5.3.