From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935998AbcCQM5R (ORCPT ); Thu, 17 Mar 2016 08:57:17 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37774 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935571AbcCQM5P (ORCPT ); Thu, 17 Mar 2016 08:57:15 -0400 From: Matt Fleming To: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: joeyli , Matt Fleming , Ard Biesheuvel , Andy Lutomirski , Borislav Petkov , "Bryan O'Donoghue" , Greg Kroah-Hartman , "H. Peter Anvin" , Ingo Molnar , "Kweh, Hock Leong" , Mark Salter , Peter Jones , Sam Protsenko , Thomas Gleixner Subject: [PATCH 0/4] EFI capsule update support Date: Thu, 17 Mar 2016 12:57:07 +0000 Message-Id: <1458219431-24741-1-git-send-email-matt@codeblueprint.co.uk> X-Mailer: git-send-email 2.6.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the reincarnation of the EFI capsule patches I originally posted in 2013, plus Hock's capsule loader driver from earlier this year. Together they provide a way for users to send capsule images to firmware. EFI capsules are binary blobs passed from the OS to the firmware. The firmware then parses them and makes some decision based upon their contents. The most common use case is to bundle a flashable firmware image into a capsule that the firmware can use to upgrade the existing version in the flash. The series has been tested on the Intel Quark Galileo. I plan on queuing this up for v4.7. Kweh, Hock Leong (1): efi: A misc char interface to update EFI firmware Matt Fleming (3): efi: Move efi_status_to_err() to drivers/firmware/efi/ efi: Capsule update support x86/efi: Force EFI reboot to process pending capsules arch/x86/kernel/reboot.c | 9 + drivers/firmware/efi/Kconfig | 10 + drivers/firmware/efi/Makefile | 3 +- drivers/firmware/efi/capsule-loader.c | 343 ++++++++++++++++++++++++++++++++++ drivers/firmware/efi/capsule.c | 286 ++++++++++++++++++++++++++++ drivers/firmware/efi/efi.c | 33 ++++ drivers/firmware/efi/reboot.c | 12 +- drivers/firmware/efi/vars.c | 33 ---- include/linux/efi.h | 22 +++ 9 files changed, 716 insertions(+), 35 deletions(-) create mode 100644 drivers/firmware/efi/capsule-loader.c create mode 100644 drivers/firmware/efi/capsule.c -- 2.6.2