From patchwork Mon Oct 29 03:32:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 149625 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3598314ljp; Sun, 28 Oct 2018 20:33:40 -0700 (PDT) X-Google-Smtp-Source: AJdET5fdIweeewupsauWjG0pQsfmZJrEXL24WMjk973PCd3FFVIbSKdIn3BW0h5Uc1ykf/X7WB6T X-Received: by 2002:a0c:ec92:: with SMTP id u18mr3214476qvo.168.1540784020338; Sun, 28 Oct 2018 20:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540784020; cv=none; d=google.com; s=arc-20160816; b=r2I97UIhKv1uHhne/yd7wOvO970UDh14aSBcLRBkgC132m8XAC7kh/0ZkFoMmxcili /upX0sB+rltIP6MlKdJKptWzXRQhdsygPbHt7rv+MmeoHWE3lG4xzsn2UwmsxC11Wy1k s1ZNB/5jh4wTZmOrTsumnRUAiCfmbfD9JYlMcMBSFqGOpGQcik2LHenw0MVcuy7y1xJn hVnOTfRGHgdARmqf48DKoS/e60lnH9LDneueq66rbv07k2+jwGnZMt7thN8q9KpBWLYu rvjOd/YsEiB5MDv830bx66jJLuh2H+54SEo8jRwx0UNH6wfhfXoknO2EijCrbtw+gLlT jMQA== 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; bh=fL5bOrqiu8ckkNexRt9PY59D/MJqoOYaeznLNqaAku8=; b=xOaNxu8XF5ahxs9jJgufhNEYsLsyt1+RoD/Fvuf+JYsIzJTmm/Pe1na9yPaj4zqp6D cvRhdJ0z1J9eh/U3WzMVr4+3G39mOl7rYSKw5wBLtxF3hQ5vPVq4mOudubJdNFG98oSB QD+zDI59WOgrdFQp5OPE+vQtH3dPcF6WJCU4rHPjmkjPor7opR1yyIs47eDzXuXHtVcX lxwDGoO/zux2CmccG7JAl8R92rKN7CaJ8DAbjGJfjngAA03Xx3DteVIAeKy5GLOZiR6a muqfj4UgNok5/DYlVsz1Sl791lXFRdBz6zN/jzVoQfxEMZxg/MHedFnzYkpd6g6G4NXW jKnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VhIV668T; 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 62-v6si12180094qta.371.2018.10.28.20.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 20:33:40 -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=VhIV668T; 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 7240421184AD8; Sun, 28 Oct 2018 20:33:33 -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:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0: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 BECBE2117FD5E for ; Sun, 28 Oct 2018 20:33:31 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id r64-v6so3281051pfb.13 for ; Sun, 28 Oct 2018 20:33:31 -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=NjYv1YVhM32i0o2yxuxrHqq4Iyw2bKlTbUaKLoRH7NQ=; b=VhIV668T4DsYMWBCvnJJbi+6mAkgxFQtHbWp0Sq7ZawNOM88ZXtlCsUuUxCPJU4Cud vfXU26ta8D0q2z95d8GLEkfnul1oyRfbs/QH1duXoEn7Xd97g7uQlR42DHrSiUDlFAD1 TmVPgpCLCw932XrQY9yCyqUeU+M9FePKF7kME= 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=NjYv1YVhM32i0o2yxuxrHqq4Iyw2bKlTbUaKLoRH7NQ=; b=DIUkrUx6sPJEqB9K/jBl/ErADJ68Mz1UzoAHjLZNOR5XjS/1g/2l8GP5PKtZngEgI8 QtfK6Q4tvs/NLhba/uNCJXqnCXLwAVvj/TZHozbDI/NanA909/VZ2OMsD+5lccDMfRcg ysk4kKR8WU80okIQVSCWD50wPcf6RFRUpr52ZKHD9KqFVNtzLjWKXYCvRdIYpox9zE+c tVAqOCbsE/UrmfBvGDNdAGkx5FZylFVxucu2uy8ukCPy0MkIcQUFM6GHz3A39qrq46nU P+I6WicgL3IoHDOMlJcVMQDHcKRDbXiGHs9IkWXlfjZHBRBDsBSNdrWNxMpS0SCjMkda F7MQ== X-Gm-Message-State: AGRZ1gJ+6ZxP7GvIoqOzRkOomLNEtBSHBSrWoYmVKcZQigdLSotCxoJk eHMf53cW4MEqWOcNIE2mYmL0Kw== X-Received: by 2002:a62:1d92:: with SMTP id d140-v6mr13218284pfd.157.1540784011389; Sun, 28 Oct 2018 20:33:31 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id j5-v6sm22318872pgm.79.2018.10.28.20.33.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Oct 2018 20:33:30 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Mon, 29 Oct 2018 11:32:47 +0800 Message-Id: <20181029033249.45363-11-ming.huang@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181029033249.45363-1-ming.huang@linaro.org> References: <20181029033249.45363-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v1 10/12] Silicon/Hisilicon/D06: Modify GTDT timer flag X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, zhangfeng56@huawei.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add always on capibility to GTDT timer flag to fix SBSA 36 fail issue: 36 : SYS Timer if PE Timer not ON PE Timers are not always-on. Failed on PE - 0 for Level= 3 : Result: --FAIL-- 1 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.18.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc b/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc index d07070a912..5cab639cc5 100644 --- a/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc +++ b/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc @@ -28,8 +28,10 @@ #define GTDT_TIMER_ACTIVE_LOW EFI_ACPI_6_2_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY #define GTDT_TIMER_ACTIVE_HIGH 0 #define SYSTEM_TIMER_BASE_ADDRESS 0xFFFFFFFFFFFFFFFF +#define GTDT_TIMER_ALWAYS_ON_CAPABILITY EFI_ACPI_6_2_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY + +#define GTDT_GTIMER_FLAGS (GTDT_TIMER_ALWAYS_ON_CAPABILITY | GTDT_TIMER_ACTIVE_LOW | GTDT_TIMER_LEVEL_TRIGGERED) -#define GTDT_GTIMER_FLAGS (GTDT_TIMER_ACTIVE_LOW | GTDT_TIMER_LEVEL_TRIGGERED) #define GENERIC_WATCHDOG_CONTROL_BASE_CPU1_TOTEM_A 0x9C200000 #define GENERIC_WATCHDOG_REFRESH_BASE_CPU1_TOTEM_A 0X9C210000