Browse Source

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.
Maximilian Luz 3 years ago
parent
commit
1f9fdf4427
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/debian/kernel/ubuntu.config

+ 1 - 0
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