Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2010559ybf; Sun, 1 Mar 2020 23:50:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzh1d/6N3KfpbWRetgMVAkkvsCZCQsdguedFo7zkfMClQEQHhuw2e77Q4ZBR3PaE+/62blg X-Received: by 2002:a05:6830:1081:: with SMTP id y1mr11852927oto.367.1583135453001; Sun, 01 Mar 2020 23:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583135452; cv=none; d=google.com; s=arc-20160816; b=Ct7q6pMjOAugkmWwI3MT7FkeSAMGM87he/iAhvmFTaQgbfGG3lVSAvASB2ywB0ifZW H5hh7R3TKMVeX+BgPTOWFRyHl36ZNGKJZHbMAKpXzeSyXEBbdLkLTnvk0IxUtYPhmMAW 8mAqPcCNGDif4AdNoN/K5M5rCvM6X2pwEGde/32FZ7k/E1i05H63rfOUm5g989xaEGc8 6viK/ztVyKKZ32ltu5VkGI5rGsEgK5Kfhs2V2QJOqx3u+OoFc19/tjm6MVWKdgfg4cgY 8TUdIjaShVfE7Yu2OjCUDbQXkcWGCdObn+dzbVhySxojBt0o1qg750NLBgnfw6BxiDjX faow== 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=4eEfn6AcOFYW8v3MzxtFAseydngC3DNpWgWWF462JmQ=; b=jWy9CycUmaqseYDgHI/Ylspzq0aZ4GpgQJhFSXchhYxvYh1m/hdusVZbt3nCLvFWAb 8QXOU3RNXJfjtCM2GuzanjXj0OHCrX+zyEFE26zx8G3cba5rXLj8wLra8leFY5Hvxz2b eLFm0uJZE4AekqDl0m5iPLiaCRJjKYLVvYG5o8RG8woKSj2HoAv9u70r3u4E0qJIgsjf ZUg4JYeHpx7rf0MdpOvsGCqX/3+QvflQaBhRpjl8/kMi8ZgtBbVq1tp3fc/O1evsd2CO 1CWBHAEUowIspZpbBvF5cKs0vAfVuU8QqPUF9y7tSkk31iXNX9iqmSFAuF8RlsIc4tsf VJAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JOGApCtY; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si5617963otk.318.2020.03.01.23.50.41; Sun, 01 Mar 2020 23:50:52 -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=@kernel.org header.s=default header.b=JOGApCtY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727170AbgCBHua (ORCPT + 99 others); Mon, 2 Mar 2020 02:50:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:47830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgCBHu3 (ORCPT ); Mon, 2 Mar 2020 02:50:29 -0500 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A5DF246B4 for ; Mon, 2 Mar 2020 07:50:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583135429; bh=O5/tiRCv2lf9UHdd/8DRCYM/sJBi0xsnMZYl0LPjZxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JOGApCtYJxE4Bp7Tx9mQhzkU0NSJCYIk/smGF0puvITGXyxkA1qegfgg1eVwL/WOn uCgyeIa4xlMnmDD5AzBYvU3I7rNDe7o6NdJ74tEahB9g0jYTqQp0DHmx4CD9LblZQG TvfxXQK3DyIGsrzdAGVNdV4uqus1vxVMbsb5MNtA= Received: by mail-wr1-f52.google.com with SMTP id v4so11178705wrs.8 for ; Sun, 01 Mar 2020 23:50:29 -0800 (PST) X-Gm-Message-State: APjAAAVzBAgUgAk7Vf8IE1qGfUVG3EMK6L/YFiAzb7aqFG4gKl6jwfU1 6jdTvA/OhX4ZHbQJGUhYAMKha8/u9AbZzbURyKAtcg== X-Received: by 2002:a05:6000:110b:: with SMTP id z11mr21307603wrw.252.1583135427687; Sun, 01 Mar 2020 23:50:27 -0800 (PST) MIME-Version: 1.0 References: <20200301230436.2246909-1-nivedita@alum.mit.edu> In-Reply-To: <20200301230436.2246909-1-nivedita@alum.mit.edu> From: Ard Biesheuvel Date: Mon, 2 Mar 2020 08:50:16 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/5] efi/x86 cleanups and one bugfix To: Arvind Sankar Cc: linux-efi , "the arch/x86 maintainers" , Linux Kernel Mailing List 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 Mon, 2 Mar 2020 at 00:04, Arvind Sankar wrote: > > First 3 patches are misc. beautifications to the new compat PE entry > code. > > Next patch stops EFI stub using code32_start field to communicate the > address of startup_32, instead returning it directly to efi_stub_entry. > > Last patch is a bugfix for x86/boot/head code to use unsigned > comparisons on addresses rather than signed. > > Based on tip:efi/core > > Arvind Sankar (5): > efi/x86: Annotate the LOADED_IMAGE_PROTOCOL_GUID with SYM_DATA > efi/x86: Respect 32-bit ABI in efi32_pe_entry > efi/x86: Make efi32_pe_entry more readable > efi/x86: Avoid using code32_start > x86/boot: Use unsigned comparison for addresses > Thanks Arvind. This looks really good, as usual. I had one question, the rest looks good to go.