From patchwork Fri Aug 25 15:50:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 111031 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1219056qge; Fri, 25 Aug 2017 08:59:30 -0700 (PDT) X-Received: by 10.84.130.39 with SMTP id 36mr10972378plc.95.1503676770462; Fri, 25 Aug 2017 08:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503676770; cv=none; d=google.com; s=arc-20160816; b=i+0shWQp60KOglObb+qhchKnZM2GQmDhMLmXf48+dScWhFk9okKIgPLn4b6eEcqWya Pv6HHxbg/O3uIdAhf/zzN3n9Jiqkb7Ivz5TkXNIgE1agCzFbgzPCeLUA+mTzgGe+DZCL HoX+HbV7t4GtZaRQWokAEV2eiDjFONMgCz6dG59SQr5d063lpTCwRJ5W+U11cj5Fxl7W /61VoneOO36+Ghv9XRh+5hUyIMMG3807Fyathf1LJ+nv1pnZ7nOopX+rj+GuRQBnA2NM 18AgA7aaNgpyOMiaHMydhDGxQtVM/jozFoZp+d2cEIPABACU6TrICDhzqQFXDMNYkd95 Kt6w== 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=f0B+HHW6JqHplqgsBRKjhhzrUZQgUGIA8qjJXEr6B28=; b=c0v2NsFsJYbhnuQtuCi+zI97ZrLpr2+lv7LZlmpxBhCiD2Xdh0AyfixB7TH6dDIF8U YCE2sWto3PO1EUCGuwKkAL/JnlaY1ArF0uRpEzTl1x9tjvYdV6spnndia6RxkNa8pqH1 +imdjcrLdCig7UzZeRyzmZt+qMt7wbRTM5rKBN2Rgdw8/2PteWeh8qsDpTOcaB37rqwh c6pYk+3uawuNEUjF8aMEH4tBSXqIGlEgKau9O/4pzt2Mzit8l9bXZTtPPfu7lsR/H2gy H6IJv8fxdNh+7vXSdvx/KywY04NHdjIjaP/FwXdDiBEeGPkgscN/cnG2+9ao9GTcJn27 2Ngg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8Rh99Xs; 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 f80si4933915pfk.376.2017.08.25.08.59.30; Fri, 25 Aug 2017 08:59:30 -0700 (PDT) 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=a8Rh99Xs; 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 S934092AbdHYP72 (ORCPT + 26 others); Fri, 25 Aug 2017 11:59:28 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:34533 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933926AbdHYP70 (ORCPT ); Fri, 25 Aug 2017 11:59:26 -0400 Received: by mail-wr0-f177.google.com with SMTP id z91so692533wrc.1 for ; Fri, 25 Aug 2017 08:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=f0B+HHW6JqHplqgsBRKjhhzrUZQgUGIA8qjJXEr6B28=; b=a8Rh99XsK3tB8zAybfFsBA8HPHlllokjj5r6kJno1C69CayPOdJFj0pXJpuqEbNtIT SwYuQYJnNfcZb7SBH2pDviev1tm+5f/aDI2L+iYlngJ11CxgjCxJKxhWL6BhFpQsbXnn JSE2T2xQ4Xp+NesneS6sBZp1NdjoAqgBimXkA= 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=f0B+HHW6JqHplqgsBRKjhhzrUZQgUGIA8qjJXEr6B28=; b=BJr3T9lxvXxRO6oquRkCvx3id1bi0AYPpXaKuygLwsc3edffd0G2pjO6QdEOgAJgoL 8Qy+QpSx/u9kX5L2CPPi8yTLCabwB9QtECMPbJqxT9HAd1lMQuV8fKYRBZPAEj/HMrmH CqKJY6LyXi2YuIKyN5L0yxTOCryt6c+eNkIVyO6ZKxqEXxaEh4+CrEufRLiyx9LTexg0 lPCHAvM1shD7EuCodtXsKiwC+/Ji0SZ0eSqJTzk8Fxh5iEc3+3HLdHUqCRIlYMt9lbmQ Wew2fYW0pzjQvompJc0dB2zo8dY2PkDFl3R+oVuo0dFaZdHZCH0Z57DIIpaoDrBexSTO F5yg== X-Gm-Message-State: AHYfb5jqiN9jVFU0v5J/QlUXtwRF8uvEBWaDsi/D6CRth3oSKP8gALMU uXlzavfDziv3dduf X-Received: by 10.223.168.42 with SMTP id l39mr506445wrc.274.1503676765540; Fri, 25 Aug 2017 08:59:25 -0700 (PDT) Received: from localhost.localdomain ([105.137.125.182]) by smtp.gmail.com with ESMTPSA id b96sm14507757wrd.94.2017.08.25.08.59.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Aug 2017 08:59:24 -0700 (PDT) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, Colin Ian King , Jan Beulich , Matt Fleming , Matthew Garrett Subject: [GIT PULL 0/5] more EFI changes for v4.14 Date: Fri, 25 Aug 2017 16:50:14 +0100 Message-Id: <20170825155019.6740-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit f1a5b53570001b1bcbf890ac6c4be1db99f8cc28: firmware/efi/esrt: Constify attribute_group structures (2017-08-21 09:43:51 +0200) 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 c4d2793e5a07d5e63d91715a4393fe47c8345112: efi: bgrt: use efi_mem_type() (2017-08-25 10:35:23 +0100) ---------------------------------------------------------------- More EFI changes for v4.14: - add support for requesting the firmware to wipe RAM at warm reboot - increase the size of the random seed obtained from UEFI so crng fast init can complete earlier - add 'static' to local function pointer - move efi_mem_type() to common code and replace an open coded instance with it in the BGRT driver ---------------------------------------------------------------- Ard Biesheuvel (1): efi/random: Increase size of firmware supplied randomness Colin Ian King (1): efi/reboot: Make function pointer orig_pm_power_off static Jan Beulich (2): efi: move efi_mem_type() to common code efi: bgrt: use efi_mem_type() Matthew Garrett (1): efi/libstub: Enable reset attack mitigation arch/x86/boot/compressed/eboot.c | 3 ++ arch/x86/platform/efi/efi.c | 19 ----------- drivers/firmware/efi/Kconfig | 10 ++++++ drivers/firmware/efi/efi-bgrt.c | 22 +------------ drivers/firmware/efi/efi.c | 40 +++++++++++++++++++---- drivers/firmware/efi/libstub/Makefile | 1 + drivers/firmware/efi/libstub/arm-stub.c | 3 ++ drivers/firmware/efi/libstub/random.c | 10 +++--- drivers/firmware/efi/libstub/tpm.c | 58 +++++++++++++++++++++++++++++++++ drivers/firmware/efi/reboot.c | 2 +- include/linux/efi.h | 9 +++++ 11 files changed, 123 insertions(+), 54 deletions(-) create mode 100644 drivers/firmware/efi/libstub/tpm.c