public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, leif.lindholm@linaro.org
Cc: lersek@redhat.com, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH v2 0/4] ArmPkg, ArmVirtPkg ARM: enable non-executable stack
Date: Tue,  7 Mar 2017 09:42:01 +0100	[thread overview]
Message-ID: <1488876125-24396-1-git-send-email-ard.biesheuvel@linaro.org> (raw)

This refactors the ARM version of CpuDxe and ArmMmuLib to align more closely
with the AARCH64 version, which primarily comes down to moving
ArmSetMemoryAttributes() to ArmMmuLib, where it can be used by non-DXE
modules such as DxeIpl. This is a PEI module which is in charge of
configuring the non-executable DXE stack.

Changes since v1:
- committed and dropped patch to fix RETURN_STATUS/EFI_STATUS disparities
  in function prototypes
- incorporated coding style feedback from Leif
- add R-b's from Leif and Laszlo

Ard Biesheuvel (4):
  ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib
  ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes
  ArmPkg/ArmMmuLib ARM: implement memory permission control routines
  ArmVirtPkg: enable non-executable DXE stack for all platforms

 ArmPkg/Drivers/CpuDxe/Arm/Mmu.c                  | 410 --------------------
 ArmPkg/Drivers/CpuDxe/CpuDxe.h                   |  14 +-
 ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c             |   2 +-
 ArmPkg/Include/Chipset/ArmV7Mmu.h                |   6 +
 ArmPkg/Include/Library/ArmMmuLib.h               |   7 +
 ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c |   5 +-
 ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c     | 394 ++++++++++++++++++-
 ArmVirtPkg/ArmVirt.dsc.inc                       |   5 +
 ArmVirtPkg/ArmVirtQemu.dsc                       |   2 -
 ArmVirtPkg/ArmVirtQemuKernel.dsc                 |   2 -
 10 files changed, 412 insertions(+), 435 deletions(-)

-- 
2.7.4



             reply	other threads:[~2017-03-07  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07  8:42 Ard Biesheuvel [this message]
2017-03-07  8:42 ` [PATCH v2 1/4] ArmPkg: move ARM version of SetMemoryAttributes to ArmMmuLib Ard Biesheuvel
2017-03-07  8:42 ` [PATCH v2 2/4] ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes Ard Biesheuvel
2017-03-07  8:42 ` [PATCH v2 3/4] ArmPkg/ArmMmuLib ARM: implement memory permission control routines Ard Biesheuvel
2017-03-07  9:31   ` Leif Lindholm
2017-03-07  8:42 ` [PATCH v2 4/4] ArmVirtPkg: enable non-executable DXE stack for all platforms Ard Biesheuvel

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=1488876125-24396-1-git-send-email-ard.biesheuvel@linaro.org \
    --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