From 1f9fdf4427fe3ddeb2921b4452b66f6edd7eef83 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 9 Oct 2021 13:16:24 +0200 Subject: [PATCH] pkg/debian: Disable CONFIG_UBSAN in kernel config Recent Ubuntu mainline versions have enabled UBSAN. UBSAN has a runtime cost and should only be enabled for debugging and testing. Furthermore, UBSAN actively causes problems on the Surface Pro 4 and Surface Book 1, preventing them from waking from suspend in some instances. Disabling UBSAN should work around issue #585. --- pkg/debian/kernel/ubuntu.config | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/debian/kernel/ubuntu.config b/pkg/debian/kernel/ubuntu.config index a9330f0cf..8995f4701 100644 --- a/pkg/debian/kernel/ubuntu.config +++ b/pkg/debian/kernel/ubuntu.config @@ -12,6 +12,7 @@ # CONFIG_STM_DUMMY is not set # CONFIG_TEST_BPF is not set # CONFIG_DEBUG_MISC is not set +# CONFIG_UBSAN is not set ## ## Don't build atomisp