From patchwork Fri Nov 16 06:56:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 151295 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp69610ljp; Thu, 15 Nov 2018 22:57:52 -0800 (PST) X-Google-Smtp-Source: AJdET5fjcbk7lZMYFCzsozDsL3aJwSflfQmo/9YNX4ODpbibt96A307KX2XFYKaOPSAyuxUQHyS3 X-Received: by 2002:a63:f65:: with SMTP id 37mr8788413pgp.238.1542351472626; Thu, 15 Nov 2018 22:57:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542351472; cv=none; d=google.com; s=arc-20160816; b=afpD1TryauWleBjGSTmKwkjrwQ8ngS/zH86z7DxqillDKLqgkLy5HHnwaA+PQ1eqwo epaPwUkWnVw/ZjwNU96jo0KZCzeCnXpQykeKs4MuNrJ8/sjyYYX9vxtTkqGm06rraGVS 2XV5SBAyGphQrINKJ0/QIMzOnLFji8tRsax7K06Rvn/TNYRbYWBX8N6gareMuxP1aCJX 6k+7PjMfuleLA8AyjUzSj2fEjcM2stpWtXop4KXiraXEkoIGuLHHTVaSPF3aHKkJvoue 71qz4nEAa+Ex7cgJsZTiaABQFqxezaW4HZIsggS2hcbMnvYHGjY/sAlyaOAImFJ+5bWK uAzQ== 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=/8LD45yhkCl39KAuJVx7UNxyoVFGUctbfSopFe0AW/4=; b=cPnPRfqiNeSnU70cAV7z1vyD7Dm9qHB0tC6xCcyjjQw2VD/5QbP/z4gGsUML/rA6Fc j3siKk5syBjhN3nUTjuFr/XTpfGVGW2bKMRYmGc058B0eRZVRBJg0bnRKlyI3DKaXZgT /bsX9kPW3BY0oIvRTLkCJZpKz0Ut+vO77FU86I7Bs/efXYPAwoWajkZ9rMj9h30Y3HXG X6FpczsyYAOrOGthRIO+8IK9so4rrAzcAXoIPcpISINT6Tb8mx017tbZ/7leCEEg4jJi 4PLTpNEZUNOZpWp1VN4W34gBdULXVlDxP+SCxHogxAMPs+VWlv9G78u9w6FWGCa0ffqP w1TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gXagsFtK; 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 g7si1884512plt.212.2018.11.15.22.57.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 22:57:52 -0800 (PST) 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=gXagsFtK; 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 74F5A21191F2B; Thu, 15 Nov 2018 22:57:51 -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=2607:f8b0:4864:20::544; helo=mail-pg1-x544.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (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 D17622194D387 for ; Thu, 15 Nov 2018 22:57:49 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id n10-v6so10172955pgv.10 for ; Thu, 15 Nov 2018 22:57:49 -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; bh=LjAAAGlB8XUj2WmaGhFoaIqxJi1gvdPriDNo1BmGVMw=; b=gXagsFtKwUjTDHexBawYbMmf5c5zkhZkCpPdgkWcTaeilxopm66+LkHrqkVYKxO0sI 30cBCoyNtFhaFw4aXTNYabjxVmDZS47gw2jq+HOcm2SbjAaVfvhcZ1WafhkTH7PBRL8C b0sxC6FitEXa6B/e8kVdbW/prsjxPmykxtMXM= 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=LjAAAGlB8XUj2WmaGhFoaIqxJi1gvdPriDNo1BmGVMw=; b=RXcqwSCmaQMJkoEM6Nj6JDqOq/VaoIkWx0cZntkhDZJSpxzR6P23ZOTeFH1iEDSWrG 6ChT6x02Hf6rEGuKsmRuc1uiPCTzeqRLA9Csn4DdTB3Zbpul/bxXKwdJ3M7RvsuiCOLO DorEM2zXigj5TLeaudPnQTovDCUcr3dodVn9B/AWKoVbstSJRv4++zjYcPh+sH+Uv0h+ ZFGXq18tuuZqTMZE50HNoVm+BHAInXqs7H74JGdqvyawSObIoEAUY+PdtjH/J/jhwvvu Rg1HjWzFZ3tq59pkN4Os9Fm49r2aO3oBQ46pFPfDe0F3b/95ngWQrqtCy0n8w2uk2dui YCtQ== X-Gm-Message-State: AGRZ1gIxNGNQhbqI115vc0Rd9JpiQRv0QMG/5saxySvA7tSSLrfedYW4 6hG/xD8TdW1I63FbNMqhVuljWA== X-Received: by 2002:a63:27c1:: with SMTP id n184-v6mr8867625pgn.334.1542351469594; Thu, 15 Nov 2018 22:57:49 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id h134sm2835905pfe.27.2018.11.15.22.57.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Nov 2018 22:57:49 -0800 (PST) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 16 Nov 2018 14:56:56 +0800 Message-Id: <20181116065702.30559-10-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20181116065702.30559-1-ming.huang@linaro.org> References: <20181116065702.30559-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v2 09/15] 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 Reviewed-by: Leif Lindholm --- Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.9.5 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc b/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/Gtdt.aslc index d07070a912e3..5cab639cc5f6 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