From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D5A7420945B80 for ; Tue, 19 Sep 2017 09:39:06 -0700 (PDT) Received: by mail-io0-x231.google.com with SMTP id q11so431517ioe.10 for ; Tue, 19 Sep 2017 09:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=V1UUEUoIIct8/My345lU1N4MWnC9ZsxAUowx4iT65Ug=; b=CLplvSX2ttwKHWBSOKP6eekkHhxGsJWlQ2FqUfrw1tEk2LGsbNE9si1EHJt61W58lz ICnkFMEeKzbRWqDBy3hTSjyEX8wbbLZA+P/R9gMSEHWJMrswjNq7iS+FDCWDCR6ETUB7 e6Y5aG39Yj556s7ILYJjl1zVJAw7X8lhAimls= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=V1UUEUoIIct8/My345lU1N4MWnC9ZsxAUowx4iT65Ug=; b=V/GzA+WotYeZJt0oL2aWWviO0wX0Tl7t8YvA4o7XH7uaJrJM8Wd5N5OGHdvrPe8X+t hUg+ybA5qryiwalcXhLPyck9B/bm/Fr/pf61fcMpXkYh6hmM+lWzDW6HJaKXBq2rjF92 KGBjAWvwBdItsJqNd8pdg6nhp/e8QjAQLsbbf6AeolKECDT2Cb2AaR+k1C0oq3H+Z8lj IwqlwWI8HjAGelIPFMCDNXi9x14TOSLNOAvsBoNMMxlm0m2lJaIjs70g+RElFQ8+uFnA Ti2tlhtRzYtWElL/0p1kYQghGozVFAuFJksVLGb/8mMSVJB+1fNSQCOr+v3crnQoN6E8 J5VQ== X-Gm-Message-State: AHPjjUiGxXpdveP98knOoF/3W+XI/qqieWIaRuzeKueIuJN1tBonxhma DcudKlGx77eQBntfhYd0TwLrD+w56Seir2plK/ofXQ== X-Google-Smtp-Source: AOwi7QCrCX7fSWn3pq8j1TSayB9KyWzwryrI4se+jK/eG95f9gAVWwUEAbyi+2vTgsxUcGL7GdExN+QtDsmqDhK/WFs= X-Received: by 10.107.154.71 with SMTP id c68mr2938489ioe.95.1505839331151; Tue, 19 Sep 2017 09:42:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.152.18 with HTTP; Tue, 19 Sep 2017 09:42:10 -0700 (PDT) In-Reply-To: <20170918101600.tls6jmarforc7gvg@bivouac.eciton.net> References: <20170915230332.23477-1-ard.biesheuvel@linaro.org> <20170918101600.tls6jmarforc7gvg@bivouac.eciton.net> From: Ard Biesheuvel Date: Tue, 19 Sep 2017 09:42:10 -0700 Message-ID: To: Leif Lindholm Cc: "edk2-devel@lists.01.org" Subject: Re: [PATCH v2] ArmPkg/PlatformBootManagerLib: process pending capsules X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 16:39:07 -0000 Content-Type: text/plain; charset="UTF-8" On 18 September 2017 at 03:16, Leif Lindholm wrote: > On Fri, Sep 15, 2017 at 04:03:32PM -0700, Ard Biesheuvel wrote: >> Process any capsule HOBs that were left for us by CapsulePei. This >> involves calling ProcessCapsules() twice, as explained in the comment >> in DxeCapsuleLibFmp [sic]. >> >> 1) The first call must be before EndOfDxe. The system capsules is processed. >> If device capsule FMP protocols are exposted at this time and device FMP >> capsule has zero EmbeddedDriverCount, the device capsules are processed. >> Each individual capsule result is recorded in capsule record variable. >> System may reset in this function, if reset is required by capsule and >> all capsules are processed. >> If not all capsules are processed, reset will be defered to second call. >> >> 2) The second call must be after EndOfDxe and after ConnectAll, so that all >> device capsule FMP protocols are exposed. >> The system capsules are skipped. If the device capsules are NOT processed >> in first call, they are processed here. >> Each individual capsule result is recorded in capsule record variable. >> System may reset in this function, if reset is required by capsule >> processed in first call and second call. >> >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Ard Biesheuvel > > Reviewed-by: Leif Lindholm > Pushed as 4bbcc285d5f74d34ec40733dde807f5a4f0cdf8c Thanks.