aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-11-17 13:46:44 +0100
committerKees Cook <keescook@google.com>2015-10-07 13:13:18 -0700
commit779890a0f6bfbe33e59e5ae7dbfa642245ed9e06 (patch)
tree3639b1104a7fe5bd6ae9522d2c84dd163f88285f /ipc
parent66fc858294c2aad7d5f6a444daf7fd82c257d9fb (diff)
UPSTREAM: efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE
On systems with 64 KB pages, it is preferable for UEFI memory map entries to be 64 KB aligned multiples of 64 KB, because it relieves us of having to deal with the residues. So, if EFI_ALLOC_ALIGN is #define'd by the platform, use it to round up all memory allocations made. Acked-by: Matt Fleming <matt.fleming@intel.com> Acked-by: Borislav Petkov <bp@suse.de> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> (cherry picked from commit cf2b0f102cdf912eedb87b10271fa0ad582cf2c1) Signed-off-by: Tomasz Figa <tfiga@chromium.org> Bug: 24475017 Change-Id: I79fedd4b366bddc5f2aac25d27f04ba3963a0612 Signed-off-by: Kees Cook <keescook@google.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions