From 57614f9cd4e6f53a2e55db7985f603c8fd0ede62 Mon Sep 17 00:00:00 2001 From: "Milczarek, Slawomir" Date: Mon, 27 Feb 2023 14:45:26 +0000 Subject: [PATCH] Disable recoverable page faults on PVC platform Related-To: NEO-6355 Signed-off-by: Milczarek, Slawomir --- shared/source/xe_hpc_core/linux/hw_info_config_pvc.cpp | 2 +- .../xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/source/xe_hpc_core/linux/hw_info_config_pvc.cpp b/shared/source/xe_hpc_core/linux/hw_info_config_pvc.cpp index 4b2870d5a5..fbc2f7bd4b 100644 --- a/shared/source/xe_hpc_core/linux/hw_info_config_pvc.cpp +++ b/shared/source/xe_hpc_core/linux/hw_info_config_pvc.cpp @@ -77,7 +77,7 @@ uint64_t ProductHelperHw::getDeviceMemoryMaxBandWidthInBytesPerSecon template <> bool ProductHelperHw::isPageFaultSupported() const { - return true; + return false; } } // namespace NEO diff --git a/shared/test/unit_test/xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp b/shared/test/unit_test/xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp index 8f4147573d..0031eae9a2 100644 --- a/shared/test/unit_test/xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp +++ b/shared/test/unit_test/xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp @@ -77,7 +77,7 @@ PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIfPatIndexProgrammin HWTEST_EXCLUDE_PRODUCT(ProductHelperTest, givenProductHelperWhenAskedIfPageFaultIsSupportedThenReturnFalse, IGFX_PVC); PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIsPageFaultSupportedThenReturnTrue) { - EXPECT_TRUE(productHelper->isPageFaultSupported()); + EXPECT_FALSE(productHelper->isPageFaultSupported()); } PVCTEST_F(PvcProductHelperLinux, givenAotConfigWhenSetHwInfoRevisionIdForPvcThenCorrectValueIsSet) {