diff mbox series

[SRU,F:linux-bluefield,v1,1/1] UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in

Message ID 20230808163407.169567-2-witu@nvidia.com
State New
Headers show
Series [SRU,F:linux-bluefield,v1,1/1] UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in | expand

Commit Message

William Tu Aug. 8, 2023, 4:34 p.m. UTC
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@nvidia.com>
---
 debian.bluefield/config/annotations          | 1 +
 debian.bluefield/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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