Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kJ8dj-0004i8-U4 for mharc-grub-devel@gnu.org; Fri, 18 Sep 2020 01:08:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ8dh-0004hc-KC for grub-devel@gnu.org; Fri, 18 Sep 2020 01:08:53 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:51585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ8dZ-0002Pk-U2 for grub-devel@gnu.org; Fri, 18 Sep 2020 01:08:48 -0400 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R681e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04426; MF=tianjia.zhang@linux.alibaba.com; NM=1; PH=DS; RN=2; SR=0; TI=SMTPD_---0U9HZsC9_1600405695; Received: from B-455UMD6M-2027.local(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0U9HZsC9_1600405695) by smtp.aliyun-inc.com(127.0.0.1); Fri, 18 Sep 2020 13:08:15 +0800 Subject: Re: [PATCH] shim_lock: Enable module for all EFI platforms To: Daniel Kiper Cc: grub-devel@gnu.org References: <20200729071109.48906-1-tianjia.zhang@linux.alibaba.com> <20200917145857.u5zo5h74qyraimvn@tomti.i.net-space.pl> From: Tianjia Zhang Message-ID: Date: Fri, 18 Sep 2020 13:08:15 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200917145857.u5zo5h74qyraimvn@tomti.i.net-space.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=47.88.44.36; envelope-from=tianjia.zhang@linux.alibaba.com; helo=out4436.biz.mail.alibaba.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 01:08:36 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -105 X-Spam_score: -10.6 X-Spam_bar: ---------- X-Spam_report: (-10.6 / 5.0 requ) BAYES_00=-1.9, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, USER_IN_DEF_SPF_WL=-7.5 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 05:08:54 -0000 Hi, 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? > > Daniel > 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. Thanks.