From nobody Sun Nov 24 19:45:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+84623+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84623+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1639119060; cv=none; d=zohomail.com; s=zohoarc; b=iV6Rf8YDnYDRUX6KBcn8vOFbicRQyr/7KLsTxpkotwSNgQ2dnpoSeW+rUvDGfFR0raEToE1huKJY4+hyypLwNALyTQQk5Sqbm+oeMvl9fzxm/e18EP+l/UIRpJ5ZJTtQMhnTOn4cVNV1VVLjo1Ke3v4UN8P64lhRAGWAxLd5A9Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639119060; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=m/2cUyZrGFatkfjj6xfU1c5dVXg0ml0hrlXmeD4SiVw=; b=dyvKa4Fv5ZQOCpz0yHOJECgLVpATUTrJHlsiGX1zR+MleHBiHXYbJ2BLU1kvZDHiBrKsEaEZVOz7qOVC7kRzDm8P/88rr+mlrFrvVjDvlb3LnKZN8S6weTB8SUslMl2TzXuzjzs7PKi9E3W1rvIUpP8i5uGFoSyoMC8SGYRMQaA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84623+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639119060464416.18163680265593; Thu, 9 Dec 2021 22:51:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id jIegYY1788612xVIrUswzUMo; Thu, 09 Dec 2021 22:51:00 -0800 X-Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mx.groups.io with SMTP id smtpd.web12.4023.1639119059067424524 for ; Thu, 09 Dec 2021 22:50:59 -0800 X-Received: by mail-pj1-f50.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so8730813pjc.4 for ; Thu, 09 Dec 2021 22:50:59 -0800 (PST) X-Gm-Message-State: 2SUFZnHLE3SR2kHvoeS8n5CPx1787277AA= X-Google-Smtp-Source: ABdhPJwJlmY8aXfWzTG8kbLVUpYQ90dfIbgr79JoVGdHbGVW7hGhNA5ZkFlvpdsaps23HR8nxVn8lA== X-Received: by 2002:a17:90b:1e4e:: with SMTP id pi14mr21512743pjb.161.1639119058575; Thu, 09 Dec 2021 22:50:58 -0800 (PST) X-Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id 38sm1487813pgl.73.2021.12.09.22.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:50:58 -0800 (PST) From: "Masami Hiramatsu" To: Ard Biesheuvel , Leif Lindholm Cc: devel@edk2.groups.io, Kazuhiko Sakamoto , Masahisa Kojima Subject: [edk2-devel] [PATCH v3 3/6] [edk2-platforms] Silicon/Socionext/SynQuacer: Fix to read watchdog parameters with correct width Date: Fri, 10 Dec 2021 15:50:55 +0900 Message-Id: <163911905553.561661.2074085895260559105.stgit@localhost> In-Reply-To: <163911902995.561661.9429300579159746333.stgit@localhost> References: <163911902995.561661.9429300579159746333.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,masami.hiramatsu@linaro.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639119060; bh=s2rQAfIQhLyy2wq9RDTSbxNuB34wJPLMQn3EPFuRyWM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=OCTjueaGUaKgQp6thS6sYc9RYGc3bmRShhkDcs9JcRsLMp1AJo4O0TFzTbN77by1CDg 9X1Wh6i9X/u7VV6GcV76EoakBAOKFgtknFx4iqCqInycELQgOyY9CR7SOEuVfz8dL/Dvh 9UNJjfYNUmSzhfuWYS2Wt9QFH3nafwZaiQ4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639119061794100002 Since the RefreshFramePhysicalAddress and WatchdogControlFramePhysicalAddress fields are defined as UINT64 in EFI_ACPI_6_0_GTDT_SBSA_GENERIC_WATCHDOG_STRUCTURE data structure, and both of gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase and gArmTokenSpaceGuid.PcdGenericWatchdogControlBase are defined as UINT64, FixedPcdGet64() should be used for reading and setting those parameters. Signed-off-by: Masami Hiramatsu --- Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc b/Silicon/Soc= ionext/SynQuacer/AcpiTables/Gtdt.aslc index e7ab88b0a8..b045a49efa 100644 --- a/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc +++ b/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc @@ -74,8 +74,8 @@ EFI_ACPI_6_0_GENERIC_TIMER_DESCRIPTION_TABLES Gtdt =3D { // UINT32 GTxCommonFlags }, EFI_ACPI_6_0_SBSA_GENERIC_WATCHDOG_STRUCTURE_INIT ( - FixedPcdGet32 (PcdGenericWatchdogRefreshBase), - FixedPcdGet32 (PcdGenericWatchdogControlBase), + FixedPcdGet64 (PcdGenericWatchdogRefreshBase), + FixedPcdGet64 (PcdGenericWatchdogControlBase), FixedPcdGet32 (PcdGenericWatchdogEl2IntrNum), 0), }; -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84623): https://edk2.groups.io/g/devel/message/84623 Mute This Topic: https://groups.io/mt/87631127/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-