From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.3897.1687907666946187603 for ; Tue, 27 Jun 2023 16:14:27 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=VUs9hZjp; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: kuqin12@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-666fb8b1bc8so4997656b3a.1 for ; Tue, 27 Jun 2023 16:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687907666; x=1690499666; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3p30TIicaALJACRhGGp3g5OAZkoGIzhHrZghw55NzIk=; b=VUs9hZjpK3KYJCJKRGEyskW3YvTjqvcNCk4E9qdynu53zc7RMS/azNeCGEQLp5ojK9 3dUk3SFKSZVizyTcMYvkEpjRnxVaUqqMyIf40fMVjjKTQ1U6KocgQ0q1WTLnjzUdDyjj dEKi3wfqwGSDhQroQr+SRBMVS9cQcWIwIHG2FzkB3lS420He255qBy29KbkHAgB0wDTC iF36FnuiySB1ljVsKbShSOqRsJQqncFZAzBascch7eFquLGsMnlysabKWV9L3Et67EZA UBwkAvMo9WPTDV6Zl1Evjd5aKVrT36OCrF/6lh6e+7NzsV5MbEP268oyr2AFJeXERVMo 1QQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687907666; x=1690499666; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3p30TIicaALJACRhGGp3g5OAZkoGIzhHrZghw55NzIk=; b=hX8sZDy1OShCwl7gtwvsoAdOEvprSACtygiREWwsjEdW8lbRNXSY/f1CATz/DmmMIG KGV9J6JqeGun4tKQPnekoJElzrKzSHLRPcPIFsFb+Y4JiWT6X5mTsL3sGrJfbvSrfcl9 KZ00tTDS1ve71m+3f85272xeosjOUpHKpK8vZfDXewl/aj5N/BwyU7OMYZ32aHdTYku4 s9QZKgNmefMmQI/TBizUbkLnuWe0sAGN1FxPc37XegMuI6qkUyFIJQS6Nu2vCmOaJvy9 dpmLovOQCD+vGzZUPD7I6EmAGS5nAW8Zd36/l+9UR8Ew5bTkM7wGZcgIKVA+9U/qKnrw QBZA== X-Gm-Message-State: AC+VfDwVUiTZ4x+tqXo+wJysq6BOtuW8xbHf11AWnUhr/AInxfJsXgS5 FltmjxgVptHzlaFhkdkbrs6SPtM7rtY= X-Google-Smtp-Source: ACHHUZ5ab+jKvWiiFfyLxwoPxm1rcVojE4zM5kvzPRvWTnAd6JBf22hB/1SymUrMgWsMVXENrQbsRg== X-Received: by 2002:a17:903:228c:b0:1b6:66f1:35b3 with SMTP id b12-20020a170903228c00b001b666f135b3mr13487485plh.50.1687907665863; Tue, 27 Jun 2023 16:14:25 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:9:6107:268c:453f:a14b]) by smtp.gmail.com with ESMTPSA id bj8-20020a170902850800b001b7fa81b145sm4768947plb.265.2023.06.27.16.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 16:14:25 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Hao A Wu , Liming Gao , Jian J Wang , Leif Lindholm , Ard Biesheuvel , Sami Mujawar Subject: [PATCH v3 0/2] Support MM based variable services in PEI for ARM Date: Tue, 27 Jun 2023 16:14:18 -0700 Message-ID: <20230627231421.1956-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.41.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4464 This patch series is a follow-up of previous submission: https://edk2.groups.io/g/devel/message/106372 The main changes between v2 and v3 patches are: - Removed header file for MM communicate PEI module - Added constant qualifiers to applicable entries - Added reviewed-by tag The change was verified on QEMU based ARM sbsa platform and proprietary hardware platform. Patch v3 branch: https://github.com/kuqin12/edk2/tree/arm_var_pei_v3 Cc: Hao A Wu Cc: Liming Gao Cc: Jian J Wang Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Kun Qin (2): ArmPkg: MmCommunicationPei: Introduce MM communicate in PEI MdeModulePkg: Variable: Introduce MM based variable read service in PEI ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c | 221 ++++++++++++ MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.c | 381 ++++++++++++++++++++ ArmPkg/ArmPkg.dsc | 2 + ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf | 40 ++ MdeModulePkg/MdeModulePkg.dsc | 1 + MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.h | 134 +++++++ MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.inf | 40 ++ 7 files changed, 819 insertions(+) create mode 100644 ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c create mode 100644 MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.c create mode 100644 ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf create mode 100644 MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.h create mode 100644 MdeModulePkg/Universal/Variable/MmVariablePei/MmVariablePei.inf -- 2.41.0.windows.1