From 8c22859e7cf8cddf3007ead8357f73a543c70f1c Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 3 Apr 2021 11:15:40 +0200 Subject: [PATCH] defconfig: Disable EDAC Qualcomm's LLCC controller does not have an error IRQ line on lito and instead polls to check memory banks for errors every 5 seconds, which is inefficient and will add to system jitter. The generic Kryo CPU cache controller does have error IRQ lines so it doesn't need to use polling, but EDAC in general is fairly useless in its current state anyway because Google disabled the option to panic on uncorrectable error. Let's follow their decision and just disable EDAC entirely, as well as its placeholder RAS dependency. Signed-off-by: Danny Lin Signed-off-by: Alexander Winkowski --- .../configs/vendor/pixel_experience-a52q_defconfig | 14 -------------- .../configs/vendor/pixel_experience-a72q_defconfig | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/arch/arm64/configs/vendor/pixel_experience-a52q_defconfig b/arch/arm64/configs/vendor/pixel_experience-a52q_defconfig index e2ea56b9b253..e1691c0f830a 100755 --- a/arch/arm64/configs/vendor/pixel_experience-a52q_defconfig +++ b/arch/arm64/configs/vendor/pixel_experience-a52q_defconfig @@ -4447,19 +4447,6 @@ CONFIG_SWITCH=y # CONFIG_SWITCH_GPIO is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set -CONFIG_EDAC_SUPPORT=y -CONFIG_EDAC=y -CONFIG_EDAC_LEGACY_SYSFS=y -# CONFIG_EDAC_DEBUG is not set -# CONFIG_EDAC_THUNDERX is not set -CONFIG_EDAC_KRYO_ARM64=y -# CONFIG_EDAC_KRYO_ARM64_POLL is not set -# CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE is not set -CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE=y -# CONFIG_EDAC_GIC is not set -# CONFIG_EDAC_XGENE is not set -# CONFIG_EDAC_CORTEX_ARM64 is not set -# CONFIG_EDAC_QCOM_LLCC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y @@ -5595,7 +5582,6 @@ CONFIG_PHY_QCOM_UFS=y CONFIG_ARM_PMU=y CONFIG_ARM_DSU_PMU=y CONFIG_QCOM_LLCC_PMU=y -CONFIG_RAS=y # # Android diff --git a/arch/arm64/configs/vendor/pixel_experience-a72q_defconfig b/arch/arm64/configs/vendor/pixel_experience-a72q_defconfig index d037798deff2..b2c18fa9f245 100644 --- a/arch/arm64/configs/vendor/pixel_experience-a72q_defconfig +++ b/arch/arm64/configs/vendor/pixel_experience-a72q_defconfig @@ -4444,19 +4444,6 @@ CONFIG_SWITCH=y # CONFIG_SWITCH_GPIO is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set -CONFIG_EDAC_SUPPORT=y -CONFIG_EDAC=y -CONFIG_EDAC_LEGACY_SYSFS=y -# CONFIG_EDAC_DEBUG is not set -# CONFIG_EDAC_THUNDERX is not set -CONFIG_EDAC_KRYO_ARM64=y -# CONFIG_EDAC_KRYO_ARM64_POLL is not set -# CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE is not set -CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE=y -# CONFIG_EDAC_GIC is not set -# CONFIG_EDAC_XGENE is not set -# CONFIG_EDAC_CORTEX_ARM64 is not set -# CONFIG_EDAC_QCOM_LLCC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y @@ -5592,7 +5579,6 @@ CONFIG_PHY_QCOM_UFS=y CONFIG_ARM_PMU=y CONFIG_ARM_DSU_PMU=y CONFIG_QCOM_LLCC_PMU=y -CONFIG_RAS=y # # Android