public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH V2 0/7] loongarch add flash device.
@ 2023-01-10  1:16 xianglai
  2023-01-10  1:16 ` [edk2-platforms][PATCH V2 1/7] Platform/Loongson: add bootmode support xianglai
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: xianglai @ 2023-01-10  1:16 UTC (permalink / raw)
  To: devel
  Cc: Ard Biesheuvel, Bibo Mao, Chao Li, Leif Lindholm, Liming Gao,
	Michael D Kinney

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.

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>

Bibo Mao (2):
  Platform/Loongson: add bootmode support.
  Platform/Loongson:add nvme device driver for loongarch.

xianglai li (5):
  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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-11  7:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-10  1:16 [edk2-platforms][PATCH V2 0/7] loongarch add flash device xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 1/7] Platform/Loongson: add bootmode support xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 2/7] Platform/Loongson:add nvme device driver for loongarch xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 3/7] Platform/Loongson: Support pflash " xianglai
2023-01-10  7:12   ` [edk2-devel] " Chao Li
2023-01-11  7:16     ` xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 4/7] Platform/Loongson: Modify the page table entry access priority xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 5/7] Platform/Loongson: Optimize page table entry null determination xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 6/7] Platform/Loongson: Optimize the huge page and page entry conversion xianglai
2023-01-10  1:16 ` [edk2-platforms][PATCH V2 7/7] Platform/Loongson: Enable zero address protection xianglai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox