From nobody Sun Nov 24 20:36:13 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+83377+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+83377+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1636104220; cv=none; d=zohomail.com; s=zohoarc; b=JzDMeO2g/SQAt3rZSxXgqDNr+bY4QFezGE+tzOm38qd+BqIdU1bk94Z9nBTzMaxQwryA0jH5jMplxiwKT+eelfkGBAEE3WBBC1QHkn6xb9TZWjFi8AoeU43O8Zds8UenFrG+62DFw6oZgOUvpfjPGNqOrZ8OhotJxgKfqUpXf8s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636104220; 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=AEBdYujhdsAX1aVfD0OpUZAch4DL5x95/JFecjXMY10=; b=EJmJ+GoFme/3YnRhxgnl4m/bTyP5nNClLhBrObyXhaZ8mn/v+TcJUO4lHNu+KRAL2g3OpznNJZCOokCdADucBbrKhZjETqMZ0iBYxsioatDADJMOKoWL1eDCCHPoAqw8MsDGfid8IZ5jq1h961QK2IzGTldMLJFdPAzd8XhjpzU= 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+83377+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 1636104220986512.498390300233; Fri, 5 Nov 2021 02:23:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8Q2qYY1788612xKXwdWsyzBp; Fri, 05 Nov 2021 02:23:40 -0700 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.3027.1636104220022311512 for ; Fri, 05 Nov 2021 02:23:40 -0700 X-Received: by mail-pg1-f177.google.com with SMTP id r28so7923960pga.0 for ; Fri, 05 Nov 2021 02:23:39 -0700 (PDT) X-Gm-Message-State: rX2Ltc8m9iXERfNzm3xz53R7x1787277AA= X-Google-Smtp-Source: ABdhPJw5Mhe2ovc8lhd+qwD/u5AQrOLkdV+JqU1IStBK8dmdtZ3NH7TdpNQj6bFBxwrm+TZ35ByyGg== X-Received: by 2002:a62:a50f:0:b0:49e:552a:388 with SMTP id v15-20020a62a50f000000b0049e552a0388mr5093280pfm.10.1636104219606; Fri, 05 Nov 2021 02:23:39 -0700 (PDT) X-Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id f20sm6940894pfc.220.2021.11.05.02.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 02:23:39 -0700 (PDT) From: "Masami Hiramatsu" To: Ard Biesheuvel , Leif Lindholm Cc: devel@edk2.groups.io, Kazuhiko Sakamoto , Masahisa Kojima Subject: [edk2-devel] [PATCH 2/5] [edk2-platforms] Silicon/Socionext/SynQuacer: Fix GenericWatchdog interrupt number Date: Fri, 5 Nov 2021 18:23:36 +0900 Message-Id: <163610421657.391624.390954447741641256.stgit@localhost> In-Reply-To: <163610419943.391624.9289897029386201296.stgit@localhost> References: <163610419943.391624.9289897029386201296.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=1636104220; bh=VrB94fYtbYGF2EQxOQkxGtuaG8No5/k2nUJ67WRpTTs=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=hkVWlKPPxz40n+PJs0P1d9Wt7UePPKlIJvbgckwFmGjKs4fpSeUdb5NQI1FIORdmHNk UIGRv0yCud03XwSLrVOQnpRK47TPl23kAy6c0eNAu4t0yj90e8O9/iDkXAtxidYzl9GDT siX93xBG0Gt49gL77I7fSWOIVbB3KzG1WjA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1636104222790100001 This fixes Socionext DeveloperBox GenericWatchdog interrupt number to 93 instead of 94. Since the 93 is the default interrupt number defined in ArmPkg/ArmPkg.dec, this doesn't redefine gArmTokenSpaceGuid.PcdGenericWatchdogEl2IntrNum. Signed-off-by: Masami Hiramatsu Reported-by: Kazuhiko Sakamoto --- .../Socionext/SynQuacer/AcpiTables/AcpiTables.inf | 1 + Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf b/Silico= n/Socionext/SynQuacer/AcpiTables/AcpiTables.inf index 96efb2d38e..886777a0fa 100644 --- a/Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf +++ b/Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf @@ -50,6 +50,7 @@ =20 gArmTokenSpaceGuid.PcdGenericWatchdogControlBase gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase + gArmTokenSpaceGuid.PcdGenericWatchdogEl2IntrNum =20 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc b/Silicon/Soc= ionext/SynQuacer/AcpiTables/Gtdt.aslc index c811fc5a0c..b045a49efa 100644 --- a/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc +++ b/Silicon/Socionext/SynQuacer/AcpiTables/Gtdt.aslc @@ -74,9 +74,9 @@ 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), - 94, + FixedPcdGet64 (PcdGenericWatchdogRefreshBase), + FixedPcdGet64 (PcdGenericWatchdogControlBase), + FixedPcdGet32 (PcdGenericWatchdogEl2IntrNum), 0), }; =20 -=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 (#83377): https://edk2.groups.io/g/devel/message/83377 Mute This Topic: https://groups.io/mt/86836378/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-