From nobody Sun Nov 24 18:25:19 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+84296+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+84296+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1638519163; cv=none; d=zohomail.com; s=zohoarc; b=kvVHbXHL1wkhR35Tk7/+H3kETRoS3pInxPDu//dzg2GrgDvTt7ZhrsT3/4+lcrg25cN2v246urpGl2n8IdbDKbsdOJsdtXtdkqQvbW30mqGvPqhj7zbIR/d/xWdTa1pADLWZE/Os8Ip0f8E/LlU9mlvdZeFu7ymFTbl690twhB8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638519163; 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=fQm6MzpOGDw/q9DtmdRIFHpQmTR0TMIBKvwqaZYjajM=; b=FZ3iSmMrpoe/bu8D8XIGuw8cM5TvaNqr+Q2MMLB/uj/Ym2qAMSsNXcpeh5Uh95/y4WQ7ft2pr9YohNm5jKjO/UA+Qe2s9xFTPz4BXPhD9rETt65sYYa6Qs16A5gbXpomuSfV8nGZqdPStKHV4ZZxSQiqxWqlFPlujJaEBlN+VFk= 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+84296+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 1638519163165340.0524433920375; Fri, 3 Dec 2021 00:12:43 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id jQJUYY1788612xCMTZR0byC8; Fri, 03 Dec 2021 00:12:42 -0800 X-Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.web12.9306.1638519162252287790 for ; Fri, 03 Dec 2021 00:12:42 -0800 X-Received: by mail-pg1-f177.google.com with SMTP id r138so2276243pgr.13 for ; Fri, 03 Dec 2021 00:12:42 -0800 (PST) X-Gm-Message-State: GRsIX7eT7gC1HZKoxO5gE3Lwx1787277AA= X-Google-Smtp-Source: ABdhPJyYhNJMTjOQ02V5i7TMXYKuTKYaFrrnvcCkaqRmdoJVFkRS2Y1kqt6+VwuoJFtqe/kwbUwGbA== X-Received: by 2002:a63:654:: with SMTP id 81mr3403484pgg.218.1638519161735; Fri, 03 Dec 2021 00:12:41 -0800 (PST) X-Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id f185sm2202481pfg.39.2021.12.03.00.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 00:12:41 -0800 (PST) From: "Masami Hiramatsu" To: Ard Biesheuvel , Leif Lindholm Cc: devel@edk2.groups.io, Kazuhiko Sakamoto , Masahisa Kojima Subject: [edk2-devel] [PATCH v2 3/5] [edk2-platforms] Silicon/Socionext/SynQuacer: Fix to read watchdog parameters with correct width Date: Fri, 3 Dec 2021 17:12:39 +0900 Message-Id: <163851915888.1636051.2034037309423270728.stgit@localhost> In-Reply-To: <163851913341.1636051.3357297397950801289.stgit@localhost> References: <163851913341.1636051.3357297397950801289.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=1638519162; bh=dQHHdswqSFNW8DsH0VY/jWQjxWSe+A1XfnRduHSY+FQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=WA1H4NQ/upsI9xIErC/85s1YNgyc3jkhaSjScR4WoefxNpyLGjJewBtKP9ntc4jZe1F Jx2ZQJu2pvTVmcGcho1norG8fOQZz7F1Vt/3xFUUX4OUBTZYpd8idtc4BwS1S4msH7BZF 3PJXgXBMoOjrE4L4PXt4RBtjZmzBG431IcQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1638519164645100002 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 (#84296): https://edk2.groups.io/g/devel/message/84296 Mute This Topic: https://groups.io/mt/87472867/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-