From nobody Tue Feb 10 20:07:29 2026 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+71405+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+71405+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1612745595; cv=none; d=zohomail.com; s=zohoarc; b=Y6/iqZG/2yfd7td5dEO0MuZCRV1goKBQ2OQznu5LReeITWWyTHSjWE3egu518Fz9ewjYZh/LOD64/ToQoU85c9ZC6DAtrdxRoBPlHo0WRBY2jOZdE1r9VF9LbDkYYKWCQW7tTg3OqXrf8X1iYl3qxbMOamir+u2dtIB3J92KxKI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612745595; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Eae41lVy2vzWY+4+s3uhyjkOdOEYC4Wxziiw3EuMlqE=; b=IzVhh9fr4Q8dnETwaGDhk/VO75Msfwv7GU865EclOt1QKNTTEkvSl0iiYMmGwgsccndQrMfHOBVMAEz2yf7RMV+L17eV+BaW0J+mH5175ujKzyGYnjAK5yxNsQZRlr8WLtQQq+YPltBVjuF61vEMGHIS1dIvZ6OOUQ1LvZzAiWo= 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+71405+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1612745595643515.5579329802201; Sun, 7 Feb 2021 16:53:15 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZVwxYY1788612xGG8cheHjFa; Sun, 07 Feb 2021 16:53:15 -0800 X-Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web09.29015.1612745589331868608 for ; Sun, 07 Feb 2021 16:53:09 -0800 X-Received: by mail-pj1-f42.google.com with SMTP id lw17so8541391pjb.0 for ; Sun, 07 Feb 2021 16:53:09 -0800 (PST) X-Gm-Message-State: xKIfoh2zl6LWlw4oFjiPQCnVx1787277AA= X-Google-Smtp-Source: ABdhPJwGvvdJ771G8cSjta9cDjMpStRODoNqA6j5JAcfQG3NIlwJPYepWtOKkdEcOJhSCyID44Nf2A== X-Received: by 2002:a17:90a:7525:: with SMTP id q34mr15134594pjk.88.1612745588624; Sun, 07 Feb 2021 16:53:08 -0800 (PST) X-Received: from cube.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id c6sm11095883pjd.21.2021.02.07.16.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 16:53:07 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , leif@nuviainc.com, Ard Biesheuvel , nd@arm.com, Sami Mujawar , Liming Gao , Michael D Kinney , Zhiguang Liu , Samer El-Haj-Mahmoud , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sami Mujawar Subject: [edk2-devel] [PATCH v8 03/21] ArmPkg: Add register encoding definition for MMFR2 Date: Sun, 7 Feb 2021 17:52:36 -0700 Message-Id: <20210208005254.12176-4-rebecca@nuviainc.com> In-Reply-To: <20210208005254.12176-1-rebecca@nuviainc.com> References: <20210208005254.12176-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1612745595; bh=Qach+VAK11etQmpPVTpadlkLX4oKWhNYTvVIpZn/tkg=; h=Cc:Date:From:Reply-To:Subject:To; b=BlRtkdTq3EKIcPGEHY1I6m50LRanl5Xy8Y9VWV5eHj5T8x+JRR64sgzzf3R59rmo4rY OtovJNit+uCORHLID6zu2Oyb1ZjTUjSv4lQPJQE/GSycAVKzIt4RAduhc1zysTY8XfiTu JRyiqWlmMc5hWGsI0zK2w2AhhyUGpfZaxCo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Add register encoding definition for Memory Model Feature Register 2. We need to define it here because we build for ARMv8.0, which doesn't have it. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Include/Chipset/AArch64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArmPkg/Include/Chipset/AArch64.h b/ArmPkg/Include/Chipset/AArc= h64.h index 0ade5cce91c3..7c2b592f92ee 100644 --- a/ArmPkg/Include/Chipset/AArch64.h +++ b/ArmPkg/Include/Chipset/AArch64.h @@ -112,6 +112,10 @@ #define ARM_VECTOR_LOW_A32_FIQ 0x700 #define ARM_VECTOR_LOW_A32_SERR 0x780 =20 +// The ID_AA64MMFR2_EL1 register was added in ARMv8.2. Since we +// build for ARMv8.0, we need to define the register here. +#define ID_AA64MMFR2_EL1 S3_0_C0_C7_2 + #define VECTOR_BASE(tbl) \ .section .text.##tbl##,"ax"; \ .align 11; \ --=20 2.26.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 (#71405): https://edk2.groups.io/g/devel/message/71405 Mute This Topic: https://groups.io/mt/80467465/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-