From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=zhichao.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 94DE22194EB78 for ; Thu, 21 Mar 2019 20:09:12 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 20:09:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,255,1549958400"; d="scan'208";a="124829517" Received: from gaozhic-mobl.ccr.corp.intel.com ([10.239.196.107]) by orsmga007.jf.intel.com with ESMTP; 21 Mar 2019 20:09:10 -0700 From: Zhichao Gao To: edk2-devel@lists.01.org Cc: Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Ard Biesheuvel Date: Fri, 22 Mar 2019 11:07:16 +0800 Message-Id: <20190322030718.17676-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 Subject: [PATCH V2 0/2] Change reset logic related on capsule X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2019 03:09:12 -0000 Add CapsuleCacheWriteBack for IA ARCH before runtime. Remove DoS3 in ResetSystemRuntimeDxe. V2: Adjust the code that would not change the logic of arm ARCH. Fix some build errors because of type convertion. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Ard Biesheuvel Zhichao Gao (2): MdeModulePkg/CapsuleRuntimeDxe: IA32 add cache flush function MdeModulePkg/ResetSystemRuntimeDxe: Remove DoS3 in warm reset .../Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c | 35 +----------- .../Universal/CapsuleRuntimeDxe/CapsuleCache.c | 63 ++++++++++++++++++++++ .../Universal/CapsuleRuntimeDxe/CapsuleCacheNull.c | 38 +++++++++++++ .../Universal/CapsuleRuntimeDxe/CapsuleReset.c | 16 +----- .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 20 ++++--- .../Universal/ResetSystemRuntimeDxe/ResetSystem.c | 38 ------------- 6 files changed, 115 insertions(+), 95 deletions(-) create mode 100644 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleCache.c create mode 100644 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleCacheNull.c -- 2.16.2.windows.1