Control: tag -1 help On Monday, 26 September 2022 17:56:31 CEST Diederik de Haas wrote: > On Thursday, 22 September 2022 22:24:31 CEST Diederik de Haas wrote: > > It does NOT occur with version 5.17.3-1 and 5.18-1~exp1, but it does > > occur with 5.18.2-1, 5.18.16-1, 5.19.6-1 > > This is interesting... > > Then I build a new kernel based on 5.18.0 (the release by Linus) ... and > that also showed the error!! > Booting into 5.18.0-trunk-amd64 (=5.18-1~exp1) did NOT show the issue! > > The '.config' was obtained by "cp /boot/config-5.18.0-4-amd64 .config" > > IOW: the Debian provided 5.18.0 kernel did not show the issue, while the > self compiled 5.18.0 kernel did!
I rebuild the 5.18.0 kernel, but this time with config-5.18.0-trunk-amd64 as the source for `.config`. First thing I noticed (the -3 is the newest built): ``` $ ls -lh linux-image-5.18.0_5.18.0-* -rw-r--r-- 1 diederik diederik 69M sep 26 17:22 linux-image-5.18.0_5.18.0-2_amd64.deb -rw-r--r-- 1 diederik diederik 56M sep 26 19:21 linux-image-5.18.0_5.18.0-3_amd64.deb ``` But I did use ``scripts/config --disable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT --disable DEBUG_INFO_DWARF4 --disable DEBUG_INFO_DWARF5 --enable DEBUG_INFO_NONE --disable DEBUG_INFO`` this time. Booting into it and I did NOT get the error! So apparently between ``-trunk`` and ``-4`` something relevant changed in the config. I have attached the full diff, but I'm pretty sure I found the relevant change: $ grep SGX config-5.18-diff-trunk-ABI4.diff -# CONFIG_X86_SGX is not set +CONFIG_X86_SGX=y +# CONFIG_X86_SGX_KVM is not set The changelog from 5.18.1-1~exp1 has this item: ``[amd64] Enable X86_SGX``. I'd need help/guidance on how to proceed from here, hence the 'help' tag.
diff --git a/config-5.18.0-trunk-amd64 b/config-5.18.0-4-amd64 index 3647fb8..2011b74 100644 --- a/config-5.18.0-trunk-amd64 +++ b/config-5.18.0-4-amd64 @@ -1,15 +1,15 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.18.0 Kernel Configuration +# Linux/x86 5.18.16 Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc-11 (Debian 11.3.0-3) 11.3.0" +CONFIG_CC_VERSION_TEXT="gcc-11 (Debian 11.3.0-5) 11.3.0" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=110300 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y -CONFIG_AS_VERSION=23800 +CONFIG_AS_VERSION=23890 CONFIG_LD_IS_BFD=y -CONFIG_LD_VERSION=23800 +CONFIG_LD_VERSION=23890 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y @@ -186,6 +186,7 @@ CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y CONFIG_CC_HAS_INT128=y CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5" +CONFIG_GCC12_NO_ARRAY_BOUNDS=y CONFIG_ARCH_SUPPORTS_INT128=y CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y @@ -341,9 +342,6 @@ CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_X2APIC=y CONFIG_X86_MPPARSE=y # CONFIG_GOLDFISH is not set -CONFIG_RETPOLINE=y -CONFIG_CC_HAS_SLS=y -# CONFIG_SLS is not set CONFIG_X86_CPU_RESCTRL=y # CONFIG_X86_EXTENDED_PLATFORM is not set CONFIG_X86_INTEL_LPSS=y @@ -474,7 +472,7 @@ CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y CONFIG_X86_INTEL_TSX_MODE_OFF=y # CONFIG_X86_INTEL_TSX_MODE_ON is not set # CONFIG_X86_INTEL_TSX_MODE_AUTO is not set -# CONFIG_X86_SGX is not set +CONFIG_X86_SGX=y CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_MIXED=y @@ -514,6 +512,16 @@ CONFIG_HAVE_LIVEPATCH=y CONFIG_LIVEPATCH=y # end of Processor type and features +CONFIG_CC_HAS_SLS=y +CONFIG_CC_HAS_RETURN_THUNK=y +CONFIG_SPECULATION_MITIGATIONS=y +CONFIG_PAGE_TABLE_ISOLATION=y +CONFIG_RETPOLINE=y +CONFIG_RETHUNK=y +CONFIG_CPU_UNRET_ENTRY=y +CONFIG_CPU_IBPB_ENTRY=y +CONFIG_CPU_IBRS_ENTRY=y +# CONFIG_SLS is not set CONFIG_ARCH_HAS_ADD_PAGES=y CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y @@ -713,6 +721,7 @@ CONFIG_VIRTUALIZATION=y CONFIG_KVM=m CONFIG_KVM_WERROR=y CONFIG_KVM_INTEL=m +# CONFIG_X86_SGX_KVM is not set CONFIG_KVM_AMD=m CONFIG_KVM_AMD_SEV=y # CONFIG_KVM_XEN is not set @@ -847,6 +856,7 @@ CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y CONFIG_ARCH_HAS_ELFCORE_COMPAT=y CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y CONFIG_DYNAMIC_SIGFRAME=y +CONFIG_HAVE_ARCH_NODE_DEV_GROUP=y # # GCOV-based kernel profiling @@ -1884,7 +1894,7 @@ CONFIG_CAN_SOFTING_CS=m # # CAN SPI interfaces # -# CONFIG_CAN_HI311X is not set +CONFIG_CAN_HI311X=m CONFIG_CAN_MCP251X=m # CONFIG_CAN_MCP251XFD is not set # end of CAN SPI interfaces @@ -2248,6 +2258,7 @@ CONFIG_FW_CFG_SYSFS=m # CONFIG_FW_CFG_SYSFS_CMDLINE is not set CONFIG_SYSFB=y # CONFIG_SYSFB_SIMPLEFB is not set +CONFIG_CS_DSP=m CONFIG_GOOGLE_FIRMWARE=y # CONFIG_GOOGLE_SMI is not set CONFIG_GOOGLE_COREBOOT_TABLE=m @@ -2282,6 +2293,7 @@ CONFIG_UEFI_CPER_X86=y CONFIG_EFI_DEV_PATH_PARSER=y CONFIG_EFI_EARLYCON=y CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y +# CONFIG_EFI_DISABLE_RUNTIME is not set # # Tegra firmware driver @@ -2860,7 +2872,7 @@ CONFIG_PATA_RZ1000=m # # CONFIG_PATA_ACPI is not set CONFIG_ATA_GENERIC=m -# CONFIG_PATA_LEGACY is not set +CONFIG_PATA_LEGACY=m CONFIG_MD=y CONFIG_BLK_DEV_MD=m CONFIG_MD_LINEAR=m @@ -3694,7 +3706,7 @@ CONFIG_MT7915E=m CONFIG_MT7921_COMMON=m CONFIG_MT7921E=m # CONFIG_MT7921S is not set -# CONFIG_MT7921U is not set +CONFIG_MT7921U=m CONFIG_WLAN_VENDOR_MICROCHIP=y # CONFIG_WILC1000_SDIO is not set # CONFIG_WILC1000_SPI is not set @@ -3822,7 +3834,7 @@ CONFIG_WWAN=m CONFIG_WWAN_DEBUGFS=y # CONFIG_WWAN_HWSIM is not set CONFIG_MHI_WWAN_CTRL=m -# CONFIG_MHI_WWAN_MBIM is not set +CONFIG_MHI_WWAN_MBIM=m # CONFIG_IOSM is not set # end of Wireless WAN @@ -4295,7 +4307,7 @@ CONFIG_TELCLOCK=m # CONFIG_XILLYBUS is not set # CONFIG_XILLYUSB is not set CONFIG_RANDOM_TRUST_CPU=y -# CONFIG_RANDOM_TRUST_BOOTLOADER is not set +CONFIG_RANDOM_TRUST_BOOTLOADER=y # end of Character devices # @@ -4997,6 +5009,7 @@ CONFIG_SBC_EPX_C3_WATCHDOG=m CONFIG_INTEL_MEI_WDT=m CONFIG_NI903X_WDT=m CONFIG_NIC7018_WDT=m +CONFIG_SIEMENS_SIMATIC_IPC_WDT=m # CONFIG_MEN_A21_WDT is not set CONFIG_XEN_WDT=m @@ -5530,7 +5543,7 @@ CONFIG_DVB_BUDGET=m CONFIG_DVB_BUDGET_CI=m CONFIG_DVB_BUDGET_AV=m # CONFIG_VIDEO_IPU3_CIO2 is not set -CONFIG_RADIO_ADAPTERS=y +CONFIG_RADIO_ADAPTERS=m CONFIG_RADIO_MAXIRADIO=m # CONFIG_RADIO_SAA7706H is not set CONFIG_RADIO_SHARK=m @@ -6552,8 +6565,9 @@ CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=1 CONFIG_SND_HDA_PATCH_LOADER=y -# CONFIG_SND_HDA_SCODEC_CS35L41_I2C is not set -# CONFIG_SND_HDA_SCODEC_CS35L41_SPI is not set +CONFIG_SND_HDA_SCODEC_CS35L41=m +CONFIG_SND_HDA_SCODEC_CS35L41_I2C=m +CONFIG_SND_HDA_SCODEC_CS35L41_SPI=m CONFIG_SND_HDA_CODEC_REALTEK=m CONFIG_SND_HDA_CODEC_ANALOG=m CONFIG_SND_HDA_CODEC_SIGMATEL=m @@ -6624,8 +6638,10 @@ CONFIG_SND_SOC_AMD_ACP3x=m # CONFIG_SND_SOC_AMD_RV_RT5682_MACH is not set CONFIG_SND_SOC_AMD_RENOIR=m CONFIG_SND_SOC_AMD_RENOIR_MACH=m -# CONFIG_SND_SOC_AMD_ACP5x is not set -# CONFIG_SND_SOC_AMD_ACP6x is not set +CONFIG_SND_SOC_AMD_ACP5x=m +CONFIG_SND_SOC_AMD_VANGOGH_MACH=m +CONFIG_SND_SOC_AMD_ACP6x=m +CONFIG_SND_SOC_AMD_YC_MACH=m CONFIG_SND_AMD_ACP_CONFIG=m # CONFIG_SND_SOC_AMD_ACP_COMMON is not set # CONFIG_SND_ATMEL_SOC is not set @@ -6772,6 +6788,7 @@ CONFIG_SND_SOC_I2C_AND_SPI=m # # CODEC drivers # +CONFIG_SND_SOC_WM_ADSP=m # CONFIG_SND_SOC_AC97_CODEC is not set # CONFIG_SND_SOC_ADAU1372_I2C is not set # CONFIG_SND_SOC_ADAU1372_SPI is not set @@ -6800,7 +6817,9 @@ CONFIG_SND_SOC_ADAU7002=m # CONFIG_SND_SOC_CS35L34 is not set # CONFIG_SND_SOC_CS35L35 is not set # CONFIG_SND_SOC_CS35L36 is not set -# CONFIG_SND_SOC_CS35L41_SPI is not set +CONFIG_SND_SOC_CS35L41_LIB=m +CONFIG_SND_SOC_CS35L41=m +CONFIG_SND_SOC_CS35L41_SPI=m # CONFIG_SND_SOC_CS35L41_I2C is not set # CONFIG_SND_SOC_CS42L42 is not set # CONFIG_SND_SOC_CS42L51_I2C is not set @@ -6964,7 +6983,7 @@ CONFIG_SND_SOC_TS3A227E=m # CONFIG_SND_SOC_NAU8315 is not set # CONFIG_SND_SOC_NAU8540 is not set # CONFIG_SND_SOC_NAU8810 is not set -# CONFIG_SND_SOC_NAU8821 is not set +CONFIG_SND_SOC_NAU8821=m # CONFIG_SND_SOC_NAU8822 is not set CONFIG_SND_SOC_NAU8824=m CONFIG_SND_SOC_NAU8825=m @@ -7635,6 +7654,7 @@ CONFIG_LEDS_TRIGGER_AUDIO=m # # Simple LED drivers # +CONFIG_LEDS_SIEMENS_SIMATIC_IPC=m CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y @@ -8267,13 +8287,13 @@ CONFIG_SONYPI_COMPAT=y CONFIG_TOPSTAR_LAPTOP=m CONFIG_SERIAL_MULTI_INSTANTIATE=m # CONFIG_MLX_PLATFORM is not set -# CONFIG_X86_ANDROID_TABLETS is not set +CONFIG_X86_ANDROID_TABLETS=m CONFIG_FW_ATTR_CLASS=m CONFIG_INTEL_IPS=m CONFIG_INTEL_SCU_IPC=y # CONFIG_INTEL_SCU_PCI is not set # CONFIG_INTEL_SCU_PLATFORM is not set -# CONFIG_SIEMENS_SIMATIC_IPC is not set +CONFIG_SIEMENS_SIMATIC_IPC=m CONFIG_PMC_ATOM=y CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m @@ -9563,7 +9583,6 @@ CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y -CONFIG_PAGE_TABLE_ISOLATION=y # CONFIG_SECURITY_INFINIBAND is not set CONFIG_SECURITY_NETWORK_XFRM=y CONFIG_SECURITY_PATH=y @@ -9614,7 +9633,6 @@ CONFIG_INTEGRITY_AUDIT=y CONFIG_IMA=y CONFIG_IMA_MEASURE_PCR_IDX=10 CONFIG_IMA_LSM_RULES=y -# CONFIG_IMA_TEMPLATE is not set # CONFIG_IMA_NG_TEMPLATE is not set CONFIG_IMA_SIG_TEMPLATE=y CONFIG_IMA_DEFAULT_TEMPLATE="ima-sig" @@ -9644,7 +9662,7 @@ CONFIG_EVM_ATTR_FSUUID=y # CONFIG_DEFAULT_SECURITY_TOMOYO is not set CONFIG_DEFAULT_SECURITY_APPARMOR=y # CONFIG_DEFAULT_SECURITY_DAC is not set -CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,apparmor,selinux,smack,tomoyo" +CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,apparmor,selinux,smack,tomoyo,bpf" # # Kernel hardening options @@ -9947,6 +9965,7 @@ CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m CONFIG_CRYPTO_LIB_SHA256=y # end of Crypto library routines +CONFIG_LIB_MEMNEQ=y CONFIG_CRC_CCITT=y CONFIG_CRC16=m CONFIG_CRC_T10DIF=m
signature.asc
Description: This is a digitally signed message part.