Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kJA9k-00009A-Oa for mharc-grub-devel@gnu.org; Fri, 18 Sep 2020 02:46:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJA9a-00007B-SZ for grub-devel@gnu.org; Fri, 18 Sep 2020 02:45:58 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:32923 helo=mx1.molgen.mpg.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJA9X-0006w4-7d for grub-devel@gnu.org; Fri, 18 Sep 2020 02:45:52 -0400 Received: from [192.168.0.2] (ip5f5af6ba.dynamic.kabel-deutschland.de [95.90.246.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 6316920225BF6; Fri, 18 Sep 2020 08:45:38 +0200 (CEST) Subject: Re: [PATCH] shim_lock: Enable module for all EFI platforms To: Tianjia Zhang References: <20200729071109.48906-1-tianjia.zhang@linux.alibaba.com> <20200917145857.u5zo5h74qyraimvn@tomti.i.net-space.pl> Cc: grub-devel@gnu.org, Daniel Kiper From: Paul Menzel Message-ID: <7d90bbae-688d-672e-e1af-04d3604cd987@molgen.mpg.de> Date: Fri, 18 Sep 2020 08:45:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=141.14.17.11; envelope-from=pmenzel@molgen.mpg.de; helo=mx1.molgen.mpg.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 02:45:39 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 06:46:00 -0000 Dear Tianjia, Thank you for your patch and your reply. Am 18.09.20 um 07:08 schrieb Tianjia Zhang: > On 9/17/20 10:58 PM, Daniel Kiper wrote: >> On Wed, Jul 29, 2020 at 03:11:09PM +0800, Tianjia Zhang wrote: >>> Like tpm, the module is only enabled for x86_64, but there's nothing >>> specific to x86_64 in the implementation and can be enabled for all >>> EFI platforms. >>> >>> Signed-off-by: Tianjia Zhang >>> --- >>>   grub-core/Makefile.core.def | 2 +- >>>   1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def >>> index 166b444c7..b5f47fc41 100644 >>> --- a/grub-core/Makefile.core.def >>> +++ b/grub-core/Makefile.core.def >>> @@ -950,7 +950,7 @@ module = { >>>   module = { >>>     name = shim_lock; >>>     common = commands/efi/shim_lock.c; >>> -  enable = x86_64_efi; >>> +  enable = efi; >> >> Did you test this with x86 32-bit EFI builds and e.g. ARM64 EFI builds? > It is tested on x86_64-efi and arm64-efi platforms. I don’t have an > environment for x86 32-bit EFI, and I haven’t tested on this platform. Please always mention that in the commit message. Please also be specific about the device you used (mainboard name, firmware name/version and TPM used) and the command you run for the test. It’d be great if you could test 32-bit EFI with QEMU. Kind regards, Paul