# This file is intentionally left empty in the stock kernel. Its a nicety
# added for those wanting to do custom rebuilds with altered config opts.

### Tobor Kernel Config

## Initrd-less boot (make NVMe built-in)
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_KEYRING=y
CONFIG_NVME_AUTH=y

## CPU march optimization (XanMod uarch patch)
CONFIG_MZEN3=y
# CONFIG_GENERIC_CPU is not set
# CONFIG_MK8 is not set
# CONFIG_MK8SSE3 is not set
# CONFIG_MK10 is not set
# CONFIG_MBARCELONA is not set
# CONFIG_MBOBCAT is not set
# CONFIG_MJAGUAR is not set
# CONFIG_MBULLDOZER is not set
# CONFIG_MPILEDRIVER is not set
# CONFIG_MSTEAMROLLER is not set
# CONFIG_MEXCAVATOR is not set
# CONFIG_MZEN is not set
# CONFIG_MZEN2 is not set
# CONFIG_MZEN4 is not set
# CONFIG_MZEN5 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MNEHALEM is not set
# CONFIG_MWESTMERE is not set
# CONFIG_MSILVERMONT is not set
# CONFIG_MGOLDMONT is not set
# CONFIG_MGOLDMONTPLUS is not set
# CONFIG_MSANDYBRIDGE is not set
# CONFIG_MIVYBRIDGE is not set
# CONFIG_MHASWELL is not set
# CONFIG_MBROADWELL is not set
# CONFIG_MSKYLAKE is not set
# CONFIG_MSKYLAKEX is not set
# CONFIG_MCANNONLAKE is not set
# CONFIG_MICELAKE_CLIENT is not set
# CONFIG_MICELAKE_SERVER is not set
# CONFIG_MCOOPERLAKE is not set
# CONFIG_MCASCADELAKE is not set
# CONFIG_MTIGERLAKE is not set
# CONFIG_MSAPPHIRERAPIDS is not set
# CONFIG_MROCKETLAKE is not set
# CONFIG_MALDERLAKE is not set
# CONFIG_MRAPTORLAKE is not set
# CONFIG_MMETEORLAKE is not set
# CONFIG_MEMERALDRAPIDS is not set
CONFIG_X86_USE_PPRO_CHECKSUM=y

## RAID6 default algorithm (Ubuntu RAID6 patch)
CONFIG_RAID6_PQ_DEFAULT_ALG_BOOL=y
CONFIG_RAID6_PQ_DEFAULT_ALG="avx2x2"

## Apple T2 / Silicon configs (CachyOS T2 patch)
CONFIG_APPLE_BCE=m
CONFIG_APPLE_RTKIT_HELPER=m
CONFIG_SENSORS_APPLESMC_T2=m
CONFIG_HID_APPLETB_KBD=m
CONFIG_HID_APPLETB_BL=m
CONFIG_DRM_APPLETBDRM=m
CONFIG_T2BCE_CORE=m
CONFIG_T2BCE_VHCI=m
CONFIG_T2BCE_AUDIO=m
# CONFIG_APPLE_DOCKCHANNEL is not set
# CONFIG_HID_DOCKCHANNEL is not set
# CONFIG_SPI_HID_APPLE_OF is not set

## TCP BBRv3 congestion control (CachyOS BBRv3 patch)
CONFIG_TCP_CONG_BBR3=y
CONFIG_DEFAULT_BBR3=y
# CONFIG_DEFAULT_CUBIC is not set
CONFIG_DEFAULT_TCP_CONG="bbr3"