Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1659871ybf; Sun, 1 Mar 2020 15:06:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxRj4dGCQYbgVhA+0l319L9w8wV/S8La7luIM4UyC/ieLYltJeJ6AplCdkD6aHEPgmNEyQQ X-Received: by 2002:a9d:6c94:: with SMTP id c20mr11637304otr.285.1583103998687; Sun, 01 Mar 2020 15:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583103998; cv=none; d=google.com; s=arc-20160816; b=iiAyv2zzB2pNLdzAoq+mw2P2B7KPd8c83KQgb+ki58TFs6Q3mSK4FnWqpQCbZnmlFF DaQanPV3jpCNg7vHBHstnSpC6kuEpyudioUO0GHP1C0Q4OAFavPAK2CCTfiSg+GnLMhS sqJVvXInRWfz50a+rGwxtR+nEK3d5Z59XwPMHV0R9sogEtolNNeS5gZPRs5C+W6zEq/6 jI3R+x1lks8pzln9wPnN4+ECmkyHe2OEFnBPLxuz4vK7koXpEI7coTbCCKPCULlzFY/S 4UoW6cy/Zzp4Y4zUDZTgicNaLMyf3S5byauXBZGsi+2ZePKuOI4Jp6BUvO6lzogFMX/r oNVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nd3eQk6IJUsxjoRR9Bi713Kh3T/i2L+8XYZcLUtHK7g=; b=SZ7h6LtmnNsu92L9HVVPJT3ch0GvgOeApgAOSyjNw5AKiGmbFLHOobmw6UUxO1tGew 9l59ztvOIRQFKGkG+QUkd98UgTm/zSP13x8O8gea5XXF6MZPpV2Kcm2H5r8CkbSmy0C1 97NSVStT+4UzZ0BncrCnFA3j4+wl/EkSZh/w3QKX7t5D2FEtd1mLUeMXHJwQIYHu+WQn aW4//JLYGKZOMZRJtVr4X7G8vCEt/H4KT/nsC1N1RYgzAFRvD+tfXJBuOQjCYUNycInk lkVaKV/fncGT6f8VulJWyY7ZVFPtldPVuLlS9gJM/bDDOr40jVo8OOQL8x1UhRa24qQN jvYw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si5424185oix.100.2020.03.01.15.06.27; Sun, 01 Mar 2020 15:06:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726673AbgCAXEi (ORCPT + 99 others); Sun, 1 Mar 2020 18:04:38 -0500 Received: from mail-qv1-f65.google.com ([209.85.219.65]:46157 "EHLO mail-qv1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbgCAXEi (ORCPT ); Sun, 1 Mar 2020 18:04:38 -0500 Received: by mail-qv1-f65.google.com with SMTP id bo12so4012869qvb.13; Sun, 01 Mar 2020 15:04:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nd3eQk6IJUsxjoRR9Bi713Kh3T/i2L+8XYZcLUtHK7g=; b=KJuNUUMZWnyBrzt2G9grn1pd2796XpCoeGkiyiVZ8L43SCQLnMRZn6VDXqjd18WRBA wj1f+WTIzr+SNVWmk4GYT70Tm7B9/43/14dkbxlwEI17pBqqILZJAcrKaCLxgnYb6Jjv lScNlqtSvo+4iTqo0E7zzHoE/jkPg4FTSKcyoiSV9Ms6L3KunYwzJXgpo4KhM3u4l0sT rXSPd8OK01M03dlzL+OOmb6cy4K+Kh9ZaFS54vwnkQ4GJ1YJAOvA9TvihKSws9clXyAU IMkBzhW+s7tc8J9mA+yBWYCVvQlwf/RTHIdoZykXD5GD4cociLje46Z0w8zqEiT+JVP/ PAsA== X-Gm-Message-State: ANhLgQ0v+V2VyN7++MbRaIWb2KoyAFFPOb2As55Y94ef7MjrR0BT+DFK 2Hpa6BDVALVce7DvUpxmLUwQ/mbqI9s= X-Received: by 2002:a0c:e804:: with SMTP id y4mr2641584qvn.243.1583103877482; Sun, 01 Mar 2020 15:04:37 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id n138sm9065082qkn.33.2020.03.01.15.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2020 15:04:37 -0800 (PST) From: Arvind Sankar To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] efi/x86 cleanups and one bugfix Date: Sun, 1 Mar 2020 18:04:31 -0500 Message-Id: <20200301230436.2246909-1-nivedita@alum.mit.edu> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 arch/x86/boot/compressed/head_32.S | 5 +- arch/x86/boot/compressed/head_64.S | 70 ++++++++++++++++++------- arch/x86/kernel/asm-offsets.c | 1 - drivers/firmware/efi/libstub/x86-stub.c | 10 ++-- 4 files changed, 57 insertions(+), 29 deletions(-) -- 2.24.1