Received: by 10.223.185.116 with SMTP id b49csp6027439wrg; Thu, 8 Mar 2018 00:08:29 -0800 (PST) X-Google-Smtp-Source: AG47ELvbVnearuYuZ2aHly2GVvpRDOIohw0ZbmehfMoiEywh92IV983ZscTgwQ5+ci0gdfnhz7T/ X-Received: by 2002:a17:902:bd41:: with SMTP id b1-v6mr23068812plx.147.1520496509322; Thu, 08 Mar 2018 00:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520496509; cv=none; d=google.com; s=arc-20160816; b=J4TahFDPsCeBib59VwFPXmgYseQ8EW8lvQsi6tpcZkXEr0WiFbnPrsDggcW6jaIL97 CHv8ueFyrnRPMiOeJfYL5D8U386GVLPkeFQRyI1AA0RPNF3VftXl5EsW9CEChZUAkX1Z IRKJpKWlbZJdCmcHO2XXLlwmSyqqLnKJ09/IzOt5fLDD5hgAQs5odQsVl07hvnOQwnT3 RImTM0zkxTeS+w8+e0MHUQTKOiGIJsJeW6+E3677CRRx/jl9NFVUXjQ4oopeYt2GkofA Lm6N4g6PZavcEqBqq5bID/bndEpj/dsuH8uzTUnQ88vyDdl2NuLJE3+yfRAW7JeMx6kT d/Nw== 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:arc-authentication-results; bh=TEK0bzey0baXFE1QOeyPjKKFr2gt11sH30hNXPIG7t8=; b=M7gOJMb9wTQn8kBBHqoUtMiWQxA+S7ZTkHg2c62Y6cLHAnEkJe4YG3HTZYNdlYi8UU 2wkH2YjX/kgZj9kTwkiQiiyeaZoPUXWt10NkrTOD0vNlJV8Yh5X0UVn7naPYiBQMAcIj +0ab/3RnCEhzo1WCS3nUd4vTbTDzvnXGO4xFMg1YbS2EI+TKrXoNgqYCKDdqUBFAJyPC 2QBTH6/aVI9/6YHYU9tkRm03vNJY8OVMOcPwuTj0AkOfApkYS1WfNdRJPLap5u5X3Icj yt5Yv36cXOCYBN1us5j4k00NMJdMIoewDhBN/rajpp35mgBfzHu/W9PsHVfj+2yiXOql LUBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ES0RTodK; 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 x9si12530469pgt.225.2018.03.08.00.08.14; Thu, 08 Mar 2018 00:08:29 -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=ES0RTodK; 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 S935361AbeCHIB4 (ORCPT + 99 others); Thu, 8 Mar 2018 03:01:56 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38621 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934948AbeCHIBv (ORCPT ); Thu, 8 Mar 2018 03:01:51 -0500 Received: by mail-wm0-f65.google.com with SMTP id z9so9244099wmb.3 for ; Thu, 08 Mar 2018 00:01:50 -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=TEK0bzey0baXFE1QOeyPjKKFr2gt11sH30hNXPIG7t8=; b=ES0RTodK7qaty0SkVfK4jaLZSHUuNgU0BF/bCVNQ62DjlGkbWYicFlB8TK8+T/MNmK VMFIRv2zhI5Lf1Djx+NOcjsInPcdeVs1qdzpxNjThLzSm2WqRIPEKfjGIB0UxSp0Gf32 rV05T+JBBq9jlfOBHeWmgZtrC9zUiy8zpZnzE= 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=TEK0bzey0baXFE1QOeyPjKKFr2gt11sH30hNXPIG7t8=; b=duB1U5D6BByRB9Z9PiHKXAi+zN4ml3gO8Z8jQ3qq9N01GRC4Jc22JdRaVtpQJ0BauK ndJMdQVbxL7vu2jZfzWEa76pzccEil026zZWm7QbVrP2dtLXcM9NyoPy1UOmj/f9yCMb uXb/4z3k1gUL5nghF85uxfEO9TtOGwvvFQG2zsci0JSzHndAnFUXTs7MH1qTRPi49+gG u6X27hpQ0Q68GWpqP6tyzW6ZNRWp/IoP1NFUjyR1xYYdqMKSmN+obYkh5zD5nqzBAyoM OEKfsvPafdsWRqv+TOOv7R7ytxGCR8RI7U0zNMB1IvR5/lQil/91ngSxGUKWVnFp0KR1 Tvaw== X-Gm-Message-State: AElRT7GabP6Eq2Bwq78uw9EaL60I1vKUKFU2KgpjpfvL3PeTQGsAx7lK A/hVsuoQ4QLpMf71fj58jo+r7w== X-Received: by 10.28.139.142 with SMTP id n136mr15736375wmd.101.1520496110066; Thu, 08 Mar 2018 00:01:50 -0800 (PST) Received: from localhost.localdomain ([160.89.73.46]) by smtp.gmail.com with ESMTPSA id e191sm11223361wmg.12.2018.03.08.00.01.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 00:01:48 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, Andy Lutomirski , Andy Shevchenko , Bhupesh Sharma , Borislav Petkov , Colin Ian King , Jia-Ju Bai , "Lee, Chun-Yi" , Leif Lindholm , Luis de Bethencourt , Lukas Wunner , Mark Rutland , Matt Fleming , "Michael S . Tsirkin" , Ravi Shankar , Ricardo Neri , Sai Praneeth Prakhya , Tony Luck , Will Deacon Subject: [GIT PULL 00/12] first batch of EFI changes for v4.17 Date: Thu, 8 Mar 2018 08:00:08 +0000 Message-Id: <20180308080020.22828-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.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 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-next for you to fetch changes up to 67a2152c7362bd9ee3ba6d218e435a04c27c32aa: efi: make const array 'apple' static (2018-03-08 07:54:10 +0000) ---------------------------------------------------------------- First batch of EFI changes for v4.17: - use efi_switch_mm() on x86 instead of manipulating %cr3 directly (Sai) - some fixes for the apple-properties code (Andy) - add WARN() on arm64 if UEFI Runtime Services corrupt the reserved x18 register (Ard) - other minor cleanups and bugfixes ---------------------------------------------------------------- Andy Shevchenko (2): efi/apple-properties: Device core takes care of empty properties efi/apple-properties: Use memremap() instead of ioremap() Ard Biesheuvel (3): efi/arm*: Stop printing addresses of virtual mappings efi: arm64: Check whether x18 is preserved by runtime services calls efi: reorder pr_notice() with add_device_randomness() call Colin Ian King (1): efi: make const array 'apple' static Jia-Ju Bai (1): x86: efi: Replace GFP_ATOMIC with GFP_KERNEL in efi_query_variable_store Luis de Bethencourt (1): efi/x86: Fix trailing semicolons Mark Rutland (1): efi/arm*: Only register page tables when they exist Sai Praneeth (3): efi: Use efi_mm in x86 as well as ARM x86/efi: Replace efi_pgd with efi_mm.pgd x86/efi: Use efi_switch_mm() rather than manually twiddling with %cr3 arch/arm64/include/asm/efi.h | 4 ++- arch/arm64/kernel/Makefile | 3 +- arch/arm64/kernel/efi-rt-wrapper.S | 41 +++++++++++++++++++++++ arch/arm64/kernel/efi.c | 6 ++++ arch/x86/boot/compressed/eboot.c | 6 ++-- arch/x86/include/asm/efi.h | 29 ++++++++--------- arch/x86/platform/efi/efi_64.c | 58 ++++++++++++++++++--------------- arch/x86/platform/efi/efi_thunk_64.S | 2 +- arch/x86/platform/efi/quirks.c | 2 +- drivers/firmware/efi/apple-properties.c | 20 ++++-------- drivers/firmware/efi/arm-runtime.c | 17 +++------- drivers/firmware/efi/efi.c | 11 ++++++- include/linux/efi.h | 2 ++ 13 files changed, 125 insertions(+), 76 deletions(-) create mode 100644 arch/arm64/kernel/efi-rt-wrapper.S