From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 CB6DF21161217 for ; Thu, 7 Jun 2018 04:32:10 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id v131-v6so18211178wma.1 for ; Thu, 07 Jun 2018 04:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p9ojmxeDWfzoxlQ+t7R0aQYTNk1pQ17U9/DMxd9kIUA=; b=HXV0CEjuPuePysuy1Y8f46qai/h+Mdco6+ZOAxxRncaBU+3DqFRcYBSfMD3bGCC968 6f4eH+IncR3MwmutiNvybwlJkaZc+xixcjVT6+NB72qk5TI7nQIFKImZgGU/k9Yf2Jk0 DLgAREC/sQMkZIFX0po2Vf6FDsmNmq79sx0W0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=p9ojmxeDWfzoxlQ+t7R0aQYTNk1pQ17U9/DMxd9kIUA=; b=dWHXRyo5k33QURvxzPKjt5NAs3NBWZBCkYn91vd2KWPT5ly/jcYFTi7cKeMWx6TSu1 UUq/gMeUZVcQRPK55g8Ka4m9SoywiifHS1m+KPCt8yvJUR8w4X+MIsk0isve5n8rGWth VLYk9tAgKzUD9YCfNrbRXqV4VSXeZuUig4jyUFjBde40CxuOpGblQ0EmI0At0krBdhsF kHny+RGZoHoTO3r7BcdPh5y8srA+wHShD9ZK1dvB4kLxF7uP4hBHWzskJ/W0QpaXeTAU gKjAonzA6BP8EZlTuQhEitLmwJiaHW4tt1MbQs5daxgBgJNvO9ZfFjCG+CysGwd7rVKN DAjQ== X-Gm-Message-State: APt69E3zJ8sRdMSKRmXzCW+uhEx1UzJtyvu1FNkqTCjJ/0pHDpcja7Tm zOEwEdIikzogUaOUdk+mlNCM1lxwVTo= X-Google-Smtp-Source: ADUXVKKrAB/K5QRC0suXc9nPY44TrGVMnKDRCEk9j3EXF0Wy7oWhen8gRD6gZ3IWhPOi+21E0L9ebw== X-Received: by 2002:a1c:5d4f:: with SMTP id r76-v6mr1417766wmb.93.1528371129118; Thu, 07 Jun 2018 04:32:09 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:88ff:8f90:37f1:db91]) by smtp.gmail.com with ESMTPSA id p3-v6sm39109483wrn.31.2018.06.07.04.32.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 04:32:08 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, michael.d.kinney@intel.com, Ard Biesheuvel Date: Thu, 7 Jun 2018 13:32:01 +0200 Message-Id: <20180607113203.27606-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180607113203.27606-1-ard.biesheuvel@linaro.org> References: <20180607113203.27606-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-platforms 1/3] Platform/Socionext/DeveloperBox: add support for persistent capsules X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 11:32:11 -0000 Add support for PersistAcrossReset capsules, by setting the associated PCD, and by enabling the warm reboot implementation that reenters PEI with interrupts, caches and MMU disabled. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc index 300e3fd656a5..1476257acce1 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -226,11 +226,8 @@ [PcdsFeatureFlag] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE - # - # This requires support in ARM Trusted Firmware and SCP for warm reset, - # so disable for now - # - gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE + gArmTokenSpaceGuid.PcdArmReenterPeiForCapsuleWarmReboot|TRUE + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE # needed for NFIT tables installed by RamDiskDxe gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE -- 2.17.0