From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756789AbcEEOgr (ORCPT ); Thu, 5 May 2016 10:36:47 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36350 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753503AbcEEOgq (ORCPT ); Thu, 5 May 2016 10:36:46 -0400 Date: Thu, 5 May 2016 15:36:43 +0100 From: Matt Fleming To: "Kweh, Hock Leong" Cc: "Bryan O'Donoghue" , "linux-efi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Ard Biesheuvel , joeyli , Borislav Petkov , "Ong, Boon Leong" , "Ong, Kean Chai" Subject: Re: [PATCH] efi/capsule: Make efi_capsule_pending() lockless Message-ID: <20160505143643.GN2839@codeblueprint.co.uk> References: <1462054407-9735-1-git-send-email-matt@codeblueprint.co.uk> <20160503090229.GC27540@pd.tnic> <20160503141201.GW2839@codeblueprint.co.uk> <20160504093031.GA4074@pd.tnic> <20160504114605.GH2839@codeblueprint.co.uk> <20160504122042.GB4074@pd.tnic> <20160504143531.GK2839@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 05 May, at 02:27:16PM, Kweh, Hock Leong wrote: > > If not mistaken, the EFI firmware will not update a partially uploaded binary due to checksum error. > User is required to re-update the efi capsule again on the next boot up. Ah, so the capsule is only processed by the firmware after rebooting? That makes sense and alleviates my concerns about rebooting while in the middle of efi_capsule_update(). Thanks Wilson!