Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359830

[PATCH 0/4] EFI capsule update support

Path csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject [PATCH 0/4] EFI capsule update support
Date Thu, 17 Mar 2016 14:00:04 +0100
Message-ID <rdFGW-7xG-5@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeblueprint-co-uk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=cbqNqO1C8LOn6FM0BM2kgdZM47BuZt/ex32HhtlvRnw=; b=DkjInFsVWNZh5fnQWXRQmc5NzDgg+l2D7pkGPNtruftWO1op5Y4rp5YpByAavoX/b4 iLPNVSkxvzbaQVBUi8naGtZKNNHMHDzUeJ67bauwBQk/erTEUJHWNUogZxfBJ5KtVBSt zvu+9IMlCxn7XIwgPAJjN9Jvv0FaRZ7Tc0Ha8zosM6wgivbVhdPtzqeikJFjo+4zKhiA KfncYDo1HqIDus6/+rhMrLQOsGLcPkbE0rpZiD9DlToL0bMgVxv3NDD9PH1Wesncs3Gd CONNTBLJQ+dXLF7c+9nwQZajNxuXa+zMXhY74b7DB3D9trNyadlVjWpVgT4BiejpgeEp SBbw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cbqNqO1C8LOn6FM0BM2kgdZM47BuZt/ex32HhtlvRnw=; b=SCDRmXpi/mJW4jbYJajgQvTtU8hGaA9au9B0B5zy6aFQtpKvkVl96cjJyLgQ9Jp6eh veeYCGt1DesY1hbhXapUf5Qn264TRb9lmpqICuGy6R5yh2dvgslPUH2RYSJDgI3Lgcae hp7Vtwl04GhQJ9WLNzdIPSAnV+22ZL4LIyNo+VnAxbyvjbU/GU/mpaMP7/vq+0ZmPUpA Fowy6ykqcPp/hiJV+Wj48lNodBuOrGePK0Dh/I6KERzYuBv90nC7n83XeLasH4xojg99 9MVhOu3ZlNWEFto7tQIsLiQOoAF9L8he3y4bAZ83vlHbJbVHBo+PEiR6Vagh1+RoaMzM uI9Q==
X-Gm-Message-State AD7BkJJEQrDUA142ysQGy/snZ9rvYYHNNOrCtZQi0dZg+lhwh2wf9qOImKrQ5eUiCSOBLw==
X-Received by 10.28.189.11 with SMTP id n11mr3249869wmf.45.1458219433588; Thu, 17 Mar 2016 05:57:13 -0700 (PDT)
X-Mailer git-send-email 2.6.2
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Cc joeyli <jlee@suse.com>, Matt Fleming <matt@codeblueprint.co.uk>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Andy Lutomirski <luto@amacapital.net>, Borislav Petkov <bp@alien8.de>, Bryan O'Donoghue <pure.logic@nexus-software.ie>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@kernel.org>, "Kweh, Hock Leong" <hock.leong.kweh@intel.com>, Mark Salter <msalter@redhat.com>, Peter Jones <pjones@redhat.com>, Sam Protsenko <semen.protsenko@linaro.org>, Thomas Gleixner <tglx@linutronix.de>
X-Original-Date Thu, 17 Mar 2016 12:57:07 +0000
X-Original-Message-ID <1458219431-24741-1-git-send-email-matt@codeblueprint.co.uk>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1359830

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 0/4] EFI capsule update support Matt Fleming <matt@codeblueprint.co.uk> - 2016-03-17 14:00 +0100

csiph-web