Message ID | 20181211183514.20948-12-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp949615ljp; Tue, 11 Dec 2018 10:36:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/XNA1542hS0LqFp1x+PPbU/NGCruYjrz53XlTb7pTJyFS/3iggwxWtdi9FbycYazMp5FPXN X-Received: by 2002:a62:4181:: with SMTP id g1mr17241959pfd.45.1544553367037; Tue, 11 Dec 2018 10:36:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544553367; cv=none; d=google.com; s=arc-20160816; b=Oj0EEYa00kyG5+0D+eY/6y42UirEyUcwOzxA7U94xvs8Yb2g6wrtCoSkR/z93EnUGB QfZhVEnj5pLWFJh+UzAceHJ1uOpQivuxUKHxSgfxCnbano1AWzI2yQaNW1ZBkgT+BEPD 5sUIYbn/i1ctwnUM6Q98TCNtqgYsg8umB+jfRTaR9EJhr05dXnX+rUFWHaHSKt9wnXBN BNnKA58tB11LO3Ras4bSyqtC8cKMwE2pJFCYIN+Bu5qp1zh+XYn4IJ9eKDVQ0EZYXXQe Epkk1dZ+KWLwDnJXlfxgapLFZjXbFB+pIq75MHvt8Pg67wXNUvxSo4b2+UPyxtcDemnH N4mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=lL46kai8OZucNttiHPQ9GwjfbvoJ/dZ4JpB9tn1b/YA=; b=Z5aBwUui0G/hOSGyFf03wdkpA/4oqx21zioYT9TM/oAncfn+tBZwc5+1vU7upS0fWe WzAX9b3cwzsCLRIhE1Ys1ZdRxi4wl546UunjG8nCj2yXVIyhcjMytMGnCV+p+7hCWQ9r bqLH/BXa/ge7WNn+m8F0JHekDVAPUMikLynwd9guelTfql4Yfm4zLSWWS4GzYwyHM3lt //NCMwfg9mBESZF+flYzWx1m36oS0pFSxoTXv7VCIPSAP7SX7IymBLztksB37NYHp6s3 hfFLstZ/mQq66tQzZufbgic5WhVAjUEvFkjwBKW3RmiuuGf+b5itpcsvwhIBBtOb1rYJ H1qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MGjUYBMR; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <edk2-devel-bounces@lists.01.org> Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id y5si12255364pgs.588.2018.12.11.10.36.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 10:36:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MGjUYBMR; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 151ED2119AC12; Tue, 11 Dec 2018 10:35:40 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 2D2242119AC0C for <edk2-devel@lists.01.org>; Tue, 11 Dec 2018 10:35:38 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id p4so15160691wrt.7 for <edk2-devel@lists.01.org>; Tue, 11 Dec 2018 10:35:38 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=0juioVc74NmguxM/+AlicgtK/08nEAsVvfbtNMeZ7c0=; b=MGjUYBMRzKAPd5oAnSvsoFqBo/vhamI5BuI5v+KoujTUOzeT03o4gpTiebPs6KqKwv 3/V5hQSYHhH0fDfWAflfNkZrMsRAvAr3ZriG4IVIiScuzywcFUQCb37GELX9yNP5NJJT PJoi2UFvMeUf511h/wsTl2zTQntrnWpWFAYzc= 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:mime-version:content-transfer-encoding; bh=0juioVc74NmguxM/+AlicgtK/08nEAsVvfbtNMeZ7c0=; b=qd1WpcDToxyaGucz1ngDGDPZKvDJsXwlqE2OvpUMfl0/xy2b+Y85Ykmsu4Fz5JzQ7f YI2VtzILsyvxYzMXrHKJdWxZ+35k496YZSdYH5PXK3D7xMi33q2hLIo0qC+XxlM7khYI m5LO0cyzZPreOZOY3UpOZekcPfgTqvbgM9w/gac6AOuKBLFcXEiffTyJ0GE0t1J7iIYB 3wK/7bymkIif5ZQkjRIt+yVhUYh7gxaBxt9f+F2UbX625Nsuuw/ckSFwUMcb5zlhytN8 kZAQglpKCa9jnH9xb2Q6Ypd1RPPMuO6/hUgeDuGXj6ylbIvE8LCODzDP3kN8J0qwPXGb lR4Q== X-Gm-Message-State: AA+aEWbKvyXFXImdc4FU0BiNzaUFfe3icx/LgcU8JqLtgocX4BGMSfLT HDN6GRcbMv37ZGTTnAPtSJTA0t5RFw3z6A== X-Received: by 2002:adf:ffca:: with SMTP id x10mr15380408wrs.289.1544553336479; Tue, 11 Dec 2018 10:35:36 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:8c3:6b9d:cbc9:58c6]) by smtp.gmail.com with ESMTPSA id h131sm1026688wmd.17.2018.12.11.10.35.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 10:35:35 -0800 (PST) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: edk2-devel@lists.01.org Date: Tue, 11 Dec 2018 19:35:14 +0100 Message-Id: <20181211183514.20948-12-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181211183514.20948-1-ard.biesheuvel@linaro.org> References: <20181211183514.20948-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-platforms 11/11] Silicon/AMD/Styx/AcpiPlatformDxe: disable KCS on pre-B1 silicon X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development <edk2-devel.lists.01.org> List-Unsubscribe: <https://lists.01.org/mailman/options/edk2-devel>, <mailto:edk2-devel-request@lists.01.org?subject=unsubscribe> List-Archive: <http://lists.01.org/pipermail/edk2-devel/> List-Post: <mailto:edk2-devel@lists.01.org> List-Help: <mailto:edk2-devel-request@lists.01.org?subject=help> List-Subscribe: <https://lists.01.org/mailman/listinfo/edk2-devel>, <mailto:edk2-devel-request@lists.01.org?subject=subscribe> Cc: alan@softiron.co.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" <edk2-devel-bounces@lists.01.org> |
Series |
final set of Styx cleanups
|
expand
|
diff --git a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c index 9b1428fc00eb..259a708b7c2c 100644 --- a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c +++ b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c @@ -172,7 +172,8 @@ InstallSystemDescriptionTables ( break; case SIGNATURE_64 ('S', 't', 'y', 'x', 'K', 'c', 's', ' '): - if (!FixedPcdGetBool (PcdEnableKcs)) { + if (!FixedPcdGetBool (PcdEnableKcs) || + (CpuId & STYX_SOC_VERSION_MASK) < STYX_SOC_VERSION_B1) { continue; }
Align the ACPI platform driver with the DT patching code, which only enables the IPMI/KCS device node on B1 silicon (or later). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.19.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel