public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ArmPkg/ArmMmuLib: fixes and cleanups
@ 2016-09-09 10:48 Ard Biesheuvel
  2016-09-09 10:48 ` [PATCH v2 1/4] ArmPkg/ArmMmuLib: deobfuscate GetRootTranslationTableInfo () Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2016-09-09 10:48 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm, eugene; +Cc: heyi.guo, Ard Biesheuvel

Patch #1 replaces the needlessly complex routine to determine the number of
translation levels and the size and alignment of the root table based on the
T0SZ setting.

Patch #2 fixes the fix for allocating page aligned pages, which is a truism
and as such does not require any special care to begin with.

Patch #3 switches to a suitably aligned pool allocation for the root table
if its size is much smaller than a page.

Patch #4 makes the size of the VA space in the VM registers equal to the
GCD memory map size.

Ard Biesheuvel (4):
  ArmPkg/ArmMmuLib: deobfuscate GetRootTranslationTableInfo ()
  ArmPkg/ArmMmuLib: remove bogus alignment of page allocations
  ArmPkg/ArmMmuLib: use a pool allocation for the root table
  ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size

 ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 82 +++++++-------------
 ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf       |  4 +
 ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf        |  4 +
 3 files changed, 38 insertions(+), 52 deletions(-)

-- 
2.7.4



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

end of thread, other threads:[~2016-09-13 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 10:48 [PATCH v2 0/4] ArmPkg/ArmMmuLib: fixes and cleanups Ard Biesheuvel
2016-09-09 10:48 ` [PATCH v2 1/4] ArmPkg/ArmMmuLib: deobfuscate GetRootTranslationTableInfo () Ard Biesheuvel
2016-09-09 10:48 ` [PATCH v2 2/4] ArmPkg/ArmMmuLib: remove bogus alignment of page allocations Ard Biesheuvel
2016-09-09 10:48 ` [PATCH v2 3/4] ArmPkg/ArmMmuLib: use a pool allocation for the root table Ard Biesheuvel
2016-09-09 10:48 ` [PATCH v2 4/4] ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size Ard Biesheuvel
2016-09-13 10:40 ` [PATCH v2 0/4] ArmPkg/ArmMmuLib: fixes and cleanups Leif Lindholm

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