Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbbDNBpG (ORCPT ); Mon, 13 Apr 2015 21:45:06 -0400 Received: from mga03.intel.com ([134.134.136.65]:31284 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbbDNBo7 (ORCPT ); Mon, 13 Apr 2015 21:44:59 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,573,1422950400"; d="scan'208";a="708479244" From: "Kweh, Hock Leong" To: Ming Lei , Matt Fleming , Greg Kroah-Hartman Cc: Ong Boon Leong , "Kweh, Hock Leong" , LKML , linux-efi@vger.kernel.org, Sam Protsenko , Peter Jones , Andy Lutomirski , Roy Franz , Borislav Petkov Subject: [PATCH v4 0/2] Enable capsule loader interface for efi firmware updating Date: Tue, 14 Apr 2015 17:44:54 +0800 Message-Id: <1429004697-28320-1-git-send-email-hock.leong.kweh@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1810 Lines: 50 From: "Kweh, Hock Leong" Dear maintainers & communities, This patchset is created on top of "efi: Capsule update support" patch: http://permalink.gmane.org/gmane.linux.kernel.efi/4837 It expose a sysfs loader interface for user to upload the capsule binary and calling efi_capsule_update() API to pass the binary to EFI firmware. Thanks. --- changelog v4: * rebase the firmware_class to gregkh/driver-core.git#driver-core-next branch and drop the v3 2nd patch as Zahari already fix that in that branch changelog v3: * changes base on the design discussion in the mailing list: https://lkml.org/lkml/2015/2/24/307 * 1st patch introduce a new API request_firmware_direct_full_path() in firmware_class for developer to pass in full path to the firmware file * 2nd patch fix a bug for commit "firmware_loader: handle timeout via wait_for_completion_interruptible_timeout()" * 3rd patch introduce the capsule loader interface kernel module Kweh, Hock Leong (2): firmware_loader: introduce new API - request_firmware_direct_full_path() efi: an sysfs interface for user to update efi firmware drivers/base/firmware_class.c | 46 +++++++- drivers/firmware/efi/Kconfig | 12 ++ drivers/firmware/efi/Makefile | 1 drivers/firmware/efi/efi-capsule-loader.c | 169 +++++++++++++++++++++++++++++ include/linux/firmware.h | 9 ++ 5 files changed, 232 insertions(+), 5 deletions(-) create mode 100644 drivers/firmware/efi/efi-capsule-loader.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/