Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755332AbbDJLlQ (ORCPT ); Fri, 10 Apr 2015 07:41:16 -0400 Received: from mga11.intel.com ([192.55.52.93]:62413 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbbDJLlM (ORCPT ); Fri, 10 Apr 2015 07:41:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,556,1422950400"; d="scan'208";a="706812522" 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 v3 0/3] Enable a capsule loader interface for user to update Date: Sat, 11 Apr 2015 03:40:41 +0800 Message-Id: <1428694844-7782-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: 1698 Lines: 46 From: "Kweh, Hock Leong" Hi Guys, 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 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 (3): firmware loader: introduce new API - request_firmware_direct_full_path() firmware_loader: fix positive return value being treat as error return efi: an sysfs interface for user to update efi firmware drivers/base/firmware_class.c | 48 +++++++- 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, 234 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/