From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by mx.groups.io with SMTP id smtpd.web11.5297.1635383277965012315 for ; Wed, 27 Oct 2021 18:07:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=TK5cSUHJ; spf=pass (domain: linaro.org, ip: 209.85.160.177, mailfrom: shashi.mallela@linaro.org) Received: by mail-qt1-f177.google.com with SMTP id s1so2934079qta.13 for ; Wed, 27 Oct 2021 18:07:57 -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:mime-version :content-transfer-encoding; bh=9GWu2jyjHC1SWFmvNc9F2WLzXFS75MR+JdzdCYhWu4w=; b=TK5cSUHJYHwt3eKmOAYuNPlTfS0qGFk59wYe6d22u3cgK5RqGY6lbNH0eCNyY1m3Op vNzNp3CZC2G4+v2A6VGUaW5MH6xWYLjhJh8c48KdVqq28fCR6QfRYD+IEokrunlLTRYq BhR+tK/0fj9RMOyRkxedJylRryCtqSFRP6FxYdXawxRczcgNUh+RlYuJd4ygJL4+OlJI eFi1gCN+kDcCzJv9sWrl89Nzo+t80gRhn7QEodaFInaiUyV4X1ieAaCsHf/XQGpoFfP9 jNhxpKApWQyCz/wfpSXTpVLZdiQjCocUsXenxh5zppl80rIx8E2vp3iiQuLZJGcL6jCK zhTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9GWu2jyjHC1SWFmvNc9F2WLzXFS75MR+JdzdCYhWu4w=; b=5WQJZA9/BsY6piV1XNJx606ygMRwwyrZPFNJrAJkvY3NHu2dfrlhu7hqr0uy/SUuvb xAkquLrdAmHg3vKDJQ6GuD4kEF4qzAJJYrle5n8wc4MQt/EuAoi8YijQkyAyZjcuD37a yrL23tBukYnNKCd2IKQW2JD78C2/i/M1gclsOczChr3vpkW/MlC1knO0QOw1auN/wLFw qha/L145iZRP8MvHIuFK0KPiCmiuigQTdhiUSvNgVyFDvioCXf2Fi9nVfmsBZTe0m/Id 2+DFFeRS/J1hKXKn3Oc+UmWoqiWyopslkld6/fSdlLW6N1QvKk8U8N8XQcvjO0iNNbPU +Nug== X-Gm-Message-State: AOAM531oEGzx3JnnoLRBjOIYIsUGjin+HfJoeVwRDD0jr7nYkoYn++s8 AyQK/DgVcugWar52GM+HpQY8rQ== X-Google-Smtp-Source: ABdhPJwiyLzobrQUlFkRog8nmALBWUAvNjUSfatEUT731jjrSUA5KTDqZM25qurooBmDCpuSPtAHVQ== X-Received: by 2002:a05:622a:46:: with SMTP id y6mr1389352qtw.244.1635383277138; Wed, 27 Oct 2021 18:07:57 -0700 (PDT) Return-Path: Received: from localhost.localdomain (bras-base-stsvon1503w-grc-18-184-148-27-136.dsl.bell.ca. [184.148.27.136]) by smtp.googlemail.com with ESMTPSA id 17sm1096164qtw.16.2021.10.27.18.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 18:07:56 -0700 (PDT) From: "Shashi Mallela" To: leif@nuviainc.com, ardb+tianocore@kernel.org, graeme@nuviainc.com Cc: devel@edk2.groups.io, Ard Biesheuvel Subject: [PATCH] Silicon/Qemu/Sbsa: Enable Always-On capability for PE timers Date: Wed, 27 Oct 2021 21:07:56 -0400 Message-Id: <20211028010756.27425-1-shashi.mallela@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Setting the Always-on Capability bit in GTDT table for system PE timers in sbsa platform.This is also required for ACS sbsa level 3 test compliancy. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Graeme Gregory Signed-off-by: Shashi Mallela --- Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc b/Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc index 14733a37183d..27db6da61704 100644 --- a/Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc +++ b/Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc @@ -28,8 +28,11 @@ #define GTDT_TIMER_LEVEL_TRIGGERED 0 #define GTDT_TIMER_ACTIVE_LOW EFI_ACPI_6_3_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY #define GTDT_TIMER_ACTIVE_HIGH 0 +#define GTDT_TIMER_ALWAYS_ON EFI_ACPI_6_3_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY -#define GTDT_GTIMER_FLAGS (GTDT_TIMER_ACTIVE_LOW | GTDT_TIMER_LEVEL_TRIGGERED) +#define GTDT_GTIMER_FLAGS (GTDT_TIMER_ACTIVE_LOW | + GTDT_TIMER_LEVEL_TRIGGERED | + GTDT_TIMER_ALWAYS_ON) #define SBSA_PLATFORM_WATCHDOG_COUNT 1 #define SBSA_PLATFORM_TIMER_COUNT (SBSA_PLATFORM_WATCHDOG_COUNT) -- 2.27.0