From 5f7d53ef6c1a6c40d0ff2d717dca59533ad633d5 Mon Sep 17 00:00:00 2001 From: Vihang Mehta Date: Wed, 26 Feb 2025 09:59:15 -0800 Subject: [PATCH] Disable AuxTable test on aarch64 Signed-off-by: Vihang Mehta --- Source/GmmLib/ULT/GmmAuxTableULT.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/GmmLib/ULT/GmmAuxTableULT.cpp b/Source/GmmLib/ULT/GmmAuxTableULT.cpp index c6a9b53..46a66f5 100644 --- a/Source/GmmLib/ULT/GmmAuxTableULT.cpp +++ b/Source/GmmLib/ULT/GmmAuxTableULT.cpp @@ -213,7 +213,14 @@ TEST_F(CTestAuxTable, DISABLED_TestUpdateAuxTableStress) pGmmULTClientContext->DestroyPageTblMgrObject(mgr); } +#if defined(__aarch64__) +// aarch64 systems have VAs where the 48th bit is set but don't have the same +// canonize semantics as x86_64 where bits 63-49 need to be the same as bit 48. +// This causes this test to fault, instead we disable it in aarch64. +TEST_F(CTestAuxTable, DISABLED_TestAuxTableContent) +#else TEST_F(CTestAuxTable, TestAuxTableContent) +#endif { GmmPageTableMgr *mgr = pGmmULTClientContext->CreatePageTblMgrObject(&DeviceCBInt, TT_TYPE::AUXTT);