From patchwork Sat Feb 2 09:41:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 157326 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1509792jaa; Sat, 2 Feb 2019 01:41:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN46Stu1XKohg7cJgwAO70vEv11AAmO8LtACh8COxX90qsAC40YwIuc3UTCL5BFGMUpqTv2o X-Received: by 2002:a62:5fc4:: with SMTP id t187mr43400364pfb.66.1549100492370; Sat, 02 Feb 2019 01:41:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549100492; cv=none; d=google.com; s=arc-20160816; b=rlDxTYHwVxPeMpJj7/arrgqjxrEXUrYw5bVj9r+ylCc2bKWgIXcZF+iCPexnOdiqwf NPnKBRIUxagAqtfINJPP6ukRQgws2GBuYguHIrbZ9ji7P8JsAMntlb+9Q/uJfC/WTCQw QViGDFa01pyok8R4xpm2KmsIq4HwsU4q7jODCEB1HA/LdQ6c+V2lTjwGnR0Qhx6qJvJ/ 2Xxs5jR4xvTh1YrJuoQCXmBFNboqVVJ7FvFXXePSdJDWGx3piTm/MLxWvZiqN9cKkZPm wpt/9htqQhQ3ROgj2hPHq9fVwlqYa0gwKSL5V6XBMmf/u7MVSwPYy8fnnZNTsKGjVhIg ea9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=VAF/GjUy6YKlyxVPg6hOLHx2TgtZJ9pLi131Tzx0U9Y=; b=NxYy++IpyZxyJnqPY8iunjCDLFFfzxu/KkhLLHHQFx3XNTz7XhxXuX2HHz4OqdSdIW fnGK80LmAYm0lRabr/vYWww13ismTs3LsX3Pp/jyDdMgUaQ724Yoh7UEx6F9cGGXHem8 4NJbmZ6Ro/CIhX4HNoS4qEYqfWlLoorGyVxfWTtJQ++MV43rq7RzqJBFTzyOEp1Ncx0D BP1qmW4huZ1LeHM03YjbG3Pj45GKDmnEqCg215ah6/Huei6xdyCO81mfJtc2QVtmkXEW F5JS0HzDHFqH8XzZM9hPnW6gPNraiGVA6/gWM3/+dwaISbe9+UlwCsEZYQPAmMF4Ml4k tiFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IzGhYsFd; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si3545331pld.282.2019.02.02.01.41.32; Sat, 02 Feb 2019 01:41:32 -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=@linaro.org header.s=google header.b=IzGhYsFd; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727281AbfBBJl3 (ORCPT + 31 others); Sat, 2 Feb 2019 04:41:29 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41321 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbfBBJl3 (ORCPT ); Sat, 2 Feb 2019 04:41:29 -0500 Received: by mail-ed1-f66.google.com with SMTP id a20so7453966edc.8 for ; Sat, 02 Feb 2019 01:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=VAF/GjUy6YKlyxVPg6hOLHx2TgtZJ9pLi131Tzx0U9Y=; b=IzGhYsFdBo8ilxxhYPKF8f2vvvHWBW6MkNlAa7RmrQ0Jr0o9dj3Ig89/wR2QC4L5Ty cZG2eTgSGNBsQsCzSQ4zYu+PAQFDLFtVqEiIEzhSbFGaVbwJk35KCwXFzw3veEjV920Z TcS4uQrcIEu1jQ+H09yGiLUubChgcmzOKIpsc= 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; bh=VAF/GjUy6YKlyxVPg6hOLHx2TgtZJ9pLi131Tzx0U9Y=; b=GmFoaP40tXeJvpmNTlOqbLTrb+btOPnurRp5eQ/uRZUNUHEIQlRHlHNOv/PY8UQvDH SM4+glgWEs4Rec5ddXSv2KUAC6i1F9D+Oao2utu6D/DWbakjVBtCk/wpcN+OQX7bct2V jHerLvcp33rIDxVLsk3qYAgWpKMTSrZep/o8UgKt21nfwjs05J0QEyI1sUlTSVcDVRHN ccso664k7sVtuuyKtAn7U+dHAYnyAWcHMHwKyYX4wRCRGbSyUI1U5Ml3Qc0nY69FT2t+ 8iCTBvk+iVLzVufjuUud3pLKfwLtpRg8N7WSml4t73kkNaSF6QhzhYtMHuJjpSeKo0O/ Voqw== X-Gm-Message-State: AJcUukfw4r9FGaYgABSuvFsMrXjkvQl5BgujS64krj+C86bo2NZfMZfZ k/iiCNKjiZB1bMFFgcSuiUvUpA== X-Received: by 2002:a50:d94a:: with SMTP id u10mr41883512edj.214.1549100486982; Sat, 02 Feb 2019 01:41:26 -0800 (PST) Received: from mba13.c.hoisthospitality.com ([109.236.135.164]) by smtp.gmail.com with ESMTPSA id l41sm2608824eda.83.2019.02.02.01.41.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Feb 2019 01:41:25 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, AKASHI Takahiro , Alexander Graf , Bjorn Andersson , Borislav Petkov , Heinrich Schuchardt , Jeffrey Hugo , Lee Jones , Leif Lindholm , Linus Torvalds , Peter Jones , Peter Zijlstra , Sai Praneeth Prakhya Subject: [GIT PULL 00/10] EFI changes for v5.1 Date: Sat, 2 Feb 2019 10:41:09 +0100 Message-Id: <20190202094119.13230-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8: Linux 5.0-rc2 (2019-01-14 10:41:12 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next for you to fetch changes up to 44f5ab0e212a9fff7c518803f7fc77b692b2afcd: acpi: bgrt: parse BGRT to obtain BMP address before it gets clobbered (2019-02-02 10:35:35 +0100) ---------------------------------------------------------------- EFI changes for v5.1: - Use 32 bit alignment for efi_guid_t - Allow the call to SetVirtualAddressMap() to be omitted - Implement earlycon=efifb based on existing earlyprintk code - Move BGRT table handling to earlier in the boot so we don't overwrite it - Various minor fixes and code cleanups from Sai, Ingo and Ard ---------------------------------------------------------------- Ard Biesheuvel (7): efi: memattr: don't bail on zero VA if it equals the region's PA efi: use 32-bit alignment for efi_guid_t efi: replace GPL license boilerplate with SPDX headers efi: arm/arm64: allow SetVirtualAddressMap() to be omitted x86: make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation acpi: bgrt: parse BGRT to obtain BMP address before it gets clobbered Ingo Molnar (1): efi/fdt: More cleanups Sai Praneeth Prakhya (2): x86/efi: Mark can_free_region() as an __init function x86/efi: Return error status if mapping EFI regions fail Documentation/admin-guide/kernel-parameters.txt | 8 +- arch/Kconfig | 3 + arch/arm64/kernel/acpi.c | 2 - arch/x86/Kconfig | 5 +- arch/x86/Kconfig.debug | 10 - arch/x86/include/asm/efi.h | 7 +- arch/x86/kernel/acpi/boot.c | 2 - arch/x86/kernel/early_printk.c | 4 - arch/x86/mm/ioremap.c | 4 +- arch/x86/platform/efi/Makefile | 1 - arch/x86/platform/efi/early_printk.c | 240 ------------------------ arch/x86/platform/efi/efi.c | 21 ++- arch/x86/platform/efi/efi_32.c | 6 +- arch/x86/platform/efi/efi_64.c | 39 ++-- arch/x86/platform/efi/quirks.c | 2 +- drivers/acpi/bgrt.c | 6 - drivers/firmware/efi/Kconfig | 6 + drivers/firmware/efi/Makefile | 1 + drivers/firmware/efi/apple-properties.c | 13 +- drivers/firmware/efi/arm-init.c | 6 +- drivers/firmware/efi/arm-runtime.c | 6 +- drivers/firmware/efi/capsule-loader.c | 4 +- drivers/firmware/efi/capsule.c | 4 +- drivers/firmware/efi/cper-arm.c | 14 +- drivers/firmware/efi/cper.c | 14 +- drivers/firmware/efi/dev-path-parser.c | 9 +- drivers/firmware/efi/earlycon.c | 206 ++++++++++++++++++++ drivers/firmware/efi/efi-bgrt.c | 89 +++++++-- drivers/firmware/efi/efi-pstore.c | 2 + drivers/firmware/efi/efi.c | 13 ++ drivers/firmware/efi/efibc.c | 10 +- drivers/firmware/efi/efivars.c | 58 +----- drivers/firmware/efi/esrt.c | 1 + drivers/firmware/efi/fake_mem.c | 16 +- drivers/firmware/efi/libstub/Makefile | 4 +- drivers/firmware/efi/libstub/arm-stub.c | 5 + drivers/firmware/efi/libstub/arm32-stub.c | 6 +- drivers/firmware/efi/libstub/arm64-stub.c | 6 +- drivers/firmware/efi/libstub/efi-stub-helper.c | 15 +- drivers/firmware/efi/libstub/efistub.h | 12 ++ drivers/firmware/efi/libstub/fdt.c | 115 ++++++------ drivers/firmware/efi/libstub/gop.c | 4 +- drivers/firmware/efi/libstub/random.c | 6 +- drivers/firmware/efi/libstub/secureboot.c | 4 +- drivers/firmware/efi/libstub/tpm.c | 4 +- drivers/firmware/efi/memattr.c | 7 +- drivers/firmware/efi/runtime-map.c | 3 +- drivers/firmware/efi/test/efi_test.c | 1 + drivers/firmware/efi/test/efi_test.h | 2 +- drivers/firmware/efi/tpm.c | 5 +- drivers/firmware/efi/vars.c | 15 +- include/linux/efi-bgrt.h | 4 +- include/linux/efi.h | 15 +- 53 files changed, 494 insertions(+), 571 deletions(-) delete mode 100644 arch/x86/platform/efi/early_printk.c create mode 100644 drivers/firmware/efi/earlycon.c