public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Masahisa Kojima" <masahisa.kojima@linaro.org>
To: devel@edk2.groups.io
Cc: Masahisa Kojima <masahisa.kojima@linaro.org>,
	Leif Lindholm <leif@nuviainc.com>,
	Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Subject: [PATCH 0/2] ArmPlatformPkg/NorFlashDxe: implement standalone MM version
Date: Fri, 18 Dec 2020 19:05:14 +0900	[thread overview]
Message-ID: <20201218100516.14149-1-masahisa.kojima@linaro.org> (raw)

To support secure variable storage on the aarch64 SBSA-QEMU platform,
this patch series implement the NOR Flash driver for standalone MM.

What have been tested:
For DXE driver, uefi variable storage works fine on the ArmVirtQemu platform.
For Standalone MM driver, uefi secure variable storage works fine
on the SBSA-QEMU platform.
Note that SBSA-QEMU secure variable storage handling is not yet upstreamed,
because it needs this standalone MM NOR Flash driver.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>

Masahisa Kojima (2):
  ArmPlatformPkg/NorFlashDxe: factor out DXE specific pieces
  ArmPlatformPkg/NorFlashDxe: implement standalone MM version

 .../Drivers/NorFlashDxe/NorFlashDxe.inf       |    5 +-
 ...rFlashDxe.inf => NorFlashStandaloneMm.inf} |   40 +-
 .../NorFlashDxe/{NorFlashDxe.h => NorFlash.h} |   86 +-
 .../NorFlashDxe/{NorFlashDxe.c => NorFlash.c} |  372 +-----
 .../Drivers/NorFlashDxe/NorFlashBlockIoDxe.c  |    2 +-
 .../Drivers/NorFlashDxe/NorFlashDxe.c         | 1066 ++---------------
 .../{NorFlashFvbDxe.c => NorFlashFvb.c}       |  107 +-
 .../NorFlashDxe/NorFlashStandaloneMm.c        |  364 ++++++
 8 files changed, 573 insertions(+), 1469 deletions(-)
 copy ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.inf => NorFlashStandaloneMm.inf} (59%)
 rename ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.h => NorFlash.h} (85%)
 copy ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashDxe.c => NorFlash.c} (71%)
 rename ArmPlatformPkg/Drivers/NorFlashDxe/{NorFlashFvbDxe.c => NorFlashFvb.c} (85%)
 create mode 100644 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.c

-- 
2.17.1


             reply	other threads:[~2020-12-18 10:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 10:05 Masahisa Kojima [this message]
2020-12-18 10:05 ` [PATCH 1/2] ArmPlatformPkg/NorFlashDxe: factor out DXE specific pieces Masahisa Kojima
2020-12-18 10:05 ` [PATCH 2/2] ArmPlatformPkg/NorFlashDxe: implement standalone MM version Masahisa Kojima
2021-01-04 18:35 ` [PATCH 0/2] " Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201218100516.14149-1-masahisa.kojima@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox