From patchwork Tue Jun 27 13:21:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 106425 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp1198774qge; Tue, 27 Jun 2017 06:23:34 -0700 (PDT) X-Received: by 10.55.174.67 with SMTP id x64mr6075950qke.52.1498569814049; Tue, 27 Jun 2017 06:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498569814; cv=none; d=google.com; s=arc-20160816; b=Y3V1vIPp6IADBEMrHvLPjTeGpmBhVpLKEnrMrHPxgU7hCzeCmSikkFWs3CJ3CJ5+6j VvwA1TnLF3OnBzMlEXbZPE0p/foQzKC1iWxR4lUftHODPrsWaD4Er5d/WRe/m7PWfFtC BrY98V1QxQzyd51XRutE9UabExeznvsGSCdr7JLOJ8pbI3p0NYero6vVTDULrodR11qj x5Jo+nRawmnpJO4Kto2HMArjBU7l+ytaxiHXwbzfMinlXC/AJvIG/+HZAljkwKg7kIZr qBkrzIh5Aq4lyeJiFTOZWbVofDFZqGPVspfwcMJAj83805A3MDyfSFqdtN96QzjUV4XP N86Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=4Cvg/p3aSFlDPYTnRnpvE7+veHARzzfpOTvR7tz+088=; b=rJcYijdp35TY9Xx/8auJ0lGCrkIVZTK62FIqf/MLuOPVJbcb82xf50NmTsDxFfBl3s +09v3FE3faTr554hSOA9L+bjUQRZSfUNpDrosrx0jGkk19B+42d00HWk3V08RrWVspLp ObaX6g75pTPgjfQ6I81NNtXCL0V4Ht6nVWb3/c30th1+r/K+fdplvgTjWvt4X1T66Owk XkOWg1FLOGlGMBg4yXqCvjcR3BdXBhTaOXy+MnbHEZFSoQGiPmBy+v1hJOksKwfRGK8W nRfPzK1FlcWVcL8MHEY/CboBKH+4KNoNag0V6+7wUicYZojbUDhlOLwhmxrv6fCU9CcD Mggw== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i4si2366436qtd.259.2017.06.27.06.23.33; Tue, 27 Jun 2017 06:23:34 -0700 (PDT) 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 A48AF60CBA; Tue, 27 Jun 2017 13:23:33 +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_H3, RCVD_IN_MSPIKE_WL 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 0F03860D3D; Tue, 27 Jun 2017 13:22:44 +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 6192360C1C; Tue, 27 Jun 2017 13:22:35 +0000 (UTC) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by lists.linaro.org (Postfix) with ESMTPS id 54CC360C92 for ; Tue, 27 Jun 2017 13:22:06 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id t129so5694121wmt.1 for ; Tue, 27 Jun 2017 06:22:06 -0700 (PDT) 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:in-reply-to :references; bh=EmVh2MJE4vgMwl9V6zxotfZJiS/JFZnBj94IE6DMQ84=; b=XTpOQy13D01/UWv+V6hH8YcJFZkO28z5vN6QRDaCwq7ay7hHRySTj59wy6nPHH1aXk 3q94J61PltoqJkX+aIayW8aX6LXEGKbZmDzsfLvU70LeXnu/3lV+QzI3Azp0vemV5jQW KwIEOhGpfFhM/mgFyZ058UJgNOcysIxpTe/tBkG3S/qXEljsZr4FQGDZK+ymMhpN1Pgp 3GViaufL/MzNLCbdbKB88+xL4UtBPIzTiULUKsqP/67J90ZbXLhaRoDOgT5sgdTM2eX6 +3ISCVMdYw1XQMH9H6CMmyPthtlxUN/VKBsIpMd6CromrggtibHaU4fud0VMH+6eWuFs Vjog== X-Gm-Message-State: AKS2vOzrLMdo9MiCh4twxQZa3z3aFKD4RHygrgUQ+3+GaGDAX/73G+Ea tJkY+UT6twgb1sbSRdwq0R2p X-Received: by 10.28.62.149 with SMTP id l143mr3334842wma.83.1498569725244; Tue, 27 Jun 2017 06:22:05 -0700 (PDT) Received: from localhost.localdomain ([105.133.250.69]) by smtp.gmail.com with ESMTPSA id p99sm18801062wrb.6.2017.06.27.06.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 06:22:04 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Tue, 27 Jun 2017 13:21:40 +0000 Message-Id: <20170627132145.28159-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170627132145.28159-1-ard.biesheuvel@linaro.org> References: <20170627132145.28159-1-ard.biesheuvel@linaro.org> Cc: rfranz@cavium.com, alan@softiron.co.uk Subject: [Linaro-uefi] [PATCH v2 05/10] Platform/AMD/Styx: add SMMU override to Cello and Overdrive1000 X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." 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" Add support for enabling the SMMU descriptions in the device tree and ACPI IORT, so that the OS can attach to them. Note that these platforms only have 2 usable SMMUs: one for the PCIe root complex, and one for the SATA controller. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 4 +++- Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc index d10c0901c811..2eec9131a8a8 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc @@ -470,9 +470,11 @@ DEFINE DO_KCS = 0 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0 -[PcdsDynamicExHii.common.DEFAULT] +[PcdsDynamicHii] gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 + gAmdStyxTokenSpaceGuid.PcdEnableSmmus|L"StyxEnableSmmus"|gAmdStyxVariableGuid|0x0|FALSE + ################################################################################ # # Components Section - list of all EDK II Modules needed by this Platform diff --git a/Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc b/Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc index 298cf3eb1c28..57d1425b2c8f 100644 --- a/Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc +++ b/Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc @@ -472,9 +472,11 @@ DEFINE DO_KCS = 1 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0 -[PcdsDynamicExHii.common.DEFAULT] +[PcdsDynamicHii] gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 + gAmdStyxTokenSpaceGuid.PcdEnableSmmus|L"StyxEnableSmmus"|gAmdStyxVariableGuid|0x0|FALSE + ################################################################################ # # Components Section - list of all EDK II Modules needed by this Platform