[SRU][F:linux-bluefield][PATCH v1 1/1] UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in
William Tu
witu at nvidia.com
Tue Aug 8 16:34:07 UTC 2023
BugLink: https://bugs.launchpad.net/bugs/1978079
There is an issue that pstore doesn't get loaded so it doesn't clean up stale
logs when system boots, causing EFI-back storage overflow. This problem affects
Ubuntu 20.04 and 22.04. A quick fix would be to configure CONFIG_EFI_VARS_PSTORE=y
so that it's always available.
Signed-off-by: William Tu <witu at nvidia.com>
---
debian.bluefield/config/annotations | 1 +
debian.bluefield/config/config.common.ubuntu | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian.bluefield/config/annotations b/debian.bluefield/config/annotations
index e28d9e3f8cb3..cb673ab65187 100644
--- a/debian.bluefield/config/annotations
+++ b/debian.bluefield/config/annotations
@@ -55,4 +55,5 @@ CONFIG_IPV6 policy<{'arm64': 'm'}> # from 'y'
CONFIG_PAGE_POISONING policy<{'arm64': 'n'}> # from 'y'
CONFIG_FW_LOADER_USER_HELPER_FALLBACK policy<{'arm64': 'y'}> # from 'n'
CONFIG_TMPFS_POSIX_ACL policy<{'arm64': 'n'}> # from 'y'
+CONFIG_EFI_VARS_PSTORE policy<{'arm64': 'y'}> # from 'm'
diff --git a/debian.bluefield/config/config.common.ubuntu b/debian.bluefield/config/config.common.ubuntu
index bc11717f6f22..0c2ac7d4564d 100644
--- a/debian.bluefield/config/config.common.ubuntu
+++ b/debian.bluefield/config/config.common.ubuntu
@@ -1153,7 +1153,7 @@ CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_STUB=y
CONFIG_EFI_TEST=m
CONFIG_EFI_VARS=y
-CONFIG_EFI_VARS_PSTORE=m
+CONFIG_EFI_VARS_PSTORE=y
# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
# CONFIG_EFS_FS is not set
CONFIG_ELFCORE=y
--
2.34.1
More information about the kernel-team
mailing list