From patchwork Tue Sep 19 13:56:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 113014 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4978362qgf; Tue, 19 Sep 2017 07:20:32 -0700 (PDT) X-Received: by 10.37.128.73 with SMTP id a9mr788934ybn.22.1505830832462; Tue, 19 Sep 2017 07:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505830832; cv=none; d=google.com; s=arc-20160816; b=q/3AKmX5voy7vPvyqUBQG0GnTP+zu2/onHLfytDTYsLxlYYb5dHl88bYOKobGiA0S6 zr6Yszx37uxwi3S7FBfMSIPt0N9HhU/wFDZNWr6S4kzi2iPBwYP6OXBYL8n8CZj0rORS Os/iiKXmcjwQxeJ8mweg3POhyxMFO0L5d2rarq+1ySGh3BME4ihkOLcNmZx9z4TJY/CO brPGhPqzaK8Gcdgb3XT6o9nU9nH5jCdo9cd1cJPqsCf8rg/8s6MqJyWWG3mh9Pm9iH6b edICyKno5rBfsipMwl5Bitxwv1UeIrNoLXavnTkMwWfTDy+Q1D5P9Tp217PFN0w5Ox5B ViJQ== 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=jPfSbIhOnJKppoyjlrqC+t9lAD/XM75893nx+ov07/c=; b=XaGSVSKL8lNSUg4dhAqfBXfw4Iwb0b3R1TAuz2bZ8J4c/aMbxmuEQXQIFDYt6zcAN2 yL30KnWe3VykraZo8h5A2+2ILjrlTOSWr83ahKRCzq1ZVMVmD7HLLbL4+akI22GTPoZh 789iBbX4+Lv0xIc/hE3VBe6nP6PHMV8Po/fYakEftNadDSTSrsxOhpL4pB66hiE23q3b t6eedMK3+m/7KrpNncxQQUgHLOKVA18I4Y4OtFqi3DZ7v0DUzg7JkGgM4VALKuZPgW5T hAHC9yzonTcB1kK5LFfg17GB9ZLY9vEesMlCbUQ2k6vSdMQyO8hqqIN3ItE77H80MLW1 t3iQ== 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 k71si9741540qke.171.2017.09.19.07.20.31; Tue, 19 Sep 2017 07:20:32 -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 4387162C62; Tue, 19 Sep 2017 14:20:31 +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=-4.7 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 F0EA46446F; Tue, 19 Sep 2017 14:11:20 +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 5D6C762C6C; Tue, 19 Sep 2017 14:06:18 +0000 (UTC) Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by lists.linaro.org (Postfix) with ESMTPS id 517BE62C59 for ; Tue, 19 Sep 2017 14:06:03 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id x78so30659pff.10 for ; Tue, 19 Sep 2017 07:06:03 -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=rISdZj+raxHDZd+DZ8Z0fW03N5TQLaij2eT/F+z34Hs=; b=hzUesI6PwSV6WYYsLppTTOxLkQ8okLSPavLB4xYVoJc1TSm2xadaIEU6QFyO8hZCFd M5eRmFM4qcMgLOGYMN0CbKPynfZWlxsvpd3XbbNIESJ6oOyHViZOuuISJiycfcaxLAix svTRQQhIvyX+GPmY0/AEMBnFx9PAaTIYTxuWhWO4OsGwQnCX0MIot1l09hKN8Z2Jp8Kr jeLdbhQKXzlwGiOXhENQc5xPC7ATmgw3WjNyFB/Ft3Smhm8A9UgtalPeqLUCiOIrFOsR BhILVHU+/EoEpSpuqjP0/mk03ivuWM5ATuC8eyq1UAVy2lGrB5nbn/iLF92tMz7w2RFW VSYg== X-Gm-Message-State: AHPjjUhh2EiwChQE2uafLTh32EwPsAI0XUzsoARNLLCFExMwCDhs6wfX 5UK+nxanXf/kXTwvQEtsmlI7zvWW X-Google-Smtp-Source: AOwi7QBTF3QACseq+Ge9XgNrFhtEFwqmc7Opw/ts/6uBXwpoq3xiCscljF2KH2ws7NS3DsgnKLaH9w== X-Received: by 10.99.114.76 with SMTP id c12mr1424907pgn.296.1505829962615; Tue, 19 Sep 2017 07:06:02 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id 13sm4390439pfm.138.2017.09.19.07.06.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 07:06:02 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, graeme.gregory@linaro.org Date: Tue, 19 Sep 2017 21:56:33 +0800 Message-Id: <1505829398-52214-28-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> References: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> Cc: Ming Huang , zhangjinsong2@huawei.com, huangming23@huawei.com, guoheyi@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v1 27/32] D05/ACPI: Add CPU _STA method 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" From: Ming Huang Add _STA method for all CPU core device. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hensonwang --- Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/CPU.asl | 256 ++++++++++++++++++++++ 1 file changed, 256 insertions(+) diff --git a/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/CPU.asl b/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/CPU.asl index 5ecbf50..61a48d6 100644 --- a/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/CPU.asl +++ b/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/CPU.asl @@ -24,257 +24,513 @@ Scope(_SB) Device(CPU0) { Name(_HID, "ACPI0007") Name(_UID, 0) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU1) { Name(_HID, "ACPI0007") Name(_UID, 1) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU2) { Name(_HID, "ACPI0007") Name(_UID, 2) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU3) { Name(_HID, "ACPI0007") Name(_UID, 3) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU4) { Name(_HID, "ACPI0007") Name(_UID, 4) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU5) { Name(_HID, "ACPI0007") Name(_UID, 5) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU6) { Name(_HID, "ACPI0007") Name(_UID, 6) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU7) { Name(_HID, "ACPI0007") Name(_UID, 7) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU8) { Name(_HID, "ACPI0007") Name(_UID, 8) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CPU9) { Name(_HID, "ACPI0007") Name(_UID, 9) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP10) { Name(_HID, "ACPI0007") Name(_UID, 10) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP11) { Name(_HID, "ACPI0007") Name(_UID, 11) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP12) { Name(_HID, "ACPI0007") Name(_UID, 12) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP13) { Name(_HID, "ACPI0007") Name(_UID, 13) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP14) { Name(_HID, "ACPI0007") Name(_UID, 14) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP15) { Name(_HID, "ACPI0007") Name(_UID, 15) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP16) { Name(_HID, "ACPI0007") Name(_UID, 16) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP17) { Name(_HID, "ACPI0007") Name(_UID, 17) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP18) { Name(_HID, "ACPI0007") Name(_UID, 18) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP19) { Name(_HID, "ACPI0007") Name(_UID, 19) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP20) { Name(_HID, "ACPI0007") Name(_UID, 20) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP21) { Name(_HID, "ACPI0007") Name(_UID, 21) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP22) { Name(_HID, "ACPI0007") Name(_UID, 22) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP23) { Name(_HID, "ACPI0007") Name(_UID, 23) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP24) { Name(_HID, "ACPI0007") Name(_UID, 24) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP25) { Name(_HID, "ACPI0007") Name(_UID, 25) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP26) { Name(_HID, "ACPI0007") Name(_UID, 26) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP27) { Name(_HID, "ACPI0007") Name(_UID, 27) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP28) { Name(_HID, "ACPI0007") Name(_UID, 28) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP29) { Name(_HID, "ACPI0007") Name(_UID, 29) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP30) { Name(_HID, "ACPI0007") Name(_UID, 30) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP31) { Name(_HID, "ACPI0007") Name(_UID, 31) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP32) { Name(_HID, "ACPI0007") Name(_UID, 32) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP33) { Name(_HID, "ACPI0007") Name(_UID, 33) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP34) { Name(_HID, "ACPI0007") Name(_UID, 34) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP35) { Name(_HID, "ACPI0007") Name(_UID, 35) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP36) { Name(_HID, "ACPI0007") Name(_UID, 36) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP37) { Name(_HID, "ACPI0007") Name(_UID, 37) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP38) { Name(_HID, "ACPI0007") Name(_UID, 38) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP39) { Name(_HID, "ACPI0007") Name(_UID, 39) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP40) { Name(_HID, "ACPI0007") Name(_UID, 40) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP41) { Name(_HID, "ACPI0007") Name(_UID, 41) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP42) { Name(_HID, "ACPI0007") Name(_UID, 42) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP43) { Name(_HID, "ACPI0007") Name(_UID, 43) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP44) { Name(_HID, "ACPI0007") Name(_UID, 44) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP45) { Name(_HID, "ACPI0007") Name(_UID, 45) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP46) { Name(_HID, "ACPI0007") Name(_UID, 46) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP47) { Name(_HID, "ACPI0007") Name(_UID, 47) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP48) { Name(_HID, "ACPI0007") Name(_UID, 48) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP49) { Name(_HID, "ACPI0007") Name(_UID, 49) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP50) { Name(_HID, "ACPI0007") Name(_UID, 50) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP51) { Name(_HID, "ACPI0007") Name(_UID, 51) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP52) { Name(_HID, "ACPI0007") Name(_UID, 52) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP53) { Name(_HID, "ACPI0007") Name(_UID, 53) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP54) { Name(_HID, "ACPI0007") Name(_UID, 54) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP55) { Name(_HID, "ACPI0007") Name(_UID, 55) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP56) { Name(_HID, "ACPI0007") Name(_UID, 56) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP57) { Name(_HID, "ACPI0007") Name(_UID, 57) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP58) { Name(_HID, "ACPI0007") Name(_UID, 58) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP59) { Name(_HID, "ACPI0007") Name(_UID, 59) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP60) { Name(_HID, "ACPI0007") Name(_UID, 60) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP61) { Name(_HID, "ACPI0007") Name(_UID, 61) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP62) { Name(_HID, "ACPI0007") Name(_UID, 62) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } Device(CP63) { Name(_HID, "ACPI0007") Name(_UID, 63) + Method(_STA, 0, NotSerialized) + { + Return(0x0F) + } } }