From patchwork Tue Mar 21 09:23:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 95609 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1342988qgd; Tue, 21 Mar 2017 02:24:15 -0700 (PDT) X-Received: by 10.13.223.141 with SMTP id i135mr18835789ywe.185.1490088255511; Tue, 21 Mar 2017 02:24:15 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id g184si6476500ywa.162.2017.03.21.02.24.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 02:24:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2A8E180473; Tue, 21 Mar 2017 02:24:14 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 376F780472 for ; Tue, 21 Mar 2017 02:24:12 -0700 (PDT) Received: by mail-wr0-x22e.google.com with SMTP id u48so107998790wrc.0 for ; Tue, 21 Mar 2017 02:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=SXyowHHcEIpx7nypE01tTk8rsmHHNgPLnOAuZIzegdw=; b=YDJcabOT1abnaqil2oMmZkmqyBTOvLdyjyzABiUzJk3j+LF3FnEEUpzZ+Xiih1eXPC kzgK5FuoCsVVWN+PAl0GnVMtzMH9WL86guwHlH5O+GP7lWjcLItJ+O+QHpVh2CbMNp4E PJxOuc0Ps5K4V45K6Hs+b8OGYWnqG4ueE7wac= 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=SXyowHHcEIpx7nypE01tTk8rsmHHNgPLnOAuZIzegdw=; b=lijA0lNv0st+/tF7TLQvXghCXU21sVZfugZ2WFQ3bd8/DeCiP1iw6xNuRB2dubGeZV ogH4vsGPtTMO2wDcl0OK1tVNuO93/dmP12Vxfvm56c8aRm4Na4SmwnUugGoaMi95tL4U 9PEzcpSUN/pMn2+qRRHeKdLenOwRduJMBUNTomCOwyYoOz1oavn5rMibEwtEyKBLeQ3H ed4iI06H8hHE6OmNhUZpaUyYcOCRPXufaA2Rk0d5+e7WII9LELrchkZVwyzsPf7ZVhgE XSHCbxf2eYN9eoBmK5k+uSN4oiIvBuqLypTc7xxIEJYBiMyWYANUS90K9ermBEvWVo1Z /r/A== X-Gm-Message-State: AFeK/H1AEpQvwzPh8p73PmKltpxviHSc4AzJgaVAraMr9ua0r05Ch2sjkaPScs0mmekEaFMB X-Received: by 10.223.170.70 with SMTP id q6mr33405575wrd.162.1490088250355; Tue, 21 Mar 2017 02:24:10 -0700 (PDT) Received: from localhost.localdomain (188.16.90.92.rev.sfr.net. [92.90.16.188]) by smtp.gmail.com with ESMTPSA id k139sm16841848wmg.11.2017.03.21.02.23.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 02:24:09 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Tue, 21 Mar 2017 09:23:27 +0000 Message-Id: <1490088209-8564-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH 0/2] ArmVirtPkg/HighMemDxe: fix issues reported by Michael X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sigmaepsilon92@gmail.com, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" This fixes two separate issues reported by Michael: - setting EFI_MEMORY_XP via the GCD memory space map always fails, - patchable PCD updates do not propagate to other modules. Ard Biesheuvel (2): ArmVirtPkg/HighMemDxe: use CPU arch protocol to apply memprotect policy ArmVirtPkg/HighMemDxe: check new regions against GCD memory space map ArmVirtPkg/HighMemDxe/HighMemDxe.c | 59 ++++++++++++++------ ArmVirtPkg/HighMemDxe/HighMemDxe.inf | 2 +- 2 files changed, 43 insertions(+), 18 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel