From: Leif Lindholm <leif.lindholm@linaro.org>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: edk2-devel@lists.01.org, eugene@hp.com, heyi.guo@linaro.org
Subject: Re: [PATCH v2 0/4] ArmPkg/ArmMmuLib: fixes and cleanups
Date: Tue, 13 Sep 2016 11:40:04 +0100 [thread overview]
Message-ID: <20160913104004.GT16080@bivouac.eciton.net> (raw)
In-Reply-To: <1473418120-31410-1-git-send-email-ard.biesheuvel@linaro.org>
On Fri, Sep 09, 2016 at 11:48:36AM +0100, Ard Biesheuvel wrote:
> 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.
Right, took a while to get my head around some of your cleverer
arithmetic, but:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
> 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
>
prev parent reply other threads:[~2016-09-13 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Leif Lindholm [this message]
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=20160913104004.GT16080@bivouac.eciton.net \
--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