From nobody Sun May 19 11:31:10 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+104721+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+104721+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1683823639; cv=none; d=zohomail.com; s=zohoarc; b=bQfJrfDY8gZaPNU764gYE21GwWdXkOs/F5x4rF2DDB6zdnKW4ePhxFbEMsShrgFKoCcVd07Bx8H4KClc97GDrJ8n253xVICzNO9klAV+Uu+AuBV5TRHlNLhMnAg1T9exVm/b4n+qa3EL1pZUGBIjrgW/n/hdfAvP6RmL/cOwTwM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683823639; h=Content-Type:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=COKRq8K5m810FYhxA8qnO8ZeyC2lxdHo5jqHrdwyxz8=; b=nicbjr7CiuH72UC5A1zUjXuG6RHEc5noZ5FI+SeKK6cwT0dU7/Mh8RhjeQHx4Yo5JqkPzxQbVzKQZKaP9Blit5pbFqxfMN2L4Gk65AapDjzU1VTTdZ7E8FFjZJbM9IW1qLrnVIr7Q5Wtlhg08g159tnt99/zfDm6l6RlYUDjXms= 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+104721+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 16838236390151019.5035877669427; Thu, 11 May 2023 09:47:19 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YPccYY1788612xw8oUyBVwed; Thu, 11 May 2023 09:47:18 -0700 Subject: [edk2-devel] PATCH [1/1] ArmPkg: Fix GicV2 BaseAddress types To: devel@edk2.groups.io From: neiljay@gmail.com X-Originating-Location: Leeds, England, GB (90.246.44.116) X-Originating-Platform: Linux Firefox 112 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 11 May 2023 05:52:33 -0700 Message-ID: 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,neiljay@gmail.com X-Gm-Message-State: Lh46JjHM0I8pzzZe0cMQiRdjx1787277AA= Content-Type: multipart/alternative; boundary="PmGevE4YGNxS8y3gEyyg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1683823638; bh=gma+YDMc6cEnay/NSBoYUiaX7xbNz0tCNSnP1K04hEM=; h=Content-Type:Date:From:Reply-To:Subject:To; b=Jm4XbCSDwgn9WtMSvqTeWiyzS81g2E1T+MlMiLb7Y5zNMwBxefyZazbp8w9Q9tAU7nu 67H13ArOJc8vfqt2ZIpDq85G2PliyQN6cwl6H8RDu5VH9XIKH3asxmU5VQKzwaEx1vfCS Te89c4G96+FZmRV4Otcj08ly0wuozfgdTCQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1683823639344100041 --PmGevE4YGNxS8y3gEyyg Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 The GIC v2 base addresses can be 64bit, don't limit to 32 on 64bit machines. Signed-off-by: Neil Jones Reviewed-by: Pedro Falcato Reviewed-by: Sami Mujawar --- ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c b/ArmPkg/Drivers/Arm= Gic/GicV2/ArmGicV2Dxe.c index 25290342bd..b990bf3a8a 100644 --- a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c +++ b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c @@ -25,8 +25,8 @@ Abstract: extern EFI_HARDWARE_INTERRUPT_PROTOCOL=C2=A0=C2=A0 gHardwareInterruptV2Prot= ocol; extern EFI_HARDWARE_INTERRUPT2_PROTOCOL=C2=A0 gHardwareInterrupt2V2Protocol; -STATIC UINT32=C2=A0 mGicInterruptInterfaceBase; -STATIC UINT32=C2=A0 mGicDistributorBase; +STATIC UINTN mGicInterruptInterfaceBase; +STATIC UINTN mGicDistributorBase; /** Enable interrupt source Source. -- 2.39.2 -=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 (#104721): https://edk2.groups.io/g/devel/message/104721 Mute This Topic: https://groups.io/mt/98831775/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- --PmGevE4YGNxS8y3gEyyg Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable The GIC v2 base addresses can be 64bit, don't limit to 32 on 64bit
mac= hines.

Signed-off-by: Neil Jones <neil.jones@blaize.com>---
 ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c | 4 ++--
=  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git= a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c b/ArmPkg/Drivers/ArmGic/GicV2/= ArmGicV2Dxe.c
index 25290342bd..b990bf3a8a 100644
--- a/ArmPkg/Dr= ivers/ArmGic/GicV2/ArmGicV2Dxe.c
+++ b/ArmPkg/Drivers/ArmGic/GicV2/Arm= GicV2Dxe.c
@@ -25,8 +25,8 @@ Abstract:
 extern EFI_HARDWARE_= INTERRUPT_PROTOCOL   gHardwareInterruptV2Protocol;
 ext= ern EFI_HARDWARE_INTERRUPT2_PROTOCOL  gHardwareInterrupt2V2Protocol; 
-STATIC UINT32  mGicInterruptInterfaceBase;
-STAT= IC UINT32  mGicDistributorBase;
+STATIC UINTN mGicInterruptInterf= aceBase;
+STATIC UINTN mGicDistributorBase;
 
 /**=
   Enable interrupt source Source.
--
2.39.2
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#104721) | =20 | Mute = This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [importer@patchew.org]

_._,_._,_
--PmGevE4YGNxS8y3gEyyg--