From patchwork Fri Sep 29 03:19:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 114484 Delivered-To: patch@linaro.org Received: by 10.140.104.133 with SMTP id a5csp312443qgf; Thu, 28 Sep 2017 20:27:15 -0700 (PDT) X-Received: by 10.84.216.75 with SMTP id f11mr5730422plj.236.1506655635696; Thu, 28 Sep 2017 20:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506655635; cv=none; d=google.com; s=arc-20160816; b=a1o9YEYY7W0/+8TzTJwjPkjryRuvsfuT3KtRMbBVCAmzp0GimSC4aQJxuYKdsFHrVz LtLscg5rlUQxivjoijkbmtEuA68PweXQ+3pmhSMSJzKkUkkvFdkuDwAkBpYYB15sOWqB FLUOpJbJV9PAbawzozdEYbNpdZv2o/0M2kyo9iIw1JQl4tXWxP6xsLxnCfRismpFTFNo 84M4btdJC4iHMaU8a/6j0v3VnqewVAc2lCvt0uH84VZXh72DHvUOWxuSa5SEc7WwCYBX uUz3wWlIUr4Bb2G6g0/hWT+jm9cKd5WlvnY/j+ekTCbo4lQWsVuEoK/+JQHgZscbDLfM CMPQ== 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:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=GWyPqOO9t64IOhLL5UBuyoQGwHEjfxmLM4BICy6SG/c=; b=DOywDq0mJrI+fQLc62KbNizlNg9O2sO/RcTBXXIQ6WiUlnSQdeEIPQQeNRoF9jZ1un e1YMtgBvZxk9d7cSBV15oW5zCbQfoH1G6FOx5DxXX7C6QUa/5Le9STlhJyT2BxVf+WUW MMaX3uLtpnlbMMtQ+vAJSF9hQtGsc6A+qUaz2C2blNYzwRFtIWYRTvXX3ycYsGMgU7kc 4rsAgPNWBr3geDsgy7hbaAWNVDMnup2OVB8mrHmChId0yCSQtKJ6tRzGrzkY4vGAMC3q PEUmK58nRFIyYpykD1vEKeW4jBdP6X10t2cF/gKsU54Q+HCeep0+tY0WxmzoKxrvGLvB xQTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=N0vLRWTa; 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: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id p14si2498730pgq.58.2017.09.28.20.27.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Sep 2017 20:27:15 -0700 (PDT) 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=N0vLRWTa; 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 1B49221F2AF6F; Thu, 28 Sep 2017 20:23:59 -0700 (PDT) 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=2607:f8b0:400e:c05::230; helo=mail-pg0-x230.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com [IPv6:2607:f8b0:400e:c05::230]) (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 90FB120945B68 for ; Thu, 28 Sep 2017 20:23:57 -0700 (PDT) Received: by mail-pg0-x230.google.com with SMTP id v3so78611pgv.3 for ; Thu, 28 Sep 2017 20:27:13 -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:in-reply-to:references; bh=exre81a1AbEQtMN4xKwQBYjPZ5EuS2E53io48RpM9dU=; b=N0vLRWTa59S2x4qcOTMm9njiDoeX8+QvT7ZXIh7Q5ONPQwtAmBDAw6UXuNPn3d9QjI 5TSfY/vvnRADmIpW9CUQs5ZhR0mCa3NCvPMLgiPAbYU856hQ4vvxN5C22or/7XQusa4J MNqtAuGg30MCzAy2Jkm3EoqzrKMMfbvLnlxBk= 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=exre81a1AbEQtMN4xKwQBYjPZ5EuS2E53io48RpM9dU=; b=JI7l25lE6cfANqoqBVKvWXOFeu3iX4la9sQMSLIGty7+qxGMTx1lVzVntmPLdD8DtN 8dsWfG7uv0KINxe7duRQji8BHB1BLHLWEkgPjhvYG5CnwQtQ4q2j4mHPux7daSXlxJ30 jmpnLXaILZfpjXLtAGNedSVN9KVsKOayYmMM1vOlAHxJ/kr5o1H49/uGOJBx4qbPmYOs POZ3Uxvb0w2eMekN5TBLxbBzBx6FhsGQXoBbbrxfdXl1HiPlBd+Fjra9qB3s5Rk5Yliv wf/69fOiAtyZvF7AJJpHZaNt3e9SZ+8MRuBqAw06eh8XZqOIz8u+klB8/fUJEBkLzIkG 5r4g== X-Gm-Message-State: AHPjjUhB9JuHmbbR8nI4egxFJeNbVStZGy+0fQ2szitUgXlnbdp/kG1c RDAZmpyeEEKPVM4qHQIlnrT7+fexznM= X-Google-Smtp-Source: AOwi7QBjLDy/M5jsmisp+js8AkgNO82gwGtHH7WujfVN6Z6gvZou/c4YeChZ938r7izv+v1WUNy3ZQ== X-Received: by 10.84.179.65 with SMTP id a59mr5758165plc.162.1506655632709; Thu, 28 Sep 2017 20:27:12 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id g16sm5094376pfd.6.2017.09.28.20.27.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Sep 2017 20:27:12 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 29 Sep 2017 11:19:48 +0800 Message-Id: <1506655190-56231-10-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506655190-56231-1-git-send-email-heyi.guo@linaro.org> References: <1506655190-56231-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v5 09/11] D05/ACPI: Disable D05 SAS0 and SAS2 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: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , wanghuiqiang@huawei.com, guoheyi@huawei.com, waip23@126.com, mengfanrong@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ming Huang There is no interface from SAS0 or SAS2 controller on D05, so SAS0 and SAS2 can't be used. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl index 93beb95..6455130 100644 --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl @@ -88,6 +88,11 @@ Scope(_SB) Store(0x7ffff, CLK) Sleep(1) } + + Method (_STA, 0, NotSerialized) + { + Return (0x0) + } } Device(SAS1) { @@ -239,6 +244,11 @@ Scope(_SB) Store(0x7ffff, CLK) Sleep(1) } + + Method (_STA, 0, NotSerialized) + { + Return (0x0) + } } }