From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5eMcwKALvbNFpkWFnkb1NOdGzc9fwvp+Hm9R6Paf9IqvM0uNWMSTDEiQ4HLq+y+oe5sbsDN+g== 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 Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang 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: [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: , X-List-Received-Date: Fri, 16 Nov 2018 06:57:50 -0000 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(-) 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 -- 2.9.5