525, RTX 3050/3080 Ti: clinfo works only sometimes

I am having an issue on 2 systems where once in a blue moon clinfo actually reports correctly about OpenCL data. Most of the time the following is shown:

# clinfo
Number of platforms                               0

One thing I did was boot into Windows then boot back into Linux. clinfo worked again, but only once.

strace shows the following errors regarding /dev/nvidia-uvm which does not happen for someone else’s machine with an older model card.

openat(AT_FDCWD</root>, "/dev/nvidia-uvm", O_RDWR|O_CLOEXEC) = -1 EIO (Input/output error)
openat(AT_FDCWD</root>, "/dev/nvidia-uvm", O_RDWR) = -1 EIO (Input/output error)

I need to use OpenCL (CUDA is not an option) for a specific application.

nvidia-bug-report.log.gz (1.0 MB)

I figured out a solution but I don’t know why this works. The nvidia driver requires something I had set to be a module to be a built-in. I am not sure which option made OpenCL fail to work. It is either a modular option or something I disabled.

Here is the difference between the prior kernel (OpenCL not working) and the current (OpenCL working):

diff --git a/kernel/config b/kernel/config
index 4cc44944..ffaf6fc9 100644
--- a/kernel/config
+++ b/kernel/config
@@ -424,7 +424,7 @@ CONFIG_MICROCODE=y
 CONFIG_MICROCODE_INTEL=y
 # CONFIG_MICROCODE_AMD is not set
 # CONFIG_MICROCODE_LATE_LOADING is not set
-CONFIG_X86_MSR=y
+# CONFIG_X86_MSR is not set
 CONFIG_X86_CPUID=y
 # CONFIG_X86_5LEVEL is not set
 CONFIG_X86_DIRECT_GBPAGES=y
@@ -1412,9 +1412,9 @@ CONFIG_BT_MSFTEXT=y
 #
 # Bluetooth device drivers
 #
-CONFIG_BT_INTEL=m
-CONFIG_BT_RTL=m
-CONFIG_BT_HCIBTUSB=m
+CONFIG_BT_INTEL=y
+CONFIG_BT_RTL=y
+CONFIG_BT_HCIBTUSB=y
 # CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set
 # CONFIG_BT_HCIBTUSB_BCM is not set
 # CONFIG_BT_HCIBTUSB_MTK is not set
@@ -1929,16 +1929,16 @@ CONFIG_DM_ZERO=y
 #
 # IEEE 1394 (FireWire) support
 #
-CONFIG_FIREWIRE=m
-CONFIG_FIREWIRE_OHCI=m
-CONFIG_FIREWIRE_SBP2=m
+CONFIG_FIREWIRE=y
+CONFIG_FIREWIRE_OHCI=y
+CONFIG_FIREWIRE_SBP2=y
 # CONFIG_FIREWIRE_NET is not set
 # CONFIG_FIREWIRE_NOSY is not set
 # end of IEEE 1394 (FireWire) support
 
 # CONFIG_MACINTOSH_DRIVERS is not set
 CONFIG_NETDEVICES=y
-CONFIG_MII=m
+CONFIG_MII=y
 CONFIG_NET_CORE=y
 # CONFIG_BONDING is not set
 # CONFIG_DUMMY is not set
@@ -2150,9 +2150,9 @@ CONFIG_USB_NET_DRIVERS=y
 # CONFIG_USB_RTL8150 is not set
 # CONFIG_USB_RTL8152 is not set
 # CONFIG_USB_LAN78XX is not set
-CONFIG_USB_USBNET=m
-CONFIG_USB_NET_AX8817X=m
-CONFIG_USB_NET_AX88179_178A=m
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_AX8817X=y
+CONFIG_USB_NET_AX88179_178A=y
 # CONFIG_USB_NET_CDCETHER is not set
 # CONFIG_USB_NET_CDC_EEM is not set
 # CONFIG_USB_NET_CDC_NCM is not set
@@ -2175,7 +2175,7 @@ CONFIG_USB_NET_AX88179_178A=m
 # CONFIG_USB_NET_QMI_WWAN is not set
 # CONFIG_USB_HSO is not set
 # CONFIG_USB_NET_INT51X1 is not set
-CONFIG_USB_IPHETH=m
+CONFIG_USB_IPHETH=y
 # CONFIG_USB_SIERRA_NET is not set
 # CONFIG_USB_NET_CH9200 is not set
 # CONFIG_USB_NET_AQC111 is not set
@@ -3090,21 +3090,21 @@ CONFIG_MFD_INTEL_LPSS_PCI=y
 # end of Multifunction device drivers
 
 # CONFIG_REGULATOR is not set
-CONFIG_RC_CORE=m
+CONFIG_RC_CORE=y
 # CONFIG_LIRC is not set
-CONFIG_RC_MAP=m
+CONFIG_RC_MAP=y
 CONFIG_RC_DECODERS=y
 # CONFIG_IR_IMON_DECODER is not set
-CONFIG_IR_JVC_DECODER=m
-CONFIG_IR_MCE_KBD_DECODER=m
-CONFIG_IR_NEC_DECODER=m
-CONFIG_IR_RC5_DECODER=m
-CONFIG_IR_RC6_DECODER=m
+CONFIG_IR_JVC_DECODER=y
+CONFIG_IR_MCE_KBD_DECODER=y
+CONFIG_IR_NEC_DECODER=y
+CONFIG_IR_RC5_DECODER=y
+CONFIG_IR_RC6_DECODER=y
 # CONFIG_IR_RCMM_DECODER is not set
-CONFIG_IR_SANYO_DECODER=m
-CONFIG_IR_SHARP_DECODER=m
-CONFIG_IR_SONY_DECODER=m
-CONFIG_IR_XMP_DECODER=m
+CONFIG_IR_SANYO_DECODER=y
+CONFIG_IR_SHARP_DECODER=y
+CONFIG_IR_SONY_DECODER=y
+CONFIG_IR_XMP_DECODER=y
 # CONFIG_RC_DEVICES is not set
 
 #
@@ -3113,7 +3113,7 @@ CONFIG_IR_XMP_DECODER=m
 # CONFIG_MEDIA_CEC_SUPPORT is not set
 # end of CEC support
 
-CONFIG_MEDIA_SUPPORT=m
+CONFIG_MEDIA_SUPPORT=y
 CONFIG_MEDIA_SUPPORT_FILTER=y
 CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
 
@@ -3129,9 +3129,9 @@ CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
 # CONFIG_MEDIA_TEST_SUPPORT is not set
 # end of Media device types
 
-CONFIG_VIDEO_DEV=m
+CONFIG_VIDEO_DEV=y
 CONFIG_MEDIA_CONTROLLER=y
-CONFIG_DVB_CORE=m
+CONFIG_DVB_CORE=y
 
 #
 # Video4Linux options
@@ -3139,10 +3139,10 @@ CONFIG_DVB_CORE=m
 CONFIG_VIDEO_V4L2_I2C=y
 # CONFIG_VIDEO_ADV_DEBUG is not set
 # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
-CONFIG_VIDEO_TUNER=m
+CONFIG_VIDEO_TUNER=y
 # CONFIG_V4L2_FLASH_LED_CLASS is not set
-CONFIG_V4L2_FWNODE=m
-CONFIG_V4L2_ASYNC=m
+CONFIG_V4L2_FWNODE=y
+CONFIG_V4L2_ASYNC=y
 # end of Video4Linux options
 
 #
@@ -3179,7 +3179,7 @@ CONFIG_MEDIA_USB_SUPPORT=y
 # Webcam devices
 #
 # CONFIG_VIDEO_CPIA2 is not set
-CONFIG_USB_GSPCA=m
+CONFIG_USB_GSPCA=y
 # CONFIG_USB_GSPCA_BENQ is not set
 # CONFIG_USB_GSPCA_CONEX is not set
 # CONFIG_USB_GSPCA_CPIA1 is not set
@@ -3193,7 +3193,7 @@ CONFIG_USB_GSPCA=m
 # CONFIG_USB_GSPCA_MARS is not set
 # CONFIG_USB_GSPCA_MR97310A is not set
 # CONFIG_USB_GSPCA_NW80X is not set
-CONFIG_USB_GSPCA_OV519=m
+CONFIG_USB_GSPCA_OV519=y
 # CONFIG_USB_GSPCA_OV534 is not set
 # CONFIG_USB_GSPCA_OV534_9 is not set
 # CONFIG_USB_GSPCA_PAC207 is not set
@@ -3232,7 +3232,7 @@ CONFIG_USB_GSPCA_OV519=m
 # CONFIG_USB_PWC is not set
 # CONFIG_USB_S2255 is not set
 # CONFIG_VIDEO_USBTV is not set
-CONFIG_USB_VIDEO_CLASS=m
+CONFIG_USB_VIDEO_CLASS=y
 CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
 # CONFIG_USB_ZR364XX is not set
 
@@ -3265,11 +3265,11 @@ CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
 #
 # Webcam, TV (analog/digital) USB devices
 #
-CONFIG_VIDEO_EM28XX=m
-CONFIG_VIDEO_EM28XX_V4L2=m
-CONFIG_VIDEO_EM28XX_ALSA=m
-CONFIG_VIDEO_EM28XX_DVB=m
-CONFIG_VIDEO_EM28XX_RC=m
+CONFIG_VIDEO_EM28XX=y
+CONFIG_VIDEO_EM28XX_V4L2=y
+CONFIG_VIDEO_EM28XX_ALSA=y
+CONFIG_VIDEO_EM28XX_DVB=y
+CONFIG_VIDEO_EM28XX_RC=y
 CONFIG_MEDIA_PCI_SUPPORT=y
 
 #
@@ -3318,11 +3318,11 @@ CONFIG_MEDIA_PCI_SUPPORT=y
 # FireWire (IEEE 1394) Adapters
 #
 # CONFIG_DVB_FIREDTV is not set
-CONFIG_VIDEO_TVEEPROM=m
-CONFIG_VIDEOBUF2_CORE=m
-CONFIG_VIDEOBUF2_V4L2=m
-CONFIG_VIDEOBUF2_MEMOPS=m
-CONFIG_VIDEOBUF2_VMALLOC=m
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEOBUF2_CORE=y
+CONFIG_VIDEOBUF2_V4L2=y
+CONFIG_VIDEOBUF2_MEMOPS=y
+CONFIG_VIDEOBUF2_VMALLOC=y
 # end of Media drivers
 
 #
@@ -3333,7 +3333,7 @@ CONFIG_MEDIA_ATTACH=y
 #
 # IR I2C driver auto-selected by 'Autoselect ancillary drivers'
 #
-CONFIG_VIDEO_IR_I2C=m
+CONFIG_VIDEO_IR_I2C=y
 
 #
 # Camera sensor devices
@@ -3356,7 +3356,7 @@ CONFIG_VIDEO_IR_I2C=m
 # CONFIG_VIDEO_MT9P031 is not set
 # CONFIG_VIDEO_MT9T001 is not set
 # CONFIG_VIDEO_MT9T112 is not set
-CONFIG_VIDEO_MT9V011=m
+CONFIG_VIDEO_MT9V011=y
 # CONFIG_VIDEO_MT9V032 is not set
 # CONFIG_VIDEO_MT9V111 is not set
 # CONFIG_VIDEO_NOON010PC30 is not set
@@ -3365,7 +3365,7 @@ CONFIG_VIDEO_MT9V011=m
 # CONFIG_VIDEO_OV08D10 is not set
 # CONFIG_VIDEO_OV13858 is not set
 # CONFIG_VIDEO_OV13B10 is not set
-CONFIG_VIDEO_OV2640=m
+CONFIG_VIDEO_OV2640=y
 # CONFIG_VIDEO_OV2659 is not set
 # CONFIG_VIDEO_OV2680 is not set
 # CONFIG_VIDEO_OV2685 is not set
@@ -3425,7 +3425,7 @@ CONFIG_VIDEO_OV2640=m
 # CONFIG_VIDEO_CS3308 is not set
 # CONFIG_VIDEO_CS5345 is not set
 # CONFIG_VIDEO_CS53L32A is not set
-CONFIG_VIDEO_MSP3400=m
+CONFIG_VIDEO_MSP3400=y
 # CONFIG_VIDEO_SONY_BTF_MPX is not set
 # CONFIG_VIDEO_TDA7432 is not set
 # CONFIG_VIDEO_TDA9840 is not set
@@ -3458,10 +3458,10 @@ CONFIG_VIDEO_MSP3400=m
 # CONFIG_VIDEO_KS0127 is not set
 # CONFIG_VIDEO_ML86V7667 is not set
 # CONFIG_VIDEO_SAA7110 is not set
-CONFIG_VIDEO_SAA711X=m
+CONFIG_VIDEO_SAA711X=y
 # CONFIG_VIDEO_TC358743 is not set
 # CONFIG_VIDEO_TVP514X is not set
-CONFIG_VIDEO_TVP5150=m
+CONFIG_VIDEO_TVP5150=y
 # CONFIG_VIDEO_TVP7002 is not set
 # CONFIG_VIDEO_TW2804 is not set
 # CONFIG_VIDEO_TW9903 is not set
@@ -3518,7 +3518,7 @@ CONFIG_VIDEO_TVP5150=m
 # CONFIG_VIDEO_THS7303 is not set
 # end of Miscellaneous helper chips
 
-CONFIG_MEDIA_TUNER=m
+CONFIG_MEDIA_TUNER=y
 
 #
 # Customize TV tuners
@@ -3531,34 +3531,34 @@ CONFIG_MEDIA_TUNER=m
 # CONFIG_MEDIA_TUNER_IT913X is not set
 # CONFIG_MEDIA_TUNER_M88RS6000T is not set
 # CONFIG_MEDIA_TUNER_MAX2165 is not set
-CONFIG_MEDIA_TUNER_MC44S803=m
-CONFIG_MEDIA_TUNER_MT2060=m
+CONFIG_MEDIA_TUNER_MC44S803=y
+CONFIG_MEDIA_TUNER_MT2060=y
 # CONFIG_MEDIA_TUNER_MT2063 is not set
-CONFIG_MEDIA_TUNER_MT20XX=m
+CONFIG_MEDIA_TUNER_MT20XX=y
 # CONFIG_MEDIA_TUNER_MT2131 is not set
 # CONFIG_MEDIA_TUNER_MT2266 is not set
 # CONFIG_MEDIA_TUNER_MXL301RF is not set
 # CONFIG_MEDIA_TUNER_MXL5005S is not set
 # CONFIG_MEDIA_TUNER_MXL5007T is not set
 # CONFIG_MEDIA_TUNER_QM1D1B0004 is not set
-CONFIG_MEDIA_TUNER_QM1D1C0042=m
-CONFIG_MEDIA_TUNER_QT1010=m
+CONFIG_MEDIA_TUNER_QM1D1C0042=y
+CONFIG_MEDIA_TUNER_QT1010=y
 # CONFIG_MEDIA_TUNER_R820T is not set
-CONFIG_MEDIA_TUNER_SI2157=m
-CONFIG_MEDIA_TUNER_SIMPLE=m
-CONFIG_MEDIA_TUNER_TDA18212=m
+CONFIG_MEDIA_TUNER_SI2157=y
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA18212=y
 # CONFIG_MEDIA_TUNER_TDA18218 is not set
 # CONFIG_MEDIA_TUNER_TDA18250 is not set
-CONFIG_MEDIA_TUNER_TDA18271=m
-CONFIG_MEDIA_TUNER_TDA827X=m
-CONFIG_MEDIA_TUNER_TDA8290=m
-CONFIG_MEDIA_TUNER_TDA9887=m
+CONFIG_MEDIA_TUNER_TDA18271=y
+CONFIG_MEDIA_TUNER_TDA827X=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
 # CONFIG_MEDIA_TUNER_TEA5761 is not set
 # CONFIG_MEDIA_TUNER_TEA5767 is not set
 # CONFIG_MEDIA_TUNER_TUA9001 is not set
-CONFIG_MEDIA_TUNER_XC2028=m
-CONFIG_MEDIA_TUNER_XC4000=m
-CONFIG_MEDIA_TUNER_XC5000=m
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC4000=y
+CONFIG_MEDIA_TUNER_XC5000=y
 # end of Customize TV tuners
 
 #
@@ -3568,7 +3568,7 @@ CONFIG_MEDIA_TUNER_XC5000=m
 #
 # Multistandard (satellite) frontends
 #
-CONFIG_DVB_M88DS3103=m
+CONFIG_DVB_M88DS3103=y
 # CONFIG_DVB_MXL5XX is not set
 # CONFIG_DVB_STB0899 is not set
 # CONFIG_DVB_STB6100 is not set
@@ -3580,11 +3580,11 @@ CONFIG_DVB_M88DS3103=m
 #
 # Multistandard (cable + terrestrial) frontends
 #
-CONFIG_DVB_DRXK=m
+CONFIG_DVB_DRXK=y
 # CONFIG_DVB_MN88472 is not set
 # CONFIG_DVB_MN88473 is not set
 # CONFIG_DVB_SI2165 is not set
-CONFIG_DVB_TDA18271C2DD=m
+CONFIG_DVB_TDA18271C2DD=y
 
 #
 # DVB-S (satellite) frontends
@@ -3604,12 +3604,12 @@ CONFIG_DVB_TDA18271C2DD=m
 # CONFIG_DVB_STV0299 is not set
 # CONFIG_DVB_STV0900 is not set
 # CONFIG_DVB_STV6110 is not set
-CONFIG_DVB_TDA10071=m
+CONFIG_DVB_TDA10071=y
 # CONFIG_DVB_TDA10086 is not set
 # CONFIG_DVB_TDA8083 is not set
 # CONFIG_DVB_TDA8261 is not set
 # CONFIG_DVB_TDA826X is not set
-CONFIG_DVB_TS2020=m
+CONFIG_DVB_TS2020=y
 # CONFIG_DVB_TUA6100 is not set
 # CONFIG_DVB_TUNER_CX24113 is not set
 # CONFIG_DVB_TUNER_ITD1000 is not set
@@ -3623,35 +3623,35 @@ CONFIG_DVB_TS2020=m
 # CONFIG_DVB_AF9013 is not set
 # CONFIG_DVB_CX22700 is not set
 # CONFIG_DVB_CX22702 is not set
-CONFIG_DVB_CXD2820R=m
+CONFIG_DVB_CXD2820R=y
 # CONFIG_DVB_CXD2841ER is not set
 # CONFIG_DVB_DIB3000MB is not set
 # CONFIG_DVB_DIB3000MC is not set
 # CONFIG_DVB_DIB7000M is not set
 # CONFIG_DVB_DIB7000P is not set
 # CONFIG_DVB_DIB9000 is not set
-CONFIG_DVB_DRXD=m
+CONFIG_DVB_DRXD=y
 # CONFIG_DVB_EC100 is not set
 # CONFIG_DVB_L64781 is not set
-CONFIG_DVB_MT352=m
+CONFIG_DVB_MT352=y
 # CONFIG_DVB_NXT6000 is not set
 # CONFIG_DVB_RTL2830 is not set
 # CONFIG_DVB_RTL2832 is not set
 # CONFIG_DVB_S5H1432 is not set
-CONFIG_DVB_SI2168=m
+CONFIG_DVB_SI2168=y
 # CONFIG_DVB_SP887X is not set
 # CONFIG_DVB_STV0367 is not set
 # CONFIG_DVB_TDA10048 is not set
 # CONFIG_DVB_TDA1004X is not set
 # CONFIG_DVB_ZD1301_DEMOD is not set
-CONFIG_DVB_ZL10353=m
+CONFIG_DVB_ZL10353=y
 
 #
 # DVB-C (cable) frontends
 #
 # CONFIG_DVB_STV0297 is not set
 # CONFIG_DVB_TDA10021 is not set
-CONFIG_DVB_TDA10023=m
+CONFIG_DVB_TDA10023=y
 # CONFIG_DVB_VES1820 is not set
 
 #
@@ -3661,28 +3661,28 @@ CONFIG_DVB_TDA10023=m
 # CONFIG_DVB_AU8522_V4L is not set
 # CONFIG_DVB_BCM3510 is not set
 # CONFIG_DVB_LG2160 is not set
-CONFIG_DVB_LGDT3305=m
-CONFIG_DVB_LGDT3306A=m
-CONFIG_DVB_LGDT330X=m
-CONFIG_DVB_MXL692=m
+CONFIG_DVB_LGDT3305=y
+CONFIG_DVB_LGDT3306A=y
+CONFIG_DVB_LGDT330X=y
+CONFIG_DVB_MXL692=y
 # CONFIG_DVB_NXT200X is not set
 # CONFIG_DVB_OR51132 is not set
 # CONFIG_DVB_OR51211 is not set
-CONFIG_DVB_S5H1409=m
+CONFIG_DVB_S5H1409=y
 # CONFIG_DVB_S5H1411 is not set
 
 #
 # ISDB-T (terrestrial) frontends
 #
 # CONFIG_DVB_DIB8000 is not set
-CONFIG_DVB_MB86A20S=m
-CONFIG_DVB_S921=m
+CONFIG_DVB_MB86A20S=y
+CONFIG_DVB_S921=y
 
 #
 # ISDB-S (satellite) & ISDB-T (terrestrial) frontends
 #
 # CONFIG_DVB_MN88443X is not set
-CONFIG_DVB_TC90522=m
+CONFIG_DVB_TC90522=y
 
 #
 # Digital terrestrial only tuners/PLL
@@ -3694,7 +3694,7 @@ CONFIG_DVB_TC90522=m
 #
 # SEC control devices for DVB-S
 #
-CONFIG_DVB_A8293=m
+CONFIG_DVB_A8293=y
 # CONFIG_DVB_AF9033 is not set
 # CONFIG_DVB_ASCOT2E is not set
 # CONFIG_DVB_ATBM8830 is not set
@@ -3712,7 +3712,7 @@ CONFIG_DVB_A8293=m
 # CONFIG_DVB_LNBP22 is not set
 # CONFIG_DVB_M88RS2000 is not set
 # CONFIG_DVB_TDA665x is not set
-CONFIG_DVB_DRX39XYJ=m
+CONFIG_DVB_DRX39XYJ=y
 
 #
 # Common Interface (EN50221) controller drivers
@@ -3942,13 +3942,13 @@ CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
 # CONFIG_LOGO is not set
 # end of Graphics support
 
-CONFIG_SOUND=m
-CONFIG_SND=m
-CONFIG_SND_TIMER=m
-CONFIG_SND_PCM=m
-CONFIG_SND_HWDEP=m
-CONFIG_SND_SEQ_DEVICE=m
-CONFIG_SND_RAWMIDI=m
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_HWDEP=y
+CONFIG_SND_SEQ_DEVICE=y
+CONFIG_SND_RAWMIDI=y
 CONFIG_SND_JACK=y
 CONFIG_SND_JACK_INPUT_DEV=y
 # CONFIG_SND_OSSEMUL is not set
@@ -3965,10 +3965,10 @@ CONFIG_SND_CTL_FAST_LOOKUP=y
 # CONFIG_SND_CTL_INPUT_VALIDATION is not set
 CONFIG_SND_VMASTER=y
 CONFIG_SND_DMA_SGBUF=y
-CONFIG_SND_SEQUENCER=m
+CONFIG_SND_SEQUENCER=y
 # CONFIG_SND_SEQ_DUMMY is not set
-CONFIG_SND_SEQ_MIDI_EVENT=m
-CONFIG_SND_SEQ_MIDI=m
+CONFIG_SND_SEQ_MIDI_EVENT=y
+CONFIG_SND_SEQ_MIDI=y
 CONFIG_SND_DRIVERS=y
 # CONFIG_SND_PCSP is not set
 # CONFIG_SND_DUMMY is not set
@@ -4047,8 +4047,8 @@ CONFIG_SND_PCI=y
 #
 # HD-Audio
 #
-CONFIG_SND_HDA=m
-CONFIG_SND_HDA_INTEL=m
+CONFIG_SND_HDA=y
+CONFIG_SND_HDA_INTEL=y
 # CONFIG_SND_HDA_HWDEP is not set
 CONFIG_SND_HDA_RECONFIG=y
 CONFIG_SND_HDA_INPUT_BEEP=y
@@ -4058,7 +4058,7 @@ CONFIG_SND_HDA_PATCH_LOADER=y
 # CONFIG_SND_HDA_CODEC_ANALOG is not set
 # CONFIG_SND_HDA_CODEC_SIGMATEL is not set
 # CONFIG_SND_HDA_CODEC_VIA is not set
-CONFIG_SND_HDA_CODEC_HDMI=m
+CONFIG_SND_HDA_CODEC_HDMI=y
 # CONFIG_SND_HDA_CODEC_CIRRUS is not set
 # CONFIG_SND_HDA_CODEC_CS8409 is not set
 # CONFIG_SND_HDA_CODEC_CONEXANT is not set
@@ -4066,20 +4066,20 @@ CONFIG_SND_HDA_CODEC_HDMI=m
 # CONFIG_SND_HDA_CODEC_CA0132 is not set
 # CONFIG_SND_HDA_CODEC_CMEDIA is not set
 # CONFIG_SND_HDA_CODEC_SI3054 is not set
-CONFIG_SND_HDA_GENERIC=m
+CONFIG_SND_HDA_GENERIC=y
 CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
 CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=y
 # end of HD-Audio
 
-CONFIG_SND_HDA_CORE=m
+CONFIG_SND_HDA_CORE=y
 CONFIG_SND_HDA_COMPONENT=y
 CONFIG_SND_HDA_I915=y
 CONFIG_SND_HDA_PREALLOC_SIZE=0
 CONFIG_SND_INTEL_NHLT=y
-CONFIG_SND_INTEL_DSP_CONFIG=m
-CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m
+CONFIG_SND_INTEL_DSP_CONFIG=y
+CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
 CONFIG_SND_USB=y
-CONFIG_SND_USB_AUDIO=m
+CONFIG_SND_USB_AUDIO=y
 CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
 # CONFIG_SND_USB_UA101 is not set
 # CONFIG_SND_USB_USX2Y is not set
@@ -4792,8 +4792,8 @@ CONFIG_IOMMU_SUPPORT=y
 #
 # end of Generic IOMMU Pagetable Support
 
-# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
-CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
+CONFIG_IOMMU_DEFAULT_DMA_STRICT=y
+# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set
 # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
 CONFIG_IOMMU_DMA=y
 CONFIG_IOMMU_SVA=y
@@ -5182,7 +5182,7 @@ CONFIG_SECURITY_DMESG_RESTRICT=y
 CONFIG_SECURITY=y
 # CONFIG_SECURITYFS is not set
 # CONFIG_SECURITY_NETWORK is not set
-# CONFIG_SECURITY_PATH is not set
+CONFIG_SECURITY_PATH=y
 CONFIG_INTEL_TXT=y
 CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
 CONFIG_HARDENED_USERCOPY=y
@@ -5195,7 +5195,7 @@ CONFIG_FORTIFY_SOURCE=y
 CONFIG_SECURITY_YAMA=y
 # CONFIG_SECURITY_SAFESETID is not set
 # CONFIG_SECURITY_LOCKDOWN_LSM is not set
-# CONFIG_SECURITY_LANDLOCK is not set
+CONFIG_SECURITY_LANDLOCK=y
 CONFIG_INTEGRITY=y
 # CONFIG_INTEGRITY_SIGNATURE is not set
 CONFIG_INTEGRITY_AUDIT=y
@@ -5208,6 +5208,7 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity"
 #
 # Kernel hardening options
 #
+CONFIG_GCC_PLUGIN_STRUCTLEAK=y
 
 #
 # Memory initialization
@@ -5218,9 +5219,14 @@ CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
 # CONFIG_INIT_STACK_NONE is not set
 # CONFIG_INIT_STACK_ALL_PATTERN is not set
 CONFIG_INIT_STACK_ALL_ZERO=y
-# CONFIG_GCC_PLUGIN_STACKLEAK is not set
-# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set
-# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
+# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set
+CONFIG_GCC_PLUGIN_STACKLEAK=y
+# CONFIG_GCC_PLUGIN_STACKLEAK_VERBOSE is not set
+CONFIG_STACKLEAK_TRACK_MIN_SIZE=100
+# CONFIG_STACKLEAK_METRICS is not set
+# CONFIG_STACKLEAK_RUNTIME_DISABLE is not set
+CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
+CONFIG_INIT_ON_FREE_DEFAULT_ON=y
 CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
 CONFIG_ZERO_CALL_USED_REGS=y
 # end of Memory initialization
@@ -5657,7 +5663,7 @@ CONFIG_SLUB_DEBUG=y
 # CONFIG_SLUB_DEBUG_ON is not set
 # CONFIG_PAGE_OWNER is not set
 # CONFIG_PAGE_TABLE_CHECK is not set
-# CONFIG_PAGE_POISONING is not set
+CONFIG_PAGE_POISONING=y
 # CONFIG_DEBUG_RODATA_TEST is not set
 CONFIG_ARCH_HAS_DEBUG_WX=y
 CONFIG_DEBUG_WX=y
@@ -5683,7 +5689,12 @@ CONFIG_CC_HAS_KASAN_GENERIC=y
 CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
 # CONFIG_KASAN is not set
 CONFIG_HAVE_ARCH_KFENCE=y
-# CONFIG_KFENCE is not set
+CONFIG_KFENCE=y
+CONFIG_KFENCE_SAMPLE_INTERVAL=100
+CONFIG_KFENCE_NUM_OBJECTS=255
+# CONFIG_KFENCE_DEFERRABLE is not set
+# CONFIG_KFENCE_STATIC_KEYS is not set
+CONFIG_KFENCE_STRESS_TEST_FAULTS=0
 # end of Memory Debugging
 
 # CONFIG_DEBUG_SHIRQ is not set
@@ -5748,7 +5759,7 @@ CONFIG_DEBUG_NOTIFIERS=y
 CONFIG_BUG_ON_DATA_CORRUPTION=y
 # end of Debug kernel data structures
 
-# CONFIG_DEBUG_CREDENTIALS is not set
+CONFIG_DEBUG_CREDENTIALS=y
 
 #
 # RCU Debugging
@@ -5843,5 +5854,7 @@ CONFIG_GENTOO_LINUX_INIT_SYSTEMD=y
 # end of Support for init systems, system and service managers
 
 CONFIG_GENTOO_KERNEL_SELF_PROTECTION=y
+CONFIG_GENTOO_KERNEL_SELF_PROTECTION_COMMON=y
+CONFIG_GENTOO_KERNEL_SELF_PROTECTION_X86_64=y
 CONFIG_GENTOO_PRINT_FIRMWARE_INFO=y
 # end of Gentoo Linux

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.