mbox series

[edk2,0/4] AARCH64: enable stack alignment check

Message ID 1487756301-15646-1-git-send-email-ard.biesheuvel@linaro.org
Headers show
Series AARCH64: enable stack alignment check | expand

Message

Ard Biesheuvel Feb. 22, 2017, 9:38 a.m. UTC
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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ard Biesheuvel Feb. 22, 2017, 1:23 p.m. UTC | #1
On 22 February 2017 at 09:38, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> 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.

>


All pushed, thanks.

> 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

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel