From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.2383.1595970030364280766 for ; Tue, 28 Jul 2020 14:00:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: samer.el-haj-mahmoud@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2C9BA31B; Tue, 28 Jul 2020 14:00:29 -0700 (PDT) Received: from U203705.arm.com (unknown [10.119.36.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E3DD43F71F; Tue, 28 Jul 2020 14:00:28 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Leif Lindholm , Pete Batard , Andrei Warkentin , Ard Biesheuvel Subject: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix RPi4 GICC PMU PPI Date: Tue, 28 Jul 2020 17:00:28 -0400 Message-Id: <20200728210028.6024-1-Samer.El-Haj-Mahmoud@arm.com> X-Mailer: git-send-email 2.17.1 Arm SBSA specification section ver 6.0, 4.1.5 defines specific PPI values for certain standard interrupt IDs. The value for "Performance Monitors Interrupt" needs to be 23. REF: https://developer.arm.com/documentation/den0029/latest This partially fixes SBSA test #11 ("Incorrect PPI value") reported in https://github.com/pftf/RPi4/issues/74 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud --- Platform/RaspberryPi/RPi4/RPi4.dsc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc index c481c3534263..00683afe96b9 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -433,10 +433,10 @@ [PcdsFixedAtBuild.common] gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceHBase|0xFF844000 gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceVBase|0xFF846000 gRaspberryPiTokenSpaceGuid.PcdGicGsivId|0x19 - gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq0|0x30 - gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq1|0x31 - gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq2|0x32 - gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq3|0x33 + gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq0|23 + gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq1|23 + gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq2|23 + gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq3|23 # # Fixed CPU settings. -- 2.17.1