From patchwork Thu Sep 21 10:59:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 113231 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1878741qgf; Thu, 21 Sep 2017 04:08:04 -0700 (PDT) X-Received: by 10.84.210.12 with SMTP id z12mr5216007plh.433.1505992084028; Thu, 21 Sep 2017 04:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505992084; cv=none; d=google.com; s=arc-20160816; b=inmowLyCUzo1W1eiLTfwDwtDQQpJeVmkmQRFGE70hVnPmRY8Q0Zv8TMkBXaF/k9VEy rmM1DZ7Kgf+Pwc2oiqSvLOEP2e4pdJmOQCHmKAPTTfz6Ojfyb6HNPs6nYLYPrluJWT7c ss3e+MNwmXCEYawEesXpqj1kB4a4A/OJeXxQmFFBWymOyySO4rcDtHG2DSwz9INTvAht oIm9iZEexz5dkS3UVxAKwONsKl312I3kcEoj+2Ks5z8ieGVvRSPenM2FvimmsfIX0xGu WbMQ0D05DEKIiFyPTKp3tWy0WNNTiNJEs+oBn0hVSmjNSnLuLAW+2XOq1mOgcx6CF46H TI7Q== 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=1qj23hG5ngc0NzD0Ud0BJHUIzTGhMbLcAQ67fQfpvgA=; b=ghBCJYq9KmuwXbZ1OKUjkN1qS9xTWAT+Fx40zLzfs5iz4yTCwDLVroZMLSKc/ZSyDd FOzCIm84dKMia2pqKNO9UxRK7OE2o98anIuF7k86jBoMsjQ6khXhHaIKoqBih4pDJxs0 Zq1O77z49vA/HWd0OpS/h27RPflW8kmxyIqaT7JKf2KHtY5I1wm60RVtlXxYlK17+6lo 6nhIGPRLZvqYc2kWdUxT9R4MtJfUuyDW/Z0k+YeQT3ATS6XloMZICBBwuvoz/Q6ihg17 EPVz8LbAw+/qewt8rkBlrJq+sxSMC+RsmPITj04oJLumVzzHmaXu/iSGYApUy/W72zrf oEGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XWaktFpA; 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 Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id f130si855819pfc.397.2017.09.21.04.08.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 04:08:04 -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 header.s=google header.b=XWaktFpA; 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 70C6E21D046D6; Thu, 21 Sep 2017 04:04:29 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (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 8CD3621E1B76D for ; Thu, 21 Sep 2017 04:04:27 -0700 (PDT) Received: by mail-pg0-x22d.google.com with SMTP id c137so3328294pga.11 for ; Thu, 21 Sep 2017 04:07:34 -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=/P2dF6PiBOgnIKmswxbaT01mE0W1c+kzX5YrFnwLVY8=; b=XWaktFpAMT0oYKn3dbh8bPhDpSTQR85aQt3WCSWEBk3Q4nKblwJdI76QaeoWv/DE1J Q4gnNJzY+Znj7W9uk1uj2r5phnuiIQ+pfRTrRtx/ODTrTDrndHsUCDcjvYqnVJOssDi1 VL9rGnzrHmwpzW/hHG57C+srl3dYBO4xH+rXA= 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=/P2dF6PiBOgnIKmswxbaT01mE0W1c+kzX5YrFnwLVY8=; b=uKgkBGD30c0eSW4C69lGDNqhw+7HqjLeb2uzBCs3g4EPxhjINA5TybIRZrI/XYwOHf xmp2fdvOLSBaEyL+mJLiVJCJ4TYY5xTuVM3vJ07yZp1N1US9YOfh884EDAxL8SSKltwz EV2idqcd7aU3VQRAl/BVzTrGCRiOO4CzMPsiXhiyEq5VgWedwrkvUu331DOIcW8aXkcq ZqIQZ8p/+D+1ab+FV97v8l4VUCXpB1D9dRZPg7MwyO5L7KYboZ6/r+SDUHhaMhaeO14O 7mjfE+XSqHFdyr6IYUbgJI3tgGWRsZw5BwRvWfwfu8WZxo/8UXkcYW+LjzBpptySoTcQ EYYA== X-Gm-Message-State: AHPjjUjjZjPc8DbIaxfxZ4VnfbTC4vnb0mv33h7nMFnh8yMU5vsfFuqr iB6yeQaeLm3f4zVMAxQ6A0lMDQ== X-Google-Smtp-Source: AOwi7QBjuzbSdasko4aaZBzT6HSfSJVjAPDuGxXjMEWPN/xtFwcp49oxCpcgnXpc+d3RYFjicp3gSg== X-Received: by 10.84.234.196 with SMTP id i4mr5143179plt.432.1505992054203; Thu, 21 Sep 2017 04:07:34 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:33 -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: Thu, 21 Sep 2017 18:59:55 +0800 Message-Id: <1505991597-52989-17-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 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, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ming Huang There are no interface from SAS0 and SAS2 controller on D05, so SAS0 and SAS2 can't be use. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- 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) + } } }