public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] AARCH64: enable stack alignment check
@ 2017-02-22  9:38 Ard Biesheuvel
  2017-02-22  9:38 ` [PATCH 1/4] ArmPlatformPkg/ArmPlatformStackLib: use callee preserved registers Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Ard Biesheuvel @ 2017-02-22  9:38 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm; +Cc: heyi.guo, Ard Biesheuvel

This series enables the stack alignment check (SA) bit in the MMU for
AArch64 platforms, as mandated by the UEFI spec. No fixes were required
to make the existing asm code adhere to this requirement, but some issues
were spotted in review nonetheless, so these are fixed as well.

Ard Biesheuvel (4):
  ArmPlatformPkg/ArmPlatformStackLib: use callee preserved registers
  ArmPkg/ArmLib: AARCH64: set frame pointer in cache maintenance routine
  ArmPkg/ArmLib: AARCH64: allow the stack aligment (SA) bit to be
    managed
  ArmPkg/ArmMmuLib: AARCH64: enable stack alignment checking

 ArmPkg/Include/Chipset/AArch64.h                                         | 12 ++++++
 ArmPkg/Library/ArmLib/AArch64/AArch64Support.S                           | 38 ++++++++++++++++-
 ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c                         |  1 +
 ArmPlatformPkg/Library/ArmPlatformStackLib/AArch64/ArmPlatformStackLib.S | 43 +++++++++-----------
 4 files changed, 68 insertions(+), 26 deletions(-)

-- 
2.7.4



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

end of thread, other threads:[~2017-02-22 13:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22  9:38 [PATCH 0/4] AARCH64: enable stack alignment check Ard Biesheuvel
2017-02-22  9:38 ` [PATCH 1/4] ArmPlatformPkg/ArmPlatformStackLib: use callee preserved registers Ard Biesheuvel
2017-02-22 12:06   ` Leif Lindholm
2017-02-22 12:52     ` Ard Biesheuvel
2017-02-22 13:11       ` Leif Lindholm
2017-02-22  9:38 ` [PATCH 2/4] ArmPkg/ArmLib: AARCH64: set frame pointer in cache maintenance routine Ard Biesheuvel
2017-02-22 12:56   ` Ard Biesheuvel
2017-02-22 13:12     ` Leif Lindholm
2017-02-22  9:38 ` [PATCH 3/4] ArmPkg/ArmLib: AARCH64: allow the stack aligment (SA) bit to be managed Ard Biesheuvel
2017-02-22 12:13   ` Leif Lindholm
2017-02-22  9:38 ` [PATCH 4/4] ArmPkg/ArmMmuLib: AARCH64: enable stack alignment checking Ard Biesheuvel
2017-02-22 12:14   ` Leif Lindholm
2017-02-22 13:23 ` [PATCH 0/4] AARCH64: enable stack alignment check Ard Biesheuvel

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