From patchwork Mon Feb 27 18:02:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 94560 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp976358qgi; Mon, 27 Feb 2017 10:02:58 -0800 (PST) X-Received: by 10.55.16.67 with SMTP id a64mr17152654qkh.226.1488218578459; Mon, 27 Feb 2017 10:02:58 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t31si10626514qte.261.2017.02.27.10.02.57; Mon, 27 Feb 2017 10:02:58 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B319263607; Mon, 27 Feb 2017 18:02:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 8FD5B60C9D; Mon, 27 Feb 2017 18:02:53 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 842F660C9D; Mon, 27 Feb 2017 18:02:50 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by lists.linaro.org (Postfix) with ESMTPS id A7EB960AF6 for ; Mon, 27 Feb 2017 18:02:49 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id u48so7992100wrc.0 for ; Mon, 27 Feb 2017 10:02:49 -0800 (PST) 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=+GPCzn6oUG0LXWH8PY4UPPhaHXrnZbKqCJdcBZszzzw=; b=BjyvYadBDuibzvYoygd/E9gq/5hTzeRCPCuwYScQ0m8R4+kDuWa9tLg0CnDvpXI/DY OLEYlKTz8b6TH1PZjACww9g2kSpgo8x6RWUPTZ30Ry2d91DpeWcDL6kfftuEc8Ni1yy+ +TZDhwZaWz7QhdEu80ESpJ8lROw8DNS25JXjSGEA3AykpQKBv6Y50aHGp4U4G8KPIY0A vXnoiF/WXZUU+L4tm7/xJ1V5HX/ZMYTxY0mckZACB6R32pJBytPgRwfnbn72TxvVHlnZ cMq+s5+M9vMoN9Mwq4Ezs2QBM25Sx3au5zmLuaMbznuEKYpZbXaZ9AivEdLoGoWMe3SX sLKg== X-Gm-Message-State: AMke39nbtI8pyiC9iRS9BEP1FuFN0BRa4jL4sj7JEd98S92hvN3AUoEXVj07EpwVrSoddYnin80= X-Received: by 10.223.129.4 with SMTP id 4mr18053529wrm.27.1488218568843; Mon, 27 Feb 2017 10:02:48 -0800 (PST) Received: from localhost.localdomain ([105.149.201.216]) by smtp.gmail.com with ESMTPSA id v72sm12668569wmd.0.2017.02.27.10.02.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Feb 2017 10:02:48 -0800 (PST) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, alan@softiron.co.uk Date: Mon, 27 Feb 2017 18:02:28 +0000 Message-Id: <1488218551-6372-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH 0/3] AMD/Styx: enable strict memory permissions X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" This cleans up some dodgy code in the SMBIOS driver, after which it is possible to enable the shiny new memory protection controls. Note that these patches are still under review, so patch #3 cannot be merged yet. Ard Biesheuvel (3): Platforms/AMD/Styx/PlatformSmbiosDxe: don't write to string literals Platforms/AMD/Styx: constify/staticize all local functions and variables Platforms/AMD/Styx: enable strict memory permission policy Platforms/AMD/Styx/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 87 ++++++++++++-------- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 15 ++++ 2 files changed, 67 insertions(+), 35 deletions(-)