From patchwork Tue Nov 4 14:12:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 40159 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 10C0E21894 for ; Tue, 4 Nov 2014 14:12:49 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf7531771wgg.5 for ; Tue, 04 Nov 2014 06:12:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:date:message-id:from :to:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=J+0eKplV/ELXNu7bCXgr2Yts0gBYNRfq6tqRhGPedq8=; b=AQdYKvduCDBM70O5xFnjmag/8szGR9BExevuRuU1xHFXzxSt7Z4mfum24Enr1YH5jI aZaDYgGPj30fzqpIiV47SyuQsPcTfGLANV32CE5YvlQ23hMKYOEtUIVoCj5SIqQda28n 6NsWpF9YcihBs8HUrCbpJvVoSC8KhFy+v8Af4TVB9zuVwTD2agIb9RtROZgDNj6RZVwg 5ejjW224UMdph/DSc4kN/1DIWNKzoEPK3YZe6wunvVFm1sxlNhviMH/Pbera0hyBjrhn p7O6bbyCQOJF6Pu/dGzIHOivyWpu9Moa7w8c9Gi5rRYyjzuKSLN3OfSy2KRwKF2KjWro gtDg== X-Gm-Message-State: ALoCoQlfZew/QNaRjZtIBV5K6xXYfiv/i8AwSbPGIrRuR6s6+4pSQYyFzg1p4nPlsSrVckLYD4km X-Received: by 10.180.90.234 with SMTP id bz10mr1763018wib.0.1415110369284; Tue, 04 Nov 2014 06:12:49 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.225 with SMTP id p1ls879229laf.70.gmail; Tue, 04 Nov 2014 06:12:49 -0800 (PST) X-Received: by 10.152.2.41 with SMTP id 9mr58312644lar.47.1415110368985; Tue, 04 Nov 2014 06:12:48 -0800 (PST) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id ra3si1034365lbb.24.2014.11.04.06.12.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Nov 2014 06:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id w7so4049228lbi.3 for ; Tue, 04 Nov 2014 06:12:48 -0800 (PST) X-Received: by 10.112.12.35 with SMTP id v3mr59509966lbb.80.1415110368596; Tue, 04 Nov 2014 06:12:48 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp121233lbc; Tue, 4 Nov 2014 06:12:47 -0800 (PST) X-Received: by 10.42.53.80 with SMTP id m16mr26558385icg.43.1415110367126; Tue, 04 Nov 2014 06:12:47 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id cj2si1355276icb.25.2014.11.04.06.12.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 04 Nov 2014 06:12:47 -0800 (PST) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XleqW-0001Ux-K2; Tue, 04 Nov 2014 14:12:32 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XleqU-0001Ur-KE for edk2-devel@lists.sourceforge.net; Tue, 04 Nov 2014 14:12:30 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; envelope-from=semen.protsenko@linaro.org; helo=mail-la0-f44.google.com; Received: from mail-la0-f44.google.com ([209.85.215.44]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XleqT-0007fT-Qo for edk2-devel@lists.sourceforge.net; Tue, 04 Nov 2014 14:12:30 +0000 Received: by mail-la0-f44.google.com with SMTP id gf13so930570lab.31 for ; Tue, 04 Nov 2014 06:12:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.125.106 with SMTP id mp10mr60665010lbb.50.1415110343391; Tue, 04 Nov 2014 06:12:23 -0800 (PST) Received: by 10.25.136.2 with HTTP; Tue, 4 Nov 2014 06:12:23 -0800 (PST) Date: Tue, 4 Nov 2014 16:12:23 +0200 Message-ID: From: Sam Protsenko To: edk2-devel@lists.sourceforge.net X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XleqT-0007fT-Qo Subject: [edk2] enable PcdSupportUpdateCapsuleReset feature X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: semen.protsenko@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Hi guys, While working on UpdateCapsule I found out that I can't run neither UpdateCapsule(), nor QueryCapsuleCapabilities() runtime services because PcdSupportUpdateCapsuleReset feature disabled by default in edk2. Is there any particular reason for this? Anyway, I propose to enable this by default since there is a work is starting on that feature recently in Linaro, Intel, Red Hat etc. <<<<<<<<<<<<<<<<<< cut here >>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<< cut here >>>>>>>>>>>>>>>>>> What do you think about it? ------------------------------------------------------------------------------ diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index f9911c8..e1890ed 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -396,7 +396,7 @@ # TRUE - Supports update capsule across a system reset.
# FALSE - Does not support update capsule across a system reset.
# @Prompt Enable update capsule across a system reset. - gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE|BOOLEAN|0x0001001d^M ## Indicates if all PCD PPI services will be enabled.

# TRUE - All PCD PPI services will be produced.