public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "xianglai" <lixianglai@loongson.cn>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Bibo Mao <maobibo@loongson.cn>, Chao Li <lichao@loongson.cn>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Michael D Kinney <michael.d.kinney@intel.com>
Subject: [edk2-platforms][PATCH V4 0/8] Loongarch add flash device.
Date: Fri, 13 Jan 2023 11:17:30 +0800	[thread overview]
Message-ID: <cover.1673579388.git.lixianglai@loongson.cn> (raw)

This is a patch series that contains:
1.Loongarch add flash device driver.
2.Loongarch add nvme device driver.
3.Optimize the mmu lib of loongarch.
4.Enable zero address protection.

v4 changes:
-Modify the commit messgae of patch1 and patch2.

v3 changes:
- Split flash driver patch.

v2 changes:
- Split the MMU lib-related patches further.
- Remove the for loop of flash information lookup
  in VirtNorFlashPlatformLib Because the Loongarch
  virtual machine only emulates one flash .
- Add the necessary comments in VirtNorFlashPlatformLib.
- Remove the hard coding associated with the Flash base address.
- Optimize the process of converting huge pages to
   page table entries in MMU lib.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Bibo Mao <maobibo@loongson.cn>
Cc: Chao Li <lichao@loongson.cn>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>

xianglai li (8):
  Platform/Loongson: Add bootmode support.
  Platform/Loongson: Add nvme device driver for loongarch.
  Platform/Loongson: Add pflash driver.
  Platform/Loongson: Support pflash for loongarch.
  Platform/Loongson: Modify the page table entry access priority.
  Platform/Loongson: Optimize page table entry null determination.
  Platform/Loongson: Optimize the huge page and page entry conversion.
  Platform/Loongson: Enable zero address protection.

 .../Library/MmuLib/MmuBaseLibPei.inf          |   2 +
 .../Library/MmuLib/MmuLibCore.c               | 119 +++++++++++----
 .../Library/MmuLib/MmuLibCorePei.c            |   5 +
 .../LoongArchQemuPkg/Library/MmuLib/page.h    |   5 +-
 .../Library/NorFlashQemuLib/NorFlashQemuLib.c | 141 ++++++++++++++++++
 .../NorFlashQemuLib/NorFlashQemuLib.inf       |  43 ++++++
 .../Loongson/LoongArchQemuPkg/Loongson.dsc    |  22 ++-
 .../Loongson/LoongArchQemuPkg/Loongson.fdf    |   8 +-
 .../LoongArchQemuPkg/PlatformPei/Platform.c   |   5 +
 .../LoongArchQemuPkg/VarStore.fdf.inc         |  67 +++++++++
 10 files changed, 375 insertions(+), 42 deletions(-)
 create mode 100644 Platform/Loongson/LoongArchQemuPkg/Library/NorFlashQemuLib/NorFlashQemuLib.c
 create mode 100644 Platform/Loongson/LoongArchQemuPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf
 create mode 100644 Platform/Loongson/LoongArchQemuPkg/VarStore.fdf.inc

-- 
2.31.1


             reply	other threads:[~2023-01-13  3:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13  3:17 xianglai [this message]
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 1/8] Platform/Loongson: Add bootmode support xianglai
2023-01-16  3:22   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 2/8] Platform/Loongson: Add nvme device driver for loongarch xianglai
2023-01-16  3:22   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 3/8] Platform/Loongson: Add pflash driver xianglai
2023-01-16  3:22   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 4/8] Platform/Loongson: Support pflash for loongarch xianglai
2023-01-16  3:22   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 5/8] Platform/Loongson: Modify the page table entry access priority xianglai
2023-01-16  3:23   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 6/8] Platform/Loongson: Optimize page table entry null determination xianglai
2023-01-16  3:23   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 7/8] Platform/Loongson: Optimize the huge page and page entry conversion xianglai
2023-01-16  3:23   ` [edk2-devel] " Chao Li
2023-01-13  3:17 ` [edk2-platforms][PATCH V4 8/8] Platform/Loongson: Enable zero address protection xianglai
2023-01-16  3:23   ` [edk2-devel] " Chao Li

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=cover.1673579388.git.lixianglai@loongson.cn \
    --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