From patchwork Wed Jul 7 13:36:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 470803 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6005770jao; Wed, 7 Jul 2021 06:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq6cPZeZeM1zgo8KWuL8V6BlPxZZ8/ai+SCnKyxYcfrjl4RAyfwZqqiFUhxSS+guQfu2KR X-Received: by 2002:a17:906:d552:: with SMTP id cr18mr20862456ejc.276.1625665008064; Wed, 07 Jul 2021 06:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625665008; cv=none; d=google.com; s=arc-20160816; b=xVS97s5ZK72O2O2w7HkkXWXpZ6iDRNCP3lXf4jLerIFqkGJEUgfojdjnVrFha52GUZ qBPW1GtdR4KCdGSaGLMH91wsbUGiOKmET37U5cTv+AzbEtqs8vuUTfk1FvA55mZZOUVp J0bBOamAksA5MaMul5FvQLZsWpfmvrJxySSc63xpfgtWsSAMvuie/ntSyNyZWVPk/T/B unWjinyLgKLaXRtjkzDwDbfXVz6EXH1MKFotFQA75I70CAN4uDbKzE2ZFemSfUUZBuQQ SHSGon4XLYahGCXpwg6S/KXWNlLMvZvlRG8suj30lXaGbtH1A2lJmiXEN8mFEaa6Q3Yd /Qfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=rTm8nY8PYnSrDquNRjPJyfgm4ilzRqYtSUomNZNBPQ0=; b=WIWw6Q1H4+lV4h3gMNm1xj/P4pc99bKClOeOxMDyIfZj+QLW2lAYpIefWjqXuRM1Gp 3Mq7+5DhJSmI6tssrYQc63H3xfUwYbNuNIvG1E1VVbKzlkgw30tEtFdQfKMLdpqWFcna PBgirmDQPZGIYWeB1pzpKwSE4ZaSOhM5dAyKcpnBy2vEuRFJfi13EyMSVOdZffw0JqBP rsVBa0FGtdBpxd/Wlba7X+KH6fPjj5+968m73JqgOqFfnmF/D4v7LaFmk8MyhJXn7udT QdZVr5CRmNFbAv8wv0p+TvRVXEBZUYeLg3U0NJItlfCeXVTOycgD+5PBlCoGfLs8zrSM cbbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ud3rYuJ3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id n22si17804604edd.43.2021.07.07.06.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 06:36:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ud3rYuJ3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 67F8A82E0B; Wed, 7 Jul 2021 15:36:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ud3rYuJ3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51C6582E0B; Wed, 7 Jul 2021 15:36:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9856C82BED for ; Wed, 7 Jul 2021 15:36:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masahisa.kojima@linaro.org Received: by mail-pf1-x429.google.com with SMTP id a127so2138217pfa.10 for ; Wed, 07 Jul 2021 06:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=rTm8nY8PYnSrDquNRjPJyfgm4ilzRqYtSUomNZNBPQ0=; b=ud3rYuJ3fNx87/R9XF9jAu6vWpsR07pHaBMyClUJDIudCOoF5lqR3FTZDd1/eqTKOj 0pUMyQNPL6RBJ+xLWjtfVKKmGh6tujbnLNr7MdDmOHHobux0W8o2OcdV2yruaY9y65KV NJkbFEdLCDV0CFd5FZGHr4EU+6092cPdeFJv9IRd5yxUEberxmc0gc/mYsfrCdyv9C61 sSRdk8YRDFBWEIK1BFKFU83iVCJC4CkY1Isf3w1EJy/pCZVnCre75YHiP38fHVeHKqmV monq+NqnIObqLcxEf3gMpXvr4MYlCT1rWM7HLIJcxNCsq6nv349tjJdlyNJ8HWrw21uZ SsQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=rTm8nY8PYnSrDquNRjPJyfgm4ilzRqYtSUomNZNBPQ0=; b=MBz/bpTcR4auoyTwvcfMgRLuAv1vBMvQ6Blsdz1X0hyvXcLCWk2cPT6i6/MFe9xKcC cv6NsmWq/RuniN0oH1niRT9ktclQLoPpVT1fUi2/HxpAITfxm5FtUo0YMOFkqFS9AlcK ooJXtFkibz8fAZU0eapaMkfWG9L9IIvbGZtndnSWFIcfyFEY9dCuOshm6A5dRP72K/UY CvDdlFWsTLwbwHWT7o/mc3N7fuwCx16h545JitvOrI6qD1S4AUYMqOkw8wdJaCsUHQAx 7wui1VDk5DDzkVbz7XRmBP+UXr6lOXwquEoyG3jWENrLU3VBgx/ZZl9NUOteYcsg2+5c 6/lw== X-Gm-Message-State: AOAM530msDBeH4nXju7M4IqgI68fO90js0qGCUkYBue2bYesYXmJSEef vT7fNOn9Wbat9ikpDNRYKd1y9Q== X-Received: by 2002:a65:6404:: with SMTP id a4mr26624101pgv.175.1625664991981; Wed, 07 Jul 2021 06:36:31 -0700 (PDT) Received: from localhost.localdomain ([2400:2411:502:a100:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id t9sm6438659pjs.50.2021.07.07.06.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 06:36:31 -0700 (PDT) From: Masahisa Kojima To: Heinrich Schuchardt , Alexander Graf , Ilias Apalodimas , Simon Glass , Masahisa Kojima , Dhananjay Phadke , u-boot@lists.denx.de Subject: [PATCH 1/5] efi_loader: increase eventlog buffer size Date: Wed, 7 Jul 2021 22:36:34 +0900 Message-Id: <20210707133638.12630-2-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210707133638.12630-1-masahisa.kojima@linaro.org> References: <20210707133638.12630-1-masahisa.kojima@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This is a preperation to add eventlog support described in TCG PC Client PFP spec. Signed-off-by: Masahisa Kojima --- lib/efi_loader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index b2ab48a048..a87bf3cc98 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -327,7 +327,7 @@ config EFI_TCG2_PROTOCOL config EFI_TCG2_PROTOCOL_EVENTLOG_SIZE int "EFI_TCG2_PROTOCOL EventLog size" depends on EFI_TCG2_PROTOCOL - default 4096 + default 16384 help Define the size of the EventLog for EFI_TCG2_PROTOCOL. Note that this is going to be allocated twice. One for the eventlog it self