From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C3F1D8221B for ; Wed, 22 Feb 2017 01:38:29 -0800 (PST) Received: by mail-wr0-x22e.google.com with SMTP id 89so4118219wrr.3 for ; Wed, 22 Feb 2017 01:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Ft4D9zywuKY2+ZPH1PTJA18Mshn4q3FE1KLr7ea+uwY=; b=KgOLkR8d0l/MMefds//wyHuqXpecJK9jgspp7gZWvqz0c/55+EEO00PLX5UM4VOREP LTR4EpxewI5MUkY3Sz8qNbgzde540aMa5x9JYe+iJAhAN10eZhshTNhSVuPQbIYATgZ+ +/0ykeKgSxXDAQ9UC8Y+SJPRTcZcTYkW2durY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ft4D9zywuKY2+ZPH1PTJA18Mshn4q3FE1KLr7ea+uwY=; b=N7IqphFAQluMbBv/ia991srkL7g67J+mGEzly7lNdHezXagnn/gsDSyBtFHTWe+fAH rKoLVhrqID1ygCLOf9AK99k8/Tc6HSRbbbUQnBB+m3slpJEX2kjOt3T714EObFo616YK oivewHOBmR5Rh9xTnMvdPx88ACMBmFBaD2Kpu+zDNQwUlEE+OhTgd6FHYqCQWZEc4H3Q I2dwprBzzF8rEOl5AxFpTa6cjPil5lDbG18aOj17fXhzSFHmd76X0lhIxxis0VBTBHqn KbUEBJ6IWT+4KPdt+Zl/YKS3LME/cF6qlNcGdMTY0sqv1MBIVh1D1dNCyz10f6rbYFZt wWVg== X-Gm-Message-State: AMke39nzMZtVYfPNdMlN4I64IExkOZsM9oX8y/UqX99BWmWjPQvyaycmTQddceDPSq1iKc1A X-Received: by 10.223.174.73 with SMTP id u9mr16020225wrd.116.1487756307957; Wed, 22 Feb 2017 01:38:27 -0800 (PST) Received: from localhost.localdomain ([160.163.32.105]) by smtp.gmail.com with ESMTPSA id c36sm976544wrc.49.2017.02.22.01.38.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 01:38:27 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: heyi.guo@linaro.org, Ard Biesheuvel Date: Wed, 22 Feb 2017 09:38:17 +0000 Message-Id: <1487756301-15646-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/4] AARCH64: enable stack alignment check X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 09:38:30 -0000 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