ID Workflow Result Correct Bug Created Started Finished Revision
d00a70a1 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING in btrfs_put_transaction (6) 2026/10/19 01:02 2026/10/19 01:02 2026/10/19 01:11 432c0077
Agent: prod-syz-agent-0
External Bug ID: ---

Inputs:
BaseBranch master
BaseCommit RC
BaseRepository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
BugTitle WARNING in btrfs_put_transaction
CrashLogID 5304688896901120
CrashReportID 6681251953508352
KernelCommit 58161ead29e50d70a317ea26b472e0c7508e69da
KernelConfig
Show (283030 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Debian clang version 22.1.8 (1~deb13u4)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=220108
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=220108
CONFIG_LD_VERSION=0
CONFIG_LD_IS_LLD=y
CONFIG_LLD_VERSION=220108
CONFIG_RUSTC_VERSION=109600
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=220102
CONFIG_RUSTC_LLVM_MAJOR_VERSION=22
CONFIG_RUSTC_CLANG_LLVM_COMPATIBLE=y
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_CC_HAS_COUNTED_BY=y
CONFIG_CC_HAS_COUNTED_BY_PTR=y
CONFIG_CC_HAS_ALLOC_TOKEN=y
CONFIG_CC_HAS_MULTIDIMENSIONAL_NONSTRING=y
CONFIG_CC_OPT_INLINE_MEMSET="-mllvm -max-store-memset=4294967294"
CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY=y
CONFIG_RUSTC_HAS_SPAN_FILE=y
CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y
CONFIG_RUSTC_HAS_FILE_WITH_NUL=y
CONFIG_RUSTC_HAS_FILE_AS_C_STR=y
CONFIG_PAHOLE_VERSION=130
CONFIG_CONSTRUCTORS=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
# CONFIG_WERROR is not set
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_HAVE_KERNEL_ZSTD=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_WATCH_QUEUE=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_ARCH_WANTS_CLOCKSOURCE_READ_INLINE=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST_IDLE=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CLOCKEVENTS_COUPLED=y
CONFIG_GENERIC_CLOCKEVENTS_COUPLED_INLINE=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_HRTIMER_REARM_DEFERRED=y
CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_CONTEXT_TRACKING=y
CONFIG_CONTEXT_TRACKING_IDLE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_CONTEXT_TRACKING_USER=y
# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_POSIX_AUX_CLOCKS=y
# end of Timers subsystem

CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y

#
# BPF subsystem
#
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=y
CONFIG_BPF_LSM=y
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
CONFIG_ARCH_HAS_PREEMPT_LAZY=y
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_LAZY is not set
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_HAS_SEPARATE_PREEMPT_RESCHED_BITS=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_SCHED_CORE=y
# CONFIG_SCHED_CLASS_EXT is not set

#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
# CONFIG_PSI_DEFAULT_DISABLED is not set
# end of CPU/Task time and stats accounting

CONFIG_CPU_ISOLATION=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_NEED_TASKS_RCU=y
CONFIG_TASKS_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_PRINTK_INDEX is not set
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
# CONFIG_SCHED_PROXY_EXEC is not set
# end of Scheduler features

CONFIG_ARCH_HAS_PTE_PROTNONE=y
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"
CONFIG_CC_MS_EXTENSIONS="-fms-extensions"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_GCC_NO_STRINGOP_OVERFLOW=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_NUMA_BALANCING=y
CONFIG_SCHED_CACHE=y
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
CONFIG_SLAB_OBJ_EXT=y
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
# CONFIG_CGROUP_FAVOR_DYNMODS is not set
CONFIG_MEMCG=y
CONFIG_MEMCG_V1=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_GROUP_SCHED_WEIGHT=y
CONFIG_GROUP_SCHED_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_SCHED_MM_CID=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
# CONFIG_CGROUP_DMEM is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
# CONFIG_CPUSETS_V1 is not set
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
CONFIG_CGROUP_BPF=y
CONFIG_CGROUP_MISC=y
CONFIG_CGROUP_DEBUG=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_TIME_NS_VDSO=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_RD_ZSTD=y
# CONFIG_BOOT_CONFIG is not set
CONFIG_ARCH_SUPPORTS_CMDLINE_FROM_BOOTCONFIG=y
CONFIG_CMDLINE_LOG_WRAP_IDEAL_LEN=1021
CONFIG_INITRAMFS_PRESERVE_MTIME=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_LD_ORPHAN_WARN=y
CONFIG_LD_ORPHAN_WARN_LEVEL="warn"
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_BASE_SMALL is not set
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_FUTEX_PRIVATE_HASH=y
CONFIG_FUTEX_MPOL=y
CONFIG_HAVE_FUTEX_ROBUST_UNLOCK=y
CONFIG_FUTEX_ROBUST_UNLOCK=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_IO_URING=y
CONFIG_IO_URING_MOCK_FILE=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KCMP=y
CONFIG_RSEQ=y
CONFIG_RSEQ_SLICE_EXTENSION=y
# CONFIG_RSEQ_STATS is not set
# CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE is not set
CONFIG_CACHESTAT_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_SELFTEST is not set
CONFIG_KALLSYMS_ALL=y
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
CONFIG_ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_GUEST_PERF_EVENTS=y
CONFIG_PERF_GUEST_MEDIATED_PMU=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters

CONFIG_SYSTEM_DATA_VERIFICATION=y
CONFIG_PROFILING=y
# CONFIG_RUST is not set
CONFIG_TRACEPOINTS=y

#
# Kexec and crash features
#
CONFIG_CRASH_RESERVE=y
CONFIG_VMCORE_INFO=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC=y
# CONFIG_KEXEC_FILE is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_CRASH_HOTPLUG=y
CONFIG_CRASH_MAX_MEMORY_RANGES=8192
# end of Kexec and crash features

#
# Live Update and Kexec HandOver
#
# CONFIG_KEXEC_HANDOVER is not set
# end of Live Update and Kexec HandOver
# end of General setup

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_AUDIT_ARCH=y
CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000
CONFIG_HAVE_INTEL_TXT=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=5

#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
# CONFIG_X86_POSTED_MSI is not set
CONFIG_X86_MPPARSE=y
# CONFIG_X86_CPU_RESCTRL is not set
CONFIG_X86_FRED=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not set
# CONFIG_X86_INTEL_MID is not set
# CONFIG_X86_GOLDFISH is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=y
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_SPINLOCKS=y
CONFIG_X86_HV_CALLBACK_VECTOR=y
# CONFIG_XEN is not set
CONFIG_KVM_GUEST=y
CONFIG_ARCH_CPUIDLE_HALTPOLL=y
CONFIG_PVH=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_JAILHOUSE_GUEST is not set
# CONFIG_ACRN_GUEST is not set
# CONFIG_BHYVE_GUEST is not set
CONFIG_CC_HAS_MARCH_NATIVE=y
CONFIG_RUSTC_HAS_APXF=y
# CONFIG_X86_NATIVE_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_HAVE_PAE=y
CONFIG_X86_CX8=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_IA32_FEAT_CTL=y
CONFIG_X86_VMX_FEATURE_NAMES=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
# CONFIG_CPU_SUP_HYGON is not set
# CONFIG_CPU_SUP_CENTAUR is not set
# CONFIG_CPU_SUP_ZHAOXIN is not set
CONFIG_BROADCAST_TLB_FLUSH=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_GART_IOMMU is not set
CONFIG_BOOT_VESA_SUPPORT=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS=8
CONFIG_SCHED_MC_PRIO=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ACPI_MADT_WAKEUP=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
CONFIG_PERF_EVENTS_AMD_UNCORE=y
# CONFIG_PERF_EVENTS_AMD_BRS is not set
# end of Performance monitoring

CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX64=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_IOPL_IOPERM=y
CONFIG_MICROCODE=y
# CONFIG_MICROCODE_LATE_LOADING is not set
# CONFIG_MICROCODE_DBG is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_X86_CPA_STATISTICS is not set
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
# CONFIG_X86_PMEM_LEGACY is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_X86_UMIP=y
CONFIG_CC_HAS_IBT=y
CONFIG_X86_CET=y
CONFIG_X86_KERNEL_IBT=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
CONFIG_ARCH_PKEY_BITS=4
# CONFIG_X86_INTEL_TSX_MODE_OFF is not set
CONFIG_X86_INTEL_TSX_MODE_ON=y
# CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
CONFIG_X86_SGX=y
CONFIG_X86_USER_SHADOW_STACK=y
# CONFIG_INTEL_TDX_HOST is not set
# CONFIG_EFI is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_KEXEC=y
CONFIG_ARCH_SUPPORTS_KEXEC_FILE=y
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y
CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP=y
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER=y
CONFIG_ARCH_SUPPORTS_CRASH_DUMP=y
CONFIG_ARCH_DEFAULT_CRASH_DUMP=y
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG=y
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION=y
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_LEGACY_VSYSCALL_XONLY=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 rcupdate.rcu_cpu_stall_cputime=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=32 max_loop=32 nbds_max=32 comedi.comedi_num_legacy_minors=4 panic_on_warn=1"
# CONFIG_CMDLINE_OVERRIDE is not set
CONFIG_MODIFY_LDT_SYSCALL=y
# CONFIG_STRICT_SIGALTSTACK_SIZE is not set
CONFIG_HAVE_LIVEPATCH=y
CONFIG_HAVE_KLP_BUILD=y
CONFIG_X86_BUS_LOCK_DETECT=y
# end of Processor type and features

CONFIG_CC_HAS_SLS=y
CONFIG_CC_HAS_RETURN_THUNK=y
CONFIG_CC_HAS_ENTRY_PADDING=y
CONFIG_CC_HAS_KCFI_ARITY=y
CONFIG_FUNCTION_PADDING_CFI=11
CONFIG_FUNCTION_PADDING_BYTES=16
CONFIG_CALL_PADDING=y
CONFIG_HAVE_CALL_THUNKS=y
CONFIG_CALL_THUNKS=y
CONFIG_CPU_MITIGATIONS=y
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION=y
CONFIG_MITIGATION_RETPOLINE=y
CONFIG_MITIGATION_RETHUNK=y
CONFIG_MITIGATION_UNRET_ENTRY=y
CONFIG_MITIGATION_CALL_DEPTH_TRACKING=y
# CONFIG_CALL_THUNKS_DEBUG is not set
CONFIG_MITIGATION_IBPB_ENTRY=y
CONFIG_MITIGATION_IBRS_ENTRY=y
CONFIG_MITIGATION_SRSO=y
# CONFIG_MITIGATION_SLS is not set
CONFIG_MITIGATION_GDS=y
CONFIG_MITIGATION_RFDS=y
CONFIG_MITIGATION_SPECTRE_BHI=y
CONFIG_MITIGATION_MDS=y
CONFIG_MITIGATION_TAA=y
CONFIG_MITIGATION_MMIO_STALE_DATA=y
CONFIG_MITIGATION_L1TF=y
CONFIG_MITIGATION_RETBLEED=y
CONFIG_MITIGATION_SPECTRE_V1=y
CONFIG_MITIGATION_SPECTRE_V2=y
CONFIG_MITIGATION_SRBDS=y
CONFIG_MITIGATION_SSB=y
CONFIG_MITIGATION_ITS=y
CONFIG_MITIGATION_TSA=y
# CONFIG_MITIGATION_VMSCAPE is not set
CONFIG_ARCH_HAS_ADD_PAGES=y

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_HIBERNATION_SNAPSHOT_DEV=y
CONFIG_HIBERNATION_COMP_LZO=y
# CONFIG_HIBERNATION_COMP_LZ4 is not set
CONFIG_HIBERNATION_DEF_COMP="lzo"
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_USERSPACE_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_QOS_CPU_SYSTEM_WAKEUP is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not set
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
# CONFIG_ENERGY_MODEL is not set
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_THERMAL_LIB=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
# CONFIG_ACPI_FPDT is not set
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_EC=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_PLATFORM_PROFILE=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
CONFIG_ACPI_NHLT=y
CONFIG_ACPI_NFIT=y
# CONFIG_NFIT_SECURITY_DEBUG is not set
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_HMAT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_ACPI_DPTF is not set
# CONFIG_ACPI_EXTLOG is not set
# CONFIG_ACPI_CONFIGFS is not set
# CONFIG_ACPI_PFRUT is not set
CONFIG_ACPI_PCC=y
# CONFIG_ACPI_FFH is not set
CONFIG_ACPI_MRRM=y
CONFIG_PMIC_OPREGION=y
CONFIG_BXT_WC_PMIC_OPREGION=y
# CONFIG_CHT_WC_PMIC_OPREGION is not set
CONFIG_X86_PM_TIMER=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

#
# CPU frequency scaling drivers
#
# CONFIG_CPUFREQ_DT is not set
# CONFIG_CPUFREQ_DT_PLATDEV is not set
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
# CONFIG_X86_AMD_PSTATE_UT is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
CONFIG_CPUFREQ_ARCH_CUR_FREQ=y
# end of CPU Frequency scaling

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
CONFIG_CPU_IDLE_GOV_HALTPOLL=y
CONFIG_HALTPOLL_CPUIDLE=y
# end of CPU Idle

CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options

#
# Bus options (PCI etc.)
#
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_MMCONF_FAM10H=y
CONFIG_ISA_BUS=y
CONFIG_ISA_DMA_API=y
CONFIG_AMD_NB=y
CONFIG_AMD_NODE=y
# end of Bus options (PCI etc.)

#
# Binary Emulations
#
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_EMULATION_DEFAULT_DISABLED is not set
CONFIG_COMPAT_32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
# end of Binary Emulations

CONFIG_KVM_COMMON=y
CONFIG_HAVE_KVM_PFNCACHE=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_DIRTY_RING=y
CONFIG_HAVE_KVM_DIRTY_RING_TSO=y
CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_READONLY_MEM=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_GENERIC_PRE_FAULT_MEMORY=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_VIRT_XFER_TO_GUEST_WORK=y
CONFIG_HAVE_KVM_PM_NOTIFIER=y
CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y
CONFIG_KVM_ELIDE_TLB_FLUSH_IF_YOUNG=y
CONFIG_KVM_MMU_LOCKLESS_AGING=y
CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y
CONFIG_KVM_GUEST_MEMFD=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM_X86=y
CONFIG_KVM=y
CONFIG_KVM_SW_PROTECTED_VM=y
CONFIG_KVM_INTEL=y
# CONFIG_KVM_INTEL_PROVE_VE is not set
CONFIG_X86_SGX_KVM=y
CONFIG_KVM_AMD=y
CONFIG_KVM_IOAPIC=y
CONFIG_KVM_SMM=y
CONFIG_KVM_HYPERV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_PROVE_MMU=y
CONFIG_KVM_MAX_NR_VCPUS=1024
CONFIG_X86_REQUIRED_FEATURE_ALWAYS=y
CONFIG_X86_REQUIRED_FEATURE_NOPL=y
CONFIG_X86_REQUIRED_FEATURE_CX8=y
CONFIG_X86_REQUIRED_FEATURE_CMOV=y
CONFIG_X86_REQUIRED_FEATURE_CPUID=y
CONFIG_X86_REQUIRED_FEATURE_FPU=y
CONFIG_X86_REQUIRED_FEATURE_PAE=y
CONFIG_X86_REQUIRED_FEATURE_PSE=y
CONFIG_X86_REQUIRED_FEATURE_PGE=y
CONFIG_X86_REQUIRED_FEATURE_MSR=y
CONFIG_X86_REQUIRED_FEATURE_FXSR=y
CONFIG_X86_REQUIRED_FEATURE_XMM=y
CONFIG_X86_REQUIRED_FEATURE_XMM2=y
CONFIG_X86_REQUIRED_FEATURE_LM=y
CONFIG_X86_DISABLED_FEATURE_VME=y
CONFIG_X86_DISABLED_FEATURE_K6_MTRR=y
CONFIG_X86_DISABLED_FEATURE_CYRIX_ARR=y
CONFIG_X86_DISABLED_FEATURE_CENTAUR_MCR=y
CONFIG_X86_DISABLED_FEATURE_LAM=y
CONFIG_X86_DISABLED_FEATURE_XENPV=y
CONFIG_X86_DISABLED_FEATURE_TDX_GUEST=y
CONFIG_X86_DISABLED_FEATURE_SEV_SNP=y
CONFIG_AS_WRUSS=y
CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y

#
# General architecture-dependent options
#
CONFIG_HOTPLUG_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_CLUSTER=y
CONFIG_ARCH_SUPPORTS_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_CLUSTER=y
CONFIG_SCHED_MC=y
CONFIG_HOTPLUG_CORE_SYNC=y
CONFIG_HOTPLUG_CORE_SYNC_DEAD=y
CONFIG_HOTPLUG_CORE_SYNC_FULL=y
CONFIG_HOTPLUG_SPLIT_STARTUP=y
CONFIG_HOTPLUG_PARALLEL=y
CONFIG_GENERIC_IRQ_ENTRY=y
CONFIG_GENERIC_SYSCALL=y
CONFIG_GENERIC_ENTRY=y
CONFIG_ARCH_SUPPORTS_SYSCALL_USER_DISPATCH=y
CONFIG_SYSCALL_USER_DISPATCH=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
# CONFIG_STATIC_CALL_SELFTEST is not set
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_ARCH_HAS_SET_DIRECT_MAP=y
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
CONFIG_ARCH_HAS_DELAY_TIMER=y
CONFIG_ARCH_HAS_CPU_PASID=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_ARCH_WANTS_NO_INSTR=y
CONFIG_ARCH_MEMORY_ORDER_TSO=y
CONFIG_HAVE_ASM_MODVERSIONS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_RUST=y
CONFIG_HAVE_FUNCTION_ARG_ACCESS_API=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_UNWIND_USER=y
CONFIG_HAVE_UNWIND_USER_FP=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=y
CONFIG_MMU_GATHER_TABLE_FREE=y
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
CONFIG_MMU_GATHER_MERGE_VMAS=y
CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM=y
CONFIG_MMU_LAZY_TLB_REFCOUNT=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES=y
CONFIG_ARCH_HAS_NMI_SAFE_THIS_CPU_OPS=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
# CONFIG_SECCOMP_CACHE_DEBUG is not set
CONFIG_HAVE_ARCH_KSTACK_ERASE=y
CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR_STRONG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_HAS_LTO_CLANG=y
CONFIG_LTO_NONE=y
# CONFIG_LTO_CLANG_FULL is not set
# CONFIG_LTO_CLANG_THIN is not set
# CONFIG_LTO_CLANG_THIN_DIST is not set
CONFIG_AUTOFDO_CLANG=y
CONFIG_PROPELLER_CLANG=y
CONFIG_ARCH_SUPPORTS_CFI=y
# CONFIG_CFI is not set
CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS=y
CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS_RUSTC=y
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_CONTEXT_TRACKING_USER=y
CONFIG_HAVE_CONTEXT_TRACKING_USER_OFFSTACK=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_PV_STEAL_CLOCK_GEN=y
CONFIG_HAVE_MOVE_PUD=y
CONFIG_HAVE_MOVE_PMD=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_HUGE_VMALLOC=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_PMD_MKWRITE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_EXECMEM_ROX=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=y
CONFIG_SOFTIRQ_ON_OWN_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y
CONFIG_HAVE_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
CONFIG_PAGE_SHIFT=12
CONFIG_HAVE_OBJTOOL=y
CONFIG_HAVE_JUMP_LABEL_HACK=y
CONFIG_HAVE_NOINSTR_HACK=y
CONFIG_HAVE_NOINSTR_VALIDATION=y
CONFIG_HAVE_UACCESS_VALIDATION=y
CONFIG_HAVE_STACK_VALIDATION=y
CONFIG_HAVE_RELIABLE_STACKTRACE=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARCH_SUPPORTS_RT=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y
CONFIG_RANDOMIZE_KSTACK_OFFSET=y
# CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT is not set
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y
# CONFIG_LOCK_EVENT_COUNTS is not set
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_HAVE_STATIC_CALL=y
CONFIG_HAVE_STATIC_CALL_INLINE=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
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
CONFIG_ARCH_HAS_HW_PTE_YOUNG=y
CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y
CONFIG_ARCH_HAS_KERNEL_FPU_SUPPORT=y
CONFIG_HAVE_GENERIC_TIF_BITS=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling

CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_FUNCTION_ALIGNMENT_4B=y
CONFIG_FUNCTION_ALIGNMENT_16B=y
CONFIG_FUNCTION_ALIGNMENT=16
CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=y
CONFIG_ARCH_HAS_CPU_ATTACK_VECTORS=y
# end of General architecture-dependent options

CONFIG_RT_MUTEXES=y
CONFIG_MODULE_SIG_FORMAT=y
CONFIG_MODULES=y
# CONFIG_MODULE_DEBUG is not set
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODULE_UNLOAD_TAINT_TRACKING is not set
CONFIG_MODVERSIONS=y
# CONFIG_GENKSYMS is not set
CONFIG_GENDWARFKSYMS=y
CONFIG_ASM_MODVERSIONS=y
# CONFIG_EXTENDED_MODVERSIONS is not set
# CONFIG_BASIC_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
CONFIG_MODULE_SIG_SHA256=y
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
# CONFIG_MODULE_SIG_SHA3_256 is not set
# CONFIG_MODULE_SIG_SHA3_384 is not set
# CONFIG_MODULE_SIG_SHA3_512 is not set
CONFIG_MODULE_SIG_HASH="sha256"
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLOCK_LEGACY_AUTOLOAD=y
CONFIG_BLK_RQ_ALLOC_TIME=y
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_CGROUP_PUNT_BIO=y
CONFIG_BLK_DEV_BSG_COMMON=y
CONFIG_BLK_ICQ=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_WRITE_MOUNTED is not set
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_BLK_WBT_MQ=y
CONFIG_BLK_CGROUP_IOLATENCY=y
# CONFIG_BLK_CGROUP_FC_APPID is not set
CONFIG_BLK_CGROUP_IOCOST=y
CONFIG_BLK_CGROUP_IOPRIO=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
CONFIG_ACORN_PARTITION_CUMANA=y
CONFIG_ACORN_PARTITION_EESOX=y
CONFIG_ACORN_PARTITION_ICS=y
CONFIG_ACORN_PARTITION_ADFS=y
CONFIG_ACORN_PARTITION_POWERTEC=y
CONFIG_ACORN_PARTITION_RISCIX=y
CONFIG_AIX_PARTITION=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_OF_PARTITION is not set
# end of Partition Types

CONFIG_BLK_PM=y
CONFIG_BLOCK_HOLDER_DEPRECATED=y
CONFIG_BLK_MQ_STACKING=y
# CONFIG_BLK_ERROR_INJECTION is not set

#
# IO Schedulers
#
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y
CONFIG_BFQ_CGROUP_DEBUG=y
# end of IO Schedulers

CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PADATA=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
# CONFIG_QUEUED_SPINLOCKS_TRACE_CONTENDED_RELEASE is not set
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y
CONFIG_FREEZER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_MISC=y
# CONFIG_BINFMT_MISC_BPF is not set
CONFIG_COREDUMP=y
# end of Executable file formats

#
# Memory Management options
#
CONFIG_SWAP=y
CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y
CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="842"
CONFIG_ZSMALLOC=y

#
# Zsmalloc allocator options
#

#
# Zsmalloc is a common backend allocator for zswap & zram
#
# CONFIG_ZSMALLOC_STAT is not set
CONFIG_ZSMALLOC_CHAIN_SIZE=8
# end of Zsmalloc allocator options

#
# Slab allocator options
#
CONFIG_SLUB=y
CONFIG_KVFREE_RCU_BATCHED=y
# CONFIG_SLUB_TINY is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLAB_BUCKETS is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_KMALLOC_PARTITION_CACHES is not set
# end of Slab allocator options

# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPARSEMEM_VMEMMAP_PREINIT=y
CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y
CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y
CONFIG_ARCH_WANT_HUGETLB_VMEMMAP_PREINIT=y
CONFIG_HAVE_GUP_FAST=y
CONFIG_NUMA_KEEP_MEMINFO=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_EXCLUSIVE_SYSTEM_RAM=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE is not set
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_KERNEL is not set
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE is not set
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MHP_MEMMAP_ON_MEMORY=y
CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y
CONFIG_SPLIT_PTE_PTLOCKS=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_SPLIT_PMD_PTLOCKS=y
CONFIG_BALLOON=y
# CONFIG_BALLOON_MIGRATION is not set
CONFIG_COMPACTION=y
CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
CONFIG_PAGE_REPORTING=y
CONFIG_NUMA_MIGRATION=y
CONFIG_MIGRATION=y
CONFIG_DEVICE_MIGRATION=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_HAS_PMD_SOFTLEAVES=y
CONFIG_CONTIG_ALLOC=y
CONFIG_PCP_BATCH_SCALE_MAX=5
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_WANTS_THP_SWAP=y
# CONFIG_PERSISTENT_HUGE_ZERO_FOLIO is not set
CONFIG_MM_ID=y
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ADVISE=y
CONFIG_THP_SWAP=y
# CONFIG_NO_PAGE_MAPCOUNT is not set
CONFIG_PAGE_MAPCOUNT=y
CONFIG_PGTABLE_HAS_HUGE_LEAVES=y
CONFIG_HAVE_GIGANTIC_FOLIOS=y
CONFIG_ASYNC_KERNEL_PGTABLE_FREE=y
CONFIG_ARCH_SUPPORTS_HUGE_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PMD_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PUD_PFNMAP=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
CONFIG_CMA_AREAS=20
CONFIG_PAGE_BLOCK_MAX_ORDER=10
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
CONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y
CONFIG_ARCH_HAS_ZONE_DMA_SET=y
CONFIG_ZONE_DMA=y
CONFIG_ZONE_DMA32=y
CONFIG_ZONE_DEVICE=y
CONFIG_HMM_MIRROR=y
CONFIG_GET_FREE_REGION=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_VMAP_PFN=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_HAS_PKEYS=y
CONFIG_ARCH_USES_PG_ARCH_2=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PERCPU_STATS=y
# CONFIG_GUP_TEST is not set
# CONFIG_DMAPOOL_TEST is not set
CONFIG_ARCH_HAS_PTE_SPECIAL=y
CONFIG_MAPPING_DIRTY_HELPERS=y
CONFIG_KMAP_LOCAL=y
CONFIG_MEMFD_CREATE=y
CONFIG_SECRETMEM=y
CONFIG_ANON_VMA_NAME=y
CONFIG_HAVE_ARCH_USERFAULTFD_WP=y
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
CONFIG_USERFAULTFD_RWP=y
CONFIG_USERFAULTFD=y
# CONFIG_PTE_MARKER_UFFD_WP is not set
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
# CONFIG_LRU_GEN_STATS is not set
CONFIG_LRU_GEN_WALKS_MMU=y
CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y
CONFIG_PER_VMA_LOCK=y
CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
CONFIG_NUMA_EMU=y
CONFIG_ARCH_HAS_USER_SHADOW_STACK=y
CONFIG_PT_RECLAIM=y

#
# Data Access Monitoring
#
CONFIG_DAMON=y
# CONFIG_DAMON_DEBUG_SANITY is not set
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
# CONFIG_DAMON_SYSFS is not set
CONFIG_DAMON_RECLAIM=y
# CONFIG_DAMON_LRU_SORT is not set
# CONFIG_DAMON_STAT is not set
# end of Data Access Monitoring
# end of Memory Management options

CONFIG_NET=y
CONFIG_WANT_COMPAT_NETLINK_MESSAGES=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_XGRESS=y
CONFIG_NET_REDIRECT=y
CONFIG_SKB_DECRYPTED=y
CONFIG_SKB_EXTENSIONS=y
CONFIG_NET_DEVMEM=y
CONFIG_NET_SHAPER=y
CONFIG_NET_CRC32C=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_DIAG=y
CONFIG_INET_PSP=y
CONFIG_UNIX=y
CONFIG_AF_UNIX_OOB=y
CONFIG_UNIX_DIAG=y
CONFIG_TLS=y
CONFIG_TLS_DEVICE=y
CONFIG_XFRM=y
CONFIG_XFRM_OFFLOAD=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_USER_COMPAT=y
CONFIG_XFRM_INTERFACE=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
CONFIG_XFRM_AH=y
CONFIG_XFRM_ESP=y
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
CONFIG_XFRM_IPTFS=y
CONFIG_XFRM_ESPINTCP=y
CONFIG_SMC=y
CONFIG_SMC_DIAG=y
# CONFIG_SMC_HS_CTRL_BPF is not set
CONFIG_DIBS=y
CONFIG_DIBS_LO=y
CONFIG_XDP_SOCKETS=y
CONFIG_XDP_SOCKETS_DIAG=y
CONFIG_NET_HANDSHAKE=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IP_TUNNEL=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE_COMMON=y
CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y
CONFIG_NET_IPVTI=y
CONFIG_NET_UDP_TUNNEL=y
CONFIG_NET_FOU=y
CONFIG_NET_FOU_IP_TUNNELS=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_ESP_OFFLOAD=y
CONFIG_INET_ESPINTCP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TABLE_PERTURB_ORDER=16
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_UDP_DIAG=y
CONFIG_INET_RAW_DIAG=y
CONFIG_INET_DIAG_DESTROY=y
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=y
CONFIG_TCP_CONG_WESTWOOD=y
CONFIG_TCP_CONG_HTCP=y
CONFIG_TCP_CONG_HSTCP=y
CONFIG_TCP_CONG_HYBLA=y
CONFIG_TCP_CONG_VEGAS=y
CONFIG_TCP_CONG_NV=y
CONFIG_TCP_CONG_SCALABLE=y
CONFIG_TCP_CONG_LP=y
CONFIG_TCP_CONG_VENO=y
CONFIG_TCP_CONG_YEAH=y
CONFIG_TCP_CONG_ILLINOIS=y
CONFIG_TCP_CONG_DCTCP=y
CONFIG_TCP_CONG_CDG=y
CONFIG_TCP_CONG_BBR=y
# CONFIG_DEFAULT_BIC is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_HYBLA is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_VENO is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_DCTCP is not set
# CONFIG_DEFAULT_CDG is not set
# CONFIG_DEFAULT_BBR is not set
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_AO is not set
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_ESP_OFFLOAD=y
CONFIG_INET6_ESPINTCP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_ILA=y
CONFIG_INET6_XFRM_TUNNEL=y
CONFIG_INET6_TUNNEL=y
CONFIG_IPV6_VTI=y
CONFIG_IPV6_SIT=y
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_GRE=y
CONFIG_IPV6_FOU=y
CONFIG_IPV6_FOU_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
CONFIG_IPV6_SEG6_LWTUNNEL=y
CONFIG_IPV6_SEG6_HMAC=y
CONFIG_IPV6_SEG6_BPF=y
CONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not set
CONFIG_NETLABEL=y
CONFIG_MPTCP=y
CONFIG_INET_MPTCP_DIAG=y
CONFIG_MPTCP_IPV6=y
CONFIG_NETWORK_SECMARK=y
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_EGRESS=y
CONFIG_NETFILTER_SKIP_EGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
CONFIG_NETFILTER_BPF_LINK=y
# CONFIG_NETFILTER_NETLINK_HOOK is not set
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_NETLINK_OSF=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_LOG_SYSLOG=y
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
CONFIG_NF_CONNTRACK_ZONES=y
# CONFIG_NF_CONNTRACK_PROCFS is not set
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CONNTRACK_TIMEOUT=y
CONFIG_NF_CONNTRACK_TIMESTAMP=y
CONFIG_NF_CONNTRACK_LABELS=y
CONFIG_NF_CONNTRACK_OVS=y
CONFIG_NF_CT_PROTO_GRE=y
CONFIG_NF_CT_PROTO_SCTP=y
CONFIG_NF_CONNTRACK_AMANDA=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_H323=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_BROADCAST=y
CONFIG_NF_CONNTRACK_NETBIOS_NS=y
CONFIG_NF_CONNTRACK_SNMP=y
CONFIG_NF_CONNTRACK_PPTP=y
CONFIG_NF_CONNTRACK_SANE=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NF_CT_NETLINK_TIMEOUT=y
CONFIG_NF_CT_NETLINK_HELPER=y
CONFIG_NETFILTER_NETLINK_GLUE_CT=y
CONFIG_NF_NAT=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
CONFIG_NF_NAT_SIP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NF_NAT_OVS=y
CONFIG_NETFILTER_SYNPROXY=y
CONFIG_NF_TABLES=y
CONFIG_NF_TABLES_INET=y
CONFIG_NF_TABLES_NETDEV=y
CONFIG_NFT_NUMGEN=y
CONFIG_NFT_CT=y
CONFIG_NFT_EXTHDR_DCCP=y
CONFIG_NFT_FLOW_OFFLOAD=y
CONFIG_NFT_CONNLIMIT=y
CONFIG_NFT_LOG=y
CONFIG_NFT_LIMIT=y
CONFIG_NFT_MASQ=y
CONFIG_NFT_REDIR=y
CONFIG_NFT_NAT=y
CONFIG_NFT_TUNNEL=y
CONFIG_NFT_QUEUE=y
CONFIG_NFT_QUOTA=y
CONFIG_NFT_REJECT=y
CONFIG_NFT_REJECT_INET=y
CONFIG_NFT_COMPAT=y
CONFIG_NFT_HASH=y
CONFIG_NFT_FIB=y
CONFIG_NFT_FIB_INET=y
CONFIG_NFT_XFRM=y
CONFIG_NFT_SOCKET=y
CONFIG_NFT_OSF=y
CONFIG_NFT_TPROXY=y
CONFIG_NFT_SYNPROXY=y
CONFIG_NF_DUP_NETDEV=y
CONFIG_NFT_DUP_NETDEV=y
CONFIG_NFT_FWD_NETDEV=y
CONFIG_NFT_FIB_NETDEV=y
CONFIG_NFT_REJECT_NETDEV=y
CONFIG_NF_FLOW_TABLE_INET=y
CONFIG_NF_FLOW_TABLE=y
# CONFIG_NF_FLOW_TABLE_PROCFS is not set
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XTABLES_COMPAT=y
CONFIG_NETFILTER_XTABLES_LEGACY=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=y
CONFIG_NETFILTER_XT_SET=y

#
# Xtables targets
#
CONFIG_NETFILTER_XT_TARGET_AUDIT=y
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_CT=y
CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_HL=y
CONFIG_NETFILTER_XT_TARGET_HMARK=y
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
CONFIG_NETFILTER_XT_TARGET_LED=y
CONFIG_NETFILTER_XT_TARGET_LOG=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
CONFIG_NETFILTER_XT_TARGET_RATEEST=y
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_TEE=y
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y

#
# Xtables matches
#
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_BPF=y
CONFIG_NETFILTER_XT_MATCH_CGROUP=y
CONFIG_NETFILTER_XT_MATCH_CLUSTER=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=y
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_CPU=y
CONFIG_NETFILTER_XT_MATCH_DCCP=y
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=y
CONFIG_NETFILTER_XT_MATCH_DSCP=y
CONFIG_NETFILTER_XT_MATCH_ECN=y
CONFIG_NETFILTER_XT_MATCH_ESP=y
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y
CONFIG_NETFILTER_XT_MATCH_HELPER=y
CONFIG_NETFILTER_XT_MATCH_HL=y
CONFIG_NETFILTER_XT_MATCH_IPCOMP=y
CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_NETFILTER_XT_MATCH_L2TP=y
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=y
CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_NFACCT=y
CONFIG_NETFILTER_XT_MATCH_OSF=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_RATEEST=y
CONFIG_NETFILTER_XT_MATCH_REALM=y
CONFIG_NETFILTER_XT_MATCH_RECENT=y
CONFIG_NETFILTER_XT_MATCH_SCTP=y
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
CONFIG_NETFILTER_XT_MATCH_STRING=y
CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_TIME=y
CONFIG_NETFILTER_XT_MATCH_U32=y
# end of Core Netfilter Configuration

CONFIG_IP_SET=y
CONFIG_IP_SET_MAX=256
CONFIG_IP_SET_BITMAP_IP=y
CONFIG_IP_SET_BITMAP_IPMAC=y
CONFIG_IP_SET_BITMAP_PORT=y
CONFIG_IP_SET_HASH_IP=y
CONFIG_IP_SET_HASH_IPMARK=y
CONFIG_IP_SET_HASH_IPPORT=y
CONFIG_IP_SET_HASH_IPPORTIP=y
CONFIG_IP_SET_HASH_IPPORTNET=y
CONFIG_IP_SET_HASH_IPMAC=y
CONFIG_IP_SET_HASH_MAC=y
CONFIG_IP_SET_HASH_NETPORTNET=y
CONFIG_IP_SET_HASH_NET=y
CONFIG_IP_SET_HASH_NETNET=y
CONFIG_IP_SET_HASH_NETPORT=y
CONFIG_IP_SET_HASH_NETIFACE=y
CONFIG_IP_SET_LIST_SET=y
CONFIG_IP_VS=y
CONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
CONFIG_IP_VS_PROTO_SCTP=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=y
CONFIG_IP_VS_WRR=y
CONFIG_IP_VS_LC=y
CONFIG_IP_VS_WLC=y
CONFIG_IP_VS_FO=y
CONFIG_IP_VS_OVF=y
CONFIG_IP_VS_LBLC=y
CONFIG_IP_VS_LBLCR=y
CONFIG_IP_VS_DH=y
CONFIG_IP_VS_SH=y
CONFIG_IP_VS_MH=y
CONFIG_IP_VS_SED=y
CONFIG_IP_VS_NQ=y
CONFIG_IP_VS_TWOS=y

#
# IPVS SH scheduler
#
CONFIG_IP_VS_SH_TAB_BITS=8

#
# IPVS MH scheduler
#
CONFIG_IP_VS_MH_TAB_INDEX=12

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=y
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_PE_SIP=y

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_IP_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV4=y
CONFIG_NF_TPROXY_IPV4=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_NFT_REJECT_IPV4=y
CONFIG_NFT_DUP_IPV4=y
CONFIG_NFT_FIB_IPV4=y
CONFIG_NF_TABLES_ARP=y
CONFIG_NF_DUP_IPV4=y
CONFIG_NF_LOG_ARP=y
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_SNMP_BASIC=y
CONFIG_NF_NAT_PPTP=y
CONFIG_NF_NAT_H323=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_RPFILTER=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_SYNPROXY=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_SECURITY=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_NFT_COMPAT_ARP=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
# end of IP: Netfilter Configuration

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV6=y
CONFIG_NF_TPROXY_IPV6=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NFT_REJECT_IPV6=y
CONFIG_NFT_DUP_IPV6=y
CONFIG_NFT_FIB_IPV6=y
CONFIG_NF_DUP_IPV6=y
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_AH=y
CONFIG_IP6_NF_MATCH_EUI64=y
CONFIG_IP6_NF_MATCH_FRAG=y
CONFIG_IP6_NF_MATCH_OPTS=y
CONFIG_IP6_NF_MATCH_HL=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_MATCH_MH=y
CONFIG_IP6_NF_MATCH_RPFILTER=y
CONFIG_IP6_NF_MATCH_RT=y
CONFIG_IP6_NF_MATCH_SRH=y
CONFIG_IP6_NF_TARGET_HL=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_TARGET_SYNPROXY=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_RAW=y
CONFIG_IP6_NF_SECURITY=y
CONFIG_IP6_NF_NAT=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y
CONFIG_IP6_NF_TARGET_NPT=y
# end of IPv6: Netfilter Configuration

CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_NFT_BRIDGE_META=y
CONFIG_NFT_BRIDGE_REJECT=y
CONFIG_NF_CONNTRACK_BRIDGE=y
CONFIG_BRIDGE_NF_EBTABLES_LEGACY=y
CONFIG_BRIDGE_NF_EBTABLES=y
CONFIG_BRIDGE_EBT_BROUTE=y
CONFIG_BRIDGE_EBT_T_FILTER=y
CONFIG_BRIDGE_EBT_T_NAT=y
CONFIG_BRIDGE_EBT_802_3=y
CONFIG_BRIDGE_EBT_AMONG=y
CONFIG_BRIDGE_EBT_ARP=y
CONFIG_BRIDGE_EBT_IP=y
CONFIG_BRIDGE_EBT_IP6=y
CONFIG_BRIDGE_EBT_LIMIT=y
CONFIG_BRIDGE_EBT_MARK=y
CONFIG_BRIDGE_EBT_PKTTYPE=y
CONFIG_BRIDGE_EBT_STP=y
CONFIG_BRIDGE_EBT_VLAN=y
CONFIG_BRIDGE_EBT_ARPREPLY=y
CONFIG_BRIDGE_EBT_DNAT=y
CONFIG_BRIDGE_EBT_MARK_T=y
CONFIG_BRIDGE_EBT_REDIRECT=y
CONFIG_BRIDGE_EBT_SNAT=y
CONFIG_BRIDGE_EBT_LOG=y
CONFIG_BRIDGE_EBT_NFLOG=y
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DBG_OBJCNT is not set
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA256=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
CONFIG_INET_SCTP_DIAG=y
CONFIG_RDS=y
CONFIG_RDS_RDMA=y
CONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not set
CONFIG_TIPC=y
CONFIG_TIPC_MEDIA_IB=y
CONFIG_TIPC_MEDIA_UDP=y
CONFIG_TIPC_CRYPTO=y
CONFIG_TIPC_DIAG=y
CONFIG_ATM=y
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_L2TP=y
# CONFIG_L2TP_DEBUGFS is not set
CONFIG_L2TP_V3=y
CONFIG_L2TP_IP=y
CONFIG_L2TP_ETH=y
CONFIG_STP=y
CONFIG_GARP=y
CONFIG_MRP=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_BRIDGE_MRP=y
CONFIG_BRIDGE_CFM=y
CONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_NONE is not set
# CONFIG_NET_DSA_TAG_AR9331 is not set
CONFIG_NET_DSA_TAG_BRCM_COMMON=y
CONFIG_NET_DSA_TAG_BRCM=y
# CONFIG_NET_DSA_TAG_BRCM_LEGACY is not set
# CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS is not set
CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
# CONFIG_NET_DSA_TAG_HELLCREEK is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
# CONFIG_NET_DSA_TAG_MT7628 is not set
CONFIG_NET_DSA_TAG_MTK=y
# CONFIG_NET_DSA_TAG_MXL_862XX is not set
# CONFIG_NET_DSA_TAG_MXL_GSW1XX is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_NETC is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_OCELOT_8021Q is not set
CONFIG_NET_DSA_TAG_QCA=y
CONFIG_NET_DSA_TAG_RTL4_A=y
# CONFIG_NET_DSA_TAG_RTL8_4 is not set
# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set
# CONFIG_NET_DSA_TAG_XRS700X is not set
# CONFIG_NET_DSA_TAG_YT921X is not set
CONFIG_VLAN_8021Q=y
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
CONFIG_LLC=y
CONFIG_LLC2=y
CONFIG_X25=y
CONFIG_LAPB=y
CONFIG_PHONET=y
CONFIG_6LOWPAN=y
# CONFIG_6LOWPAN_DEBUGFS is not set
CONFIG_6LOWPAN_NHC=y
CONFIG_6LOWPAN_NHC_DEST=y
CONFIG_6LOWPAN_NHC_FRAGMENT=y
CONFIG_6LOWPAN_NHC_HOP=y
CONFIG_6LOWPAN_NHC_IPV6=y
CONFIG_6LOWPAN_NHC_MOBILITY=y
CONFIG_6LOWPAN_NHC_ROUTING=y
CONFIG_6LOWPAN_NHC_UDP=y
CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=y
CONFIG_6LOWPAN_GHC_UDP=y
CONFIG_6LOWPAN_GHC_ICMPV6=y
CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=y
CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=y
CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=y
CONFIG_IEEE802154=y
CONFIG_IEEE802154_NL802154_EXPERIMENTAL=y
CONFIG_IEEE802154_SOCKET=y
CONFIG_IEEE802154_6LOWPAN=y
CONFIG_MAC802154=y
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_MULTIQ=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFB=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_CBS=y
CONFIG_NET_SCH_ETF=y
CONFIG_NET_SCH_MQPRIO_LIB=y
CONFIG_NET_SCH_TAPRIO=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_NETEM=y
CONFIG_NET_SCH_DRR=y
CONFIG_NET_SCH_MQPRIO=y
CONFIG_NET_SCH_SKBPRIO=y
CONFIG_NET_SCH_CHOKE=y
CONFIG_NET_SCH_QFQ=y
CONFIG_NET_SCH_CODEL=y
CONFIG_NET_SCH_FQ_CODEL=y
CONFIG_NET_SCH_CAKE=y
CONFIG_NET_SCH_FQ=y
CONFIG_NET_SCH_HHF=y
CONFIG_NET_SCH_PIE=y
CONFIG_NET_SCH_FQ_PIE=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_SCH_PLUG=y
CONFIG_NET_SCH_ETS=y
# CONFIG_NET_SCH_BPF is not set
# CONFIG_NET_SCH_DUALPI2 is not set
CONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
CONFIG_DEFAULT_CODEL=y
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not set
# CONFIG_DEFAULT_PFIFO_FAST is not set
CONFIG_DEFAULT_NET_SCH="pfifo_fast"

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_FLOW=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NET_CLS_BPF=y
CONFIG_NET_CLS_FLOWER=y
CONFIG_NET_CLS_MATCHALL=y
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=y
CONFIG_NET_EMATCH_NBYTE=y
CONFIG_NET_EMATCH_U32=y
CONFIG_NET_EMATCH_META=y
CONFIG_NET_EMATCH_TEXT=y
CONFIG_NET_EMATCH_CANID=y
CONFIG_NET_EMATCH_IPSET=y
CONFIG_NET_EMATCH_IPT=y
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
CONFIG_NET_ACT_GACT=y
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=y
CONFIG_NET_ACT_SAMPLE=y
CONFIG_NET_ACT_NAT=y
CONFIG_NET_ACT_PEDIT=y
CONFIG_NET_ACT_SIMP=y
CONFIG_NET_ACT_SKBEDIT=y
CONFIG_NET_ACT_CSUM=y
CONFIG_NET_ACT_MPLS=y
CONFIG_NET_ACT_VLAN=y
CONFIG_NET_ACT_BPF=y
CONFIG_NET_ACT_CONNMARK=y
CONFIG_NET_ACT_CTINFO=y
CONFIG_NET_ACT_SKBMOD=y
CONFIG_NET_ACT_IFE=y
CONFIG_NET_ACT_TUNNEL_KEY=y
CONFIG_NET_ACT_CT=y
CONFIG_NET_ACT_GATE=y
CONFIG_NET_IFE_SKBMARK=y
CONFIG_NET_IFE_SKBPRIO=y
CONFIG_NET_IFE_SKBTCINDEX=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=y
CONFIG_BATMAN_ADV=y
CONFIG_BATMAN_ADV_BATMAN_V=y
CONFIG_BATMAN_ADV_BLA=y
CONFIG_BATMAN_ADV_DAT=y
CONFIG_BATMAN_ADV_MCAST=y
# CONFIG_BATMAN_ADV_DEBUG is not set
# CONFIG_BATMAN_ADV_TRACING is not set
CONFIG_OPENVSWITCH=y
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_DIAG=y
CONFIG_VSOCKETS_LOOPBACK=y
# CONFIG_VMWARE_VMCI_VSOCKETS is not set
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
CONFIG_NETLINK_DIAG=y
CONFIG_MPLS=y
CONFIG_NET_MPLS_GSO=y
CONFIG_MPLS_ROUTING=y
CONFIG_MPLS_IPTUNNEL=y
CONFIG_NET_NSH=y
CONFIG_HSR=y
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_L3_MASTER_DEV=y
CONFIG_QRTR=y
CONFIG_QRTR_TUN=y
# CONFIG_QRTR_MHI is not set
CONFIG_NET_NCSI=y
# CONFIG_NCSI_OEM_CMD_GET_MAC is not set
# CONFIG_NCSI_OEM_CMD_KEEP_PHY is not set
# CONFIG_PCPU_DEV_REFCNT is not set
CONFIG_MAX_SKB_FRAGS=17
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_SOCK_RX_QUEUE_MAPPING=y
CONFIG_XPS=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_BPF_STREAM_PARSER=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NET_DROP_MONITOR=y
# end of Network testing
# end of Networking options

CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
CONFIG_CAN_J1939=y
CONFIG_CAN_ISOTP=y
CONFIG_BT=y
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
# CONFIG_BT_AOSPEXT is not set
# CONFIG_BT_DEBUGFS is not set
# CONFIG_BT_SELFTEST is not set

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_POLL_SYNC=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_NOKIA is not set
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_RTL is not set
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIUART_AG6XX=y
CONFIG_BT_HCIUART_MRVL=y
# CONFIG_BT_HCIUART_AML is not set
CONFIG_BT_HCIBCM203X=y
# CONFIG_BT_HCIBCM4377 is not set
CONFIG_BT_HCIBPA10X=y
CONFIG_BT_HCIBFUSB=y
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=y
CONFIG_BT_MRVL_SDIO=y
CONFIG_BT_ATH3K=y
CONFIG_BT_MTKSDIO=y
CONFIG_BT_MTKUART=y
# CONFIG_BT_VIRTIO is not set
# CONFIG_BT_NXPUART is not set
# CONFIG_BT_INTEL_PCIE is not set
# end of Bluetooth device drivers

CONFIG_AF_RXRPC=y
CONFIG_AF_RXRPC_IPV6=y
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set
# CONFIG_AF_RXRPC_DEBUG is not set
CONFIG_RXKAD=y
# CONFIG_RXGK is not set
# CONFIG_RXPERF is not set
CONFIG_AF_KCM=y
CONFIG_STREAM_PARSER=y
CONFIG_MCTP=y
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_FD=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_USBG is not set
CONFIG_NET_9P_RDMA=y
# CONFIG_NET_9P_DEBUG is not set
CONFIG_CEPH_LIB=y
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
CONFIG_NFC=y
CONFIG_NFC_DIGITAL=y
CONFIG_NFC_NCI=y
# CONFIG_NFC_NCI_SPI is not set
CONFIG_NFC_NCI_UART=y
CONFIG_NFC_HCI=y
CONFIG_NFC_SHDLC=y

#
# Near Field Communication (NFC) devices
#
# CONFIG_NFC_TRF7970A is not set
# CONFIG_NFC_MEI_PHY is not set
CONFIG_NFC_SIM=y
CONFIG_NFC_PORT100=y
CONFIG_NFC_VIRTUAL_NCI=y
CONFIG_NFC_FDP=y
# CONFIG_NFC_FDP_I2C is not set
# CONFIG_NFC_PN544_I2C is not set
CONFIG_NFC_PN533=y
CONFIG_NFC_PN533_USB=y
# CONFIG_NFC_PN533_I2C is not set
# CONFIG_NFC_PN532_UART is not set
# CONFIG_NFC_MICROREAD_I2C is not set
CONFIG_NFC_MRVL=y
CONFIG_NFC_MRVL_USB=y
# CONFIG_NFC_MRVL_UART is not set
# CONFIG_NFC_MRVL_I2C is not set
# CONFIG_NFC_ST21NFCA_I2C is not set
# CONFIG_NFC_ST_NCI_I2C is not set
# CONFIG_NFC_ST_NCI_SPI is not set
# CONFIG_NFC_NXP_NCI is not set
# CONFIG_NFC_S3FWRN5_I2C is not set
# CONFIG_NFC_S3FWRN82_UART is not set
# CONFIG_NFC_ST95HF is not set
# end of Near Field Communication (NFC) devices

CONFIG_PSAMPLE=y
CONFIG_NET_IFE=y
CONFIG_LWTUNNEL=y
CONFIG_LWTUNNEL_BPF=y
CONFIG_DST_CACHE=y
CONFIG_GRO_CELLS=y
CONFIG_SOCK_VALIDATE_XMIT=y
CONFIG_NET_SELFTESTS=y
CONFIG_NET_SOCK_MSG=y
CONFIG_NET_DEVLINK=y
CONFIG_PAGE_POOL=y
# CONFIG_PAGE_POOL_STATS is not set
CONFIG_FAILOVER=y
CONFIG_ETHTOOL_NETLINK=y

#
# Device Drivers
#
CONFIG_HAVE_PCI=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_PF_STUB is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_TSM is not set
# CONFIG_PCI_DOE is not set
CONFIG_PCI_ECAM=y
CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y
# CONFIG_PCI_NPEM is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
# CONFIG_PCIE_TPH is not set
# CONFIG_PCI_P2PDMA is not set
CONFIG_PCI_LABEL=y
# CONFIG_PCI_DYNAMIC_OF_NODES is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_OCTEONEP is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# PCI controller drivers
#
CONFIG_PCI_HOST_COMMON=y
# CONFIG_PCI_FTPCI100 is not set
CONFIG_PCI_HOST_GENERIC=y
# CONFIG_VMD is not set
# CONFIG_PCIE_XILINX is not set

#
# Cadence-based PCIe controllers
#
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
# CONFIG_PCIE_CADENCE_PLAT_EP is not set
# end of Cadence-based PCIe controllers

#
# DesignWare-based PCIe controllers
#
# CONFIG_PCI_MESON is not set
# CONFIG_PCIE_INTEL_GW is not set
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCIE_DW_PLAT_EP is not set
# end of DesignWare-based PCIe controllers

#
# Mobiveil-based PCIe controllers
#
# end of Mobiveil-based PCIe controllers

#
# PLDA-based PCIe controllers
#
# CONFIG_PCIE_MICROCHIP_HOST is not set
# end of PLDA-based PCIe controllers
# end of PCI controller drivers

#
# PCI Endpoint
#
CONFIG_PCI_ENDPOINT=y
# CONFIG_PCI_ENDPOINT_CONFIGFS is not set
# CONFIG_PCI_ENDPOINT_MSI_DOORBELL is not set
# CONFIG_PCI_EPF_TEST is not set
# CONFIG_PCI_EPF_NTB is not set
# end of PCI Endpoint

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
# end of PCI switch controller drivers

# CONFIG_PCI_PWRCTRL_GENERIC is not set
# CONFIG_PCI_PWRCTRL_TC9563 is not set
# CONFIG_CXL_BUS is not set
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
CONFIG_PCCARD_NONSTATIC=y
# CONFIG_RAPIDIO is not set
# CONFIG_PC104 is not set

#
# Generic Driver Options
#
CONFIG_AUXILIARY_BUS=y
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_DEVTMPFS_SAFE is not set
CONFIG_DRIVER_DEFERRED_PROBE_TIMEOUT=10
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y

#
# Firmware loader
#
CONFIG_FW_LOADER=y
# CONFIG_FW_LOADER_DEBUG is not set
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set
# CONFIG_FW_LOADER_COMPRESS_ZSTD is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader

CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
CONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_DEVICES=y
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options

#
# Bus devices
#
# CONFIG_MOXTET is not set
CONFIG_MHI_BUS=y
# CONFIG_MHI_BUS_DEBUG is not set
# CONFIG_MHI_BUS_PCI_GENERIC is not set
# CONFIG_MHI_BUS_EP is not set
# end of Bus devices

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Firmware Drivers
#

#
# ARM System Control and Management Interface Protocol
#
# end of ARM System Control and Management Interface Protocol

# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_FW_CFG_SYSFS is not set
CONFIG_SYSFB=y
# CONFIG_SYSFB_SIMPLEFB is not set
CONFIG_GOOGLE_FIRMWARE=y
# CONFIG_GOOGLE_SMI is not set
# CONFIG_GOOGLE_CBMEM is not set
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_MEMCONSOLE=y
# CONFIG_GOOGLE_MEMCONSOLE_X86_LEGACY is not set
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_GOOGLE_VPD=y

#
# Qualcomm firmware drivers
#
# CONFIG_QCOM_PAS is not set
# CONFIG_QCOM_PAS_TEE is not set
# CONFIG_QCOM_SCM is not set
# end of Qualcomm firmware drivers

#
# Tegra firmware driver
#
# end of Tegra firmware driver
# end of Firmware Drivers

# CONFIG_FWCTL is not set
CONFIG_GNSS=y
# CONFIG_GNSS_MTK_SERIAL is not set
# CONFIG_GNSS_SIRF_SERIAL is not set
# CONFIG_GNSS_UBX_SERIAL is not set
CONFIG_GNSS_USB=y
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set

#
# Partition parsers
#
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_OF_PARTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# end of Partition parsers

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y

#
# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK.
#
CONFIG_FTL=y
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set
# end of Mapping drivers for chip access

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_MCHP23K256 is not set
# CONFIG_MTD_MCHP48L640 is not set
# CONFIG_MTD_SST25L is not set
CONFIG_MTD_SLRAM=y
CONFIG_MTD_PHRAM=y
CONFIG_MTD_MTDRAM=y
CONFIG_MTDRAM_TOTAL_SIZE=128
CONFIG_MTDRAM_ERASE_SIZE=4
CONFIG_MTD_BLOCK2MTD=y
# CONFIG_MTD_INTEL_DG is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# end of Self-contained MTD device drivers

#
# NAND
#
# CONFIG_MTD_ONENAND is not set
# CONFIG_MTD_RAW_NAND is not set
# CONFIG_MTD_SPI_NAND is not set

#
# ECC engine support
#
# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
# CONFIG_MTD_NAND_ECC_SW_BCH is not set
# CONFIG_MTD_NAND_ECC_MXIC is not set
# end of ECC engine support
# end of NAND

#
# LPDDR & LPDDR2 PCM memory drivers
#
# CONFIG_MTD_LPDDR is not set
# end of LPDDR & LPDDR2 PCM memory drivers

# CONFIG_MTD_SPI_NOR is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_MTD_UBI_GLUEBI is not set
# CONFIG_MTD_UBI_BLOCK is not set
# CONFIG_MTD_UBI_FAULT_INJECTION is not set
# CONFIG_MTD_UBI_NVMEM is not set
# CONFIG_MTD_HYPERBUS is not set
CONFIG_DTC=y
CONFIG_OF=y
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_KOBJ=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
CONFIG_OF_NUMA=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y
# CONFIG_BLK_DEV_FD is not set
CONFIG_CDROM=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
# CONFIG_ZRAM_BACKEND_LZ4HC is not set
# CONFIG_ZRAM_BACKEND_ZSTD is not set
# CONFIG_ZRAM_BACKEND_DEFLATE is not set
# CONFIG_ZRAM_BACKEND_842 is not set
CONFIG_ZRAM_BACKEND_FORCE_LZO=y
CONFIG_ZRAM_BACKEND_LZO=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
CONFIG_ZRAM_DEF_COMP_LZO=y
CONFIG_ZRAM_DEF_COMP="lzo"
# CONFIG_ZRAM_WRITEBACK is not set
# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set
# CONFIG_ZRAM_MEMORY_TRACKING is not set
# CONFIG_ZRAM_MULTI_COMP is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
# CONFIG_BLK_DEV_DRBD is not set
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_ATA_OVER_ETH=y
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_RBD is not set
CONFIG_BLK_DEV_UBLK=y
CONFIG_BLKDEV_UBLK_LEGACY_OPCODES=y
CONFIG_BLK_DEV_RNBD=y
CONFIG_BLK_DEV_RNBD_CLIENT=y
# CONFIG_BLK_DEV_ZONED_LOOP is not set

#
# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_VERBOSE_ERRORS is not set
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_FABRICS=y
CONFIG_NVME_RDMA=y
CONFIG_NVME_FC=y
CONFIG_NVME_TCP=y
# CONFIG_NVME_TCP_TLS is not set
# CONFIG_NVME_HOST_AUTH is not set
CONFIG_NVME_TARGET=y
# CONFIG_NVME_TARGET_DEBUGFS is not set
# CONFIG_NVME_TARGET_PASSTHRU is not set
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_RDMA=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y
CONFIG_NVME_TARGET_TCP=y
# CONFIG_NVME_TARGET_TCP_TLS is not set
# CONFIG_NVME_TARGET_AUTH is not set
# CONFIG_NVME_TARGET_PCI_EPF is not set
# end of NVME Support

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_PHANTOM is not set
# CONFIG_RPMB is not set
# CONFIG_TI_FPC202 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_DW_XDATA_PCIE is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_XILINX_SDFEC is not set
CONFIG_MISC_RTSX=y
# CONFIG_OPEN_DICE is not set
# CONFIG_NTSYNC is not set
# CONFIG_VCPU_STALL_DETECTOR is not set
# CONFIG_NSM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=y
# CONFIG_EEPROM_IDT_89HPESX is not set
# end of EEPROM support

# CONFIG_CB710_CORE is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_GSC is not set
# CONFIG_INTEL_MEI_CSC is not set
# CONFIG_INTEL_MEI_VSC_HW is not set
# CONFIG_INTEL_MEI_HDCP is not set
# CONFIG_INTEL_MEI_PXP is not set
# CONFIG_INTEL_MEI_GSC_PROXY is not set
CONFIG_VMWARE_VMCI=y
# CONFIG_GENWQE is not set
# CONFIG_BCM_VK is not set
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_RTSX_PCI is not set
CONFIG_MISC_RTSX_USB=y
# CONFIG_UACCE is not set
# CONFIG_PVPANIC is not set
# CONFIG_GP_PCI1XXXX is not set
# CONFIG_KEBA_CP500 is not set
# CONFIG_MISC_RP1 is not set
# CONFIG_INTEL_SSEI is not set
# end of Misc devices

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
# CONFIG_SCSI_SAS_HOST_SMP is not set
CONFIG_SCSI_SRP_ATTRS=y
# end of SCSI Transports

CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
CONFIG_SCSI_HPSA=y
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPI3MR is not set
# CONFIG_SCSI_LEAPRAID is not set
# CONFIG_SCSI_SMARTPQI is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_MYRB is not set
# CONFIG_SCSI_MYRS is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FDOMAIN_PCI is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_EFCT is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_BFA_FC is not set
CONFIG_SCSI_VIRTIO=y
# CONFIG_SCSI_CHELSIO_FCOE is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

CONFIG_ATA=y
CONFIG_SATA_HOST=y
CONFIG_PATA_TIMINGS=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=3
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_AHCI_CEVA is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_DWC is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
CONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
CONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
CONFIG_PATA_SCH=y
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PCMCIA is not set
# CONFIG_PATA_OF_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_BITMAP=y
# CONFIG_MD_LLBITMAP is not set
CONFIG_MD_AUTODETECT=y
CONFIG_MD_BITMAP_FILE=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
# CONFIG_MD_CLUSTER is not set
CONFIG_BCACHE=y
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_ASYNC_REGISTRATION is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_PERSISTENT_DATA=y
# CONFIG_DM_UNSTRIPED is not set
CONFIG_DM_CRYPT=y
# CONFIG_DM_INLINECRYPT is not set
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_DM_CACHE=y
CONFIG_DM_CACHE_SMQ=y
CONFIG_DM_WRITECACHE=y
# CONFIG_DM_EBS is not set
# CONFIG_DM_ERA is not set
CONFIG_DM_CLONE=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_LOG_USERSPACE is not set
CONFIG_DM_RAID=y
CONFIG_DM_ZERO=y
CONFIG_DM_MULTIPATH=y
CONFIG_DM_MULTIPATH_QL=y
CONFIG_DM_MULTIPATH_ST=y
# CONFIG_DM_MULTIPATH_HST is not set
# CONFIG_DM_MULTIPATH_IOA is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_DUST is not set
# CONFIG_DM_INIT is not set
CONFIG_DM_UEVENT=y
CONFIG_DM_FLAKEY=y
CONFIG_DM_VERITY=y
# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
CONFIG_DM_VERITY_FEC=y
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
CONFIG_DM_INTEGRITY=y
CONFIG_DM_ZONED=y
CONFIG_DM_AUDIT=y
# CONFIG_DM_VDO is not set
# CONFIG_DM_PCACHE is not set
CONFIG_TARGET_CORE=y
# CONFIG_TCM_IBLOCK is not set
# CONFIG_TCM_FILEIO is not set
# CONFIG_TCM_PSCSI is not set
# CONFIG_LOOPBACK_TARGET is not set
# CONFIG_ISCSI_TARGET is not set
# CONFIG_SBP_TARGET is not set
# CONFIG_REMOTE_TARGET is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=y
CONFIG_FIREWIRE_OHCI=y
CONFIG_FIREWIRE_SBP2=y
CONFIG_FIREWIRE_NET=y
# CONFIG_FIREWIRE_NOSY is not set
# end of IEEE 1394 (FireWire) support

# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
CONFIG_BONDING=y
CONFIG_DUMMY=y
CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set
# CONFIG_OVPN is not set
CONFIG_EQUALIZER=y
CONFIG_NET_FC=y
CONFIG_IFB=y
CONFIG_NET_TEAM=y
CONFIG_NET_TEAM_MODE_BROADCAST=y
CONFIG_NET_TEAM_MODE_ROUNDROBIN=y
CONFIG_NET_TEAM_MODE_RANDOM=y
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=y
CONFIG_NET_TEAM_MODE_LOADBALANCE=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_IPVLAN_L3S=y
CONFIG_IPVLAN=y
CONFIG_IPVTAP=y
CONFIG_VXLAN=y
CONFIG_GENEVE=y
CONFIG_BAREUDP=y
CONFIG_GTP=y
# CONFIG_PFCP is not set
# CONFIG_AMT is not set
CONFIG_MACSEC=y
CONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
# CONFIG_NETCONSOLE_EXTENDED_LOG is not set
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=y
CONFIG_TAP=y
CONFIG_TUN_VNET_CROSS_LE=y
CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
CONFIG_NLMON=y
# CONFIG_NETKIT is not set
CONFIG_NET_VRF=y
CONFIG_VSOCKMON=y
# CONFIG_MHI_NET is not set
# CONFIG_ARCNET is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_SOLOS is not set

#
# Distributed Switch Architecture drivers
#
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MXL_GSW1XX is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MXL862 is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_XRS700X_I2C is not set
# CONFIG_NET_DSA_XRS700X_MDIO is not set
# CONFIG_NET_DSA_REALTEK is not set
# CONFIG_NET_DSA_KS8995 is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_NET_DSA_YT921X is not set
# end of Distributed Switch Architecture drivers

CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
CONFIG_NET_VENDOR_ALIBABA=y
# CONFIG_ALIBABA_EEA is not set
# CONFIG_ALTERA_TSE is not set
CONFIG_NET_VENDOR_AMAZON=y
# CONFIG_ENA_ETHERNET is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
CONFIG_NET_VENDOR_ASIX=y
# CONFIG_SPI_AX88796C is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_CX_ECAT is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CADENCE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_NET_VENDOR_CORTINA is not set
CONFIG_NET_VENDOR_DAVICOM=y
# CONFIG_DM9051 is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
CONFIG_NET_VENDOR_ENGLEDER=y
# CONFIG_TSNEP is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
CONFIG_NET_VENDOR_FUNGIBLE=y
# CONFIG_FUN_ETH is not set
CONFIG_NET_VENDOR_GOOGLE=y
CONFIG_GVE=y
CONFIG_NET_VENDOR_HISILICON=y
# CONFIG_HIBMCGE is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
CONFIG_NET_VENDOR_I825XX=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_ICE is not set
# CONFIG_FM10K is not set
# CONFIG_IGC is not set
# CONFIG_IDPF is not set
# CONFIG_IXD is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_ADI is not set
CONFIG_NET_VENDOR_LITEX=y
# CONFIG_LITEX_LITEETH is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
CONFIG_MLX4_CORE=y
# CONFIG_MLX4_DEBUG is not set
# CONFIG_MLX4_CORE_GEN2 is not set
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
# CONFIG_MLXFW is not set
CONFIG_NET_VENDOR_META=y
# CONFIG_FBNIC is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not set
# CONFIG_NET_VENDOR_MICROSEMI is not set
CONFIG_NET_VENDOR_MICROSOFT=y
CONFIG_NET_VENDOR_MUCSE=y
# CONFIG_MGBE is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_VENDOR_PENSANDO is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
CONFIG_NET_VENDOR_VERTEXCOM=y
# CONFIG_MSE102X is not set
# CONFIG_NET_VENDOR_VIA is not set
CONFIG_NET_VENDOR_WANGXUN=y
# CONFIG_NGBE is not set
# CONFIG_TXGBE is not set
# CONFIG_TXGBEVF is not set
# CONFIG_NGBEVF is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
# CONFIG_NET_VENDOR_XIRCOM is not set
CONFIG_NET_VENDOR_ZTE=y
# CONFIG_DINGHAI is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
CONFIG_PHYLINK=y
CONFIG_PHYLIB=y
CONFIG_SWPHY=y
CONFIG_PHY_PACKAGE=y
# CONFIG_LED_TRIGGER_PHY is not set
CONFIG_PHYLIB_LEDS=y
CONFIG_FIXED_PHY=y
# CONFIG_SFP is not set

#
# MII PHY device drivers
#
# CONFIG_AS21XXX_PHY is not set
# CONFIG_AIR_AN8801_PHY is not set
# CONFIG_AIR_EN8811H_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_ADIN_PHY is not set
# CONFIG_ADIN1100_PHY is not set
# CONFIG_ADIN1140_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
CONFIG_AX88796B_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM54140_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM84881_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAP8211R_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MARVELL_88Q2XXX_PHY is not set
# CONFIG_MARVELL_88X2222_PHY is not set
# CONFIG_MAXLINEAR_GPHY is not set
# CONFIG_MAXLINEAR_86110_PHY is not set
# CONFIG_MEDIATEK_GE_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_MICROCHIP_T1S_PHY is not set
CONFIG_MICROCHIP_PHY=y
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_NXP_CBTX_PHY is not set
# CONFIG_NXP_C45_TJA11XX_PHY is not set
# CONFIG_NXP_TJA11XX_PHY is not set
# CONFIG_NCN26000_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_QCA83XX_PHY is not set
# CONFIG_QCA808X_PHY is not set
# CONFIG_QCA807X_PHY is not set
# CONFIG_QSEMI_PHY is not set
CONFIG_REALTEK_PHY=y
# CONFIG_REALTEK_PHY_HWMON is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83TC811_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_DP83869_PHY is not set
# CONFIG_DP83TD510_PHY is not set
# CONFIG_DP83TG720_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PSE_CONTROLLER is not set
CONFIG_CAN_DEV=y
CONFIG_CAN_VCAN=y
CONFIG_CAN_VXCAN=y
CONFIG_CAN_NETLINK=y
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_RX_OFFLOAD=y
# CONFIG_CAN_CAN327 is not set
# CONFIG_CAN_DUMMY is not set
# CONFIG_CAN_FLEXCAN is not set
# CONFIG_CAN_GRCAN is not set
# CONFIG_CAN_KVASER_PCIEFD is not set
CONFIG_CAN_SLCAN=y
# CONFIG_CAN_VIRTIO_CAN is not set
# CONFIG_CAN_C_CAN is not set
# CONFIG_CAN_CC770 is not set
# CONFIG_CAN_CTUCANFD_PCI is not set
# CONFIG_CAN_CTUCANFD_PLATFORM is not set
# CONFIG_CAN_ESD_402_PCI is not set
CONFIG_CAN_IFI_CANFD=y
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_PEAK_PCIEFD is not set
# CONFIG_CAN_SJA1000 is not set
# CONFIG_CAN_SOFTING is not set

#
# CAN SPI interfaces
#
# CONFIG_CAN_HI311X is not set
# CONFIG_CAN_MCP251X is not set
# CONFIG_CAN_MCP251XFD is not set
# end of CAN SPI interfaces

#
# CAN USB interfaces
#
CONFIG_CAN_8DEV_USB=y
CONFIG_CAN_EMS_USB=y
CONFIG_CAN_ESD_USB=y
CONFIG_CAN_ETAS_ES58X=y
CONFIG_CAN_F81604=y
CONFIG_CAN_GS_USB=y
CONFIG_CAN_KVASER_USB=y
CONFIG_CAN_MCBA_USB=y
CONFIG_CAN_PEAK_USB=y
CONFIG_CAN_UCAN=y
# end of CAN USB interfaces

# CONFIG_CAN_DEBUG_DEVICES is not set

#
# MCTP Device Drivers
#
# CONFIG_MCTP_SERIAL is not set
# CONFIG_MCTP_TRANSPORT_I2C is not set
# CONFIG_MCTP_TRANSPORT_USBLIB is not set
# CONFIG_MCTP_TRANSPORT_USB is not set
# end of MCTP Device Drivers

#
# MDIO controller drivers
#
CONFIG_FWNODE_MDIO=y
CONFIG_OF_MDIO=y
CONFIG_ACPI_MDIO=y
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
# CONFIG_MDIO_HISI_FEMAC is not set
CONFIG_MDIO_MVUSB=y
# CONFIG_MDIO_MSCC_MIIM is not set
# CONFIG_MDIO_OCTEON is not set
# CONFIG_MDIO_IPQ4019 is not set
# CONFIG_MDIO_IPQ8064 is not set
# CONFIG_MDIO_THUNDER is not set

#
# MDIO Multiplexers
#
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set
# end of MDIO Multiplexers
# end of MDIO controller drivers

#
# PCS device drivers
#
# CONFIG_PCS_XPCS is not set
# end of PCS device drivers

# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOATM=y
CONFIG_PPPOX=y
CONFIG_PPPOE=y
CONFIG_PPPOE_HASH_BITS_1=y
# CONFIG_PPPOE_HASH_BITS_2 is not set
# CONFIG_PPPOE_HASH_BITS_4 is not set
# CONFIG_PPPOE_HASH_BITS_8 is not set
CONFIG_PPPOE_HASH_BITS=1
CONFIG_PPTP=y
CONFIG_PPPOL2TP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_SLIP=y
CONFIG_SLHC=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_USB_NET_DRIVERS=y
CONFIG_USB_CATC=y
CONFIG_USB_KAWETH=y
CONFIG_USB_PEGASUS=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y
CONFIG_USB_LAN78XX=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_AX88179_178A=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_NET_HUAWEI_CDC_NCM=y
CONFIG_USB_NET_CDC_MBIM=y
CONFIG_USB_NET_DM9601=y
CONFIG_USB_NET_SR9700=y
CONFIG_USB_NET_SR9800=y
CONFIG_USB_NET_SMSC75XX=y
CONFIG_USB_NET_SMSC95XX=y
CONFIG_USB_NET_GL620A=y
CONFIG_USB_NET_NET1080=y
CONFIG_USB_NET_PLUSB=y
CONFIG_USB_NET_MCS7830=y
CONFIG_USB_NET_RNDIS_HOST=y
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
CONFIG_USB_NET_CDC_SUBSET=y
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
CONFIG_USB_NET_ZAURUS=y
CONFIG_USB_NET_CX82310_ETH=y
CONFIG_USB_NET_KALMIA=y
CONFIG_USB_NET_QMI_WWAN=y
CONFIG_USB_HSO=y
CONFIG_USB_NET_INT51X1=y
CONFIG_USB_CDC_PHONET=y
CONFIG_USB_IPHETH=y
CONFIG_USB_SIERRA_NET=y
CONFIG_USB_VL600=y
CONFIG_USB_NET_CH9200=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_RTL8153_ECM=y
CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_ADMTEK=y
# CONFIG_ADM8211 is not set
CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K_COMMON_DEBUG=y
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
# CONFIG_ATH9K_STATION_STATISTICS is not set
CONFIG_ATH9K_DYNACK=y
# CONFIG_ATH9K_WOW is not set
CONFIG_ATH9K_RFKILL=y
CONFIG_ATH9K_CHANNEL_CONTEXT=y
CONFIG_ATH9K_PCOEM=y
# CONFIG_ATH9K_PCI_NO_EEPROM is not set
CONFIG_ATH9K_HTC=y
CONFIG_ATH9K_HTC_DEBUGFS=y
# CONFIG_ATH9K_HWRNG is not set
CONFIG_ATH9K_COMMON_SPECTRAL=y
CONFIG_CARL9170=y
CONFIG_CARL9170_LEDS=y
# CONFIG_CARL9170_DEBUGFS is not set
CONFIG_CARL9170_WPC=y
CONFIG_CARL9170_HWRNG=y
CONFIG_ATH6KL=y
# CONFIG_ATH6KL_SDIO is not set
CONFIG_ATH6KL_USB=y
# CONFIG_ATH6KL_DEBUG is not set
# CONFIG_ATH6KL_TRACING is not set
CONFIG_AR5523=y
# CONFIG_WIL6210 is not set
CONFIG_ATH10K=y
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=y
# CONFIG_ATH10K_AHB is not set
# CONFIG_ATH10K_SDIO is not set
CONFIG_ATH10K_USB=y
# CONFIG_ATH10K_DEBUG is not set
# CONFIG_ATH10K_DEBUGFS is not set
CONFIG_ATH10K_LEDS=y
# CONFIG_ATH10K_TRACING is not set
# CONFIG_WCN36XX is not set
CONFIG_ATH11K=y
# CONFIG_ATH11K_PCI is not set
# CONFIG_ATH11K_DEBUG is not set
# CONFIG_ATH11K_DEBUGFS is not set
# CONFIG_ATH11K_TRACING is not set
# CONFIG_ATH12K is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
# CONFIG_WLAN_VENDOR_BROADCOM is not set
# CONFIG_WLAN_VENDOR_INTEL is not set
# CONFIG_WLAN_VENDOR_INTERSIL is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
CONFIG_WLAN_VENDOR_MORSEMICRO=y
# CONFIG_MM81X_USB is not set
# CONFIG_MM81X_SDIO is not set
CONFIG_WLAN_VENDOR_NXP=y
# CONFIG_NXPWIFI_SDIO is not set
CONFIG_WLAN_VENDOR_PURELIFI=y
CONFIG_PLFXLC=y
# CONFIG_WLAN_VENDOR_RALINK is not set
# CONFIG_WLAN_VENDOR_REALTEK is not set
# CONFIG_WLAN_VENDOR_RSI is not set
CONFIG_WLAN_VENDOR_SILABS=y
# CONFIG_WFX is not set
# CONFIG_WLAN_VENDOR_ST is not set
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_MAC80211_HWSIM=y
CONFIG_VIRT_WIFI=y
CONFIG_WAN=y
CONFIG_HDLC=y
CONFIG_HDLC_RAW=y
CONFIG_HDLC_RAW_ETH=y
CONFIG_HDLC_CISCO=y
CONFIG_HDLC_FR=y
CONFIG_HDLC_PPP=y
CONFIG_HDLC_X25=y
# CONFIG_FRAMER is not set
# CONFIG_PCI200SYN is not set
# CONFIG_WANXL is not set
# CONFIG_PC300TOO is not set
# CONFIG_FARSYNC is not set
CONFIG_LAPBETHER=y
CONFIG_IEEE802154_DRIVERS=y
# CONFIG_IEEE802154_FAKELB is not set
# CONFIG_IEEE802154_AT86RF230 is not set
# CONFIG_IEEE802154_MRF24J40 is not set
# CONFIG_IEEE802154_CC2520 is not set
CONFIG_IEEE802154_ATUSB=y
# CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set
# CONFIG_IEEE802154_MCR20A is not set
CONFIG_IEEE802154_HWSIM=y

#
# Wireless WAN
#
CONFIG_WWAN=y
# CONFIG_WWAN_DEBUGFS is not set
# CONFIG_WWAN_HWSIM is not set
CONFIG_MHI_WWAN_CTRL=y
# CONFIG_MHI_WWAN_MBIM is not set
# CONFIG_IOSM is not set
# CONFIG_MTK_T7XX is not set
# end of Wireless WAN

CONFIG_VMXNET3=y
# CONFIG_FUJITSU_ES is not set
CONFIG_USB4_NET=y
CONFIG_NETDEVSIM=y
CONFIG_NET_FAILOVER=y

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_LEDS=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_SPARSEKMAP=y
# CONFIG_INPUT_MATRIXKMAP is not set
CONFIG_INPUT_VIVALDIFMAP=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1050 is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_CHARLIEPLEX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_PINEPHONE is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
# CONFIG_KEYBOARD_TWL4030 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_CAP11XX is not set
# CONFIG_KEYBOARD_BCM is not set
# CONFIG_KEYBOARD_CYPRESS_SF is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_PS2_VMMOUSE is not set
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
CONFIG_MOUSE_APPLETOUCH=y
CONFIG_MOUSE_BCM5974=y
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_MOUSE_SYNAPTICS_USB=y
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADC is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
CONFIG_JOYSTICK_IFORCE=y
CONFIG_JOYSTICK_IFORCE_USB=y
# CONFIG_JOYSTICK_IFORCE_232 is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
# CONFIG_JOYSTICK_PSXPAD_SPI is not set
CONFIG_JOYSTICK_PXRC=y
# CONFIG_JOYSTICK_QWIIC is not set
# CONFIG_JOYSTICK_FSIA6B is not set
# CONFIG_JOYSTICK_SENSEHAT is not set
# CONFIG_JOYSTICK_SEESAW is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=y
CONFIG_TABLET_USB_AIPTEK=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_PEGASUS=y
# CONFIG_TABLET_SERIAL_WACOM4 is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ADC is not set
# CONFIG_TOUCHSCREEN_AR1021_I2C is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_BU21029 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set
# CONFIG_TOUCHSCREEN_CY8CTMA140 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP5 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX852X is not set
# CONFIG_TOUCHSCREEN_HYCON_HY46XX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CST816X is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_ILITEK is not set
# CONFIG_TOUCHSCREEN_S6SY761 is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_EKTF2127 is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_WACOM_W9000 is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set
# CONFIG_TOUCHSCREEN_MSG2638 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS is not set
# CONFIG_TOUCHSCREEN_IMAGIS is not set
# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2004 is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_RM_TS is not set
# CONFIG_TOUCHSCREEN_SILEAD is not set
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMFTS is not set
CONFIG_TOUCHSCREEN_SUR40=y
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZET6223 is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
# CONFIG_TOUCHSCREEN_COLIBRI_VF50 is not set
# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set
# CONFIG_TOUCHSCREEN_IQS5XX is not set
# CONFIG_TOUCHSCREEN_IQS7211 is not set
# CONFIG_TOUCHSCREEN_ZINITIX is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX83112B is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
# CONFIG_INPUT_AW86927 is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not set
# CONFIG_INPUT_GPIO_VIBRA is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_ATI_REMOTE2=y
CONFIG_INPUT_KEYSPAN_REMOTE=y
# CONFIG_INPUT_KXTJ9 is not set
CONFIG_INPUT_POWERMATE=y
CONFIG_INPUT_YEALINK=y
CONFIG_INPUT_CM109=y
# CONFIG_INPUT_REGULATOR_HAPTIC is not set
# CONFIG_INPUT_RETU_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_VIBRA is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_DA7280_HAPTICS is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IBM_PANEL is not set
CONFIG_INPUT_IMS_PCU=y
# CONFIG_INPUT_IQS269A is not set
# CONFIG_INPUT_IQS626A is not set
# CONFIG_INPUT_IQS7222 is not set
# CONFIG_INPUT_ISA1200_HAPTIC is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_AMD_SFH_TABLETMODE is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
CONFIG_RMI4_CORE=y
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not set
# CONFIG_RMI4_SMB is not set
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=y
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
# CONFIG_RMI4_F1A is not set
# CONFIG_RMI4_F21 is not set
CONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
CONFIG_RMI4_F3A=y
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_SERIO_GPIO_PS2 is not set
CONFIG_USERIO=y
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports
# end of Input device support

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_LEGACY_TIOCSTI=y
CONFIG_LDISC_AUTOLOAD=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCILIB=y
CONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_EXAR is not set
CONFIG_SERIAL_8250_MOXA_PCIE=y
# CONFIG_SERIAL_8250_CS is not set
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_MANY_PORTS=y
# CONFIG_SERIAL_8250_PCI1XXXX is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_LPSS=y
CONFIG_SERIAL_8250_MID=y
CONFIG_SERIAL_8250_PERICOM=y
# CONFIG_SERIAL_8250_NI is not set
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_SERIAL_8250_DWLIB=y

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SIFIVE is not set
# CONFIG_SERIAL_LANTIQ is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_FSL_LINFLEXUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_SERIAL_SPRD is not set
# end of Serial drivers

CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
CONFIG_N_HDLC=y
CONFIG_N_GSM=y
CONFIG_NOZOMI=y
CONFIG_NULL_TTY=y
CONFIG_HVC_DRIVER=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
CONFIG_TTY_PRINTK=y
CONFIG_TTY_PRINTK_LEVEL=6
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_SSIF_IPMI_BMC is not set
# CONFIG_IPMB_DEVICE_INTERFACE is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_BA431 is not set
# CONFIG_HW_RANDOM_VIA is not set
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_HW_RANDOM_CCTRNG is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
# CONFIG_DEVMEM is not set
CONFIG_NVRAM=y
# CONFIG_DEVPORT is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TPM2_HMAC is not set
# CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C is not set
# CONFIG_TCG_TIS_I2C_CR50 is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
CONFIG_TCG_CRB=y
# CONFIG_TCG_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
CONFIG_XILLYBUS_CLASS=y
# CONFIG_XILLYBUS is not set
CONFIG_XILLYUSB=y
# end of Character devices

#
# I2C support
#
CONFIG_I2C=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y

#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_GPMUX is not set
# CONFIG_I2C_MUX_LTC4306 is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_MUX_REG=y
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support

CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_AMD_MP2 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_CHT_WC is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_ZHAOXIN is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_RK3X is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_DIOLAN_U2C=y
CONFIG_I2C_DLN2=y
CONFIG_I2C_LJCA=y
CONFIG_I2C_CP2615=y
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PCI1XXXX is not set
CONFIG_I2C_ROBOTFUZZ_OSIF=y
# CONFIG_I2C_TAOS_EVM is not set
CONFIG_I2C_TINY_USB=y
CONFIG_I2C_VIPERBOARD=y

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_MLXCPLD is not set
# CONFIG_I2C_VIRTIO is not set
# end of I2C Hardware Bus support

# CONFIG_I2C_STUB is not set
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_EEPROM=y
# CONFIG_I2C_SLAVE_TESTUNIT is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# end of I2C support

# CONFIG_I3C is not set
CONFIG_I3C_OR_I2C=y
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
# CONFIG_SPI_CH341 is not set
# CONFIG_SPI_DESIGNWARE is not set
CONFIG_SPI_DLN2=y
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_FSL_SPI is not set
CONFIG_SPI_LJCA=y
# CONFIG_SPI_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_MICROCHIP_CORE_SPI is not set
# CONFIG_SPI_LANTIQ_SSC is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PCI1XXXX is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_VIRTIO is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set

#
# SPI Multiplexer support
#
# CONFIG_SPI_MUX is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
CONFIG_SPI_DYNAMIC=y
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_PARPORT is not set
# CONFIG_PPS_CLIENT_GPIO is not set
# CONFIG_PPS_GENERATOR is not set

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_OPTIONAL=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PTP_1588_CLOCK_KVM=y
CONFIG_PTP_1588_CLOCK_VMCLOCK=y
# CONFIG_PTP_1588_CLOCK_IDT82P33 is not set
# CONFIG_PTP_1588_CLOCK_IDTCM is not set
# CONFIG_PTP_1588_CLOCK_FC3W is not set
# CONFIG_PTP_1588_CLOCK_MOCK is not set
# CONFIG_PTP_1588_CLOCK_VMW is not set
# CONFIG_PTP_1588_CLOCK_OCP is not set
# CONFIG_PTP_NETC_V4_TIMER is not set
# end of PTP clock support

#
# DPLL device support
#
# CONFIG_ZL3073X_I2C is not set
# CONFIG_ZL3073X_SPI is not set
# end of DPLL device support

# CONFIG_PINCTRL is not set
CONFIG_GPIOLIB_LEGACY=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIO_ACPI=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
# CONFIG_GPIO_CDEV is not set

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMDPT is not set
# CONFIG_GPIO_BY_PINCTRL is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_FTGPIO010 is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRANITERAPIDS is not set
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_LOGICVC is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_POLARFIRE_SOC is not set
# CONFIG_GPIO_SIFIVE is not set
# CONFIG_GPIO_SYSCON is not set
# CONFIG_GPIO_WAVESHARE_DSI_TOUCH is not set
# CONFIG_GPIO_XILINX is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped GPIO drivers

#
# Port-mapped I/O GPIO drivers
#
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_F7188X is not set
# CONFIG_GPIO_IT87 is not set
# CONFIG_GPIO_NOVALAKE is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_WINBOND is not set
# CONFIG_GPIO_WS16C48 is not set
# end of Port-mapped I/O GPIO drivers

#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_FXL6408 is not set
# CONFIG_GPIO_DS4520 is not set
# CONFIG_GPIO_GW_PLD is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCA9570 is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders

#
# MFD GPIO expanders
#
CONFIG_GPIO_DLN2=y
CONFIG_GPIO_LJCA=y
# CONFIG_GPIO_TWL4030 is not set
# CONFIG_GPIO_WHISKEY_COVE is not set
# end of MFD GPIO expanders

#
# Auxiliary Bus GPIO drivers
#
# end of Auxiliary Bus GPIO drivers

#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_PCI_IDIO_16 is not set
# CONFIG_GPIO_PCIE_IDIO_24 is not set
# CONFIG_GPIO_RDC321X is not set
# CONFIG_GPIO_SODAVILLE is not set
# end of PCI GPIO expanders

#
# SPI GPIO expanders
#
# CONFIG_GPIO_74X164 is not set
# CONFIG_GPIO_MAX3191X is not set
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_PISOSR is not set
# CONFIG_GPIO_XRA1403 is not set
# end of SPI GPIO expanders

#
# USB GPIO expanders
#
CONFIG_GPIO_VIPERBOARD=y
# CONFIG_GPIO_MPSSE is not set
# end of USB GPIO expanders

#
# Virtual GPIO drivers
#
# CONFIG_GPIO_AGGREGATOR is not set
# CONFIG_GPIO_LATCH is not set
# CONFIG_GPIO_LINE_MUX is not set
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_GPIO_VIRTIO is not set
# CONFIG_GPIO_SIM is not set
# end of Virtual GPIO drivers

#
# GPIO Debugging utilities
#
# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set
# CONFIG_GPIO_VIRTUSER is not set
# end of GPIO Debugging utilities

# CONFIG_W1 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_SEQUENCING is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_IP5XXX_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
# CONFIG_BATTERY_CHAGALL is not set
# CONFIG_BATTERY_CW2015 is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SAMSUNG_SDI is not set
# CONFIG_BATTERY_S2MU005 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_BATTERY_MAX1720X is not set
CONFIG_CHARGER_ISP1704=y
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_TWL4030 is not set
# CONFIG_CHARGER_TWL6030 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_MANAGER is not set
# CONFIG_CHARGER_LT3651 is not set
# CONFIG_CHARGER_LTC4162L is not set
# CONFIG_CHARGER_DETECTOR_MAX14656 is not set
# CONFIG_CHARGER_MAX77976 is not set
# CONFIG_CHARGER_MAX8971 is not set
# CONFIG_CHARGER_MT6360 is not set
# CONFIG_CHARGER_MT6370 is not set
# CONFIG_CHARGER_BQ2415X is not set
CONFIG_CHARGER_BQ24190=y
# CONFIG_CHARGER_BQ24257 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_BQ2515X is not set
# CONFIG_CHARGER_BQ25890 is not set
# CONFIG_CHARGER_BQ25980 is not set
# CONFIG_CHARGER_BQ25630 is not set
# CONFIG_CHARGER_BQ256XX is not set
# CONFIG_CHARGER_SGM41542 is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_BATTERY_RT5033 is not set
# CONFIG_CHARGER_RT9455 is not set
# CONFIG_CHARGER_RT9467 is not set
# CONFIG_CHARGER_RT9471 is not set
# CONFIG_CHARGER_RT9756 is not set
# CONFIG_FUEL_GAUGE_STC3117 is not set
# CONFIG_CHARGER_UCS1002 is not set
# CONFIG_CHARGER_BD99954 is not set
# CONFIG_BATTERY_SURFACE is not set
# CONFIG_CHARGER_SURFACE is not set
# CONFIG_BATTERY_UG3105 is not set
# CONFIG_BATTERY_CHARGER_SURFACE_RT is not set
# CONFIG_FUEL_GAUGE_MM8013 is not set
CONFIG_HWMON=y
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM1177 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7310 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_AHT10 is not set
CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=y
# CONFIG_SENSORS_AS370 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_ASUS_ROG_RYUJIN is not set
# CONFIG_SENSORS_AXI_FAN_CONTROL is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_KB9002 is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ARCTIC_FAN_CONTROLLER is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_CHIPCAP2 is not set
CONFIG_SENSORS_CORSAIR_CPRO=y
CONFIG_SENSORS_CORSAIR_PSU=y
# CONFIG_SENSORS_DRIVETEMP is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
CONFIG_SENSORS_GIGABYTE_WATERFORCE=y
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_HS3001 is not set
# CONFIG_SENSORS_HTU31 is not set
# CONFIG_SENSORS_IIO_HWMON is not set
# CONFIG_SENSORS_I5500 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_ISL28022 is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
CONFIG_SENSORS_POWERZ=y
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_PROM21_XHCI is not set
# CONFIG_SENSORS_LATTEPANDA_SIGMA_EC is not set
# CONFIG_SENSORS_LENOVO_EC is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2947_I2C is not set
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC2991 is not set
# CONFIG_SENSORS_LTC2992 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LTC4282 is not set
# CONFIG_SENSORS_LTC4283 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX127 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX31722 is not set
# CONFIG_SENSORS_MAX31730 is not set
# CONFIG_SENSORS_MAX31760 is not set
# CONFIG_MAX31827 is not set
# CONFIG_SENSORS_MAX6620 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MC34VR500 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_MCP9982 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_TPS23861 is not set
# CONFIG_SENSORS_MR75203 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT6775_I2C is not set
# CONFIG_SENSORS_NCT7363 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_NPCM7XX is not set
CONFIG_SENSORS_NZXT_KRAKEN2=y
# CONFIG_SENSORS_NZXT_KRAKEN3 is not set
CONFIG_SENSORS_NZXT_SMART2=y
# CONFIG_SENSORS_OCC_P8_I2C is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_PT5161L is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHT4x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC1812 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC2305 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SURFACE_FAN is not set
# CONFIG_SENSORS_SURFACE_TEMP is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA238 is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_SPD5118 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_TMP464 is not set
# CONFIG_SENSORS_TMP513 is not set
# CONFIG_SENSORS_TSC1641 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_XGENE is not set
# CONFIG_SENSORS_YOGAFAN is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
# CONFIG_SENSORS_ASUS_WMI is not set
# CONFIG_SENSORS_ASUS_EC is not set
# CONFIG_SENSORS_HP_WMI is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_NETLINK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_THERMAL_DEBUGFS is not set
# CONFIG_THERMAL_CORE_TESTING is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_HWMON=y
# CONFIG_THERMAL_OF is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_PCIE_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_THERMAL_MMIO is not set

#
# Intel thermal drivers
#
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_X86_PKG_TEMP_THERMAL is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set

#
# ACPI INT340X thermal drivers
#
# CONFIG_INT340X_THERMAL is not set
# end of ACPI INT340X thermal drivers

# CONFIG_INTEL_BXT_PMIC_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_INTEL_TCC_COOLING is not set
# CONFIG_INTEL_HFI_THERMAL is not set
# end of Intel thermal drivers

# CONFIG_GENERIC_ADC_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WATCHDOG_SYSFS is not set
# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set

#
# Watchdog Pretimeout Governors
#

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_LENOVO_SE10_WDT is not set
# CONFIG_LENOVO_SE30_WDT is not set
# CONFIG_LENOVO_SE30G2_SE60_WDT is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_RETU_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADVANTECH_EC_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_EXAR_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_INTEL_OC_WATCHDOG is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_TQMX86_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_INTEL_MEI_WDT is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set
# CONFIG_MEN_A21_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
CONFIG_USBPCWATCHDOG=y
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
# CONFIG_SSB_PCIHOST is not set
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
# CONFIG_SSB_PCMCIAHOST is not set
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
# CONFIG_BCMA_HOST_PCI is not set
# CONFIG_BCMA_HOST_SOC is not set
# CONFIG_BCMA_DRIVER_PCI is not set
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DRIVER_GPIO is not set
# CONFIG_BCMA_DEBUG is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_ADP5585 is not set
# CONFIG_MFD_ACT8945A is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_SMPRO is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CGBC is not set
# CONFIG_MFD_CS40L50_I2C is not set
# CONFIG_MFD_CS40L50_SPI is not set
# CONFIG_MFD_CS42L43_I2C is not set
# CONFIG_MFD_CS42L43_SDW is not set
# CONFIG_MFD_LOCHNAGAR is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
CONFIG_MFD_DLN2=y
# CONFIG_MFD_GATEWORKS_GSC is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_MP2629 is not set
# CONFIG_MFD_PF1550 is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=y
# CONFIG_LPC_SCH is not set
# CONFIG_INTEL_SOC_PMIC is not set
CONFIG_INTEL_SOC_PMIC_BXTWC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
# CONFIG_INTEL_SOC_PMIC_CHTDC_TI is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
CONFIG_MFD_INTEL_PMC_BXT=y
# CONFIG_MFD_IQS62X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM886_PMIC is not set
# CONFIG_MFD_MAX5970 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77541 is not set
# CONFIG_MFD_MAX77620 is not set
# CONFIG_MFD_MAX77650 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77705 is not set
# CONFIG_MFD_MAX77714 is not set
# CONFIG_MFD_MAX77759 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
CONFIG_MFD_MT6360=y
CONFIG_MFD_MT6370=y
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_NCT6694 is not set
# CONFIG_MFD_OCELOT is not set
# CONFIG_MFD_CPCAP is not set
CONFIG_MFD_VIPERBOARD=y
# CONFIG_MFD_NTXEC is not set
CONFIG_MFD_RETU=y
# CONFIG_MFD_SY7636A is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT4831 is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RT5120 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RK8XX_I2C is not set
# CONFIG_MFD_RK8XX_SPI is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_I2C is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_STMPE is not set
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_MFD_BQ257XX is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TI_LP87565 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS65219 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS6594_I2C is not set
# CONFIG_MFD_TPS6594_SPI is not set
CONFIG_TWL4030_CORE=y
# CONFIG_MFD_TWL4030_AUDIO is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TQMX86 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_ROHM_BD718XX is not set
# CONFIG_MFD_ROHM_BD71828 is not set
# CONFIG_MFD_ROHM_BD957XMUF is not set
# CONFIG_MFD_ROHM_BD96801 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_STMFX is not set
# CONFIG_MFD_ATC260X_I2C is not set
# CONFIG_MFD_QCOM_PM8008 is not set
# CONFIG_RAVE_SP_CORE is not set
# CONFIG_MFD_INTEL_M10_BMC_SPI is not set
# CONFIG_MFD_QNAP_MCU is not set
# CONFIG_MFD_RSMU_I2C is not set
# CONFIG_MFD_RSMU_SPI is not set
# CONFIG_MFD_UPBOARD_FPGA is not set
# CONFIG_MFD_MAX7360 is not set
# end of Multifunction device drivers

CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_NETLINK_EVENTS is not set
# CONFIG_REGULATOR_88PG86X is not set
# CONFIG_REGULATOR_ACT8865 is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_ADP5055 is not set
# CONFIG_REGULATOR_AW37503 is not set
# CONFIG_REGULATOR_DA9121 is not set
# CONFIG_REGULATOR_DA9210 is not set
# CONFIG_REGULATOR_DA9211 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_FAN53880 is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_ISL9305 is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_FP9931 is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_LP872X is not set
# CONFIG_REGULATOR_LP8755 is not set
# CONFIG_REGULATOR_LTC3589 is not set
# CONFIG_REGULATOR_LTC3676 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX77503 is not set
# CONFIG_REGULATOR_MAX77675 is not set
# CONFIG_REGULATOR_MAX77857 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8893 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX20086 is not set
# CONFIG_REGULATOR_MAX20411 is not set
# CONFIG_REGULATOR_MAX77826 is not set
# CONFIG_REGULATOR_MAX77838 is not set
# CONFIG_REGULATOR_MCP16502 is not set
# CONFIG_REGULATOR_MP5416 is not set
# CONFIG_REGULATOR_MP8859 is not set
# CONFIG_REGULATOR_MP886X is not set
# CONFIG_REGULATOR_MPQ7920 is not set
# CONFIG_REGULATOR_MT6311 is not set
# CONFIG_REGULATOR_MT6360 is not set
# CONFIG_REGULATOR_MT6370 is not set
# CONFIG_REGULATOR_PCA9450 is not set
# CONFIG_REGULATOR_PF9453 is not set
# CONFIG_REGULATOR_PF0900 is not set
# CONFIG_REGULATOR_PF530X is not set
# CONFIG_REGULATOR_PF8X00 is not set
# CONFIG_REGULATOR_PFUZE100 is not set
# CONFIG_REGULATOR_PV88060 is not set
# CONFIG_REGULATOR_PV88080 is not set
# CONFIG_REGULATOR_PV88090 is not set
# CONFIG_REGULATOR_RAA215300 is not set
# CONFIG_REGULATOR_RT4801 is not set
# CONFIG_REGULATOR_RT4803 is not set
# CONFIG_REGULATOR_RT5133 is not set
# CONFIG_REGULATOR_RT5190A is not set
# CONFIG_REGULATOR_RT5739 is not set
# CONFIG_REGULATOR_RT5759 is not set
# CONFIG_REGULATOR_RT6160 is not set
# CONFIG_REGULATOR_RT6190 is not set
# CONFIG_REGULATOR_RT6245 is not set
# CONFIG_REGULATOR_RT8092 is not set
# CONFIG_REGULATOR_RTQ2134 is not set
# CONFIG_REGULATOR_RTMV20 is not set
# CONFIG_REGULATOR_RTQ6752 is not set
# CONFIG_REGULATOR_RTQ2208 is not set
# CONFIG_REGULATOR_SGM3804 is not set
# CONFIG_REGULATOR_SLG51000 is not set
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_SY8827N is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS6286X is not set
# CONFIG_REGULATOR_TPS6287X is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS65132 is not set
# CONFIG_REGULATOR_TPS65185 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_TWL4030=y
# CONFIG_REGULATOR_VCTRL is not set
CONFIG_RC_CORE=y
# CONFIG_LIRC is not set
# CONFIG_RC_MAP is not set
# CONFIG_RC_DECODERS is not set
CONFIG_RC_DEVICES=y
# CONFIG_IR_ENE is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_GPIO_CIR is not set
# CONFIG_IR_HIX5HD2 is not set
CONFIG_IR_IGORPLUGUSB=y
CONFIG_IR_IGUANA=y
CONFIG_IR_IMON=y
CONFIG_IR_IMON_RAW=y
# CONFIG_IR_ITE_CIR is not set
CONFIG_IR_MCEUSB=y
# CONFIG_IR_NUVOTON is not set
CONFIG_IR_REDRAT3=y
# CONFIG_IR_SERIAL is not set
CONFIG_IR_STREAMZAP=y
CONFIG_IR_TOY=y
CONFIG_IR_TTUSBIR=y
# CONFIG_IR_WINBOND_CIR is not set
CONFIG_RC_ATI_REMOTE=y
# CONFIG_RC_LOOPBACK is not set
CONFIG_RC_XBOX_DVD=y
CONFIG_CEC_CORE=y

#
# CEC support
#
# CONFIG_MEDIA_CEC_RC is not set
CONFIG_MEDIA_CEC_SUPPORT=y
# CONFIG_CEC_CH7322 is not set
# CONFIG_CEC_NXP_TDA9950 is not set
# CONFIG_CEC_GPIO is not set
# CONFIG_CEC_SECO is not set
# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set
CONFIG_USB_PULSE8_CEC=y
CONFIG_USB_RAINSHADOW_CEC=y
# end of CEC support

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set

#
# Media device types
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_SDR_SUPPORT=y
CONFIG_MEDIA_PLATFORM_SUPPORT=y
CONFIG_MEDIA_TEST_SUPPORT=y
# end of Media device types

CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_DVB_CORE=y

#
# Video4Linux options
#
CONFIG_VIDEO_V4L2_I2C=y
CONFIG_VIDEO_V4L2_SUBDEV_API=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEO_TUNER=y
CONFIG_V4L2_MEM2MEM_DEV=y
# end of Video4Linux options

#
# Media controller options
#
CONFIG_MEDIA_CONTROLLER_DVB=y
# end of Media controller options

#
# Digital TV options
#
# CONFIG_DVB_MMAP is not set
# CONFIG_DVB_NET is not set
CONFIG_DVB_MAX_ADAPTERS=16
# CONFIG_DVB_DYNAMIC_MINORS is not set
# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set
# CONFIG_DVB_ULE_DEBUG is not set
# end of Digital TV options

#
# Media drivers
#

#
# Drivers filtered as selected at 'Filter media drivers'
#

#
# Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y

#
# Webcam devices
#
CONFIG_USB_GSPCA=y
CONFIG_USB_GSPCA_BENQ=y
CONFIG_USB_GSPCA_CONEX=y
CONFIG_USB_GSPCA_CPIA1=y
CONFIG_USB_GSPCA_DTCS033=y
CONFIG_USB_GSPCA_ETOMS=y
CONFIG_USB_GSPCA_FINEPIX=y
CONFIG_USB_GSPCA_JEILINJ=y
CONFIG_USB_GSPCA_JL2005BCD=y
CONFIG_USB_GSPCA_KINECT=y
CONFIG_USB_GSPCA_KONICA=y
CONFIG_USB_GSPCA_MARS=y
CONFIG_USB_GSPCA_MR97310A=y
CONFIG_USB_GSPCA_NW80X=y
CONFIG_USB_GSPCA_OV519=y
CONFIG_USB_GSPCA_OV534=y
CONFIG_USB_GSPCA_OV534_9=y
CONFIG_USB_GSPCA_PAC207=y
CONFIG_USB_GSPCA_PAC7302=y
CONFIG_USB_GSPCA_PAC7311=y
CONFIG_USB_GSPCA_SE401=y
CONFIG_USB_GSPCA_SN9C2028=y
CONFIG_USB_GSPCA_SN9C20X=y
CONFIG_USB_GSPCA_SONIXB=y
CONFIG_USB_GSPCA_SONIXJ=y
CONFIG_USB_GSPCA_SPCA1528=y
CONFIG_USB_GSPCA_SPCA500=y
CONFIG_USB_GSPCA_SPCA501=y
CONFIG_USB_GSPCA_SPCA505=y
CONFIG_USB_GSPCA_SPCA506=y
CONFIG_USB_GSPCA_SPCA508=y
CONFIG_USB_GSPCA_SPCA561=y
CONFIG_USB_GSPCA_SQ905=y
CONFIG_USB_GSPCA_SQ905C=y
CONFIG_USB_GSPCA_SQ930X=y
CONFIG_USB_GSPCA_STK014=y
CONFIG_USB_GSPCA_STK1135=y
CONFIG_USB_GSPCA_STV0680=y
CONFIG_USB_GSPCA_SUNPLUS=y
CONFIG_USB_GSPCA_T613=y
CONFIG_USB_GSPCA_TOPRO=y
CONFIG_USB_GSPCA_TOUPTEK=y
CONFIG_USB_GSPCA_TV8532=y
CONFIG_USB_GSPCA_VC032X=y
CONFIG_USB_GSPCA_VICAM=y
CONFIG_USB_GSPCA_XIRLINK_CIT=y
CONFIG_USB_GSPCA_ZC3XX=y
CONFIG_USB_GL860=y
CONFIG_USB_M5602=y
CONFIG_USB_STV06XX=y
CONFIG_USB_PWC=y
# CONFIG_USB_PWC_DEBUG is not set
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_USB_S2255=y
CONFIG_VIDEO_USBTV=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

#
# Analog TV USB devices
#
CONFIG_VIDEO_GO7007=y
CONFIG_VIDEO_GO7007_USB=y
CONFIG_VIDEO_GO7007_LOADER=y
CONFIG_VIDEO_GO7007_USB_S2250_BOARD=y
CONFIG_VIDEO_HDPVR=y
CONFIG_VIDEO_PVRUSB2=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
CONFIG_VIDEO_STK1160=y

#
# Analog/digital TV USB devices
#
CONFIG_VIDEO_AU0828=y
CONFIG_VIDEO_AU0828_V4L2=y
CONFIG_VIDEO_AU0828_RC=y
CONFIG_VIDEO_CX231XX=y
CONFIG_VIDEO_CX231XX_RC=y
CONFIG_VIDEO_CX231XX_ALSA=y
CONFIG_VIDEO_CX231XX_DVB=y

#
# Digital TV USB devices
#
CONFIG_DVB_AS102=y
CONFIG_DVB_B2C2_FLEXCOP_USB=y
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
CONFIG_DVB_USB_V2=y
CONFIG_DVB_USB_AF9015=y
CONFIG_DVB_USB_AF9035=y
CONFIG_DVB_USB_ANYSEE=y
CONFIG_DVB_USB_AU6610=y
CONFIG_DVB_USB_AZ6007=y
CONFIG_DVB_USB_CE6230=y
CONFIG_DVB_USB_DVBSKY=y
CONFIG_DVB_USB_EC168=y
CONFIG_DVB_USB_GL861=y
CONFIG_DVB_USB_LME2510=y
CONFIG_DVB_USB_MXL111SF=y
CONFIG_DVB_USB_RTL28XXU=y
CONFIG_DVB_USB_ZD1301=y
CONFIG_DVB_USB=y
# CONFIG_DVB_USB_DEBUG is not set
CONFIG_DVB_USB_A800=y
CONFIG_DVB_USB_AF9005=y
CONFIG_DVB_USB_AF9005_REMOTE=y
CONFIG_DVB_USB_AZ6027=y
CONFIG_DVB_USB_CINERGY_T2=y
CONFIG_DVB_USB_CXUSB=y
CONFIG_DVB_USB_CXUSB_ANALOG=y
CONFIG_DVB_USB_DIB0700=y
CONFIG_DVB_USB_DIB3000MC=y
CONFIG_DVB_USB_DIBUSB_MB=y
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set
CONFIG_DVB_USB_DIBUSB_MC=y
CONFIG_DVB_USB_DIGITV=y
CONFIG_DVB_USB_DTT200U=y
CONFIG_DVB_USB_DTV5100=y
CONFIG_DVB_USB_DW2102=y
CONFIG_DVB_USB_GP8PSK=y
CONFIG_DVB_USB_M920X=y
CONFIG_DVB_USB_NOVA_T_USB2=y
CONFIG_DVB_USB_OPERA1=y
CONFIG_DVB_USB_PCTV452E=y
CONFIG_DVB_USB_TECHNISAT_USB2=y
CONFIG_DVB_USB_TTUSB2=y
CONFIG_DVB_USB_UMT_010=y
CONFIG_DVB_USB_VP702X=y
CONFIG_DVB_USB_VP7045=y
CONFIG_SMS_USB_DRV=y
CONFIG_DVB_TTUSB_BUDGET=y
CONFIG_DVB_TTUSB_DEC=y

#
# Webcam, TV (analog/digital) USB devices
#
CONFIG_VIDEO_EM28XX=y
CONFIG_VIDEO_EM28XX_V4L2=y
CONFIG_VIDEO_EM28XX_ALSA=y
CONFIG_VIDEO_EM28XX_DVB=y
CONFIG_VIDEO_EM28XX_RC=y

#
# Software defined radio USB devices
#
CONFIG_USB_AIRSPY=y
CONFIG_USB_HACKRF=y
CONFIG_USB_MSI2500=y
# CONFIG_MEDIA_PCI_SUPPORT is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SAA7706H is not set
CONFIG_RADIO_SHARK=y
CONFIG_RADIO_SHARK2=y
CONFIG_RADIO_SI4713=y
CONFIG_RADIO_TEA575X=y
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_TEF6862 is not set
CONFIG_USB_DSBR=y
CONFIG_USB_KEENE=y
CONFIG_USB_MA901=y
CONFIG_USB_MR800=y
CONFIG_USB_RAREMONO=y
CONFIG_RADIO_SI470X=y
CONFIG_USB_SI470X=y
# CONFIG_I2C_SI470X is not set
CONFIG_USB_SI4713=y
# CONFIG_PLATFORM_SI4713 is not set
CONFIG_I2C_SI4713=y
# CONFIG_MEDIA_PLATFORM_DRIVERS is not set

#
# MMC/SDIO DVB adapters
#
CONFIG_SMS_SDIO_DRV=y
CONFIG_V4L_TEST_DRIVERS=y
CONFIG_VIDEO_VIM2M=y
CONFIG_VIDEO_VICODEC=y
CONFIG_VIDEO_VIMC=y
CONFIG_VIDEO_VIVID=y
CONFIG_VIDEO_VIVID_CEC=y
# CONFIG_VIDEO_VIVID_OSD is not set
CONFIG_VIDEO_VIVID_MAX_DEVS=64
# CONFIG_VIDEO_VISL is not set
CONFIG_DVB_TEST_DRIVERS=y
CONFIG_DVB_VIDTV=y

#
# FireWire (IEEE 1394) Adapters
#
# CONFIG_DVB_FIREDTV is not set
CONFIG_MEDIA_COMMON_OPTIONS=y

#
# common driver options
#
CONFIG_CYPRESS_FIRMWARE=y
CONFIG_TTPCI_EEPROM=y
CONFIG_UVC_COMMON=y
CONFIG_VIDEO_CX2341X=y
CONFIG_VIDEO_TVEEPROM=y
CONFIG_DVB_B2C2_FLEXCOP=y
CONFIG_SMS_SIANO_MDTV=y
CONFIG_SMS_SIANO_RC=y
CONFIG_SMS_SIANO_DEBUGFS=y
CONFIG_VIDEO_V4L2_TPG=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_V4L2=y
CONFIG_VIDEOBUF2_MEMOPS=y
CONFIG_VIDEOBUF2_DMA_CONTIG=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_VIDEOBUF2_DMA_SG=y
# end of Media drivers

#
# Media ancillary drivers
#
CONFIG_MEDIA_ATTACH=y
# CONFIG_VIDEO_IR_I2C is not set
# CONFIG_VIDEO_CAMERA_SENSOR is not set

#
# Camera ISPs
#
# CONFIG_VIDEO_THP7312 is not set
# end of Camera ISPs

# CONFIG_VIDEO_CAMERA_LENS is not set

#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
# end of Flash devices

#
# Audio decoders, processors and mixers
#
# CONFIG_VIDEO_CS3308 is not set
# CONFIG_VIDEO_CS5345 is not set
CONFIG_VIDEO_CS53L32A=y
CONFIG_VIDEO_MSP3400=y
# CONFIG_VIDEO_SONY_BTF_MPX is not set
# CONFIG_VIDEO_TDA1997X is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_UDA1342 is not set
# CONFIG_VIDEO_VP27SMPX is not set
# CONFIG_VIDEO_WM8739 is not set
CONFIG_VIDEO_WM8775=y
# end of Audio decoders, processors and mixers

#
# RDS decoders
#
# CONFIG_VIDEO_SAA6588 is not set
# end of RDS decoders

#
# Video decoders
#
# CONFIG_VIDEO_ADV7180 is not set
# CONFIG_VIDEO_ADV7183 is not set
# CONFIG_VIDEO_ADV748X is not set
# CONFIG_VIDEO_ADV7604 is not set
# CONFIG_VIDEO_ADV7842 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_ISL7998X is not set
# CONFIG_VIDEO_LT6911UXE is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_MAX9286 is not set
# CONFIG_VIDEO_ML86V7667 is not set
# CONFIG_VIDEO_SAA7110 is not set
CONFIG_VIDEO_SAA711X=y
# CONFIG_VIDEO_TC358743 is not set
# CONFIG_VIDEO_TC358746 is not set
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_TW2804 is not set
# CONFIG_VIDEO_TW9900 is not set
# CONFIG_VIDEO_TW9903 is not set
# CONFIG_VIDEO_TW9906 is not set
# CONFIG_VIDEO_TW9910 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_SAA717X is not set
CONFIG_VIDEO_CX25840=y
# end of Video decoders

#
# Video encoders
#
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_ADV7393 is not set
# CONFIG_VIDEO_ADV7511 is not set
# CONFIG_VIDEO_AK881X is not set
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_THS8200 is not set
# end of Video encoders

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# end of Video improvement chips

#
# Audio/Video compression chips
#
# CONFIG_VIDEO_SAA6752HS is not set
# end of Audio/Video compression chips

#
# SDR tuner chips
#
# CONFIG_SDR_MAX2175 is not set
# end of SDR tuner chips

#
# Miscellaneous helper chips
#
# CONFIG_VIDEO_INTEL_CVS is not set
# CONFIG_VIDEO_I2C is not set
# CONFIG_VIDEO_M52790 is not set
# CONFIG_VIDEO_ST_MIPID02 is not set
# CONFIG_VIDEO_THS7303 is not set
# end of Miscellaneous helper chips

#
# Video serializers and deserializers
#
# CONFIG_VIDEO_DS90UB913 is not set
# CONFIG_VIDEO_DS90UB953 is not set
# CONFIG_VIDEO_DS90UB960 is not set
# CONFIG_VIDEO_MAX96714 is not set
# CONFIG_VIDEO_MAX96717 is not set
# end of Video serializers and deserializers

#
# Media SPI Adapters
#
# CONFIG_CXD2880_SPI_DRV is not set
# CONFIG_VIDEO_GS1662 is not set
# end of Media SPI Adapters

CONFIG_MEDIA_TUNER=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_E4000 is not set
# CONFIG_MEDIA_TUNER_FC0011 is not set
# CONFIG_MEDIA_TUNER_FC0012 is not set
# CONFIG_MEDIA_TUNER_FC0013 is not set
# CONFIG_MEDIA_TUNER_FC2580 is not set
# 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 is not set
CONFIG_MEDIA_TUNER_MSI001=y
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2063 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# 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 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_R820T is not set
# CONFIG_MEDIA_TUNER_SI2157 is not set
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18250 is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# 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 is not set
# CONFIG_MEDIA_TUNER_XC4000 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# end of Customize TV tuners

#
# Customise DVB Frontends
#

#
# Multistandard (satellite) frontends
#
# CONFIG_DVB_M88DS3103 is not set
# CONFIG_DVB_MXL5XX is not set
# CONFIG_DVB_STB0899 is not set
# CONFIG_DVB_STB6100 is not set
# CONFIG_DVB_STV090x is not set
# CONFIG_DVB_STV0910 is not set
# CONFIG_DVB_STV6110x is not set
# CONFIG_DVB_STV6111 is not set

#
# Multistandard (cable + terrestrial) frontends
#
# CONFIG_DVB_DRXK is not set
# CONFIG_DVB_MN88472 is not set
# CONFIG_DVB_MN88473 is not set
# CONFIG_DVB_SI2165 is not set
# CONFIG_DVB_TDA18271C2DD is not set

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_CX24116 is not set
# CONFIG_DVB_CX24117 is not set
# CONFIG_DVB_CX24120 is not set
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_DS3000 is not set
# CONFIG_DVB_MB86A16 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_SI21XX is not set
# CONFIG_DVB_STB6000 is not set
# CONFIG_DVB_STV0288 is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_STV0900 is not set
# CONFIG_DVB_STV6110 is not set
# CONFIG_DVB_TDA10071 is not set
# 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 is not set
# CONFIG_DVB_TUA6100 is not set
# CONFIG_DVB_TUNER_CX24113 is not set
# CONFIG_DVB_TUNER_ITD1000 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_ZL10036 is not set
# CONFIG_DVB_ZL10039 is not set

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_AF9013=y
CONFIG_DVB_AS102_FE=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_CXD2820R is not set
# CONFIG_DVB_CXD2841ER is not set
CONFIG_DVB_DIB3000MB=y
CONFIG_DVB_DIB3000MC=y
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set
# CONFIG_DVB_DIB9000 is not set
# CONFIG_DVB_DRXD is not set
CONFIG_DVB_EC100=y
CONFIG_DVB_GP8PSK_FE=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_NXT6000 is not set
CONFIG_DVB_RTL2830=y
CONFIG_DVB_RTL2832=y
CONFIG_DVB_RTL2832_SDR=y
# CONFIG_DVB_S5H1432 is not set
# CONFIG_DVB_SI2168 is not set
# 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=y
# CONFIG_DVB_CXD2880 is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_STV0297 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_TDA10023 is not set
# CONFIG_DVB_VES1820 is not set

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
# CONFIG_DVB_AU8522_DTV is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_BCM3510 is not set
# CONFIG_DVB_LG2160 is not set
# CONFIG_DVB_LGDT3305 is not set
# CONFIG_DVB_LGDT3306A is not set
# CONFIG_DVB_LGDT330X is not set
# CONFIG_DVB_MXL692 is not set
# CONFIG_DVB_NXT200X is not set
# CONFIG_DVB_OR51132 is not set
# CONFIG_DVB_OR51211 is not set
# CONFIG_DVB_S5H1409 is not set
# CONFIG_DVB_S5H1411 is not set

#
# ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_DIB8000 is not set
# CONFIG_DVB_MB86A20S is not set
# CONFIG_DVB_S921 is not set

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_MN88443X is not set
# CONFIG_DVB_TC90522 is not set

#
# Digital terrestrial only tuners/PLL
#
# CONFIG_DVB_PLL is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set

#
# SEC control devices for DVB-S
#
# CONFIG_DVB_A8293 is not set
CONFIG_DVB_AF9033=y
# CONFIG_DVB_ASCOT2E is not set
# CONFIG_DVB_ATBM8830 is not set
# CONFIG_DVB_HELENE is not set
# CONFIG_DVB_HORUS3A is not set
# CONFIG_DVB_ISL6405 is not set
# CONFIG_DVB_ISL6421 is not set
# CONFIG_DVB_ISL6423 is not set
# CONFIG_DVB_IX2505V is not set
# CONFIG_DVB_LGS8GL5 is not set
# CONFIG_DVB_LGS8GXX is not set
# CONFIG_DVB_LNBH25 is not set
# CONFIG_DVB_LNBH29 is not set
# CONFIG_DVB_LNBP21 is not set
# CONFIG_DVB_LNBP22 is not set
# CONFIG_DVB_M88RS2000 is not set
# CONFIG_DVB_TDA665x is not set
# CONFIG_DVB_DRX39XYJ is not set

#
# Common Interface (EN50221) controller drivers
#
# CONFIG_DVB_CXD2099 is not set
# CONFIG_DVB_SP2 is not set
# end of Customise DVB Frontends

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
# end of Media ancillary drivers

#
# Graphics support
#
CONFIG_APERTURE_HELPERS=y
CONFIG_SCREEN_INFO=y
CONFIG_VIDEO=y
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_INTEL_GTT=y
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_GPU_BUDDY=y
CONFIG_DRM=y

#
# DRM debugging options
#
# CONFIG_DRM_WERROR is not set
CONFIG_DRM_DEBUG_MM=y
# end of DRM debugging options

CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_PANIC is not set
# CONFIG_DRM_RAS is not set
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
CONFIG_DRM_CLIENT=y
CONFIG_DRM_CLIENT_LIB=y
CONFIG_DRM_CLIENT_SELECTION=y
CONFIG_DRM_CLIENT_SETUP=y

#
# Supported DRM clients
#
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set
# CONFIG_DRM_CLIENT_LOG is not set
CONFIG_DRM_CLIENT_DEFAULT_FBDEV=y
CONFIG_DRM_CLIENT_DEFAULT="fbdev"
# end of Supported DRM clients

# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_DISPLAY_DP_AUX_BUS=y
CONFIG_DRM_DISPLAY_HELPER=y
# CONFIG_DRM_DISPLAY_DP_AUX_CEC is not set
# CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV is not set
CONFIG_DRM_DISPLAY_DP_HELPER=y
CONFIG_DRM_DISPLAY_DSC_HELPER=y
CONFIG_DRM_DISPLAY_HDCP_HELPER=y
CONFIG_DRM_DISPLAY_HDMI_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_BUDDY=y
CONFIG_DRM_TTM_HELPER=y
CONFIG_DRM_GEM_SHMEM_HELPER=y
# CONFIG_DRM_AMDGPU is not set

#
# ARM devices
#
# CONFIG_DRM_KOMEDA is not set
# end of ARM devices

# CONFIG_DRM_AST is not set
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_AUX_BRIDGE=y
CONFIG_DRM_AUX_HPD_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_CHIPONE_ICN6211 is not set
# CONFIG_DRM_CHRONTEL_CH7033 is not set
# CONFIG_DRM_DISPLAY_CONNECTOR is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_ITE_IT6263 is not set
# CONFIG_DRM_ITE_IT6505 is not set
# CONFIG_DRM_LONTIUM_LT8912B is not set
# CONFIG_DRM_LONTIUM_LT9211 is not set
# CONFIG_DRM_LONTIUM_LT9611 is not set
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
# CONFIG_DRM_LONTIUM_LT8713SX is not set
# CONFIG_DRM_ITE_IT66121 is not set
# CONFIG_DRM_LVDS_CODEC is not set
# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set
# CONFIG_DRM_NWL_MIPI_DSI is not set
# CONFIG_DRM_NXP_PTN3460 is not set
# CONFIG_DRM_PARADE_PS8622 is not set
# CONFIG_DRM_PARADE_PS8640 is not set
# CONFIG_DRM_SAMSUNG_DSIM is not set
# CONFIG_DRM_SIL_SII8620 is not set
# CONFIG_DRM_SII902X is not set
# CONFIG_DRM_SII9234 is not set
# CONFIG_DRM_SIMPLE_BRIDGE is not set
# CONFIG_DRM_SOLOMON_SSD2825 is not set
# CONFIG_DRM_THINE_THC63LVD1024 is not set
# CONFIG_DRM_TOSHIBA_TC358762 is not set
# CONFIG_DRM_TOSHIBA_TC358764 is not set
# CONFIG_DRM_TOSHIBA_TC358767 is not set
# CONFIG_DRM_TOSHIBA_TC358768 is not set
# CONFIG_DRM_TOSHIBA_TC358775 is not set
# CONFIG_DRM_TI_DLPC3433 is not set
# CONFIG_DRM_TI_TDP158 is not set
# CONFIG_DRM_TI_TFP410 is not set
# CONFIG_DRM_TI_SN65DSI83 is not set
# CONFIG_DRM_TI_SN65DSI86 is not set
# CONFIG_DRM_TI_TPD12S015 is not set
# CONFIG_DRM_WAVESHARE_BRIDGE is not set
# CONFIG_DRM_ANALOGIX_ANX6345 is not set
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_ANALOGIX_ANX7625 is not set
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_CDNS_DSI is not set
# CONFIG_DRM_CDNS_MHDP8546 is not set
# end of Display Interface Bridges

# CONFIG_DRM_ETNAVIV is not set
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_GUD=y
# CONFIG_DRM_HISI_HIBMC is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
# CONFIG_DRM_I915_DP_TUNNEL is not set

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_REPLAY_GPU_HANGS_API is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_DEBUG_MMIO is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_DEBUG_GUC is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
# CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set
# CONFIG_DRM_I915_DEBUG_WAKEREF is not set
# end of drm/i915 Debugging

#
# drm/i915 Profile Guided Optimisation
#
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
# end of drm/i915 Profile Guided Optimisation

# CONFIG_DRM_LOGICVC is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set
# CONFIG_DRM_PANEL_ANBERNIC_TD4310 is not set
# CONFIG_DRM_PANEL_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set
# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set
# CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0 is not set
# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set
# CONFIG_DRM_PANEL_BOE_TD4320 is not set
# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_LL2 is not set
# CONFIG_DRM_PANEL_CHIPONE_ICNA35XX is not set
# CONFIG_DRM_PANEL_CHIPWEALTH_CH13726A is not set
# CONFIG_DRM_PANEL_EBBG_FT8719 is not set
# CONFIG_DRM_PANEL_ELIDA_KD35T133 is not set
# CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
# CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D is not set
# CONFIG_DRM_PANEL_FOCALTECH_OTA7290B is not set
# CONFIG_DRM_PANEL_DSI_CM is not set
# CONFIG_DRM_PANEL_LVDS is not set
# CONFIG_DRM_PANEL_HIMAX_HX8279 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83102 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112B is not set
# CONFIG_DRM_PANEL_HIMAX_HX83121A is not set
# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set
# CONFIG_DRM_PANEL_HYDIS_HV101HD1 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI7807S is not set
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9488 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E_SPI is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9882T is not set
# CONFIG_DRM_PANEL_INNOLUX_EJ030NA is not set
# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set
# CONFIG_DRM_PANEL_JADARD_JD9365DA_H3 is not set
# CONFIG_DRM_PANEL_JDI_LPM102A188A is not set
# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set
# CONFIG_DRM_PANEL_JDI_R63452 is not set
# CONFIG_DRM_PANEL_KHADAS_TS050 is not set
# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set
# CONFIG_DRM_PANEL_LINCOLNTECH_LCD197 is not set
# CONFIG_DRM_PANEL_LG_LB035Q02 is not set
# CONFIG_DRM_PANEL_LG_LD070WX3 is not set
# CONFIG_DRM_PANEL_LG_LG4573 is not set
# CONFIG_DRM_PANEL_LG_SW43408 is not set
# CONFIG_DRM_PANEL_LXD_M9189A is not set
# CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966 is not set
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
# CONFIG_DRM_PANEL_MOTOROLA_MOT is not set
# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3051D is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35510 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35532 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35560 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35950 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36536 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set
# CONFIG_DRM_PANEL_NOVATEK_NT37700F is not set
# CONFIG_DRM_PANEL_NOVATEK_NT37801 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set
# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set
# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set
# CONFIG_DRM_PANEL_ORISETECH_OTM8009A is not set
# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set
# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM692E5 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM69380 is not set
# CONFIG_DRM_PANEL_RENESAS_R61307 is not set
# CONFIG_DRM_PANEL_RENESAS_R63419 is not set
# CONFIG_DRM_PANEL_RENESAS_R69328 is not set
# CONFIG_DRM_PANEL_RONBO_RB070D30 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS639RQ08 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 is not set
# CONFIG_DRM_PANEL_SAMSUNG_DB7430 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LTL106HL02 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FC2X01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA8 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8FC0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set
# CONFIG_DRM_PANEL_SEIKO_43WVF1G is not set
# CONFIG_DRM_PANEL_SHARP_LQ079L1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set
# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set
# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set
# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set
# CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521 is not set
# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set
CONFIG_DRM_PANEL_EDP=y
# CONFIG_DRM_PANEL_SIMPLE is not set
# CONFIG_DRM_PANEL_SUMMIT is not set
# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set
# CONFIG_DRM_PANEL_SYNAPTICS_TDDI is not set
# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set
# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set
# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set
# CONFIG_DRM_PANEL_TPO_TPG110 is not set
# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set
# CONFIG_DRM_PANEL_VISIONOX_G2647FB105 is not set
# CONFIG_DRM_PANEL_VISIONOX_R66451 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM69299 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM692E5 is not set
# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set
# CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
# end of Display Panels

# CONFIG_DRM_QXL is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_ST7571 is not set
# CONFIG_DRM_ST7586 is not set
# CONFIG_DRM_ST7735R is not set
# CONFIG_DRM_ST7920 is not set
# CONFIG_DRM_SSD130X is not set

#
# Drivers for system framebuffers
#
CONFIG_DRM_SYSFB_HELPER=y
CONFIG_DRM_SIMPLEDRM=y
# CONFIG_DRM_VESADRM is not set
# end of Drivers for system framebuffers

# CONFIG_DRM_APPLETBDRM is not set
# CONFIG_DRM_ARCPGU is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_CIRRUS_QEMU=y
CONFIG_DRM_GM12U320=y
# CONFIG_DRM_PANEL_MIPI_DBI is not set
# CONFIG_DRM_PIXPAPER is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9163 is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_SHARP_MEMORY is not set
CONFIG_DRM_UDL=y
# CONFIG_DRM_VBOXVIDEO is not set
CONFIG_DRM_VGEM=y
CONFIG_DRM_VIRTIO_GPU=y
CONFIG_DRM_VIRTIO_GPU_KMS=y
# CONFIG_DRM_VKMS is not set
CONFIG_DRM_VMWGFX=y
# CONFIG_DRM_VMWGFX_MKSSTATS is not set
# CONFIG_DRM_XE is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_VIRTUAL=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DEVICE=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYSMEM_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_TILEBLITTING=y
# end of Frame buffer Devices

#
# Backlight & LCD device support
#
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not set
# CONFIG_LCD_PLATFORM is not set
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_AW99706 is not set
# CONFIG_BACKLIGHT_KTD253 is not set
# CONFIG_BACKLIGHT_KTD2801 is not set
# CONFIG_BACKLIGHT_KTZ8866 is not set
# CONFIG_BACKLIGHT_SY7758 is not set
# CONFIG_BACKLIGHT_MAX25014 is not set
# CONFIG_BACKLIGHT_MT6370 is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3509 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_PANDORA is not set
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# CONFIG_BACKLIGHT_LED is not set
# end of Backlight & LCD device support

CONFIG_VGASTATE=y
CONFIG_VIDEOMODE_HELPERS=y
CONFIG_HDMI=y
# CONFIG_FIRMWARE_EDID is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
# end of Console display driver support

CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_MONO_FILE="drivers/video/logo/logo_linux_mono.pbm"
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_VGA16_FILE="drivers/video/logo/logo_linux_vga16.ppm"
# CONFIG_LOGO_LINUX_CLUT224 is not set
# CONFIG_TRACE_GPU_MEM is not set
# end of Graphics support

# CONFIG_DRM_ACCEL is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=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_UMP=y
CONFIG_SND_UMP_LEGACY_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_CTL_FAST_LOOKUP=y
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_PCM_XRUN_DEBUG=y
# CONFIG_SND_CTL_INPUT_VALIDATION is not set
# CONFIG_SND_CTL_DEBUG is not set
# CONFIG_SND_JACK_INJECTION_DEBUG is not set
# CONFIG_SND_UTIMER is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_CTL_LED=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_VIRMIDI=y
# CONFIG_SND_SEQ_UMP is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
# CONFIG_SND_PCMTEST is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_SERIAL_GENERIC is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_HWDEP=y
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_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDA_CTL_DEV_ID is not set
CONFIG_SND_HDA_PREALLOC_SIZE=0
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_ACPI is not set
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
# CONFIG_SND_HDA_CODEC_SENARYTECH is not set
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
# CONFIG_SND_HDA_CODEC_CM9825 is not set
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ALC260 is not set
# CONFIG_SND_HDA_CODEC_ALC262 is not set
# CONFIG_SND_HDA_CODEC_ALC268 is not set
# CONFIG_SND_HDA_CODEC_ALC269 is not set
# CONFIG_SND_HDA_CODEC_ALC662 is not set
# CONFIG_SND_HDA_CODEC_ALC680 is not set
# CONFIG_SND_HDA_CODEC_ALC861 is not set
# CONFIG_SND_HDA_CODEC_ALC861VD is not set
# CONFIG_SND_HDA_CODEC_ALC880 is not set
# CONFIG_SND_HDA_CODEC_ALC882 is not set
CONFIG_SND_HDA_CODEC_CIRRUS=y
# CONFIG_SND_HDA_CODEC_CS420X is not set
# CONFIG_SND_HDA_CODEC_CS421X is not set
# CONFIG_SND_HDA_CODEC_CS8409 is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_HDMI_GENERIC is not set
# CONFIG_SND_HDA_CODEC_HDMI_SIMPLE is not set
# CONFIG_SND_HDA_CODEC_HDMI_INTEL is not set
# CONFIG_SND_HDA_CODEC_HDMI_ATI is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA_MCP is not set
# CONFIG_SND_HDA_CODEC_HDMI_TEGRA is not set
# CONFIG_SND_HDA_SCODEC_AW88399_I2C is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_I2C is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_SPI is not set
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=y
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
# end of HD-Audio

# CONFIG_SND_SPI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_AUDIO_MIDI_V2=y
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=y
# CONFIG_SND_USB_US144MKII is not set
CONFIG_SND_USB_6FIRE=y
CONFIG_SND_USB_HIFACE=y
CONFIG_SND_BCD2000=y
CONFIG_SND_USB_LINE6=y
CONFIG_SND_USB_POD=y
CONFIG_SND_USB_PODHD=y
CONFIG_SND_USB_TONEPORT=y
CONFIG_SND_USB_VARIAX=y
# CONFIG_SND_FIREWIRE is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
CONFIG_SND_SOC=y
# CONFIG_SND_SOC_USB is not set

#
# Analog Devices
#
# CONFIG_SND_SOC_ADI_AXI_I2S is not set
# CONFIG_SND_SOC_ADI_AXI_SPDIF is not set
# end of Analog Devices

#
# AMD
#
# CONFIG_SND_SOC_AMD_ACP is not set
# CONFIG_SND_SOC_AMD_ACP3x is not set
# CONFIG_SND_SOC_AMD_RENOIR is not set
# CONFIG_SND_SOC_AMD_ACP5x is not set
# CONFIG_SND_SOC_AMD_ACP6x is not set
# CONFIG_SND_AMD_ACP_CONFIG is not set
# CONFIG_SND_SOC_AMD_ACP_COMMON is not set
# end of AMD

#
# Apple
#
# end of Apple

#
# Atmel
#
# CONFIG_SND_SOC_MIKROE_PROTO is not set
# end of Atmel

#
# Au1x
#
# end of Au1x

#
# Broadcom
#
# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set
# end of Broadcom

#
# Cirrus Logic
#
# end of Cirrus Logic

#
# DesignWare
#
# CONFIG_SND_DESIGNWARE_I2S is not set
# end of DesignWare

#
# Freescale
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_FSL_XCVR is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of Freescale

#
# Google
#
# CONFIG_SND_SOC_CHV3_I2S is not set
# end of Google

#
# Hisilicon
#
# CONFIG_SND_I2S_HI6210_I2S is not set
# end of Hisilicon

#
# JZ4740
#
# end of JZ4740

#
# Kirkwood
#
# end of Kirkwood

#
# Loongson
#
# end of Loongson

#
# Intel
#
# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set
# CONFIG_SND_SOC_INTEL_AVS is not set
# end of Intel

#
# Mediatek
#
# CONFIG_SND_SOC_MTK_BTCVSD is not set
# end of Mediatek

#
# PXA
#
# end of PXA

#
# SoundWire (SDCA)
#
# CONFIG_SND_SOC_SDCA is not set
CONFIG_SND_SOC_SDCA_OPTIONAL=y
# end of SoundWire (SDCA)

#
# ST SPEAr
#
# end of ST SPEAr

#
# Spreadtrum
#
# end of Spreadtrum

#
# STMicroelectronics STM32
#
# end of STMicroelectronics STM32

#
# Tegra
#
# end of Tegra

#
# Xilinx
#
# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set
# CONFIG_SND_SOC_XILINX_SPDIF is not set
# end of Xilinx

#
# Xtensa
#
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# end of Xtensa

# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

#
# CODEC drivers
#
# CONFIG_SND_SOC_AC97_CODEC is not set
# CONFIG_SND_SOC_ADAU1372_I2C is not set
# CONFIG_SND_SOC_ADAU1372_SPI is not set
# CONFIG_SND_SOC_ADAU1373 is not set
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_ADAU1761_I2C is not set
# CONFIG_SND_SOC_ADAU1761_SPI is not set
# CONFIG_SND_SOC_ADAU1977_SPI is not set
# CONFIG_SND_SOC_ADAU1977_I2C is not set
# CONFIG_SND_SOC_ADAU7002 is not set
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
# CONFIG_SND_SOC_AK4104 is not set
# CONFIG_SND_SOC_AK4118 is not set
# CONFIG_SND_SOC_AK4375 is not set
# CONFIG_SND_SOC_AK4458 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4613 is not set
# CONFIG_SND_SOC_AK4619 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_AK5558 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_AUDIO_IIO_AUX is not set
# CONFIG_SND_SOC_AW8738 is not set
# CONFIG_SND_SOC_AW88395 is not set
# CONFIG_SND_SOC_AW88166 is not set
# CONFIG_SND_SOC_AW88261 is not set
# CONFIG_SND_SOC_AW88081 is not set
# CONFIG_SND_SOC_AW87390 is not set
# CONFIG_SND_SOC_AW88399 is not set
# CONFIG_SND_SOC_BD28623 is not set
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CHV3_CODEC is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# 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_I2C is not set
# CONFIG_SND_SOC_CS35L45_SPI is not set
# CONFIG_SND_SOC_CS35L45_I2C is not set
# CONFIG_SND_SOC_CS35L56_I2C is not set
# CONFIG_SND_SOC_CS35L56_SPI is not set
# CONFIG_SND_SOC_CS35L56_SDW is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L42_SDW is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS42L83 is not set
# CONFIG_SND_SOC_CS42L84 is not set
# CONFIG_SND_SOC_CS4234 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_CS43130 is not set
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS48L32 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CS530X_I2C is not set
# CONFIG_SND_SOC_CS530X_SPI is not set
# CONFIG_SND_SOC_CX2072X is not set
# CONFIG_SND_SOC_DA7213 is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not set
# CONFIG_SND_SOC_ES8311 is not set
# CONFIG_SND_SOC_ES8316 is not set
# CONFIG_SND_SOC_ES8323 is not set
# CONFIG_SND_SOC_ES8326 is not set
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_ES8375 is not set
# CONFIG_SND_SOC_ES8389 is not set
# CONFIG_SND_SOC_FS210X is not set
# CONFIG_SND_SOC_GTM601 is not set
# CONFIG_SND_SOC_HDA is not set
# CONFIG_SND_SOC_ICS43432 is not set
# CONFIG_SND_SOC_IDT821034 is not set
# CONFIG_SND_SOC_MAX98088 is not set
# CONFIG_SND_SOC_MAX98090 is not set
# CONFIG_SND_SOC_MAX98357A is not set
# CONFIG_SND_SOC_MAX98504 is not set
# CONFIG_SND_SOC_MAX9867 is not set
# CONFIG_SND_SOC_MAX98927 is not set
# CONFIG_SND_SOC_MAX98520 is not set
# CONFIG_SND_SOC_MAX98363 is not set
# CONFIG_SND_SOC_MAX98373_I2C is not set
# CONFIG_SND_SOC_MAX98373_SDW is not set
# CONFIG_SND_SOC_MAX98388 is not set
# CONFIG_SND_SOC_MAX98390 is not set
# CONFIG_SND_SOC_MAX98396 is not set
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM1754 is not set
# CONFIG_SND_SOC_PCM1789_I2C is not set
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
# CONFIG_SND_SOC_PCM186X_I2C is not set
# CONFIG_SND_SOC_PCM186X_SPI is not set
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM5102A is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_PCM6240 is not set
# CONFIG_SND_SOC_PEB2466 is not set
# CONFIG_SND_SOC_PM4125_SDW is not set
# CONFIG_SND_SOC_RT1017_SDCA_SDW is not set
# CONFIG_SND_SOC_RT1308_SDW is not set
# CONFIG_SND_SOC_RT1316_SDW is not set
# CONFIG_SND_SOC_RT1318_SDW is not set
# CONFIG_SND_SOC_RT1320_SDW is not set
# CONFIG_SND_SOC_RT5575 is not set
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_RT5640 is not set
# CONFIG_SND_SOC_RT5645 is not set
# CONFIG_SND_SOC_RT5659 is not set
# CONFIG_SND_SOC_RT5677 is not set
# CONFIG_SND_SOC_RT5682_SDW is not set
# CONFIG_SND_SOC_RT700_SDW is not set
# CONFIG_SND_SOC_RT711_SDW is not set
# CONFIG_SND_SOC_RT711_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW is not set
# CONFIG_SND_SOC_RT721_SDCA_SDW is not set
# CONFIG_SND_SOC_RT722_SDCA_SDW is not set
# CONFIG_SND_SOC_RT715_SDW is not set
# CONFIG_SND_SOC_RT715_SDCA_SDW is not set
# CONFIG_SND_SOC_RT9120 is not set
# CONFIG_SND_SOC_RT9123 is not set
# CONFIG_SND_SOC_RT9123P is not set
# CONFIG_SND_SOC_RTQ9124 is not set
# CONFIG_SND_SOC_RTQ9128 is not set
# CONFIG_SND_SOC_SDW_MOCKUP is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
# CONFIG_SND_SOC_SIMPLE_MUX is not set
# CONFIG_SND_SOC_SMA1303 is not set
# CONFIG_SND_SOC_SMA1307 is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SRC4XXX_I2C is not set
# CONFIG_SND_SOC_SSM2305 is not set
# CONFIG_SND_SOC_SSM2518 is not set
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM3515 is not set
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2764 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS2780 is not set
# CONFIG_SND_SOC_TAS2781_I2C is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
# CONFIG_SND_SOC_TAS5805M is not set
# CONFIG_SND_SOC_TAS6424 is not set
# CONFIG_SND_SOC_TAS675X is not set
# CONFIG_SND_SOC_TDA7419 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TFA989X is not set
# CONFIG_SND_SOC_TLV320ADC3XXX is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set
# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set
# CONFIG_SND_SOC_TLV320ADCX140 is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_TSCS42XX is not set
# CONFIG_SND_SOC_TSCS454 is not set
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_UDA1342 is not set
# CONFIG_SND_SOC_UDA1380 is not set
# CONFIG_SND_SOC_WCD937X_SDW is not set
# CONFIG_SND_SOC_WCD938X_SDW is not set
# CONFIG_SND_SOC_WCD939X_SDW is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8524 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731_I2C is not set
# CONFIG_SND_SOC_WM8731_SPI is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8940 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8961 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_WSA881X is not set
# CONFIG_SND_SOC_WSA883X is not set
# CONFIG_SND_SOC_WSA884X is not set
# CONFIG_SND_SOC_WSA885X is not set
# CONFIG_SND_SOC_ZL38060 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6357 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8315 is not set
# CONFIG_SND_SOC_NAU8325 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_NAU8822 is not set
# CONFIG_SND_SOC_NAU8824 is not set
# CONFIG_SND_SOC_NTP8918 is not set
# CONFIG_SND_SOC_NTP8835 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set
# CONFIG_SND_SOC_LPASS_VA_MACRO is not set
# CONFIG_SND_SOC_LPASS_RX_MACRO is not set
# CONFIG_SND_SOC_LPASS_TX_MACRO is not set
# end of CODEC drivers

#
# Generic drivers
#
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set
# CONFIG_SND_TEST_COMPONENT is not set
# end of Generic drivers

CONFIG_SND_X86=y
# CONFIG_HDMI_LPE_AUDIO is not set
CONFIG_SND_VIRTIO=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_HAPTIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
CONFIG_HID_ACCUTOUCH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_APPLEIR=y
# CONFIG_HID_APPLETB_BL is not set
# CONFIG_HID_APPLETB_KBD is not set
CONFIG_HID_ASUS=y
CONFIG_HID_AUREAL=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BETOP_FF=y
CONFIG_HID_BIGBEN_FF=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CORSAIR=y
CONFIG_HID_COUGAR=y
CONFIG_HID_MACALLY=y
CONFIG_HID_PRODIKEYS=y
CONFIG_HID_CMEDIA=y
CONFIG_HID_CP2112=y
CONFIG_HID_CREATIVE_SB0540=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_DRAGONRISE_FF=y
CONFIG_HID_EMS_FF=y
CONFIG_HID_ELAN=y
CONFIG_HID_ELECOM=y
CONFIG_HID_ELO=y
CONFIG_HID_EVISION=y
CONFIG_HID_EZKEY=y
CONFIG_HID_FT260=y
CONFIG_HID_GEMBIRD=y
CONFIG_HID_GFRM=y
CONFIG_HID_GLORIOUS=y
CONFIG_HID_HOLTEK=y
CONFIG_HOLTEK_FF=y
# CONFIG_HID_HYPERX is not set
CONFIG_HID_VIVALDI_COMMON=y
# CONFIG_HID_GOODIX_SPI is not set
CONFIG_HID_GOOGLE_STADIA_FF=y
CONFIG_HID_VIVALDI=y
CONFIG_HID_GT683R=y
# CONFIG_HID_MSI is not set
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
# CONFIG_HID_KYSONA is not set
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WALTOP=y
CONFIG_HID_VIEWSONIC=y
CONFIG_HID_VRC2=y
CONFIG_HID_XIAOMI=y
CONFIG_HID_GYRATION=y
CONFIG_HID_ICADE=y
CONFIG_HID_ITE=y
CONFIG_HID_JABRA=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LED=y
CONFIG_HID_LENOVO=y
# CONFIG_HID_LENOVO_GO is not set
# CONFIG_HID_LENOVO_GO_S is not set
CONFIG_HID_LETSKETCH=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_LOGITECH_HIDPP=y
CONFIG_LOGITECH_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIWHEELS_FF=y
CONFIG_HID_MAGICMOUSE=y
CONFIG_HID_MALTRON=y
CONFIG_HID_MAYFLASH=y
CONFIG_HID_MEGAWORLD_FF=y
# CONFIG_HID_RAKK is not set
CONFIG_HID_REDRAGON=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NINTENDO=y
CONFIG_NINTENDO_FF=y
CONFIG_HID_NTI=y
CONFIG_HID_NTRIG=y
CONFIG_HID_NVIDIA_SHIELD=y
CONFIG_NVIDIA_SHIELD_FF=y
CONFIG_HID_ORTEK=y
# CONFIG_HID_OXP is not set
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PENMOUNT=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
CONFIG_HID_PICOLCD_FB=y
CONFIG_HID_PICOLCD_BACKLIGHT=y
CONFIG_HID_PICOLCD_LCD=y
CONFIG_HID_PICOLCD_LEDS=y
CONFIG_HID_PICOLCD_CIR=y
CONFIG_HID_PLANTRONICS=y
CONFIG_HID_PLAYSTATION=y
CONFIG_PLAYSTATION_FF=y
CONFIG_HID_PXRC=y
# CONFIG_HID_RAPOO is not set
CONFIG_HID_RAZER=y
CONFIG_HID_PRIMAX=y
CONFIG_HID_RETRODE=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_SAITEK=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SEMITEK=y
CONFIG_HID_SIGMAMICRO=y
CONFIG_HID_SONY=y
CONFIG_SONY_FF=y
CONFIG_HID_SPEEDLINK=y
CONFIG_HID_STEAM=y
CONFIG_STEAM_FF=y
CONFIG_HID_STEELSERIES=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_RMI=y
CONFIG_HID_GREENASIA=y
CONFIG_GREENASIA_FF=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_HID_TIVO=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_TOPRE=y
CONFIG_HID_THINGM=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
CONFIG_HID_UDRAW_PS3=y
CONFIG_HID_U2FZERO=y
# CONFIG_HID_UNIVERSAL_PIDFF is not set
CONFIG_HID_WACOM=y
CONFIG_HID_WIIMOTE=y
# CONFIG_HID_WINWING is not set
CONFIG_HID_XINMO=y
CONFIG_HID_ZEROPLUS=y
CONFIG_ZEROPLUS_FF=y
CONFIG_HID_ZYDACRON=y
CONFIG_HID_SENSOR_HUB=y
CONFIG_HID_SENSOR_CUSTOM_SENSOR=y
CONFIG_HID_ALPS=y
CONFIG_HID_MCP2200=y
CONFIG_HID_MCP2221=y
CONFIG_HID_HUAWEI=y
# end of Special HID drivers

#
# HID-BPF support
#
# end of HID-BPF support

CONFIG_I2C_HID=y
CONFIG_I2C_HID_ACPI=y
CONFIG_I2C_HID_OF=y
# CONFIG_I2C_HID_OF_ELAN is not set
# CONFIG_I2C_HID_OF_GOODIX is not set
CONFIG_I2C_HID_CORE=y

#
# Intel ISH HID support
#
CONFIG_INTEL_ISH_HID=y
CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER=y
# end of Intel ISH HID support

#
# AMD SFH HID Support
#
CONFIG_AMD_SFH_HID=y
# end of AMD SFH HID Support

#
# Surface System Aggregator Module HID support
#
CONFIG_SURFACE_HID=y
CONFIG_SURFACE_KBD=y
# end of Surface System Aggregator Module HID support

CONFIG_SURFACE_HID_CORE=y

#
# Intel THC HID Support
#
# CONFIG_INTEL_THC_HID is not set
# end of Intel THC HID Support

#
# USB HID support
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# end of USB HID support

CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_LED_TRIG=y
CONFIG_USB_ULPI_BUS=y
CONFIG_USB_CONN_GPIO=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
CONFIG_USB_PCI_AMD=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_FEW_INIT_RETRIES=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_PRODUCTLIST is not set
# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set
CONFIG_USB_OTG_FSM=y
CONFIG_USB_LEDS_TRIGGER_USBPORT=y
CONFIG_USB_AUTOSUSPEND_DELAY=2
CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1
CONFIG_USB_MON=y

#
# USB Host Controller Drivers
#
CONFIG_USB_C67X00_HCD=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DBGCAP=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PCI_RENESAS=y
CONFIG_USB_XHCI_PLATFORM=y
# CONFIG_USB_XHCI_SIDEBAND is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_OXU210HP_HCD=y
CONFIG_USB_ISP116X_HCD=y
CONFIG_USB_MAX3421_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_SSB is not set
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SL811_HCD=y
CONFIG_USB_SL811_HCD_ISO=y
CONFIG_USB_SL811_CS=y
CONFIG_USB_R8A66597_HCD=y
CONFIG_USB_HCD_BCMA=y
CONFIG_USB_HCD_SSB=y
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
CONFIG_USB_WDM=y
CONFIG_USB_TMC=y

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y

#
# USB Imaging devices
#
CONFIG_USB_MDC800=y
CONFIG_USB_MICROTEK=y
CONFIG_USBIP_CORE=y
CONFIG_USBIP_VHCI_HCD=y
CONFIG_USBIP_VHCI_HC_PORTS=8
CONFIG_USBIP_VHCI_NR_HCS=16
CONFIG_USBIP_HOST=y
CONFIG_USBIP_VUDC=y
# CONFIG_USBIP_DEBUG is not set

#
# USB dual-mode controller drivers
#
CONFIG_USB_CDNS_SUPPORT=y
CONFIG_USB_CDNS3=y
CONFIG_USB_CDNS3_HOST=y
CONFIG_USB_CDNS3_GADGET=y

#
# Platform glue driver support
#
CONFIG_USB_CDNS3_PCI_WRAP=y
CONFIG_USB_CDNSP_PCI=y
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
CONFIG_USB_MUSB_DUAL_ROLE=y

#
# Platform Glue Layer
#

#
# MUSB DMA mode
#
CONFIG_MUSB_PIO_ONLY=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_ULPI=y
# CONFIG_USB_DWC3_HOST is not set
CONFIG_USB_DWC3_GADGET=y
# CONFIG_USB_DWC3_DUAL_ROLE is not set

#
# Platform Glue Driver Support
#
CONFIG_USB_DWC3_PCI=y
CONFIG_USB_DWC3_HAPS=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3_GENERIC_PLAT=y
# CONFIG_USB_DWC3_GOOGLE is not set
CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_PERIPHERAL is not set
# CONFIG_USB_DWC2_DUAL_ROLE is not set
CONFIG_USB_DWC2_PCI=y
# CONFIG_USB_DWC2_DEBUG is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_PCI=y
CONFIG_USB_CHIPIDEA_MSM=y
CONFIG_USB_CHIPIDEA_NPCM=y
# CONFIG_USB_CHIPIDEA_IMX is not set
CONFIG_USB_CHIPIDEA_GENERIC=y
# CONFIG_USB_CHIPIDEA_TEGRA is not set
CONFIG_USB_ISP1760=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_ISP1761_UDC=y
# CONFIG_USB_ISP1760_HOST_ROLE is not set
# CONFIG_USB_ISP1760_GADGET_ROLE is not set
CONFIG_USB_ISP1760_DUAL_ROLE=y

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=y
CONFIG_USB_SERIAL_AIRCABLE=y
CONFIG_USB_SERIAL_ARK3116=y
CONFIG_USB_SERIAL_BELKIN=y
CONFIG_USB_SERIAL_CH341=y
CONFIG_USB_SERIAL_WHITEHEAT=y
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_CYPRESS_M8=y
CONFIG_USB_SERIAL_EMPEG=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_VISOR=y
CONFIG_USB_SERIAL_IPAQ=y
CONFIG_USB_SERIAL_IR=y
CONFIG_USB_SERIAL_EDGEPORT=y
CONFIG_USB_SERIAL_EDGEPORT_TI=y
CONFIG_USB_SERIAL_F81232=y
CONFIG_USB_SERIAL_F8153X=y
CONFIG_USB_SERIAL_GARMIN=y
CONFIG_USB_SERIAL_IPW=y
CONFIG_USB_SERIAL_IUU=y
CONFIG_USB_SERIAL_KEYSPAN_PDA=y
CONFIG_USB_SERIAL_KEYSPAN=y
CONFIG_USB_SERIAL_KLSI=y
CONFIG_USB_SERIAL_KOBIL_SCT=y
CONFIG_USB_SERIAL_MCT_U232=y
CONFIG_USB_SERIAL_METRO=y
CONFIG_USB_SERIAL_MOS7720=y
CONFIG_USB_SERIAL_MOS7715_PARPORT=y
CONFIG_USB_SERIAL_MOS7840=y
CONFIG_USB_SERIAL_MXUPORT=y
CONFIG_USB_SERIAL_NAVMAN=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_OTI6858=y
CONFIG_USB_SERIAL_QCAUX=y
CONFIG_USB_SERIAL_QUALCOMM=y
CONFIG_USB_SERIAL_SPCP8X5=y
CONFIG_USB_SERIAL_SAFE=y
# CONFIG_USB_SERIAL_SAFE_PADDED is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=y
CONFIG_USB_SERIAL_SYMBOL=y
CONFIG_USB_SERIAL_TI=y
CONFIG_USB_SERIAL_CYBERJACK=y
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
CONFIG_USB_SERIAL_OMNINET=y
CONFIG_USB_SERIAL_OPTICON=y
CONFIG_USB_SERIAL_XSENS_MT=y
CONFIG_USB_SERIAL_WISHBONE=y
CONFIG_USB_SERIAL_SSU100=y
CONFIG_USB_SERIAL_QT2=y
CONFIG_USB_SERIAL_UPD78F0730=y
CONFIG_USB_SERIAL_XR=y
CONFIG_USB_SERIAL_DEBUG=y

#
# USB Miscellaneous drivers
#
CONFIG_USB_USS720=y
CONFIG_USB_EMI62=y
CONFIG_USB_EMI26=y
CONFIG_USB_ADUTUX=y
CONFIG_USB_SEVSEG=y
CONFIG_USB_LEGOTOWER=y
CONFIG_USB_LCD=y
CONFIG_USB_CYPRESS_CY7C63=y
CONFIG_USB_CYTHERM=y
CONFIG_USB_IDMOUSE=y
CONFIG_USB_APPLEDISPLAY=y
CONFIG_APPLE_MFI_FASTCHARGE=y
CONFIG_USB_LJCA=y
# CONFIG_USB_USBIO is not set
CONFIG_USB_SISUSBVGA=y
CONFIG_USB_LD=y
CONFIG_USB_TRANCEVIBRATOR=y
CONFIG_USB_IOWARRIOR=y
CONFIG_USB_TEST=y
CONFIG_USB_EHSET_TEST_FIXTURE=y
CONFIG_USB_ISIGHTFW=y
CONFIG_USB_YUREX=y
CONFIG_USB_EZUSB_FX2=y
CONFIG_USB_HUB_USB251XB=y
CONFIG_USB_HSIC_USB3503=y
CONFIG_USB_HSIC_USB4604=y
CONFIG_USB_LINK_LAYER_TEST=y
CONFIG_USB_CHAOSKEY=y
# CONFIG_USB_ONBOARD_DEV is not set
CONFIG_USB_ATM=y
CONFIG_USB_SPEEDTOUCH=y
CONFIG_USB_CXACRU=y
CONFIG_USB_UEAGLEATM=y
CONFIG_USB_XUSBATM=y

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_TAHVO_USB=y
CONFIG_TAHVO_USB_HOST_BY_DEFAULT=y
CONFIG_USB_ISP1301=y
# end of USB Physical Layer drivers

CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
CONFIG_U_SERIAL_CONSOLE=y

#
# USB Peripheral Controller
#
CONFIG_USB_GR_UDC=y
CONFIG_USB_R8A66597=y
CONFIG_USB_PXA27X=y
CONFIG_USB_SNP_CORE=y
# CONFIG_USB_SNP_UDC_PLAT is not set
# CONFIG_USB_M66592 is not set
CONFIG_USB_BDC_UDC=y
CONFIG_USB_AMD5536UDC=y
CONFIG_USB_NET2280=y
CONFIG_USB_GOKU=y
CONFIG_USB_EG20T=y
# CONFIG_USB_GADGET_XILINX is not set
CONFIG_USB_MAX3420_UDC=y
CONFIG_USB_CDNS2_UDC=y
CONFIG_USB_DUMMY_HCD=y
# end of USB Peripheral Controller

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_F_ACM=y
CONFIG_USB_F_SS_LB=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_AUDIO=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_OBEX=y
CONFIG_USB_F_NCM=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_PHONET=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_F_FS=y
CONFIG_USB_F_UAC1=y
CONFIG_USB_F_UAC1_LEGACY=y
CONFIG_USB_F_UAC2=y
CONFIG_USB_F_UVC=y
CONFIG_USB_F_MIDI=y
CONFIG_USB_F_MIDI2=y
CONFIG_USB_F_HID=y
CONFIG_USB_F_PRINTER=y
CONFIG_USB_F_TCM=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_PHONET=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_UAC1=y
CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
CONFIG_USB_CONFIGFS_F_UAC2=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_MIDI2=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
CONFIG_USB_CONFIGFS_F_TCM=y

#
# USB Gadget precomposed configurations
#
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
CONFIG_USB_GADGETFS=y
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_GADGET_TARGET is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_NOKIA is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
# CONFIG_USB_G_WEBCAM is not set
CONFIG_USB_RAW_GADGET=y
# end of USB Gadget precomposed configurations

CONFIG_TYPEC=y
CONFIG_TYPEC_TCPM=y
CONFIG_TYPEC_TCPCI=y
CONFIG_TYPEC_RT1711H=y
CONFIG_TYPEC_MT6360=y
CONFIG_TYPEC_TCPCI_MT6370=y
CONFIG_TYPEC_TCPCI_MAXIM=y
CONFIG_TYPEC_FUSB302=y
CONFIG_TYPEC_WCOVE=y
CONFIG_TYPEC_UCSI=y
CONFIG_UCSI_CCG=y
CONFIG_UCSI_ACPI=y
CONFIG_UCSI_STM32G0=y
CONFIG_TYPEC_TPS6598X=y
CONFIG_TYPEC_ANX7411=y
CONFIG_TYPEC_RT1719=y
CONFIG_TYPEC_HD3SS3220=y
CONFIG_TYPEC_STUSB160X=y
CONFIG_TYPEC_WUSB3801=y

#
# USB Type-C Multiplexer/DeMultiplexer Switch support
#
CONFIG_TYPEC_MUX_FSA4480=y
CONFIG_TYPEC_MUX_GPIO_SBU=y
CONFIG_TYPEC_MUX_PI3USB30532=y
CONFIG_TYPEC_MUX_INTEL_PMC=y
# CONFIG_TYPEC_MUX_IT5205 is not set
CONFIG_TYPEC_MUX_NB7VPQ904M=y
# CONFIG_TYPEC_MUX_PS883X is not set
CONFIG_TYPEC_MUX_PTN36502=y
# CONFIG_TYPEC_MUX_TUSB1046 is not set
CONFIG_TYPEC_MUX_WCD939X_USBSS=y
# end of USB Type-C Multiplexer/DeMultiplexer Switch support

#
# USB Type-C Alternate Mode drivers
#
CONFIG_TYPEC_DP_ALTMODE=y
CONFIG_TYPEC_NVIDIA_ALTMODE=y
# CONFIG_TYPEC_TBT_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers

CONFIG_USB_ROLE_SWITCH=y
CONFIG_USB_ROLES_INTEL_XHCI=y
CONFIG_MMC=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SD8787 is not set
# CONFIG_PWRSEQ_SIMPLE is not set
# CONFIG_MMC_BLOCK is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set
# CONFIG_MMC_CRYPTO is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_SDRICOH_CS is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
CONFIG_MMC_VUB300=y
CONFIG_MMC_USHC=y
# CONFIG_MMC_USDHI6ROL0 is not set
CONFIG_MMC_REALTEK_USB=y
# CONFIG_MMC_CQHCI is not set
# CONFIG_MMC_HSQ is not set
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MMC_MTK is not set
# CONFIG_SCSI_UFSHCD is not set
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set

#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MSPRO_BLOCK is not set
# CONFIG_MS_BLOCK is not set

#
# MemoryStick Host Controller Drivers
#
# CONFIG_MEMSTICK_TIFM_MS is not set
# CONFIG_MEMSTICK_JMICRON_38X is not set
# CONFIG_MEMSTICK_R592 is not set
CONFIG_MEMSTICK_REALTEK_USB=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set
CONFIG_LEDS_CLASS_MULTICOLOR=y
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set

#
# LED drivers
#
# CONFIG_LEDS_AN30259A is not set
# CONFIG_LEDS_APU is not set
# CONFIG_LEDS_OSRAM_AMS_AS3668 is not set
# CONFIG_LEDS_AW200XX is not set
# CONFIG_LEDS_AW2013 is not set
# CONFIG_LEDS_BCM6328 is not set
# CONFIG_LEDS_BCM6358 is not set
# CONFIG_LEDS_CHT_WCOVE is not set
# CONFIG_LEDS_CR0014114 is not set
# CONFIG_LEDS_EL15203000 is not set
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3532 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_LM3692X is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP3952 is not set
# CONFIG_LEDS_LP50XX is not set
# CONFIG_LEDS_LP55XX_COMMON is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_LP8864 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_PCA995X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2606MVV is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_TLC591XX is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_IS31FL319X is not set
# CONFIG_LEDS_IS31FL32XX is not set

#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
#
# CONFIG_LEDS_BLINKM is not set
# CONFIG_LEDS_SYSCON is not set
# CONFIG_LEDS_MLXCPLD is not set
# CONFIG_LEDS_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_NIC78BX is not set
# CONFIG_LEDS_SPI_BYTE is not set
# CONFIG_LEDS_LM3697 is not set
# CONFIG_LEDS_ST1202 is not set
# CONFIG_LEDS_LTC3220 is not set
# CONFIG_LEDS_LGM is not set

#
# Flash and Torch LED drivers
#

#
# RGB LED drivers
#
# CONFIG_LEDS_GROUP_MULTICOLOR is not set
# CONFIG_LEDS_KTD202X is not set
# CONFIG_LEDS_LP5812 is not set
# CONFIG_LEDS_LP5860_CORE is not set
# CONFIG_LEDS_LP5860_SPI is not set
# CONFIG_LEDS_NCP5623 is not set
# CONFIG_LEDS_MT6370_RGB is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_DISK is not set
# CONFIG_LEDS_TRIGGER_MTD is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_LEDS_TRIGGER_PANIC is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_PATTERN is not set
# CONFIG_LEDS_TRIGGER_TTY is not set
# CONFIG_LEDS_TRIGGER_INPUT_EVENTS is not set

#
# Simatic LED drivers
#
# CONFIG_ACCESSIBILITY is not set
CONFIG_INFINIBAND=y
CONFIG_INFINIBAND_USER_MAD=y
CONFIG_INFINIBAND_USER_ACCESS=y
CONFIG_INFINIBAND_USER_ACCESS_CORE=y
CONFIG_INFINIBAND_USER_MEM=y
CONFIG_INFINIBAND_ON_DEMAND_PAGING=y
CONFIG_INFINIBAND_ADDR_TRANS=y
CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y
CONFIG_INFINIBAND_VIRT_DMA=y
# CONFIG_INFINIBAND_EFA is not set
# CONFIG_INFINIBAND_ERDMA is not set
CONFIG_MLX4_INFINIBAND=y
# CONFIG_INFINIBAND_MTHCA is not set
# CONFIG_INFINIBAND_OCRDMA is not set
# CONFIG_INFINIBAND_USNIC is not set
# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set
# CONFIG_INFINIBAND_RDMAVT is not set
CONFIG_RDMA_RXE=y
CONFIG_RDMA_SIW=y
CONFIG_INFINIBAND_IPOIB=y
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=y
# CONFIG_INFINIBAND_SRPT is not set
CONFIG_INFINIBAND_ISER=y
CONFIG_INFINIBAND_RTRS=y
CONFIG_INFINIBAND_RTRS_CLIENT=y
# CONFIG_INFINIBAND_RTRS_SERVER is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_DECODE_MCE is not set
# CONFIG_EDAC_SCRUB is not set
# CONFIG_EDAC_ECS is not set
# CONFIG_EDAC_MEM_REPAIR is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_IE31200 is not set
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not set
# CONFIG_EDAC_I7CORE is not set
# CONFIG_EDAC_I5100 is not set
# CONFIG_EDAC_I7300 is not set
# CONFIG_EDAC_SBRIDGE is not set
# CONFIG_EDAC_SKX is not set
# CONFIG_EDAC_I10NM is not set
# CONFIG_EDAC_IMH is not set
# CONFIG_EDAC_PND2 is not set
# CONFIG_EDAC_IGEN6 is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_NVMEM is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABEOZ9 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX31335 is not set
# CONFIG_RTC_DRV_NCT3018Y is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12026 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_TWL4030 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8111 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3028 is not set
# CONFIG_RTC_DRV_RV3032 is not set
# CONFIG_RTC_DRV_RV8803 is not set
# CONFIG_RTC_DRV_SD2405AL is not set
# CONFIG_RTC_DRV_SD3078 is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1302 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1343 is not set
# CONFIG_RTC_DRV_DS1347 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6916 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RX4581 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
# CONFIG_RTC_DRV_MCP795 is not set
CONFIG_RTC_I2C_AND_SPI=y

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
# CONFIG_RTC_DRV_RX6110 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_ZYNQMP is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_CADENCE is not set
# CONFIG_RTC_DRV_FTRTC010 is not set
# CONFIG_RTC_DRV_R7301 is not set
# CONFIG_RTC_DRV_GOLDFISH is not set

#
# HID Sensor RTC drivers
#
CONFIG_RTC_DRV_HID_SENSOR_TIME=y
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_ACPI=y
CONFIG_DMA_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
CONFIG_INTEL_IDMA64=y
# CONFIG_INTEL_IDXD is not set
# CONFIG_INTEL_IDXD_COMPAT is not set
CONFIG_INTEL_IOATDMA=y
# CONFIG_PLX_DMA is not set
# CONFIG_SWITCHTEC_DMA is not set
# CONFIG_XILINX_DMA is not set
# CONFIG_XILINX_XDMA is not set
# CONFIG_XILINX_ZYNQMP_DPDMA is not set
# CONFIG_AMD_PTDMA is not set
# CONFIG_AMD_QDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
CONFIG_DW_DMAC_CORE=y
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_DW_EDMA is not set
CONFIG_HSU_DMA=y
# CONFIG_SF_PDMA is not set
# CONFIG_INTEL_LDMA is not set

#
# DMA Clients
#
CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
CONFIG_DMA_ENGINE_RAID=y

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y
# CONFIG_DMABUF_DEBUG is not set
CONFIG_DMABUF_HEAPS=y
CONFIG_DMABUF_HEAPS_SYSTEM=y
# CONFIG_DMABUF_HEAPS_SYSTEM_CC_SHARED is not set
CONFIG_DMABUF_HEAPS_CMA=y
# end of DMABUF options

CONFIG_DCA=y
# CONFIG_UIO is not set
CONFIG_VFIO=y
CONFIG_VFIO_DEVICE_CDEV=y
# CONFIG_VFIO_GROUP is not set
# CONFIG_VFIO_NOIOMMU is not set
CONFIG_VFIO_VIRQFD=y
# CONFIG_VFIO_DEBUGFS is not set

#
# VFIO support for PCI devices
#
CONFIG_VFIO_PCI_CORE=y
CONFIG_VFIO_PCI_INTX=y
CONFIG_VFIO_PCI=y
# CONFIG_VFIO_PCI_VGA is not set
# CONFIG_VFIO_PCI_IGD is not set
# CONFIG_VIRTIO_VFIO_PCI is not set
# end of VFIO support for PCI devices

CONFIG_IRQ_BYPASS_MANAGER=y
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_ADMIN_LEGACY=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=y
CONFIG_VIRTIO_PMEM=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_MEM=y
CONFIG_VIRTIO_INPUT=y
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
# CONFIG_VIRTIO_DEBUG is not set
# CONFIG_VIRTIO_RTC is not set
CONFIG_VDPA=y
CONFIG_VDPA_SIM=y
CONFIG_VDPA_SIM_NET=y
CONFIG_VDPA_SIM_BLOCK=y
# CONFIG_VDPA_USER is not set
# CONFIG_IFCVF is not set
# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set
CONFIG_VP_VDPA=y
# CONFIG_ALIBABA_ENI_VDPA is not set
# CONFIG_SNET_VDPA is not set
# CONFIG_OCTEONEP_VDPA is not set
CONFIG_VHOST_IOTLB=y
CONFIG_VHOST_RING=y
CONFIG_VHOST_TASK=y
CONFIG_VHOST=y
CONFIG_VHOST_MENU=y
CONFIG_VHOST_NET=y
# CONFIG_VHOST_SCSI is not set
CONFIG_VHOST_VSOCK=y
CONFIG_VHOST_VDPA=y
CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y

#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# end of Microsoft Hyper-V guest support

CONFIG_GREYBUS=y
# CONFIG_GREYBUS_BEAGLEPLAY is not set
CONFIG_GREYBUS_ES2=y
CONFIG_COMEDI=y
# CONFIG_COMEDI_DEBUG is not set
CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=2048
CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=20480
CONFIG_COMEDI_MISC_DRIVERS=y
CONFIG_COMEDI_BOND=y
CONFIG_COMEDI_TEST=y
CONFIG_COMEDI_PARPORT=y
CONFIG_COMEDI_ISA_DRIVERS=y
CONFIG_COMEDI_PCL711=y
CONFIG_COMEDI_PCL724=y
CONFIG_COMEDI_PCL726=y
CONFIG_COMEDI_PCL730=y
CONFIG_COMEDI_PCL812=y
CONFIG_COMEDI_PCL816=y
CONFIG_COMEDI_PCL818=y
CONFIG_COMEDI_PCM3724=y
CONFIG_COMEDI_AMPLC_DIO200_ISA=y
CONFIG_COMEDI_AMPLC_PC236_ISA=y
CONFIG_COMEDI_AMPLC_PC263_ISA=y
CONFIG_COMEDI_RTI800=y
CONFIG_COMEDI_RTI802=y
CONFIG_COMEDI_DAC02=y
CONFIG_COMEDI_DAS16M1=y
CONFIG_COMEDI_DAS08_ISA=y
# CONFIG_COMEDI_DAS16 is not set
CONFIG_COMEDI_DAS800=y
CONFIG_COMEDI_DAS1800=y
CONFIG_COMEDI_DAS6402=y
CONFIG_COMEDI_DT2801=y
CONFIG_COMEDI_DT2811=y
CONFIG_COMEDI_DT2814=y
CONFIG_COMEDI_DT2815=y
CONFIG_COMEDI_DT2817=y
CONFIG_COMEDI_DT282X=y
CONFIG_COMEDI_DMM32AT=y
CONFIG_COMEDI_FL512=y
CONFIG_COMEDI_AIO_AIO12_8=y
CONFIG_COMEDI_AIO_IIRO_16=y
# CONFIG_COMEDI_II_PCI20KC is not set
CONFIG_COMEDI_C6XDIGIO=y
CONFIG_COMEDI_MPC624=y
CONFIG_COMEDI_ADQ12B=y
CONFIG_COMEDI_NI_AT_A2150=y
CONFIG_COMEDI_NI_AT_AO=y
# CONFIG_COMEDI_NI_ATMIO is not set
CONFIG_COMEDI_NI_ATMIO16D=y
CONFIG_COMEDI_NI_LABPC_ISA=y
CONFIG_COMEDI_PCMAD=y
CONFIG_COMEDI_PCMDA12=y
CONFIG_COMEDI_PCMMIO=y
CONFIG_COMEDI_PCMUIO=y
CONFIG_COMEDI_MULTIQ3=y
CONFIG_COMEDI_S526=y
CONFIG_COMEDI_PCI_DRIVERS=y
CONFIG_COMEDI_8255_PCI=y
# CONFIG_COMEDI_ADDI_APCI_1032 is not set
# CONFIG_COMEDI_ADDI_APCI_1500 is not set
# CONFIG_COMEDI_ADDI_APCI_1516 is not set
# CONFIG_COMEDI_ADDI_APCI_1564 is not set
# CONFIG_COMEDI_ADDI_APCI_16XX is not set
# CONFIG_COMEDI_ADDI_APCI_2032 is not set
# CONFIG_COMEDI_ADDI_APCI_2200 is not set
# CONFIG_COMEDI_ADDI_APCI_3120 is not set
# CONFIG_COMEDI_ADDI_APCI_3501 is not set
# CONFIG_COMEDI_ADDI_APCI_3XXX is not set
# CONFIG_COMEDI_ADL_PCI6208 is not set
# CONFIG_COMEDI_ADL_PCI7250 is not set
# CONFIG_COMEDI_ADL_PCI7X3X is not set
# CONFIG_COMEDI_ADL_PCI8164 is not set
# CONFIG_COMEDI_ADL_PCI9111 is not set
CONFIG_COMEDI_ADL_PCI9118=y
# CONFIG_COMEDI_ADV_PCI1710 is not set
# CONFIG_COMEDI_ADV_PCI1720 is not set
# CONFIG_COMEDI_ADV_PCI1723 is not set
# CONFIG_COMEDI_ADV_PCI1724 is not set
# CONFIG_COMEDI_ADV_PCI1760 is not set
# CONFIG_COMEDI_ADV_PCI_DIO is not set
# CONFIG_COMEDI_AMPLC_DIO200_PCI is not set
# CONFIG_COMEDI_AMPLC_PC236_PCI is not set
# CONFIG_COMEDI_AMPLC_PC263_PCI is not set
# CONFIG_COMEDI_AMPLC_PCI224 is not set
# CONFIG_COMEDI_AMPLC_PCI230 is not set
# CONFIG_COMEDI_CONTEC_PCI_DIO is not set
# CONFIG_COMEDI_DAS08_PCI is not set
# CONFIG_COMEDI_DT3000 is not set
# CONFIG_COMEDI_DYNA_PCI10XX is not set
# CONFIG_COMEDI_GSC_HPDI is not set
# CONFIG_COMEDI_MF6X4 is not set
# CONFIG_COMEDI_ICP_MULTI is not set
# CONFIG_COMEDI_DAQBOARD2000 is not set
# CONFIG_COMEDI_JR3_PCI is not set
# CONFIG_COMEDI_KE_COUNTER is not set
# CONFIG_COMEDI_CB_PCIDAS64 is not set
# CONFIG_COMEDI_CB_PCIDAS is not set
# CONFIG_COMEDI_CB_PCIDDA is not set
# CONFIG_COMEDI_CB_PCIMDAS is not set
# CONFIG_COMEDI_CB_PCIMDDA is not set
# CONFIG_COMEDI_ME4000 is not set
# CONFIG_COMEDI_ME_DAQ is not set
# CONFIG_COMEDI_NI_6527 is not set
# CONFIG_COMEDI_NI_65XX is not set
# CONFIG_COMEDI_NI_660X is not set
# CONFIG_COMEDI_NI_670X is not set
CONFIG_COMEDI_NI_LABPC_PCI=y
# CONFIG_COMEDI_NI_PCIDIO is not set
# CONFIG_COMEDI_NI_PCIMIO is not set
# CONFIG_COMEDI_RTD520 is not set
# CONFIG_COMEDI_S626 is not set
CONFIG_COMEDI_PCMCIA_DRIVERS=y
# CONFIG_COMEDI_CB_DAS16_CS is not set
# CONFIG_COMEDI_DAS08_CS is not set
CONFIG_COMEDI_NI_DAQ_700_CS=y
# CONFIG_COMEDI_NI_DAQ_DIO24_CS is not set
CONFIG_COMEDI_NI_LABPC_CS=y
# CONFIG_COMEDI_NI_MIO_CS is not set
# CONFIG_COMEDI_QUATECH_DAQP_CS is not set
CONFIG_COMEDI_USB_DRIVERS=y
CONFIG_COMEDI_DT9812=y
CONFIG_COMEDI_NI_USB6501=y
CONFIG_COMEDI_USBDUX=y
CONFIG_COMEDI_USBDUXFAST=y
CONFIG_COMEDI_USBDUXSIGMA=y
CONFIG_COMEDI_VMK80XX=y
CONFIG_COMEDI_8254=y
CONFIG_COMEDI_8255=y
CONFIG_COMEDI_8255_SA=y
CONFIG_COMEDI_KCOMEDILIB=y
CONFIG_COMEDI_AMPLC_DIO200=y
CONFIG_COMEDI_AMPLC_PC236=y
CONFIG_COMEDI_DAS08=y
CONFIG_COMEDI_ISADMA=y
CONFIG_COMEDI_NI_LABPC=y
CONFIG_COMEDI_NI_LABPC_ISADMA=y
# CONFIG_COMEDI_TESTS is not set
# CONFIG_GPIB is not set
CONFIG_STAGING=y
# CONFIG_RTL8723BS is not set

#
# IIO staging drivers
#

#
# Accelerometers
#
# CONFIG_ADIS16203 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD7816 is not set
# end of Analog to digital converters

#
# Analog digital bi-direction converters
#
# CONFIG_ADT7316 is not set
# end of Analog digital bi-direction converters

#
# Direct Digital Synthesis
#
# CONFIG_AD9832 is not set
# CONFIG_AD9834 is not set
# end of Direct Digital Synthesis

#
# Network Analyzer, Impedance Converters
#
# CONFIG_AD5933 is not set
# end of Network Analyzer, Impedance Converters
# end of IIO staging drivers

# CONFIG_FB_SM750 is not set
# CONFIG_STAGING_MEDIA is not set
# CONFIG_FB_TFT is not set
# CONFIG_MOST_COMPONENTS is not set
# CONFIG_GREYBUS_AUDIO is not set
# CONFIG_GREYBUS_BOOTROM is not set
# CONFIG_GREYBUS_FIRMWARE is not set
CONFIG_GREYBUS_HID=y
# CONFIG_GREYBUS_LOG is not set
# CONFIG_GREYBUS_LOOPBACK is not set
# CONFIG_GREYBUS_POWER is not set
# CONFIG_GREYBUS_RAW is not set
# CONFIG_GREYBUS_VIBRATOR is not set
CONFIG_GREYBUS_BRIDGED_PHY=y
# CONFIG_GREYBUS_GPIO is not set
# CONFIG_GREYBUS_I2C is not set
# CONFIG_GREYBUS_SDIO is not set
# CONFIG_GREYBUS_SPI is not set
# CONFIG_GREYBUS_UART is not set
CONFIG_GREYBUS_USB=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_VME_BUS is not set
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_SURFACE_PLATFORMS=y
# CONFIG_SURFACE3_WMI is not set
# CONFIG_SURFACE_3_POWER_OPREGION is not set
# CONFIG_SURFACE_ACPI_NOTIFY is not set
# CONFIG_SURFACE_AGGREGATOR_CDEV is not set
# CONFIG_SURFACE_AGGREGATOR_HUB is not set
CONFIG_SURFACE_AGGREGATOR_REGISTRY=y
# CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH is not set
# CONFIG_SURFACE_DTX is not set
# CONFIG_SURFACE_GPE is not set
# CONFIG_SURFACE_HOTPLUG is not set
# CONFIG_SURFACE_PLATFORM_PROFILE is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
CONFIG_SURFACE_AGGREGATOR=y
CONFIG_SURFACE_AGGREGATOR_BUS=y
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_WMI_BMOF=y
# CONFIG_HUAWEI_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_UNIWILL is not set
# CONFIG_MXM_WMI is not set
# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set
# CONFIG_XIAOMI_WMI is not set
# CONFIG_REDMI_WMI is not set
# CONFIG_GIGABYTE_WMI is not set
# CONFIG_BITLAND_MIFS_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACER_WMI is not set

#
# AMD HSMP Driver
#
# CONFIG_AMD_HSMP_ACPI is not set
# CONFIG_AMD_HSMP_PLAT is not set
# end of AMD HSMP Driver

# CONFIG_AMD_PMC is not set
# CONFIG_AMD_HFI is not set
# CONFIG_AMD_3D_VCACHE is not set
# CONFIG_AMD_WBRF is not set
# CONFIG_AMD_HALO_LED is not set
# CONFIG_AMD_ISP_PLATFORM is not set
# CONFIG_ADV_SWBUTTON is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ASUS_ARMOURY is not set
CONFIG_ASUS_WMI=y
# CONFIG_ASUS_WMI_DEPRECATED_ATTRS is not set
# CONFIG_ASUS_NB_WMI is not set
CONFIG_ASUS_TF103C_DOCK=y
# CONFIG_AYANEO_EC is not set
CONFIG_EEEPC_LAPTOP=y
# CONFIG_EEEPC_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_DELL is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_X86_PLATFORM_DRIVERS_HP is not set
# CONFIG_WIRELESS_HOTKEY is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_ATOMISP2_PM is not set
# CONFIG_INTEL_IFS is not set
# CONFIG_INTEL_SAR_INT1092 is not set
# CONFIG_INTEL_SKL_INT3472 is not set

#
# Intel Speed Select Technology interface support
#
# CONFIG_INTEL_SPEED_SELECT_INTERFACE is not set
# end of Intel Speed Select Technology interface support

# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set

#
# Intel Uncore Frequency Control
#
# CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set
# end of Intel Uncore Frequency Control

# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_EHL_PSE_IO is not set
# CONFIG_INTEL_INT0002_VGPIO is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_INTEL_BXTWC_PMIC_TMU is not set
CONFIG_INTEL_CHTWC_INT33FE=y
CONFIG_INTEL_ISHTP_ECLITE=y
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_INTEL_TURBO_MAX_3 is not set
# CONFIG_INTEL_VSEC is not set
# CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_LENOVO_WMI_HOTKEY_UTILITIES is not set
# CONFIG_LENOVO_WMI_CAMERA is not set
# CONFIG_LENOVO_YB9_KBDOCK is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_THINKPAD_LMI is not set
# CONFIG_YOGABOOK is not set
# CONFIG_YT2_1380 is not set
# CONFIG_LENOVO_WMI_GAMEZONE is not set
# CONFIG_LENOVO_WMI_TUNING is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_MEEGOPAD_ANX7428 is not set
# CONFIG_MSI_EC is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_MSI_WMI is not set
# CONFIG_MSI_WMI_PLATFORM is not set
# CONFIG_PCENGINES_APU2 is not set
# CONFIG_PORTWELL_EC is not set
# CONFIG_BARCO_P50_GPIO is not set
# CONFIG_SAMSUNG_GALAXYBOOK is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_TOSHIBA_WMI is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_LG_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_SYSTEM76_ACPI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_SERIAL_MULTI_INSTANTIATE is not set
# CONFIG_INSPUR_PLATFORM_PROFILE is not set
# CONFIG_DASHARO_ACPI is not set
# CONFIG_INTEL_IPS is not set
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_SILICOM_PLATFORM is not set
# CONFIG_WINMATE_FM07_KEYS is not set
# CONFIG_OXP_EC is not set
# CONFIG_TUXEDO_NB04_WMI_AB is not set
CONFIG_P2SB=y
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_WMI_LEGACY_DEVICE_NAMES is not set
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
# CONFIG_LMK04832 is not set
# CONFIG_COMMON_CLK_MAX9485 is not set
# CONFIG_COMMON_CLK_SI5341 is not set
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI514 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CDCE925 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_CLK_TWL is not set
# CONFIG_COMMON_CLK_AXI_CLKGEN is not set
# CONFIG_COMMON_CLK_RS9_PCIE is not set
# CONFIG_COMMON_CLK_SI521XX is not set
# CONFIG_COMMON_CLK_VC3 is not set
# CONFIG_COMMON_CLK_VC5 is not set
# CONFIG_COMMON_CLK_VC7 is not set
# CONFIG_COMMON_CLK_FIXED_MMIO is not set

#
# Cixtech Audio Subsystem Clock Driver
#
# end of Cixtech Audio Subsystem Clock Driver

# CONFIG_CLK_LGM_CGU is not set
# CONFIG_XILINX_VCU is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# end of Clock Source drivers

CONFIG_MAILBOX=y
# CONFIG_PLATFORM_MHU is not set
CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set
# CONFIG_MAILBOX_TEST is not set
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMUFD_DRIVER=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support

# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_IOMMU_SVA=y
CONFIG_IOMMU_IOPF=y
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_IOMMUFD is not set
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_PERF_EVENTS=y
CONFIG_IOMMUFD_DRIVER_CORE=y
CONFIG_IOMMUFD=y
CONFIG_IOMMUFD_TEST=y
CONFIG_IRQ_REMAP=y
# CONFIG_VIRTIO_IOMMU is not set
CONFIG_GENERIC_PT=y
CONFIG_DEBUG_GENERIC_PT=y
CONFIG_IOMMU_PT=y
CONFIG_IOMMU_PT_AMDV1=y
CONFIG_IOMMU_PT_VTDSS=y
# CONFIG_IOMMU_PT_RISCV64 is not set
CONFIG_IOMMU_PT_X86_64=y

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers

#
# Rpmsg drivers
#
# CONFIG_RPMSG_QCOM_GLINK_RPM is not set
# CONFIG_RPMSG_VIRTIO is not set
# end of Rpmsg drivers

CONFIG_SOUNDWIRE=y

#
# SoundWire Devices
#
# CONFIG_SOUNDWIRE_AMD is not set
# CONFIG_SOUNDWIRE_INTEL is not set
# CONFIG_SOUNDWIRE_QCOM is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers

#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers

#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers

#
# fujitsu SoC drivers
#
# end of fujitsu SoC drivers

#
# i.MX SoC drivers
#
# end of i.MX SoC drivers

#
# Enable LiteX SoC Builder specific drivers
#
# CONFIG_LITEX_SOC_CONTROLLER is not set
# end of Enable LiteX SoC Builder specific drivers

# CONFIG_WPCM450_SOC is not set
CONFIG_QCOM_QMI_HELPERS=y
# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers
# end of SOC (System On Chip) specific Drivers

#
# PM Domains
#

#
# Amlogic PM Domains
#
# end of Amlogic PM Domains

#
# Broadcom PM Domains
#
# end of Broadcom PM Domains

#
# i.MX PM Domains
#
# end of i.MX PM Domains

#
# Qualcomm PM Domains
#
# end of Qualcomm PM Domains
# end of PM Domains

# CONFIG_PM_DEVFREQ is not set
CONFIG_EXTCON=y

#
# Extcon Device Drivers
#
# CONFIG_EXTCON_ADC_JACK is not set
# CONFIG_EXTCON_FSA9480 is not set
# CONFIG_EXTCON_GPIO is not set
# CONFIG_EXTCON_INTEL_INT3496 is not set
CONFIG_EXTCON_INTEL_CHT_WC=y
# CONFIG_EXTCON_LC824206XA is not set
# CONFIG_EXTCON_MAX3355 is not set
# CONFIG_EXTCON_MAX14526 is not set
CONFIG_EXTCON_PTN5150=y
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
# CONFIG_EXTCON_USB_GPIO is not set
CONFIG_EXTCON_USBC_TUSB320=y
# CONFIG_MEMORY is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_DMA is not set
# CONFIG_IIO_BUFFER_DMAENGINE is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
# CONFIG_IIO_CONFIGFS is not set
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
# CONFIG_IIO_SW_DEVICE is not set
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_TRIGGERED_EVENT is not set

#
# Accelerometers
#
# CONFIG_ADIS16201 is not set
# CONFIG_ADIS16209 is not set
# CONFIG_ADXL313_I2C is not set
# CONFIG_ADXL313_SPI is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
# CONFIG_ADXL355_I2C is not set
# CONFIG_ADXL355_SPI is not set
# CONFIG_ADXL367_SPI is not set
# CONFIG_ADXL367_I2C is not set
# CONFIG_ADXL372_SPI is not set
# CONFIG_ADXL372_I2C is not set
# CONFIG_ADXL380_SPI is not set
# CONFIG_ADXL380_I2C is not set
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
# CONFIG_BMA400 is not set
# CONFIG_BMC150_ACCEL is not set
# CONFIG_BMI088_ACCEL is not set
# CONFIG_DA280 is not set
# CONFIG_DA311 is not set
# CONFIG_DMARD06 is not set
# CONFIG_DMARD09 is not set
# CONFIG_DMARD10 is not set
# CONFIG_FXLS8962AF_I2C is not set
# CONFIG_FXLS8962AF_SPI is not set
CONFIG_HID_SENSOR_ACCEL_3D=y
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# CONFIG_IIO_KX022A_SPI is not set
# CONFIG_IIO_KX022A_I2C is not set
# CONFIG_KXSD9 is not set
# CONFIG_KXCJK1013 is not set
# CONFIG_MC3230 is not set
# CONFIG_MMA7455_I2C is not set
# CONFIG_MMA7455_SPI is not set
# CONFIG_MMA7660 is not set
# CONFIG_MMA8452 is not set
# CONFIG_MMA9551 is not set
# CONFIG_MMA9553 is not set
# CONFIG_MSA311 is not set
# CONFIG_MXC4005 is not set
# CONFIG_MXC6255 is not set
# CONFIG_SCA3000 is not set
# CONFIG_SCA3300 is not set
# CONFIG_STK8312 is not set
# CONFIG_STK8BA50 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD4000 is not set
# CONFIG_AD4080 is not set
# CONFIG_AD4130 is not set
# CONFIG_AD4134 is not set
# CONFIG_AD4170_4 is not set
# CONFIG_AD4691 is not set
# CONFIG_AD4695 is not set
# CONFIG_AD7091R5 is not set
# CONFIG_AD7091R8 is not set
# CONFIG_AD7124 is not set
# CONFIG_AD7173 is not set
# CONFIG_AD7191 is not set
# CONFIG_AD7192 is not set
# CONFIG_AD7266 is not set
# CONFIG_AD7280 is not set
# CONFIG_AD7291 is not set
# CONFIG_AD7292 is not set
# CONFIG_AD7298 is not set
# CONFIG_AD7380 is not set
# CONFIG_AD7476 is not set
# CONFIG_AD7606_IFACE_PARALLEL is not set
# CONFIG_AD7606_IFACE_SPI is not set
# CONFIG_AD7766 is not set
# CONFIG_AD7768_1 is not set
# CONFIG_AD7779 is not set
# CONFIG_AD7780 is not set
# CONFIG_AD7791 is not set
# CONFIG_AD7793 is not set
# CONFIG_AD7887 is not set
# CONFIG_AD7923 is not set
# CONFIG_AD7944 is not set
# CONFIG_AD7949 is not set
# CONFIG_AD799X is not set
# CONFIG_AD9467 is not set
# CONFIG_ADE9000 is not set
# CONFIG_CC10001_ADC is not set
CONFIG_DLN2_ADC=y
# CONFIG_ENVELOPE_DETECTOR is not set
# CONFIG_GEHC_PMC_ADC is not set
# CONFIG_HI8435 is not set
# CONFIG_HX711 is not set
# CONFIG_INA2XX_ADC is not set
# CONFIG_LTC2309 is not set
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2496 is not set
# CONFIG_LTC2497 is not set
# CONFIG_MAX1027 is not set
# CONFIG_MAX11100 is not set
# CONFIG_MAX1118 is not set
# CONFIG_MAX11205 is not set
# CONFIG_MAX11410 is not set
# CONFIG_MAX1241 is not set
# CONFIG_MAX1363 is not set
# CONFIG_MAX14001 is not set
# CONFIG_MAX34408 is not set
# CONFIG_MAX9611 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
# CONFIG_MCP3564 is not set
# CONFIG_MCP3911 is not set
# CONFIG_MEDIATEK_MT6360_ADC is not set
# CONFIG_MEDIATEK_MT6370_ADC is not set
# CONFIG_NAU7802 is not set
# CONFIG_NCT7201 is not set
# CONFIG_PAC1921 is not set
# CONFIG_PAC1934 is not set
# CONFIG_ROHM_BD79112 is not set
# CONFIG_ROHM_BD79124 is not set
# CONFIG_RICHTEK_RTQ6056 is not set
# CONFIG_SD_ADC_MODULATOR is not set
# CONFIG_TI_ADC081C is not set
# CONFIG_TI_ADC0832 is not set
# CONFIG_TI_ADC084S021 is not set
# CONFIG_TI_ADC108S102 is not set
# CONFIG_TI_ADC12138 is not set
# CONFIG_TI_ADC128S052 is not set
# CONFIG_TI_ADC161S626 is not set
# CONFIG_TI_ADS1015 is not set
# CONFIG_TI_ADS1018 is not set
# CONFIG_TI_ADS1100 is not set
# CONFIG_TI_ADS1119 is not set
# CONFIG_TI_ADS112C14 is not set
# CONFIG_TI_ADS124S08 is not set
# CONFIG_TI_ADS1298 is not set
# CONFIG_TI_ADS131E08 is not set
# CONFIG_TI_ADS131M02 is not set
# CONFIG_TI_ADS7138 is not set
# CONFIG_TI_ADS7924 is not set
# CONFIG_TI_ADS7950 is not set
# CONFIG_TI_ADS8344 is not set
# CONFIG_TI_ADS8688 is not set
# CONFIG_TI_LMP92064 is not set
# CONFIG_TI_TLC4541 is not set
# CONFIG_TI_TSC2046 is not set
# CONFIG_TWL4030_MADC is not set
# CONFIG_TWL6030_GPADC is not set
# CONFIG_VERSAL_SYSMON_I2C is not set
# CONFIG_VF610_ADC is not set
CONFIG_VIPERBOARD_ADC=y
# CONFIG_XILINX_XADC is not set
# end of Analog to digital converters

#
# Analog to digital and digital to analog converters
#
# CONFIG_AD74115 is not set
# CONFIG_AD74413R is not set
# end of Analog to digital and digital to analog converters

#
# Analog Front Ends
#
# CONFIG_IIO_RESCALE is not set
# end of Analog Front Ends

#
# Amplifiers
#
# CONFIG_AD8366 is not set
# CONFIG_ADA4250 is not set
# CONFIG_ADL8113 is not set
# CONFIG_HMC425 is not set
# end of Amplifiers

#
# Capacitance to digital converters
#
# CONFIG_AD7150 is not set
# CONFIG_AD7746 is not set
# end of Capacitance to digital converters

#
# Chemical Sensors
#
# CONFIG_AOSONG_AGS02MA is not set
# CONFIG_ATLAS_PH_SENSOR is not set
# CONFIG_ATLAS_EZO_SENSOR is not set
# CONFIG_BME680 is not set
# CONFIG_CCS811 is not set
# CONFIG_ENS160 is not set
# CONFIG_IAQCORE is not set
# CONFIG_MHZ19B is not set
# CONFIG_PMS7003 is not set
# CONFIG_SCD30_CORE is not set
# CONFIG_SCD4X is not set
# CONFIG_SEN0322 is not set
# CONFIG_SENSIRION_SGP30 is not set
# CONFIG_SENSIRION_SGP40 is not set
# CONFIG_SPS30_I2C is not set
# CONFIG_SPS30_SERIAL is not set
# CONFIG_SENSEAIR_SUNRISE_CO2 is not set
# CONFIG_VZ89X is not set
# end of Chemical Sensors

#
# Hid Sensor IIO Common
#
CONFIG_HID_SENSOR_IIO_COMMON=y
CONFIG_HID_SENSOR_IIO_TRIGGER=y
# end of Hid Sensor IIO Common

#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors

#
# SSP Sensor Common
#
# CONFIG_IIO_SSP_SENSORHUB is not set
# end of SSP Sensor Common

#
# Digital to analog converters
#
# CONFIG_AD3530R is not set
# CONFIG_AD3552R_HS is not set
# CONFIG_AD3552R is not set
# CONFIG_AD5064 is not set
# CONFIG_AD5360 is not set
# CONFIG_AD5380 is not set
# CONFIG_AD5421 is not set
# CONFIG_AD5446_SPI is not set
# CONFIG_AD5446_I2C is not set
# CONFIG_AD5449 is not set
# CONFIG_AD5592R is not set
# CONFIG_AD5593R is not set
# CONFIG_AD5504 is not set
# CONFIG_AD5624R_SPI is not set
# CONFIG_AD5706R is not set
# CONFIG_AD9739A is not set
# CONFIG_LTC2688 is not set
# CONFIG_AD5686_SPI is not set
# CONFIG_AD5696_I2C is not set
# CONFIG_AD5755 is not set
# CONFIG_AD5758 is not set
# CONFIG_AD5761 is not set
# CONFIG_AD5764 is not set
# CONFIG_AD5766 is not set
# CONFIG_AD5770R is not set
# CONFIG_AD5791 is not set
# CONFIG_AD7293 is not set
# CONFIG_AD7303 is not set
# CONFIG_AD8460 is not set
# CONFIG_AD8801 is not set
# CONFIG_BD79703 is not set
# CONFIG_CIO_DAC is not set
# CONFIG_DPOT_DAC is not set
# CONFIG_DS4424 is not set
# CONFIG_LTC1660 is not set
# CONFIG_LTC2632 is not set
# CONFIG_LTC2664 is not set
# CONFIG_M62332 is not set
# CONFIG_MAX517 is not set
# CONFIG_MAX22007 is not set
# CONFIG_MAX5522 is not set
# CONFIG_MAX5821 is not set
# CONFIG_MCP4725 is not set
# CONFIG_MCP4728 is not set
# CONFIG_MCP47A1 is not set
# CONFIG_MCP47FEB02 is not set
# CONFIG_MCP4821 is not set
# CONFIG_MCP4922 is not set
# CONFIG_TI_DAC082S085 is not set
# CONFIG_TI_DAC5571 is not set
# CONFIG_TI_DAC7311 is not set
# CONFIG_TI_DAC7612 is not set
# CONFIG_VF610_DAC is not set
# end of Digital to analog converters

#
# IIO dummy driver
#
# end of IIO dummy driver

#
# Filters
#
# CONFIG_ADMV8818 is not set
# end of Filters

#
# Flow sensors
#
# CONFIG_SENSIRION_SLF3S is not set
# end of Flow sensors

#
# Frequency Synthesizers DDS/PLL
#

#
# Clock Generator/Distribution
#
# CONFIG_AD9523 is not set
# end of Clock Generator/Distribution

#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# CONFIG_ADF41513 is not set
# CONFIG_ADF4350 is not set
# CONFIG_ADF4371 is not set
# CONFIG_ADF4377 is not set
# CONFIG_ADMFM2000 is not set
# CONFIG_ADMV1013 is not set
# CONFIG_ADMV1014 is not set
# CONFIG_ADMV4420 is not set
# CONFIG_ADRF6780 is not set
# end of Phase-Locked Loop (PLL) frequency synthesizers
# end of Frequency Synthesizers DDS/PLL

#
# Digital gyroscope sensors
#
# CONFIG_ADIS16080 is not set
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16136 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS290 is not set
# CONFIG_ADXRS450 is not set
# CONFIG_BMG160 is not set
# CONFIG_FXAS21002C is not set
CONFIG_HID_SENSOR_GYRO_3D=y
# CONFIG_MPU3050_I2C is not set
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_ITG3200 is not set
# end of Digital gyroscope sensors

#
# Health Sensors
#

#
# Heart Rate Monitors
#
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
# CONFIG_MAX30100 is not set
# CONFIG_MAX30102 is not set
# end of Heart Rate Monitors
# end of Health Sensors

#
# Humidity sensors
#
# CONFIG_AM2315 is not set
# CONFIG_DHT11 is not set
# CONFIG_ENS210 is not set
# CONFIG_HDC100X is not set
# CONFIG_HDC2010 is not set
# CONFIG_HDC3020 is not set
CONFIG_HID_SENSOR_HUMIDITY=y
# CONFIG_HTS221 is not set
# CONFIG_HTU21 is not set
# CONFIG_SI7005 is not set
# CONFIG_SI7020 is not set
# end of Humidity sensors

#
# Inertial measurement units
#
# CONFIG_ADIS16400 is not set
# CONFIG_ADIS16460 is not set
# CONFIG_ADIS16475 is not set
# CONFIG_ADIS16480 is not set
# CONFIG_ADIS16550 is not set
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
# CONFIG_BMI270_I2C is not set
# CONFIG_BMI270_SPI is not set
# CONFIG_BMI323_I2C is not set
# CONFIG_BMI323_SPI is not set
# CONFIG_BOSCH_BNO055_SERIAL is not set
# CONFIG_BOSCH_BNO055_I2C is not set
# CONFIG_FXOS8700_I2C is not set
# CONFIG_FXOS8700_SPI is not set
# CONFIG_KMX61 is not set
# CONFIG_INV_ICM42600_I2C is not set
# CONFIG_INV_ICM42600_SPI is not set
# CONFIG_INV_ICM42607_I2C is not set
# CONFIG_INV_ICM42607_SPI is not set
# CONFIG_INV_ICM45600_I2C is not set
# CONFIG_INV_ICM45600_SPI is not set
# CONFIG_INV_MPU6050_I2C is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_SMI240 is not set
# CONFIG_SMI330_I2C is not set
# CONFIG_SMI330_SPI is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_LSM9DS0 is not set
# end of Inertial measurement units

#
# Light sensors
#
# CONFIG_ACPI_ALS is not set
# CONFIG_ADJD_S311 is not set
# CONFIG_ADUX1020 is not set
# CONFIG_AL3000A is not set
# CONFIG_AL3010 is not set
# CONFIG_AL3320A is not set
# CONFIG_APDS9160 is not set
# CONFIG_APDS9300 is not set
# CONFIG_APDS9306 is not set
# CONFIG_APDS9960 is not set
# CONFIG_APDS9999 is not set
# CONFIG_AS73211 is not set
# CONFIG_BH1745 is not set
# CONFIG_BH1750 is not set
# CONFIG_BH1780 is not set
# CONFIG_CM32181 is not set
# CONFIG_CM3232 is not set
# CONFIG_CM3323 is not set
# CONFIG_CM3605 is not set
# CONFIG_CM36651 is not set
# CONFIG_GP2AP002 is not set
# CONFIG_GP2AP020A00F is not set
# CONFIG_SENSORS_ISL29018 is not set
# CONFIG_SENSORS_ISL29028 is not set
# CONFIG_ISL29125 is not set
# CONFIG_ISL76682 is not set
CONFIG_HID_SENSOR_ALS=y
CONFIG_HID_SENSOR_PROX=y
# CONFIG_JSA1212 is not set
# CONFIG_ROHM_BU27034 is not set
# CONFIG_RPR0521 is not set
# CONFIG_LTR390 is not set
# CONFIG_LTR501 is not set
# CONFIG_LTRF216A is not set
# CONFIG_LV0104CS is not set
# CONFIG_MAX44000 is not set
# CONFIG_MAX44009 is not set
# CONFIG_NOA1305 is not set
# CONFIG_OPT3001 is not set
# CONFIG_OPT4001 is not set
# CONFIG_OPT4060 is not set
# CONFIG_PA12203001 is not set
# CONFIG_SI1133 is not set
# CONFIG_SI1145 is not set
# CONFIG_STK3310 is not set
# CONFIG_ST_UVIS25 is not set
# CONFIG_TCS3414 is not set
# CONFIG_TCS3472 is not set
# CONFIG_SENSORS_TSL2563 is not set
# CONFIG_TSL2583 is not set
# CONFIG_TSL2591 is not set
# CONFIG_TSL2772 is not set
# CONFIG_TSL4531 is not set
# CONFIG_US5182D is not set
# CONFIG_VCNL4000 is not set
# CONFIG_VCNL4035 is not set
# CONFIG_VEML3235 is not set
# CONFIG_VEML3328 is not set
# CONFIG_VEML6030 is not set
# CONFIG_VEML6040 is not set
# CONFIG_VEML6046X00 is not set
# CONFIG_VEML6070 is not set
# CONFIG_VEML6075 is not set
# CONFIG_VL6180 is not set
# CONFIG_ZOPT2201 is not set
# end of Light sensors

#
# Magnetometer sensors
#
# CONFIG_AF8133J is not set
# CONFIG_AK8974 is not set
# CONFIG_AK8975 is not set
# CONFIG_AK09911 is not set
# CONFIG_ALS31300 is not set
# CONFIG_BMC150_MAGN_I2C is not set
# CONFIG_BMC150_MAGN_SPI is not set
# CONFIG_MAG3110 is not set
CONFIG_HID_SENSOR_MAGNETOMETER_3D=y
# CONFIG_MMC35240 is not set
# CONFIG_MMC5633 is not set
# CONFIG_MMC5983 is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_INFINEON_TLV493D is not set
# CONFIG_QMC5883L is not set
# CONFIG_QMC6308 is not set
# CONFIG_SENSORS_HMC5843_I2C is not set
# CONFIG_SENSORS_HMC5843_SPI is not set
# CONFIG_SENSORS_RM3100_I2C is not set
# CONFIG_SENSORS_RM3100_SPI is not set
# CONFIG_SI7210 is not set
# CONFIG_TI_TMAG5273 is not set
# CONFIG_YAMAHA_YAS530 is not set
# end of Magnetometer sensors

#
# Multiplexers
#
# CONFIG_IIO_MUX is not set
# end of Multiplexers

#
# Inclinometer sensors
#
CONFIG_HID_SENSOR_INCLINOMETER_3D=y
CONFIG_HID_SENSOR_DEVICE_ROTATION=y
# end of Inclinometer sensors

#
# Triggers - standalone
#
# CONFIG_IIO_SYSFS_TRIGGER is not set
# end of Triggers - standalone

#
# Linear and angular position sensors
#
CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=y
# end of Linear and angular position sensors

#
# Digital potentiometers
#
# CONFIG_AD5110 is not set
# CONFIG_AD5272 is not set
# CONFIG_DS1803 is not set
# CONFIG_MAX5432 is not set
# CONFIG_MAX5481 is not set
# CONFIG_MAX5487 is not set
# CONFIG_MCP4018 is not set
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
# CONFIG_MCP41010 is not set
# CONFIG_TPL0102 is not set
# CONFIG_X9250 is not set
# end of Digital potentiometers

#
# Digital potentiostats
#
# CONFIG_LMP91000 is not set
# end of Digital potentiostats

#
# Pressure sensors
#
# CONFIG_ABP060MG is not set
# CONFIG_ABP2030PA_I2C is not set
# CONFIG_ABP2030PA_SPI is not set
# CONFIG_ROHM_BM1390 is not set
# CONFIG_BMP280 is not set
# CONFIG_DLHL60D is not set
# CONFIG_DPS310 is not set
CONFIG_HID_SENSOR_PRESS=y
# CONFIG_HP03 is not set
# CONFIG_HSC030PA is not set
# CONFIG_ICP10100 is not set
# CONFIG_MPL115_I2C is not set
# CONFIG_MPL115_SPI is not set
# CONFIG_MPL3115 is not set
# CONFIG_MPRLS0025PA_I2C is not set
# CONFIG_MPRLS0025PA_SPI is not set
# CONFIG_MS5611 is not set
# CONFIG_MS5637 is not set
# CONFIG_SDP500 is not set
# CONFIG_IIO_ST_PRESS is not set
# CONFIG_T5403 is not set
# CONFIG_HP206C is not set
# CONFIG_ZPA2326 is not set
# CONFIG_ADP810 is not set
# end of Pressure sensors

#
# Lightning sensors
#
# CONFIG_AS3935 is not set
# end of Lightning sensors

#
# Proximity and distance sensors
#
# CONFIG_D3323AA is not set
# CONFIG_HX9023S is not set
# CONFIG_IRSD200 is not set
# CONFIG_ISL29501 is not set
# CONFIG_LIDAR_LITE_V2 is not set
# CONFIG_MB1232 is not set
# CONFIG_PING is not set
# CONFIG_RFD77402 is not set
# CONFIG_SRF04 is not set
# CONFIG_SX9310 is not set
# CONFIG_SX9324 is not set
# CONFIG_SX9360 is not set
# CONFIG_SX9500 is not set
# CONFIG_SRF08 is not set
# CONFIG_VCNL3020 is not set
# CONFIG_VL53L0X_I2C is not set
# CONFIG_VL53L1X_I2C is not set
# CONFIG_AW96103 is not set
# end of Proximity and distance sensors

#
# Resolver to digital converters
#
# CONFIG_AD2S90 is not set
# CONFIG_AD2S1200 is not set
# CONFIG_AD2S1210 is not set
# end of Resolver to digital converters

#
# Temperature sensors
#
# CONFIG_LTC2983 is not set
# CONFIG_MAXIM_THERMOCOUPLE is not set
CONFIG_HID_SENSOR_TEMP=y
# CONFIG_MLX90614 is not set
# CONFIG_MLX90632 is not set
# CONFIG_MLX90635 is not set
# CONFIG_TMP006 is not set
# CONFIG_TMP007 is not set
# CONFIG_TMP117 is not set
# CONFIG_TSYS01 is not set
# CONFIG_TSYS02D is not set
# CONFIG_MAX30208 is not set
# CONFIG_MAX31856 is not set
# CONFIG_MAX31865 is not set
# CONFIG_MCP9600 is not set
# end of Temperature sensors

# CONFIG_NTB is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_IRQCHIP=y
CONFIG_IRQ_MSI_LIB=y
# CONFIG_AL_FIC is not set
# CONFIG_XILINX_INTC is not set
# end of IRQ chip support

# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
# CONFIG_RESET_GPIO is not set
# CONFIG_RESET_INTEL_GW is not set
# CONFIG_RESET_SIMPLE is not set
# CONFIG_RESET_TI_SYSCON is not set
# CONFIG_RESET_TI_TPS380X is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
# CONFIG_PHY_CAN_TRANSCEIVER is not set
CONFIG_PHY_GOOGLE_USB=y
CONFIG_USB_LGM_PHY=y
# CONFIG_PHY_NXP_PTN3222 is not set
# CONFIG_PHY_NXP_TJA1145 is not set

#
# PHY drivers for Broadcom platforms
#
# CONFIG_BCM_KONA_USB2_PHY is not set
# end of PHY drivers for Broadcom platforms

# CONFIG_PHY_CADENCE_TORRENT is not set
# CONFIG_PHY_CADENCE_DPHY is not set
# CONFIG_PHY_CADENCE_DPHY_RX is not set
# CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_SALVO is not set
# CONFIG_PHY_INTEL_LGM_COMBO is not set
# CONFIG_PHY_INTEL_LGM_EMMC is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
CONFIG_PHY_CPCAP_USB=y
# CONFIG_PHY_MAPPHONE_MDM6600 is not set
# CONFIG_PHY_OCELOT_SERDES is not set
CONFIG_PHY_QCOM_USB_HS=y
CONFIG_PHY_QCOM_USB_HSIC=y
CONFIG_PHY_SAMSUNG_USB2=y
# CONFIG_PHY_TI_DS125DF111 is not set
CONFIG_PHY_TUSB1210=y
# end of PHY Subsystem

# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_DWC_PCIE_PMU is not set
# end of Performance monitor support

CONFIG_RAS=y
CONFIG_USB4=y
CONFIG_USB4_CONFIGFS=y
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set
# CONFIG_USB4_STREAM is not set

#
# Android
#
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder0,binder1"
# end of Android

CONFIG_LIBNVDIMM=y
CONFIG_BLK_DEV_PMEM=y
CONFIG_ND_CLAIM=y
CONFIG_ND_BTT=y
CONFIG_BTT=y
CONFIG_ND_PFN=y
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y
CONFIG_OF_PMEM=y
# CONFIG_RAMDAX is not set
CONFIG_NVDIMM_KEYS=y
# CONFIG_NVDIMM_SECURITY_TEST is not set
CONFIG_DAX=y
CONFIG_DEV_DAX=y
# CONFIG_DEV_DAX_PMEM is not set
CONFIG_DEV_DAX_FSDEV=y
# CONFIG_DEV_DAX_KMEM is not set
CONFIG_NVMEM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_NVMEM_LAYOUTS=y

#
# Layout Types
#
# CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
# CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
# CONFIG_NVMEM_LAYOUT_U_BOOT_ENV is not set
# end of Layout Types

# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_EE1004 is not set
# CONFIG_EEPROM_M24LR is not set
# CONFIG_NVMEM_RMEM is not set
# CONFIG_NVMEM_U_BOOT_ENV is not set

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# end of HW tracing support

# CONFIG_FPGA is not set
# CONFIG_FSI is not set
CONFIG_TEE=y
CONFIG_TEE_DMABUF_HEAPS=y
CONFIG_OPTEE_STATIC_PROTMEM_POOL=y
# CONFIG_MUX_CORE is not set
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not set
CONFIG_COUNTER=y
# CONFIG_INTEL_QEP is not set
# CONFIG_INTERRUPT_CNT is not set
CONFIG_MOST=y
CONFIG_MOST_USB_HDM=y
# CONFIG_MOST_CDEV is not set
# CONFIG_MOST_SND is not set
# CONFIG_PECI is not set
# CONFIG_HTE is not set
# end of Device Drivers

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_VALIDATE_FS_PARSER=y
CONFIG_FS_IOMAP=y
CONFIG_FS_STACK=y
CONFIG_BUFFER_HEAD=y
CONFIG_LEGACY_DIRECT_IO=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
CONFIG_JFS_DEBUG=y
# CONFIG_JFS_STATISTICS is not set
CONFIG_XFS_FS=y
# CONFIG_XFS_SUPPORT_V4 is not set
# CONFIG_XFS_SUPPORT_ASCII_CI is not set
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
CONFIG_XFS_DRAIN_INTENTS=y
CONFIG_XFS_LIVE_HOOKS=y
CONFIG_XFS_MEMORY_BUFS=y
CONFIG_XFS_BTREE_IN_MEM=y
CONFIG_XFS_ONLINE_SCRUB=y
# CONFIG_XFS_ONLINE_SCRUB_STATS is not set
CONFIG_XFS_ONLINE_REPAIR=y
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
CONFIG_GFS2_FS=y
CONFIG_GFS2_FS_LOCKING_DLM=y
CONFIG_OCFS2_FS=y
CONFIG_OCFS2_FS_O2CB=y
CONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
CONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
CONFIG_OCFS2_DEBUG_FS=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
CONFIG_BTRFS_ASSERT=y
# CONFIG_BTRFS_EXPERIMENTAL is not set
CONFIG_NILFS2_FS=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_F2FS_CHECK_FS=y
CONFIG_F2FS_FAULT_INJECTION=y
CONFIG_F2FS_FS_COMPRESSION=y
CONFIG_F2FS_FS_LZO=y
CONFIG_F2FS_FS_LZORLE=y
CONFIG_F2FS_FS_LZ4=y
CONFIG_F2FS_FS_LZ4HC=y
CONFIG_F2FS_FS_ZSTD=y
# CONFIG_F2FS_IOSTAT is not set
# CONFIG_F2FS_UNFAIR_RWSEM is not set
CONFIG_ZONEFS_FS=y
CONFIG_FS_DAX=y
CONFIG_FS_DAX_PMD=y
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_EXPORTFS_BLOCK_OPS=y
CONFIG_FILE_LOCKING=y
CONFIG_FS_ENCRYPTION=y
CONFIG_FS_ENCRYPTION_ALGS=y
CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y
CONFIG_FS_VERITY=y
CONFIG_FS_VERITY_BUILTIN_SIGNATURES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VIRTIO_FS=y
CONFIG_FUSE_DAX=y
# CONFIG_FUSE_PASSTHROUGH is not set
CONFIG_FUSE_IO_URING=y
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
CONFIG_OVERLAY_FS_INDEX=y
# CONFIG_OVERLAY_FS_NFS_EXPORT is not set
# CONFIG_OVERLAY_FS_XINO_AUTO is not set
# CONFIG_OVERLAY_FS_METACOPY is not set
CONFIG_OVERLAY_FS_DEBUG=y

#
# Caches
#
CONFIG_NETFS_SUPPORT=y
# CONFIG_NETFS_STATS is not set
# CONFIG_NETFS_DEBUG is not set
CONFIG_FSCACHE=y
# CONFIG_FSCACHE_STATS is not set
CONFIG_CACHEFILES=y
# CONFIG_CACHEFILES_DEBUG is not set
# CONFIG_CACHEFILES_ERROR_INJECTION is not set
# end of Caches

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
# end of CD-ROM/DVD Filesystems

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
# CONFIG_NTFS_FS is not set
CONFIG_NTFS3_FS=y
# CONFIG_NTFS3_64BIT_CLUSTER is not set
CONFIG_NTFS3_LZX_XPRESS=y
CONFIG_NTFS3_FS_POSIX_ACL=y
# end of DOS/FAT/EXFAT/NT Filesystems

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
# CONFIG_PROC_VMCORE_DEVICE_DUMP is not set
CONFIG_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_PROC_PID_ARCH_STATUS=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_TMPFS_INODE64 is not set
CONFIG_TMPFS_QUOTA=y
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
CONFIG_HUGETLBFS=y
# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set
CONFIG_HUGETLB_PAGE=y
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y
CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING=y
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
CONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems

CONFIG_MISC_FILESYSTEMS=y
CONFIG_ORANGEFS_FS=y
CONFIG_ADFS_FS=y
# CONFIG_ADFS_FS_RW is not set
CONFIG_AFFS_FS=y
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
CONFIG_BEFS_FS=y
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
CONFIG_JFFS2_SUMMARY=y
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_LZO=y
CONFIG_JFFS2_RTIME=y
CONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_ZSTD=y
CONFIG_UBIFS_ATIME_SUPPORT=y
CONFIG_UBIFS_FS_XATTR=y
CONFIG_UBIFS_FS_SECURITY=y
# CONFIG_UBIFS_FS_AUTHENTICATION is not set
CONFIG_CRAMFS=y
CONFIG_CRAMFS_BLOCKDEV=y
CONFIG_CRAMFS_MTD=y
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_FILE_CACHE is not set
CONFIG_SQUASHFS_FILE_DIRECT=y
CONFIG_SQUASHFS_DECOMP_MULTI=y
# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set
# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set
CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI=y
# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is not set
# CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS is not set
CONFIG_SQUASHFS_XATTR=y
# CONFIG_SQUASHFS_COMP_CACHE_FULL is not set
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_MINIX_FS=y
CONFIG_OMFS_FS=y
CONFIG_HPFS_FS=y
CONFIG_QNX4FS_FS=y
CONFIG_QNX6FS_FS=y
# CONFIG_QNX6FS_DEBUG is not set
CONFIG_ROMFS_FS=y
# CONFIG_ROMFS_BACKED_BY_BLOCK is not set
# CONFIG_ROMFS_BACKED_BY_MTD is not set
CONFIG_ROMFS_BACKED_BY_BOTH=y
CONFIG_ROMFS_ON_BLOCK=y
CONFIG_ROMFS_ON_MTD=y
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_PSTORE_BLK is not set
CONFIG_UFS_FS=y
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
CONFIG_EROFS_FS=y
# CONFIG_EROFS_FS_DEBUG is not set
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
# CONFIG_EROFS_FS_BACKED_BY_FILE is not set
CONFIG_EROFS_FS_ZIP=y
# CONFIG_EROFS_FS_ZIP_LZMA is not set
# CONFIG_EROFS_FS_ZIP_DEFLATE is not set
# CONFIG_EROFS_FS_ZIP_ZSTD is not set
# CONFIG_EROFS_FS_ZIP_ACCEL is not set
# CONFIG_EROFS_FS_PCPU_KTHREAD is not set
# CONFIG_EROFS_FS_PAGE_CACHE_SHARE is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
CONFIG_NFS_V4_0=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_PNFS_FLEXFILE_LAYOUT=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFS_DISABLE_UDP_SUPPORT is not set
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=y
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
CONFIG_NFSD_V4_SECURITY_LABEL=y
# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
# CONFIG_NFSD_V4_POSIX_ACLS is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
# CONFIG_NFS_LOCALIO is not set
CONFIG_NFS_V4_2_SSC_HELPER=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_BACKCHANNEL=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_SUNRPC_XPRT_RDMA is not set
CONFIG_CEPH_FS=y
CONFIG_CEPH_FSCACHE=y
CONFIG_CEPH_FS_POSIX_ACL=y
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_SWN_UPCALL=y
CONFIG_CIFS_SMB_DIRECT=y
CONFIG_CIFS_FSCACHE=y
# CONFIG_CIFS_ROOT is not set
# CONFIG_CIFS_COMPRESSION is not set
CONFIG_SMB_SERVER=y
# CONFIG_SMB_SERVER_SMBDIRECT is not set
# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set
# CONFIG_SMB_SERVER_KERBEROS5 is not set
CONFIG_SMBDIRECT=y
CONFIG_SMBFS=y
# CONFIG_CODA_FS is not set
CONFIG_AFS_FS=y
# CONFIG_AFS_DEBUG is not set
CONFIG_AFS_FSCACHE=y
# CONFIG_AFS_DEBUG_CURSOR is not set
CONFIG_9P_FS=y
CONFIG_9P_FSCACHE=y
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_9P_FS_SECURITY=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=y
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=y
CONFIG_NLS_CODEPAGE_862=y
CONFIG_NLS_CODEPAGE_863=y
CONFIG_NLS_CODEPAGE_864=y
CONFIG_NLS_CODEPAGE_865=y
CONFIG_NLS_CODEPAGE_866=y
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=y
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=y
CONFIG_NLS_ISO8859_4=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=y
CONFIG_NLS_ISO8859_13=y
CONFIG_NLS_ISO8859_14=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_KOI8_R=y
CONFIG_NLS_KOI8_U=y
CONFIG_NLS_MAC_ROMAN=y
CONFIG_NLS_MAC_CELTIC=y
CONFIG_NLS_MAC_CENTEURO=y
CONFIG_NLS_MAC_CROATIAN=y
CONFIG_NLS_MAC_CYRILLIC=y
CONFIG_NLS_MAC_GAELIC=y
CONFIG_NLS_MAC_GREEK=y
CONFIG_NLS_MAC_ICELAND=y
CONFIG_NLS_MAC_INUIT=y
CONFIG_NLS_MAC_ROMANIAN=y
CONFIG_NLS_MAC_TURKISH=y
CONFIG_NLS_UTF8=y
CONFIG_NLS_UCS2_UTILS=y
CONFIG_DLM=y
# CONFIG_DLM_DEBUG is not set
CONFIG_UNICODE=y
CONFIG_IO_WQ=y
# end of File systems

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_REQUEST_CACHE=y
CONFIG_PERSISTENT_KEYRINGS=y
CONFIG_BIG_KEYS=y
CONFIG_TRUSTED_KEYS=y
# CONFIG_TRUSTED_KEYS_TPM is not set
# CONFIG_TRUSTED_KEYS_TEE is not set

#
# No trust source selected!
#
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_USER_DECRYPTED_DATA is not set
CONFIG_KEY_DH_OPERATIONS=y
CONFIG_KEY_NOTIFICATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_PROC_MEM_ALWAYS_FORCE is not set
CONFIG_PROC_MEM_FORCE_PTRACE=y
# CONFIG_PROC_MEM_NO_FORCE is not set
CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_INFINIBAND=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_SECURITY_SELINUX is not set
# CONFIG_SECURITY_SMACK is not set
CONFIG_SECURITY_TOMOYO=y
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=64
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=32
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_DEBUG=y
CONFIG_SECURITY_APPARMOR_DEBUG_ASSERTS=y
# CONFIG_SECURITY_APPARMOR_DEBUG_MESSAGES is not set
CONFIG_SECURITY_APPARMOR_INTROSPECT_POLICY=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
# CONFIG_SECURITY_APPARMOR_EXPORT_BINARY is not set
# CONFIG_SECURITY_APPARMOR_COMPRESSED_POLICY is not set
# CONFIG_SECURITY_APPARMOR_PARANOID_LOAD is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_SAFESETID=y
CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
CONFIG_SECURITY_LANDLOCK=y
CONFIG_SECURITY_LANDLOCK_LOG=y
# CONFIG_SECURITY_IPE is not set
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
CONFIG_INTEGRITY_TRUSTED_KEYRING=y
CONFIG_INTEGRITY_AUDIT=y
CONFIG_IMA=y
CONFIG_IMA_MEASURE_PCR_IDX=10
CONFIG_IMA_LSM_RULES=y
CONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not set
CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"
# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set
CONFIG_IMA_DEFAULT_HASH_SHA256=y
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set
# CONFIG_IMA_DEFAULT_HASH_WP512 is not set
CONFIG_IMA_DEFAULT_HASH="sha256"
CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y
CONFIG_IMA_APPRAISE=y
# CONFIG_IMA_ARCH_POLICY is not set
# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set
# CONFIG_IMA_APPRAISE_BOOTPARAM is not set
CONFIG_IMA_APPRAISE_MODSIG=y
# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_BLACKLIST_KEYRING is not set
# CONFIG_IMA_LOAD_X509 is not set
CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=y
CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=y
# CONFIG_IMA_DISABLE_HTABLE is not set
# CONFIG_IMA_STAGING is not set
# CONFIG_IMA_INIT_LATE_SYNC is not set
CONFIG_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
CONFIG_DEFAULT_SECURITY_APPARMOR=y
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,safesetid,integrity,tomoyo,apparmor,bpf"

#
# Kernel hardening options
#

#
# Memory initialization
#
CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y
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_CC_HAS_SANCOV_STACK_DEPTH_CALLBACK=y
# CONFIG_KSTACK_ERASE is not set
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization

#
# Bounds checking
#
CONFIG_FORTIFY_SOURCE=y
CONFIG_HARDENED_USERCOPY=y
# CONFIG_HARDENED_USERCOPY_DEFAULT_ON is not set
# end of Bounds checking

#
# Hardening of kernel data structures
#
CONFIG_LIST_HARDENED=y
CONFIG_BUG_ON_DATA_CORRUPTION=y
# end of Hardening of kernel data structures

CONFIG_CC_HAS_RANDSTRUCT=y
CONFIG_RANDSTRUCT_NONE=y
# CONFIG_RANDSTRUCT_FULL is not set
# end of Kernel hardening options
# end of Security options

CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_XOR=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_SIG=y
CONFIG_CRYPTO_SIG2=y
CONFIG_CRYPTO_SKCIPHER=y
CONFIG_CRYPTO_SKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=y
CONFIG_CRYPTO_ACOMP2=y
CONFIG_CRYPTO_ACOMP=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_SELFTESTS is not set
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_PCRYPT=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_KRB5ENC=y
# CONFIG_CRYPTO_BENCHMARK is not set
CONFIG_CRYPTO_ENGINE=y
# end of Crypto core or helper

#
# Public-key cryptography
#
CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_DH=y
# CONFIG_CRYPTO_DH_RFC7919_GROUPS is not set
CONFIG_CRYPTO_ECC=y
CONFIG_CRYPTO_ECDH=y
# CONFIG_CRYPTO_ECDSA is not set
CONFIG_CRYPTO_ECRDSA=y
CONFIG_CRYPTO_MLDSA=y
# end of Public-key cryptography

#
# Block ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_ARIA=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_CAMELLIA=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_SEED=y
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_SM4=y
CONFIG_CRYPTO_SM4_GENERIC=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
# end of Block ciphers

#
# Length-preserving ciphers and modes
#
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_CHACHA20=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_HCTR2=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_XCTR=y
CONFIG_CRYPTO_XTS=y
# end of Length-preserving ciphers and modes

#
# AEAD (authenticated encryption with associated data) ciphers
#
CONFIG_CRYPTO_AEGIS128=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_GENIV=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_ECHAINIV=y
CONFIG_CRYPTO_ESSIV=y
# end of AEAD (authenticated encryption with associated data) ciphers

#
# Hashes, digests, and MACs
#
# CONFIG_CRYPTO_BLAKE2B is not set
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
CONFIG_CRYPTO_RMD160=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA3=y
# CONFIG_CRYPTO_SM3 is not set
CONFIG_CRYPTO_STREEBOG=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_XCBC=y
# CONFIG_CRYPTO_XXHASH is not set
# end of Hashes, digests, and MACs

#
# CRCs (cyclic redundancy checks)
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CRC32 is not set
# end of CRCs (cyclic redundancy checks)

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_842=y
CONFIG_CRYPTO_LZ4=y
CONFIG_CRYPTO_LZ4HC=y
CONFIG_CRYPTO_ZSTD=y
# end of Compression

#
# Random number generation
#
# CONFIG_CRYPTO_DRBG is not set
# CONFIG_CRYPTO_JITTERENTROPY is not set
CONFIG_CRYPTO_KDF800108_CTR=y
# end of Random number generation

#
# Userspace interface (deprecated)
#
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_USER_API_SKCIPHER=y
CONFIG_CRYPTO_USER_API_RNG=y
CONFIG_CRYPTO_USER_API_AEAD=y
CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
# end of Userspace interface (deprecated)

#
# Accelerated Cryptographic Algorithms for CPU (x86)
#
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_BLOWFISH_X86_64=y
CONFIG_CRYPTO_CAMELLIA_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_CAST5_AVX_X86_64=y
CONFIG_CRYPTO_CAST6_AVX_X86_64=y
CONFIG_CRYPTO_SERPENT_SSE2_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y
CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64=y
# CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 is not set
# CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 is not set
CONFIG_CRYPTO_AEGIS128_AESNI_SSE2=y
# end of Accelerated Cryptographic Algorithms for CPU (x86)

CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_PADLOCK=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=y
CONFIG_CRYPTO_DEV_PADLOCK_SHA=y
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
# CONFIG_CRYPTO_DEV_SP_CCP is not set
# CONFIG_CRYPTO_DEV_SP_PSP is not set
# CONFIG_CRYPTO_DEV_NITROX_CNN55XX is not set
CONFIG_CRYPTO_DEV_QAT=y
CONFIG_CRYPTO_DEV_QAT_DH895xCC=y
CONFIG_CRYPTO_DEV_QAT_C3XXX=y
CONFIG_CRYPTO_DEV_QAT_C62X=y
# CONFIG_CRYPTO_DEV_QAT_4XXX is not set
# CONFIG_CRYPTO_DEV_QAT_420XX is not set
# CONFIG_CRYPTO_DEV_QAT_6XXX is not set
CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=y
CONFIG_CRYPTO_DEV_QAT_C3XXXVF=y
CONFIG_CRYPTO_DEV_QAT_C62XVF=y
# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set
CONFIG_CRYPTO_DEV_VIRTIO=y
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
# CONFIG_CRYPTO_DEV_CCREE is not set
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
# CONFIG_PKCS7_WAIVE_AUTHATTRS_REJECTION_FOR_MLDSA is not set
CONFIG_PKCS7_TEST_KEY=y
CONFIG_SIGNED_PE_FILE_VERIFICATION=y
# CONFIG_FIPS_SIGNATURE_SELFTEST is not set

#
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
# CONFIG_MODULE_SIG_KEY_TYPE_RSA is not set
CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_44=y
# CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_65 is not set
# CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_87 is not set
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
CONFIG_SECONDARY_TRUSTED_KEYRING=y
# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
CONFIG_OPENSSL_SUPPORTS_ML_DSA=y
# end of Certificates for signature checking

CONFIG_CRYPTO_KRB5=y
# CONFIG_CRYPTO_KRB5_SELFTESTS is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_LINEAR_RANGES=y
# CONFIG_PACKING is not set
CONFIG_BITREVERSE=y
CONFIG_GENERIC_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
# CONFIG_CORDIC is not set
# CONFIG_PRIME_NUMBERS is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_ARCH_USE_SYM_ANNOTATIONS=y
CONFIG_CRC8=y
CONFIG_CRC16=y
CONFIG_CRC_CCITT=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_T10DIF_ARCH=y
CONFIG_CRC32=y
CONFIG_CRC32_ARCH=y
CONFIG_CRC64=y
CONFIG_CRC64_ARCH=y
CONFIG_CRC_OPTIMIZATIONS=y
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LIB_UTILS=y
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_LIB_AES_ARCH=y
CONFIG_CRYPTO_LIB_AES_CBC=y
CONFIG_CRYPTO_LIB_AES_CBC_MACS=y
CONFIG_CRYPTO_LIB_AES_CCM=y
CONFIG_CRYPTO_LIB_AES_CTR=y
CONFIG_CRYPTO_LIB_AES_ECB=y
CONFIG_CRYPTO_LIB_AES_GCM=y
CONFIG_CRYPTO_LIB_AES_XTS=y
CONFIG_CRYPTO_LIB_ARC4=y
CONFIG_CRYPTO_LIB_GF128MUL=y
CONFIG_CRYPTO_LIB_BLAKE2B=y
CONFIG_CRYPTO_LIB_BLAKE2S_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA=y
CONFIG_CRYPTO_LIB_CHACHA_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519=y
CONFIG_CRYPTO_LIB_CURVE25519_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y
CONFIG_CRYPTO_LIB_DES=y
CONFIG_CRYPTO_LIB_GF128HASH=y
CONFIG_CRYPTO_LIB_GF128HASH_ARCH=y
CONFIG_CRYPTO_LIB_MD5=y
CONFIG_CRYPTO_LIB_MLDSA=y
CONFIG_CRYPTO_LIB_NH=y
CONFIG_CRYPTO_LIB_NH_ARCH=y
CONFIG_CRYPTO_LIB_POLY1305=y
CONFIG_CRYPTO_LIB_POLY1305_ARCH=y
CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
CONFIG_CRYPTO_LIB_CHACHA20POLY1305=y
CONFIG_CRYPTO_LIB_SHA1=y
CONFIG_CRYPTO_LIB_SHA1_ARCH=y
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_LIB_SHA256_ARCH=y
CONFIG_CRYPTO_LIB_SHA512=y
CONFIG_CRYPTO_LIB_SHA512_ARCH=y
CONFIG_CRYPTO_LIB_SHA3=y
CONFIG_XOR_BLOCKS=y
CONFIG_XOR_BLOCKS_ARCH=y
CONFIG_RAID6_PQ=y
CONFIG_RAID6_PQ_ARCH=y
# CONFIG_RAID6_PQ_BENCHMARK is not set
CONFIG_XXHASH=y
CONFIG_842_COMPRESS=y
CONFIG_842_DECOMPRESS=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_COMPRESS=y
CONFIG_LZ4HC_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_ZSTD_COMMON=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_ARM64=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_RISCV=y
# CONFIG_XZ_DEC_MICROLZMA is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_DECOMPRESS_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_DEC8=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_INTERVAL_TREE=y
CONFIG_INTERVAL_TREE_SPAN_ITER=y
CONFIG_XARRAY_MULTI=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_CLOSURES=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_NEED_SG_DMA_FLAGS=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DMA_DECLARE_COHERENT=y
CONFIG_SWIOTLB=y
CONFIG_SWIOTLB_DEFAULT_SIZE_MB=64
# CONFIG_SWIOTLB_DYNAMIC is not set
CONFIG_DMA_NEED_SYNC=y
# CONFIG_DMA_RESTRICTED_POOL is not set
CONFIG_DMA_CMA=y
# CONFIG_DMA_NUMA_CMA is not set

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=0
CONFIG_CMA_SIZE_PERCENTAGE=0
# CONFIG_CMA_SIZE_SEL_MBYTES is not set
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
CONFIG_CMA_SIZE_SEL_MAX=y
CONFIG_CMA_ALIGNMENT=8
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_DMA_MAP_BENCHMARK is not set
CONFIG_SGL_ALLOC=y
CONFIG_CHECK_SIGNATURE=y
# CONFIG_CPUMASK_OFFSTACK is not set
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
CONFIG_NLATTR=y
CONFIG_CLZ_TAB=y
CONFIG_IRQ_POLL=y
CONFIG_MPILIB=y
CONFIG_SIGNATURE=y
CONFIG_DIMLIB=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_VDSO_DATASTORE=y
CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_GENERIC_VDSO_OVERFLOW_PROTECT=y
CONFIG_VDSO_GETRANDOM=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_MEMREGION=y
CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION=y
CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y
CONFIG_ARCH_HAS_COPY_MC=y
CONFIG_ARCH_STACKWALK=y
CONFIG_STACKDEPOT=y
CONFIG_STACKDEPOT_ALWAYS_INIT=y
CONFIG_STACKDEPOT_MAX_FRAMES=64
CONFIG_REF_TRACKER=y
CONFIG_SBITMAP=y
# CONFIG_LWQ_TEST is not set
# end of Library routines

CONFIG_FIRMWARE_TABLE=y
CONFIG_UNION_FIND=y

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_CALLER=y
# CONFIG_STACKTRACE_BUILD_ID is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DYNAMIC_DEBUG_CORE=y
CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_BUGVERBOSE_DETAILED=y
# end of printk and dmesg options

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_BTF_TAG=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_DEBUG_INFO_BTF_MODULES is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_HEADERS_INSTALL is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_OBJTOOL=y
# CONFIG_OBJTOOL_WERROR is not set
CONFIG_NOINSTR_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# end of Compile-time checks and compiler options

#
# Generic Kernel Debugging Instruments
#
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_ALLOW_NONE is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN=y
CONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not set
CONFIG_CC_HAS_UBSAN_ARRAY_BOUNDS=y
CONFIG_UBSAN_BOUNDS=y
CONFIG_UBSAN_ARRAY_BOUNDS=y
CONFIG_UBSAN_SHIFT=y
# CONFIG_UBSAN_BOOL is not set
# CONFIG_UBSAN_ENUM is not set
# CONFIG_UBSAN_ALIGNMENT is not set
# CONFIG_TEST_UBSAN is not set
CONFIG_HAVE_ARCH_KCSAN=y
CONFIG_HAVE_KCSAN_COMPILER=y
# end of Generic Kernel Debugging Instruments

#
# Networking Debugging
#
CONFIG_NET_DEV_REFCNT_TRACKER=y
CONFIG_NET_NS_REFCNT_TRACKER=y
CONFIG_DEBUG_NET=y
# CONFIG_DEBUG_NET_SMALL_RTNL is not set
# end of Networking Debugging

#
# Memory Debugging
#
CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
CONFIG_SLUB_RCU_DEBUG=y
CONFIG_PAGE_OWNER=y
CONFIG_PAGE_TABLE_CHECK=y
CONFIG_PAGE_TABLE_CHECK_ENFORCED=y
CONFIG_PAGE_POISONING=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_ARCH_HAS_DEBUG_WX=y
CONFIG_DEBUG_WX=y
CONFIG_ARCH_HAS_PTDUMP=y
CONFIG_PTDUMP=y
CONFIG_PTDUMP_DEBUGFS=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS is not set
# CONFIG_MEM_ALLOC_PROFILING is not set
CONFIG_DEBUG_OBJECTS=y
# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
# CONFIG_SHRINKER_DEBUG is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y
CONFIG_DEBUG_VFS=y
CONFIG_DEBUG_VM_IRQSOFF=y
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_VM_MAPLE_TREE=y
CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_VM_PGFLAGS=y
CONFIG_DEBUG_VM_PGTABLE=y
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
CONFIG_DEBUG_VIRTUAL=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_PER_CPU_MAPS=y
CONFIG_DEBUG_KMAP_LOCAL=y
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
CONFIG_CC_HAS_KASAN_SW_TAGS=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
CONFIG_KASAN=y
CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y
CONFIG_KASAN_GENERIC=y
# CONFIG_KASAN_OUTLINE is not set
CONFIG_KASAN_INLINE=y
CONFIG_KASAN_STACK=y
CONFIG_KASAN_VMALLOC=y
# CONFIG_KASAN_EXTRA_INFO is not set
CONFIG_HAVE_ARCH_KFENCE=y
CONFIG_KFENCE=y
CONFIG_KFENCE_SAMPLE_INTERVAL=100
CONFIG_KFENCE_NUM_OBJECTS=255
# CONFIG_KFENCE_DEFERRABLE is not set
CONFIG_KFENCE_STATIC_KEYS=y
CONFIG_KFENCE_STRESS_TEST_FAULTS=0
CONFIG_HAVE_ARCH_KMSAN=y
CONFIG_HAVE_KMSAN_COMPILER=y
# end of Memory Debugging

# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Oops, Lockups and Hangs
#
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=86400
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
# CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=1
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
# CONFIG_HARDLOCKUP_DETECTOR_BUDDY is not set
# CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set
CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y
CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=1
# CONFIG_DETECT_HUNG_TASK_BLOCKER is not set
CONFIG_WQ_WATCHDOG=y
CONFIG_BOOTPARAM_WQ_STALL_PANIC=0
# CONFIG_WQ_CPU_INTENSIVE_REPORT is not set
# CONFIG_TEST_LOCKUP is not set
# end of Debug Oops, Lockups and Hangs

#
# Scheduler Debugging
#
CONFIG_SCHED_INFO=y
CONFIG_SCHEDSTATS=y
# end of Scheduler Debugging

CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_ATOMIC is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
CONFIG_PROVE_LOCKING=y
CONFIG_PROVE_RAW_LOCK_NESTING=y
# CONFIG_LOCK_STAT is not set
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_LOCKDEP=y
CONFIG_LOCKDEP_BITS=20
CONFIG_LOCKDEP_CHAINS_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
# CONFIG_SCF_TORTURE_TEST is not set
CONFIG_CSD_LOCK_WAIT_DEBUG=y
# CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)

CONFIG_TRACE_IRQFLAGS=y
CONFIG_TRACE_IRQFLAGS_NMI=y
CONFIG_NMI_CHECK_CPU=y
CONFIG_DEBUG_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_KOBJECT_RELEASE is not set

#
# Debug kernel data structures
#
CONFIG_DEBUG_LIST=y
CONFIG_DEBUG_PLIST=y
CONFIG_DEBUG_SG=y
CONFIG_DEBUG_NOTIFIERS=y
# CONFIG_DEBUG_CLOSURES is not set
CONFIG_DEBUG_MAPLE_TREE=y
# end of Debug kernel data structures

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_REF_SCALE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=100
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_EQS_DEBUG=y
# end of RCU Debugging

# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_RETHOOK=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_NO_PATCHABLE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_JMP=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_OBJTOOL_MCOUNT=y
CONFIG_HAVE_OBJTOOL_NOP_MCOUNT=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_HAVE_BUILDTIME_MCOUNT_SORT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_PREEMPTIRQ_TRACEPOINTS=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED=y
# CONFIG_BOOTTIME_TRACING is not set
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_OSNOISE_TRACER is not set
# CONFIG_TIMERLAT_TRACER is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
CONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_PROBE_EVENTS_DUMP_FETCHARG is not set
CONFIG_UPROBE_EVENTS=y
CONFIG_EPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
# CONFIG_SYNTH_EVENTS is not set
# CONFIG_USER_EVENTS is not set
# CONFIG_HIST_TRIGGERS is not set
CONFIG_TRACE_EVENT_INJECT=y
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS=y
# CONFIG_RING_BUFFER_PERSISTENT_INJECT is not set
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
# CONFIG_RV is not set
# CONFIG_TRACE_REMOTE_TEST is not set
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT=y
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
# CONFIG_STRICT_DEVMEM is not set

#
# x86 Debugging
#
CONFIG_EARLY_PRINTK_USB=y
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not set
CONFIG_DEBUG_ENTRY=y
# CONFIG_DEBUG_NMI_SELFTEST is not set
CONFIG_X86_DEBUG_FPU=y
# CONFIG_PUNIT_ATOM_DEBUG is not set
CONFIG_UNWINDER_ORC=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
# end of x86 Debugging

#
# Kernel Testing and Coverage
#
# CONFIG_KUNIT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
CONFIG_FAULT_INJECTION=y
CONFIG_FAILSLAB=y
CONFIG_FAIL_PAGE_ALLOC=y
CONFIG_FAULT_INJECTION_USERCOPY=y
CONFIG_FAIL_MAKE_REQUEST=y
CONFIG_FAIL_IO_TIMEOUT=y
CONFIG_FAIL_FUTEX=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
# CONFIG_FAIL_MMC_REQUEST is not set
# CONFIG_FAIL_SKB_REALLOC is not set
CONFIG_FAULT_INJECTION_CONFIGFS=y
# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set
CONFIG_ARCH_HAS_KCOV=y
CONFIG_KCOV=y
CONFIG_KCOV_ENABLE_COMPARISONS=y
CONFIG_KCOV_INSTRUMENT_ALL=y
CONFIG_KCOV_IRQ_AREA_SIZE=0x40000
# CONFIG_KCOV_SELFTEST is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_DHRY is not set
# CONFIG_LKDTM is not set
# CONFIG_TEST_DIV64 is not set
# CONFIG_TEST_MULDIV64 is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_TEST_REF_TRACKER is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_REED_SOLOMON_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_ASYNC_RAID6_TEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_XARRAY is not set
# CONFIG_TEST_MAPLE_TREE is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_IDA is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_BITOPS is not set
# CONFIG_TEST_VMALLOC is not set
# CONFIG_TEST_WORKQUEUE is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_REGION_ALLOC_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_CONTEXT_ANALYSIS_TEST is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_DYNAMIC_DEBUG is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_KALLSYMS is not set
# CONFIG_TEST_DEBUG_VIRTUAL is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_HMM is not set
# CONFIG_TEST_FREE_PAGES is not set
# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set
# CONFIG_TEST_OBJPOOL is not set
CONFIG_ARCH_USE_MEMTEST=y
# CONFIG_MEMTEST is not set
# end of Kernel Testing and Coverage

#
# Rust hacking
#
# end of Rust hacking
# end of Kernel hacking

CONFIG_IO_URING_ZCRX=y
CONFIG_IO_URING_BPF=y
CONFIG_IO_URING_BPF_OPS=y
KernelRepo git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
ReproCID 0
ReproOpts
ReproSyzID 0
SyzkallerCommit 432c00775d20929a96fd4987f9ef01a50e6fd277
TargetArch amd64
TargetOS linux
TargetVMArch amd64

Outputs:
DenialOfService ✅
Exploitable ❌
FilesystemTrigger ❌
NetworkTrigger ❌
PeripheralTrigger ❌
RemoteTrigger ❌
Unprivileged ✅
UserNamespace ✅
VMGuestTrigger ❌
VMHostTrigger ❌
Explanation
### Root Cause Analysis

Commit `928ed1349dd7` ("btrfs: track delayed ref heads in an xarray") replaced
the delayed reference head red-black tree (`href_root`) with an XArray
(`transaction->delayed_refs.head_refs`).

When adding a delayed reference in `add_delayed_ref()` (or
`btrfs_add_delayed_extent_op()`), `xa_reserve(&delayed_refs->head_refs, index,
GFP_NOFS)` is called to preallocate XArray nodes and reserve the slot at
`index`:
1. Inside `xa_reserve()` -> `__xa_cmpxchg_raw()` -> `xas_store()` ->
`xas_create()`, if `index` requires a multi-level XArray tree, `xas_expand()` /
`xas_create()` allocates upper-level `xa_node` structures and links them into
`head_refs` (setting `head_refs.xa_head` to a non-NULL `xa_node` pointer).
2. If a subsequent lower-level `xa_node` allocation fails in `xas_alloc()` and
the fallback allocation in `__xas_nomem(&xas, GFP_NOFS)` also fails with
`-ENOMEM` (as triggered via `failslab` in the report), `xa_reserve()` returns
`-ENOMEM` while leaving the already-allocated upper-level `xa_node` (with `count
== 0` and all slots `NULL`) linked in `delayed_refs->head_refs`.
3. When the transaction is subsequently aborted and cleaned up in
`btrfs_cleanup_one_transaction()` -> `btrfs_destroy_delayed_refs()`, it iterates
over present entries via `find_first_ref_head()` (`xa_find(..., XA_PRESENT)`)
and calls `xa_erase()` on each entry. However, because no entry was ever stored
in the empty `xa_node` branch left behind by the failed `xa_reserve()`,
`xa_erase()` never visits or frees that `xa_node`, and
`btrfs_destroy_delayed_refs()` does not call
`xa_destroy(&delayed_refs->head_refs)` (unlike
`btrfs_qgroup_destroy_extent_records()`, which calls
`xa_destroy(&trans->delayed_refs.dirty_extents)`).
4. Consequently, when `btrfs_put_transaction()` frees the `btrfs_transaction`,
`head_refs.xa_head` is still non-NULL, triggering
`WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` at
`fs/btrfs/transaction.c:146` and leaking the `xa_node`. Furthermore, if
`xa_reserve()` fails in a path that does not immediately abort the transaction
(e.g., `btrfs_search_slot()` failing in `btrfs_cow_block()` at the root level),
a subsequent `btrfs_run_delayed_refs(trans, U64_MAX)` during transaction commit
will loop indefinitely because `xa_empty(&delayed_refs->head_refs)` remains
false after all delayed ref heads are processed.

### Security Impact Assessment

* **Exploitable (`false`)**: The bug does not cause memory corruption,
use-after-free, out-of-bounds access, or information disclosure. The leftover
`xa_node` in `head_refs` has valid empty (`NULL`) slots, and no external
references to the `xa_node` remain when `transaction` is freed.
* **Denial of Service (`true`)**: When triggered, the unhandled leftover
`xa_node` in `head_refs` causes a memory leak of `radix_tree_node` slab objects
upon transaction teardown, or an infinite loop in `btrfs_run_delayed_refs(trans,
U64_MAX)` if the transaction is not aborted.
* **Accessible From Unprivileged Processes / User Namespaces (`true`)**:
Although the syzkaller reproducer reached `btrfs_commit_transaction()` via
`btrfs_ioctl_shutdown()`, both `add_delayed_ref()` and
`btrfs_commit_transaction()` are reachable by unprivileged processes performing
ordinary filesystem operations (`write`, `unlink`, `fsync`, `sync`, `syncfs`,
etc.) on any writable btrfs mount.
* **Malicious Filesystem / Network / Peripheral / VM Triggers (`false`)**: The
issue depends on a memory allocation failure (`-ENOMEM`) during `xa_reserve()`
rather than malformed on-disk filesystem structures, network packets, or device
input.

Crash report:
RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 5, space 0, times 9992
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 fail_dump lib/fault-inject.c:73 [inline]
 should_fail_ex+0x410/0x560 lib/fault-inject.c:174
 should_failslab+0xa8/0x100 mm/failslab.c:46
 slab_pre_alloc_hook mm/slub.c:4638 [inline]
 slab_alloc_node mm/slub.c:4974 [inline]
 kmem_cache_alloc_lru_noprof+0xa7/0x5f0 mm/slub.c:5029
 __xas_nomem+0x33d/0x420 lib/xarray.c:341
 __xa_cmpxchg_raw lib/xarray.c:1789 [inline]
 __xa_cmpxchg+0x138/0x1f0 lib/xarray.c:1769
 xa_cmpxchg include/linux/xarray.h:699 [inline]
 xa_reserve include/linux/xarray.h:1088 [inline]
 add_delayed_ref+0x2ac/0x1ed0 fs/btrfs/delayed-ref.c:1073
 btrfs_alloc_tree_block+0xce7/0x1160 fs/btrfs/extent-tree.c:5426
 btrfs_force_cow_block+0x562/0x1bf0 fs/btrfs/ctree.c:501
 btrfs_cow_block+0x3f1/0xaf0 fs/btrfs/ctree.c:696
 btrfs_search_slot+0xd70/0x2d20 fs/btrfs/ctree.c:-1
 btrfs_insert_empty_items+0xa3/0x1a0 fs/btrfs/ctree.c:4310
 btrfs_insert_delayed_item fs/btrfs/delayed-inode.c:755 [inline]
 btrfs_insert_delayed_items fs/btrfs/delayed-inode.c:832 [inline]
 __btrfs_commit_inode_delayed_items+0xb0e/0x1ec0 fs/btrfs/delayed-inode.c:1115
 __btrfs_run_delayed_items+0x1d0/0x420 fs/btrfs/delayed-inode.c:1158
 btrfs_commit_transaction+0x844/0x3170 fs/btrfs/transaction.c:2384
 sync_filesystem+0x1d2/0x240 fs/sync.c:66
 freeze_super+0x52e/0x11c0 fs/super.c:2300
 btrfs_ioctl_shutdown+0x146/0x1b0 fs/btrfs/ioctl.c:5183
 btrfs_ioctl+0xbcd/0xd50 fs/btrfs/ioctl.c:5697
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc8df19e559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc8e012ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>
BTRFS error (device loop0 state A): Transaction 9 aborted (-ENOMEM)
BTRFS: error (device loop0 state A) in __btrfs_run_delayed_items:1161: errno=-12 Out of memory
BTRFS info (device loop0 state EA): forced readonly
BTRFS warning (device loop0 state EA): Skipping commit of aborted transaction.
BTRFS: error (device loop0 state EA) in cleanup_transaction:2074: errno=-12 Out of memory
------------[ cut here ]------------
!xa_empty(&transaction->delayed_refs.head_refs)
WARNING: fs/btrfs/transaction.c:146 at btrfs_put_transaction+0x537/0x570 fs/btrfs/transaction.c:146, CPU#0: syz.0.0/5325
Modules linked in:
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:btrfs_put_transaction+0x537/0x570 fs/btrfs/transaction.c:146
Code: fd fb ff ff e8 9a e8 ac fd 4c 89 f7 be 03 00 00 00 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6f 17 c7 00 e8 7a e8 ac fd 90 <0f> 0b 90 e9 65 fb ff ff e8 6c e8 ac fd 90 0f 0b 90 e9 82 fb ff ff
RSP: 0018:ffffc9000f7978b0 EFLAGS: 00010287
RAX: ffffffff841b39b6 RBX: ffff888013966000 RCX: 0000000000100000
RDX: ffffc9000ef1a000 RSI: 000000000002eb87 RDI: 000000000002eb88
RBP: dffffc0000000000 R08: ffff888013966013 R09: 1ffff1100272cc02
R10: dffffc0000000000 R11: ffffed100272cc03 R12: ffff888053ca4758
R13: ffff888054d34d40 R14: ffff888013966350 R15: dffffc0000000000
FS:  00007fc8e01306c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc8d3fff000 CR3: 0000000044c6d000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 cleanup_transaction+0x5c5/0x7c0 fs/btrfs/transaction.c:2122
 btrfs_commit_transaction+0x2627/0x3170 fs/btrfs/transaction.c:2676
 sync_filesystem+0x1d2/0x240 fs/sync.c:66
 freeze_super+0x52e/0x11c0 fs/super.c:2300
 btrfs_ioctl_shutdown+0x146/0x1b0 fs/btrfs/ioctl.c:5183
 btrfs_ioctl+0xbcd/0xd50 fs/btrfs/ioctl.c:5697
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc8df19e559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc8e012ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>

Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/10/19 01:02 flow assessment-security
8m Results:
map[DenialOfService:true Explanation:### Root Cause Analysis

Commit `928ed1349dd7` ("btrfs: track delayed ref heads in an xarray") replaced
the delayed reference head red-black tree (`href_root`) with an XArray
(`transaction->delayed_refs.head_refs`).

When adding a delayed reference in `add_delayed_ref()` (or
`btrfs_add_delayed_extent_op()`), `xa_reserve(&delayed_refs->head_refs, index,
GFP_NOFS)` is called to preallocate XArray nodes and reserve the slot at
`index`:
1. Inside `xa_reserve()` -> `__xa_cmpxchg_raw()` -> `xas_store()` ->
`xas_create()`, if `index` requires a multi-level XArray tree, `xas_expand()` /
`xas_create()` allocates upper-level `xa_node` structures and links them into
`head_refs` (setting `head_refs.xa_head` to a non-NULL `xa_node` pointer).
2. If a subsequent lower-level `xa_node` allocation fails in `xas_alloc()` and
the fallback allocation in `__xas_nomem(&xas, GFP_NOFS)` also fails with
`-ENOMEM` (as triggered via `failslab` in the report), `xa_reserve()` returns
`-ENOMEM` while leaving the already-allocated upper-level `xa_node` (with `count
== 0` and all slots `NULL`) linked in `delayed_refs->head_refs`.
3. When the transaction is subsequently aborted and cleaned up in
`btrfs_cleanup_one_transaction()` -> `btrfs_destroy_delayed_refs()`, it iterates
over present entries via `find_first_ref_head()` (`xa_find(..., XA_PRESENT)`)
and calls `xa_erase()` on each entry. However, because no entry was ever stored
in the empty `xa_node` branch left behind by the failed `xa_reserve()`,
`xa_erase()` never visits or frees that `xa_node`, and
`btrfs_destroy_delayed_refs()` does not call
`xa_destroy(&delayed_refs->head_refs)` (unlike
`btrfs_qgroup_destroy_extent_records()`, which calls
`xa_destroy(&trans->delayed_refs.dirty_extents)`).
4. Consequently, when `btrfs_put_transaction()` frees the `btrfs_transaction`,
`head_refs.xa_head` is still non-NULL, triggering
`WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` at
`fs/btrfs/transaction.c:146` and leaking the `xa_node`. Furthermore, if
`xa_reserve()` fails in a path that does not immediately abort the transaction
(e.g., `btrfs_search_slot()` failing in `btrfs_cow_block()` at the root level),
a subsequent `btrfs_run_delayed_refs(trans, U64_MAX)` during transaction commit
will loop indefinitely because `xa_empty(&delayed_refs->head_refs)` remains
false after all delayed ref heads are processed.

### Security Impact Assessment

* **Exploitable (`false`)**: The bug does not cause memory corruption,
use-after-free, out-of-bounds access, or information disclosure. The leftover
`xa_node` in `head_refs` has valid empty (`NULL`) slots, and no external
references to the `xa_node` remain when `transaction` is freed.
* **Denial of Service (`true`)**: When triggered, the unhandled leftover
`xa_node` in `head_refs` causes a memory leak of `radix_tree_node` slab objects
upon transaction teardown, or an infinite loop in `btrfs_run_delayed_refs(trans,
U64_MAX)` if the transaction is not aborted.
* **Accessible From Unprivileged Processes / User Namespaces (`true`)**:
Although the syzkaller reproducer reached `btrfs_commit_transaction()` via
`btrfs_ioctl_shutdown()`, both `add_delayed_ref()` and
`btrfs_commit_transaction()` are reachable by unprivileged processes performing
ordinary filesystem operations (`write`, `unlink`, `fsync`, `sync`, `syncfs`,
etc.) on any writable btrfs mount.
* **Malicious Filesystem / Network / Peripheral / VM Triggers (`false`)**: The
issue depends on a memory allocation failure (`-ENOMEM`) during `xa_reserve()`
rather than malformed on-disk filesystem structures, network packets, or device
input. Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:true UserNamespace:true VMGuestTrigger:false VMHostTrigger:false]

1/1 2026/10/19 01:02 action syz-repro-to-c-repro
0m Results:
map[SimplifiedCRepro:]

2/1 2026/10/19 01:02 action kernel-checkouter
0m Results:
map[KernelSrc:/app/workdir/cache/src/7cd66b5e81853481f0eab75150d270fc865396bd]

3/1 2026/10/19 01:02 action kernel-builder
0m Results:
map[KernelObj:/app/workdir/cache/build/0279fa18aaad1eda97be93196f0dbffe855ba87e]

4/1 2026/10/19 01:02 action codesearch-prepare
0m Results:
map[Index:codesearch-index]

5/1 2026/10/19 01:03 agent expert
7m Model:
deep-reasoning

Results:
map[DenialOfService:true Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:true UserNamespace:true VMGuestTrigger:false VMHostTrigger:false]

Instruction:
You are an experienced Linux kernel security engineer. Your task is to analyze given kernel bug report
and determine its security impact based on the following dimensions.

Use the provided tools to examine the source code, check for capability checks (e.g., capable(), ns_capable()),
and understand the nature of the bug. Analyze the given kernel build and configuration.
You can check the kernel config by grepping ".config" file; you can check kernel cmdline by grepping
".config" file for "CONFIG_CMDLINE=". Assume sysctl parameters have default values.
But analyze for the corresponding production build w/o debugging tools enabled (like KASAN, KMSAN, UBSAN).

Try different strategies when analyzing the bug:
 - think of ways in which the vulnerable code is unreachable
 - or the other way around: try to come up with different ideas of how an unprivileged user can reach the bug
If still unsure err on the side of the bug being non-exploitable/not-accessible.
In the final reply, provide a reasoning for your assessment.

Analysis dimensions:

* Exploitable:
Determine if the bug can result in memory corruption, elevated privileges, or an information leak.
Memory safety issues are almost always exploitable (KASAN or UBSAN reports for use-after-free, out-of-bounds;
refcounting issues, corrupted lists, etc). When kernel is crashing on a completely wild pointer access
(e.g. user-space address, or non-canonical address, but not on NULL or address corresponding to KASAN shadow
for NULL address), including both data accesses and control transfers, that also usually implies possibility
of exploitation. Such reports usually say "unable to handle kernel paging request".
Uses of uninitialized values detected by KMSAN may be exploitable b/c attacker frequently can affect uninit
values with spraying techniques. However, for these exploitability depends on how exactly the uninit value
is used in the code, and what it affects.
Information leaks are exploitable on their own and should be classified as such. A bug that copies kernel
memory contents to userspace (e.g. an out-of-bounds read whose result is returned to the caller, or
uninitialized stack/heap bytes written to a user buffer) is exploitable: it can reveal kernel pointer
values and defeat KASLR, expose sensitive data such as cryptographic keys or other processes' memory, and
serves as a necessary building block in most modern kernel privilege-escalation exploit chains. Do not classify
an information leak as non-exploitable solely because it does not directly cause a memory write or control-flow
hijack; the leak itself is the exploit primitive.

Think of what happens after the bug is triggered. Some bugs cause kernel panic and halt execution,
they are harder to exploit. For example, BUG reports halts the kernel. However, WARNING reports don't halt
execution in production builds. Debug bug detection tools (like KASAN, KMSAN, KCSAN, UBSAN) are also not enabled
in production builds, so attacker can freely exploit these bugs w/o being detected by these tools.
If you see an integer overflow, think how the overflowed value used later (if it's used as allocation size,
or an array index). If you see an out-of-bounds read, think if it's followed by an out-of-bounds write as well.
Some KCSAN data-races may be exploitable by skilled attackers as well. Think what data structures got corrupted
as the result of data races and how. However, note that kernel has lots of "benign" data races that don't lead
to any runtime misbehavior at all.

* Denial Of Service:
Determine if the bug can result in denial-of-service. Most bugs can, since they cause system crash,
hangs, deadlocks, or resource leaks. This is mostly applicable to WARNING bugs that won't cause system crash
in production. For these think what will be consequences of the violation of the kernel assumptions flagged
by the WARNING. In some cases the unexpected condition is also properly handled by the normal control flow
(e.g. with "if (WARN_ON(...))"), these won't cause denial-of-service. If the condition is not handled,
then it may or may not cause denial-of-service.

* Accessible From Unprivileged Processes:
Determine if the bug can be reached from a typical (non-root) user process that does NOT have any special capabilities
(like CAP_SYS_ADMIN, CAP_NET_ADMIN, CAP_NET_RAW, CAP_PERFMON) or access to device nodes restricted to root.
Assume that unprivileged_bpf_disabled=1, that is eBPF loading is not accessible. However, cBPF (classical BPF)
is still accessible to non-root processes.
Assume that user namespaces are not accessible, that is, the process cannot get the mentioned capabilities even
within a new user namespace (checked by ns_capable() function in the kernel sources).

* Accessible From User Namespaces:
Determine if the bug can be reached within a user-namespace where the process has all capabilities
(including CAP_SYS_ADMIN, CAP_NET_ADMIN, CAP_NET_RAW, CAP_PERFMON). Such capabilities are checked with ns_capable()
function in the kernel sources.

* VM Guest Trigger:
Determine if the bug can be triggered from the context of a typical KVM guest (e.g., set up by a QEMU VMM).
Consider accesses to standard Linux host paravirtualized features (virtio-blk, virtio-net, etc.),
and handling of VM exits in the KVM code.

* VM Host Trigger in The Confidential Computing Context:
Determine if the bug can be triggered in a confidential computing guest kernel from the context of a KVM host.
Consider access to standard Linux guest paravirtualized features (virtio-blk, virtio-net, etc.).

* Ethernet Network Trigger:
Determine if the bug can be triggered by processing ingress network Ethernet traffic, either directly (network stack)
or via drivers exposed to network data.

* Other Remote Trigger:
Determine if the bug can be triggered by processing remote traffic other than Ethernet (Wifi, Bluetooth, NFC, etc).

* Peripheral Trigger:
Determine if the bug can be triggered via an untrusted peripheral device that can be physically plugged
into a system, such as a USB device or a niche hardware driver handling external hardware inputs.
This is particularly important for mobile and desktop environments where users can plug in unknown devices.

* Malicious Filesystem Trigger:
Determine if the bug can be triggered by the kernel mounting and parsing a malicious filesystem image.
This is highly critical for Desktop and Mobile environments where external media or downloaded images
might be auto-mounted.

Don't make assumptions about the kernel source code (it may be different from what you assume it is).
Extensively use the provided code access tools (codesearch-*, git-*, grepper, etc)
to examine the actual source code, and confirm any assumptions.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
The kernel bug report is:

RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 5, space 0, times 9992
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 fail_dump lib/fault-inject.c:73 [inline]
 should_fail_ex+0x410/0x560 lib/fault-inject.c:174
 should_failslab+0xa8/0x100 mm/failslab.c:46
 slab_pre_alloc_hook mm/slub.c:4638 [inline]
 slab_alloc_node mm/slub.c:4974 [inline]
 kmem_cache_alloc_lru_noprof+0xa7/0x5f0 mm/slub.c:5029
 __xas_nomem+0x33d/0x420 lib/xarray.c:341
 __xa_cmpxchg_raw lib/xarray.c:1789 [inline]
 __xa_cmpxchg+0x138/0x1f0 lib/xarray.c:1769
 xa_cmpxchg include/linux/xarray.h:699 [inline]
 xa_reserve include/linux/xarray.h:1088 [inline]
 add_delayed_ref+0x2ac/0x1ed0 fs/btrfs/delayed-ref.c:1073
 btrfs_alloc_tree_block+0xce7/0x1160 fs/btrfs/extent-tree.c:5426
 btrfs_force_cow_block+0x562/0x1bf0 fs/btrfs/ctree.c:501
 btrfs_cow_block+0x3f1/0xaf0 fs/btrfs/ctree.c:696
 btrfs_search_slot+0xd70/0x2d20 fs/btrfs/ctree.c:-1
 btrfs_insert_empty_items+0xa3/0x1a0 fs/btrfs/ctree.c:4310
 btrfs_insert_delayed_item fs/btrfs/delayed-inode.c:755 [inline]
 btrfs_insert_delayed_items fs/btrfs/delayed-inode.c:832 [inline]
 __btrfs_commit_inode_delayed_items+0xb0e/0x1ec0 fs/btrfs/delayed-inode.c:1115
 __btrfs_run_delayed_items+0x1d0/0x420 fs/btrfs/delayed-inode.c:1158
 btrfs_commit_transaction+0x844/0x3170 fs/btrfs/transaction.c:2384
 sync_filesystem+0x1d2/0x240 fs/sync.c:66
 freeze_super+0x52e/0x11c0 fs/super.c:2300
 btrfs_ioctl_shutdown+0x146/0x1b0 fs/btrfs/ioctl.c:5183
 btrfs_ioctl+0xbcd/0xd50 fs/btrfs/ioctl.c:5697
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc8df19e559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc8e012ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>
BTRFS error (device loop0 state A): Transaction 9 aborted (-ENOMEM)
BTRFS: error (device loop0 state A) in __btrfs_run_delayed_items:1161: errno=-12 Out of memory
BTRFS info (device loop0 state EA): forced readonly
BTRFS warning (device loop0 state EA): Skipping commit of aborted transaction.
BTRFS: error (device loop0 state EA) in cleanup_transaction:2074: errno=-12 Out of memory
------------[ cut here ]------------
!xa_empty(&transaction->delayed_refs.head_refs)
WARNING: fs/btrfs/transaction.c:146 at btrfs_put_transaction+0x537/0x570 fs/btrfs/transaction.c:146, CPU#0: syz.0.0/5325
Modules linked in:
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:btrfs_put_transaction+0x537/0x570 fs/btrfs/transaction.c:146
Code: fd fb ff ff e8 9a e8 ac fd 4c 89 f7 be 03 00 00 00 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6f 17 c7 00 e8 7a e8 ac fd 90 <0f> 0b 90 e9 65 fb ff ff e8 6c e8 ac fd 90 0f 0b 90 e9 82 fb ff ff
RSP: 0018:ffffc9000f7978b0 EFLAGS: 00010287
RAX: ffffffff841b39b6 RBX: ffff888013966000 RCX: 0000000000100000
RDX: ffffc9000ef1a000 RSI: 000000000002eb87 RDI: 000000000002eb88
RBP: dffffc0000000000 R08: ffff888013966013 R09: 1ffff1100272cc02
R10: dffffc0000000000 R11: ffffed100272cc03 R12: ffff888053ca4758
R13: ffff888054d34d40 R14: ffff888013966350 R15: dffffc0000000000
FS:  00007fc8e01306c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc8d3fff000 CR3: 0000000044c6d000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 cleanup_transaction+0x5c5/0x7c0 fs/btrfs/transaction.c:2122
 btrfs_commit_transaction+0x2627/0x3170 fs/btrfs/transaction.c:2676
 sync_filesystem+0x1d2/0x240 fs/sync.c:66
 freeze_super+0x52e/0x11c0 fs/super.c:2300
 btrfs_ioctl_shutdown+0x146/0x1b0 fs/btrfs/ioctl.c:5183
 btrfs_ioctl+0xbcd/0xd50 fs/btrfs/ioctl.c:5697
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc8df19e559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc8e012ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8df425fa0 RCX: 00007fc8df19e559
RDX: 000020000001e740 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007fc8df235ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc8df426038 R14: 00007fc8df425fa0 R15: 00007ffe864adf08
 </TASK>




Reply:
### Root Cause Analysis

Commit `928ed1349dd7` ("btrfs: track delayed ref heads in an xarray") replaced the delayed reference head red-black tree (`href_root`) with an XArray (`transaction->delayed_refs.head_refs`).

When adding a delayed reference in `add_delayed_ref()` (or `btrfs_add_delayed_extent_op()`), `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` is called to preallocate XArray nodes and reserve the slot at `index`:
1. Inside `xa_reserve()` -> `__xa_cmpxchg_raw()` -> `xas_store()` -> `xas_create()`, if `index` requires a multi-level XArray tree, `xas_expand()` / `xas_create()` allocates upper-level `xa_node` structures and links them into `head_refs` (setting `head_refs.xa_head` to a non-NULL `xa_node` pointer).
2. If a subsequent lower-level `xa_node` allocation fails in `xas_alloc()` and the fallback allocation in `__xas_nomem(&xas, GFP_NOFS)` also fails with `-ENOMEM` (as triggered via `failslab` in the report), `xa_reserve()` returns `-ENOMEM` while leaving the already-allocated upper-level `xa_node` (with `count == 0` and all slots `NULL`) linked in `delayed_refs->head_refs`.
3. When the transaction is subsequently aborted and cleaned up in `btrfs_cleanup_one_transaction()` -> `btrfs_destroy_delayed_refs()`, it iterates over present entries via `find_first_ref_head()` (`xa_find(..., XA_PRESENT)`) and calls `xa_erase()` on each entry. However, because no entry was ever stored in the empty `xa_node` branch left behind by the failed `xa_reserve()`, `xa_erase()` never visits or frees that `xa_node`, and `btrfs_destroy_delayed_refs()` does not call `xa_destroy(&delayed_refs->head_refs)` (unlike `btrfs_qgroup_destroy_extent_records()`, which calls `xa_destroy(&trans->delayed_refs.dirty_extents)`).
4. Consequently, when `btrfs_put_transaction()` frees the `btrfs_transaction`, `head_refs.xa_head` is still non-NULL, triggering `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` at `fs/btrfs/transaction.c:146` and leaking the `xa_node`. Furthermore, if `xa_reserve()` fails in a path that does not immediately abort the transaction (e.g., `btrfs_search_slot()` failing in `btrfs_cow_block()` at the root level), a subsequent `btrfs_run_delayed_refs(trans, U64_MAX)` during transaction commit will loop indefinitely because `xa_empty(&delayed_refs->head_refs)` remains false after all delayed ref heads are processed.

### Security Impact Assessment

* **Exploitable (`false`)**: The bug does not cause memory corruption, use-after-free, out-of-bounds access, or information disclosure. The leftover `xa_node` in `head_refs` has valid empty (`NULL`) slots, and no external references to the `xa_node` remain when `transaction` is freed.
* **Denial of Service (`true`)**: When triggered, the unhandled leftover `xa_node` in `head_refs` causes a memory leak of `radix_tree_node` slab objects upon transaction teardown, or an infinite loop in `btrfs_run_delayed_refs(trans, U64_MAX)` if the transaction is not aborted.
* **Accessible From Unprivileged Processes / User Namespaces (`true`)**: Although the syzkaller reproducer reached `btrfs_commit_transaction()` via `btrfs_ioctl_shutdown()`, both `add_delayed_ref()` and `btrfs_commit_transaction()` are reachable by unprivileged processes performing ordinary filesystem operations (`write`, `unlink`, `fsync`, `sync`, `syncfs`, etc.) on any writable btrfs mount.
* **Malicious Filesystem / Network / Peripheral / VM Triggers (`false`)**: The issue depends on a memory allocation failure (`-ENOMEM`) during `xa_reserve()` rather than malformed on-disk filesystem structures, network packets, or device input.

6/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 9815
							output: 159
							thoughts: 393
						

Thoughts:
**My Thought Process on the Btrfs Bug Report**

Alright, let's dive into this bug report. My immediate instinct is to dissect it, piece by piece, to understand the context and the reported failure.

First, I'm drawn to the `FAULT_INJECTION` line. This tells me this isn't a spontaneous, organic bug but rather a scenario deliberately engineered by a fault injection mechanism. The parameters `name failslab, interval 1, probability 5, space 0, times 9992` indicate a specific type of memory allocation failure (`failslab`) being simulated with a certain frequency and duration. This is crucial context – I'm not looking for a traditional race condition or logic error in the primary execution path, but rather how the system behaves under simulated memory pressure or allocation failures.

Next, I examine the stack trace provided. This is the roadmap to the failure point. I see a sequence of function calls:
*   `kmem_cache_alloc_lru_noprof`: This is the point where memory allocation is attempted, and it's the likely candidate for the injected fault, given the `failslab` context. The file `mm/slub.c` confirms this is deep within the kernel's slab allocator.
*   `__xas_nomem`: This suggests that the allocation failure has propagated up to an xarray operation. Xarrays are a common data structure in the kernel for managing collections of items, often used for things like inode numbers, page tables, or, as we'll see, delayed references. The `_nomem` suffix is a strong hint that the preceding allocation failure is the cause.
*   `__xa_cmpxchg_raw`, `__xa_cmpxchg`, `xa_cmpxchg`, `xa_reserve`: These functions are all related to modifying the xarray. Specifically, `cmpxchg` (compare-and-swap) is an atomic operation, and `xa_reserve` likely tries to ensure there's space or capacity within the xarray before an operation. The failure here implies that even the atomic operations or capacity reservations within the xarray are failing due to the underlying memory allocation issue.
*   `add_delayed_ref`: This is the first Btrfs-specific function in the trace, located in `fs/btrfs/delayed-ref.c`. This tells me the xarray in question is being used to manage Btrfs's delayed references, and the failure to allocate memory when trying to add a delayed reference is the root cause of the *observed* problem.
*   `btrfs_put_transaction`: This function in `fs/btrfs/transaction.c` is where the final assertion or warning is triggered. The stack trace leads us here, indicating that the failure to manage delayed references eventually leads to an issue within the transaction cleanup or finalization process.

Now, I look at the `WARNING` itself: `!xa_empty(&transaction->delayed_refs.head_refs)`. This is the critical assertion that failed. It's happening in `btrfs_put_transaction`, and it's stating that a collection of delayed references, specifically `transaction->delayed_refs.head_refs`, is *not* empty when it's expected to be.

My immediate hypothesis, based on the fault injection and the stack trace, is this:
1.  A deliberate `kmem_cache_alloc` failure occurs within the `add_delayed_ref` function (or a function it calls that uses the xarray for allocation).
2.  This allocation failure causes `add_delayed_ref` to fail, or potentially to leave the xarray in an inconsistent state or without having fully registered the delayed reference.
3.  Later, during `btrfs_put_transaction`, the system expects all pending delayed references to have been processed and removed from the `transaction->delayed_refs.head_refs` xarray.
4.  However, because of the earlier allocation failure, either a delayed reference was never properly added and subsequently removed, or some internal accounting within the xarray became corrupted, leading to the assertion `!xa_empty(&transaction->delayed_refs.head_refs)` failing. The xarray still *thinks* there are pending references, or perhaps a partially added reference is still present.

To confirm this, my next logical step is to consult the source code for the involved functions. I need to understand:
*   **`fs/btrfs/delayed-ref.c`**: How exactly are delayed references managed? How does `add_delayed_ref` interact with the xarray? What are the error handling paths when allocation fails within this function?
*   **`fs/btrfs/transaction.c`**: What is the role of `transaction->delayed_refs.head_refs`? Why *must* it be empty by the time `btrfs_put_transaction` is called? What is the intended cleanup process?
*   **`lib/xarray.c`**: How does the xarray handle allocation failures, especially within `xa_reserve` and `xa_cmpxchg`? What is the expected state of the xarray after an allocation failure during an insertion or modification attempt?

I'd then use tools like `codesearch-definition-source` or `read-file` on these specific functions to get a direct view of their implementation. This would allow me to trace the flow of control, observe the data structures (`xarray` in this case), and verify the assumptions I've made about how the fault injection impacts the normal operation. My goal is to pinpoint the exact sequence of events that leads from the `kmem_cache_alloc` failure to the `xa_empty` assertion failure within `btrfs_put_transaction`.


7/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/delayed-ref.c Name:add_delayed_ref]

Results:
map[SourceCode:1030:	static int add_delayed_ref(struct btrfs_trans_handle *trans,
1031:				   struct btrfs_ref *generic_ref,
1032:				   struct btrfs_delayed_extent_op *extent_op,
1033:				   u64 reserved)
1034:	{
1035:		struct btrfs_fs_info *fs_info = trans->fs_info;
1036:		struct btrfs_delayed_ref_node *node;
1037:		struct btrfs_delayed_ref_head *head_ref;
1038:		struct btrfs_delayed_ref_head *new_head_ref;
1039:		struct btrfs_delayed_ref_root *delayed_refs;
1040:		struct btrfs_qgroup_extent_record *record = NULL;
1041:		const unsigned long index = (generic_ref->bytenr >> fs_info->sectorsize_bits);
1042:		bool qrecord_reserved = false;
1043:		bool qrecord_inserted;
1044:		int action = generic_ref->action;
1045:		bool merged;
1046:		int ret;
1047:	
1048:		node = kmem_cache_alloc(btrfs_delayed_ref_node_cachep, GFP_NOFS);
1049:		if (!node)
1050:			return -ENOMEM;
1051:	
1052:		head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
1053:		if (!head_ref) {
1054:			ret = -ENOMEM;
1055:			goto free_node;
1056:		}
1057:	
1058:		delayed_refs = &trans->transaction->delayed_refs;
1059:	
1060:		if (btrfs_qgroup_full_accounting(fs_info) && !generic_ref->skip_qgroup) {
1061:			record = kzalloc_obj(*record, GFP_NOFS);
1062:			if (!record) {
1063:				ret = -ENOMEM;
1064:				goto free_head_ref;
1065:			}
1066:			if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
1067:				ret = -ENOMEM;
1068:				goto free_record;
1069:			}
1070:			qrecord_reserved = true;
1071:		}
1072:	
1073:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1074:		if (ret) {
1075:			if (qrecord_reserved)
1076:				xa_release(&delayed_refs->dirty_extents, index);
1077:			goto free_record;
1078:		}
1079:	
1080:		init_delayed_ref_common(fs_info, node, generic_ref);
1081:		init_delayed_ref_head(head_ref, generic_ref, record, reserved);
1082:		head_ref->extent_op = extent_op;
1083:	
1084:		spin_lock(&delayed_refs->lock);
1085:	
1086:		/*
1087:		 * insert both the head node and the new ref without dropping
1088:		 * the spin lock
1089:		 */
1090:		new_head_ref = add_delayed_ref_head(trans, head_ref, record,
1091:						    action, &qrecord_inserted);
1092:		if (IS_ERR(new_head_ref)) {
1093:			xa_release(&delayed_refs->head_refs, index);
1094:			spin_unlock(&delayed_refs->lock);
1095:			ret = PTR_ERR(new_head_ref);
1096:	
1097:			/*
1098:			 * It's only safe to call kfree() on 'qrecord' if
1099:			 * add_delayed_ref_head() has _not_ inserted it for
1100:			 * tracing. Otherwise we need to handle this here.
1101:			 */
1102:			if (!qrecord_reserved || qrecord_inserted)
1103:				goto free_head_ref;
1104:			goto free_record;
1105:		}
1106:		head_ref = new_head_ref;
1107:	
1108:		merged = insert_delayed_ref(trans, head_ref, node);
1109:		spin_unlock(&delayed_refs->lock);
1110:	
1111:		/*
1112:		 * Need to update the delayed_refs_rsv with any changes we may have
1113:		 * made.
1114:		 */
1115:		btrfs_update_delayed_refs_rsv(trans);
1116:	
1117:		if (generic_ref->type == BTRFS_REF_DATA)
1118:			trace_add_delayed_data_ref(trans->fs_info, node);
1119:		else
1120:			trace_add_delayed_tree_ref(trans->fs_info, node);
1121:		if (merged)
1122:			kmem_cache_free(btrfs_delayed_ref_node_cachep, node);
1123:	
1124:		if (qrecord_inserted)
1125:			return btrfs_qgroup_trace_extent_post(trans, record, generic_ref->bytenr);
1126:	
1127:		kfree(record);
1128:		return 0;
1129:	
1130:	free_record:
1131:		kfree(record);
1132:	free_head_ref:
1133:		kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1134:	free_node:
1135:		kmem_cache_free(btrfs_delayed_ref_node_cachep, node);
1136:		return ret;
1137:	}
 SourceFile:fs/btrfs/delayed-ref.c]

8/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/transaction.c Name:btrfs_put_transaction]

Results:
map[SourceCode: 142:	void btrfs_put_transaction(struct btrfs_transaction *transaction)
 143:	{
 144:		if (refcount_dec_and_test(&transaction->use_count)) {
 145:			BUG_ON(!list_empty(&transaction->list));
 146:			WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs));
 147:			WARN_ON(!xa_empty(&transaction->delayed_refs.dirty_extents));
 148:			if (transaction->delayed_refs.pending_csums)
 149:				btrfs_err(transaction->fs_info,
 150:					  "pending csums is %llu",
 151:					  transaction->delayed_refs.pending_csums);
 152:			/*
 153:			 * If any block groups are found in ->deleted_bgs then it's
 154:			 * because the transaction was aborted and a commit did not
 155:			 * happen (things failed before writing the new superblock
 156:			 * and calling btrfs_finish_extent_commit()), so we can not
 157:			 * discard the physical locations of the block groups.
 158:			 */
 159:			while (!list_empty(&transaction->deleted_bgs)) {
 160:				struct btrfs_block_group *cache;
 161:	
 162:				cache = list_first_entry(&transaction->deleted_bgs,
 163:							 struct btrfs_block_group,
 164:							 bg_list);
 165:				/*
 166:				 * Not strictly necessary to lock, as no other task will be using a
 167:				 * block_group on the deleted_bgs list during a transaction abort.
 168:				 */
 169:				spin_lock(&transaction->fs_info->unused_bgs_lock);
 170:				list_del_init(&cache->bg_list);
 171:				spin_unlock(&transaction->fs_info->unused_bgs_lock);
 172:				btrfs_unfreeze_block_group(cache);
 173:				btrfs_put_block_group(cache);
 174:			}
 175:			WARN_ON(!list_empty(&transaction->dev_update_list));
 176:			kfree(transaction);
 177:		}
 178:	}
 SourceFile:fs/btrfs/transaction.c]

9/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/transaction.c Name:cleanup_transaction]

Results:
map[SourceCode:2067:	static void cleanup_transaction(struct btrfs_trans_handle *trans, int err)
2068:	{
2069:		struct btrfs_fs_info *fs_info = trans->fs_info;
2070:		struct btrfs_transaction *cur_trans = trans->transaction;
2071:	
2072:		WARN_ON(refcount_read(&trans->use_count) > 1);
2073:	
2074:		btrfs_abort_transaction(trans, err);
2075:	
2076:		spin_lock(&fs_info->trans_lock);
2077:	
2078:		/*
2079:		 * If the transaction is removed from the list, it means this
2080:		 * transaction has been committed successfully, so it is impossible
2081:		 * to call the cleanup function.
2082:		 */
2083:		BUG_ON(list_empty(&cur_trans->list));
2084:	
2085:		if (cur_trans == fs_info->running_transaction) {
2086:			cur_trans->state = TRANS_STATE_COMMIT_DOING;
2087:			spin_unlock(&fs_info->trans_lock);
2088:	
2089:			/*
2090:			 * The thread has already released the lockdep map as reader
2091:			 * already in btrfs_commit_transaction().
2092:			 */
2093:			btrfs_might_wait_for_event(fs_info, btrfs_trans_num_writers);
2094:			wait_event(cur_trans->writer_wait,
2095:				   atomic_read(&cur_trans->num_writers) == 1);
2096:	
2097:			spin_lock(&fs_info->trans_lock);
2098:		}
2099:	
2100:		/*
2101:		 * Now that we know no one else is still using the transaction we can
2102:		 * remove the transaction from the list of transactions. This avoids
2103:		 * the transaction kthread from cleaning up the transaction while some
2104:		 * other task is still using it, which could result in a use-after-free
2105:		 * on things like log trees, as it forces the transaction kthread to
2106:		 * wait for this transaction to be cleaned up by us.
2107:		 */
2108:		list_del_init(&cur_trans->list);
2109:	
2110:		spin_unlock(&fs_info->trans_lock);
2111:	
2112:		btrfs_cleanup_one_transaction(trans->transaction);
2113:	
2114:		spin_lock(&fs_info->trans_lock);
2115:		if (cur_trans == fs_info->running_transaction)
2116:			fs_info->running_transaction = NULL;
2117:		spin_unlock(&fs_info->trans_lock);
2118:	
2119:		if (trans->type & __TRANS_FREEZABLE)
2120:			sb_end_intwrite(fs_info->sb);
2121:		btrfs_put_transaction(cur_trans);
2122:		btrfs_put_transaction(cur_trans);
2123:	
2124:		trace_btrfs_transaction_commit(trans);
2125:	
2126:		if (current->journal_info == trans)
2127:			current->journal_info = NULL;
2128:	
2129:		/*
2130:		 * If relocation is running, we can't cancel scrub because that will
2131:		 * result in a deadlock. Before relocating a block group, relocation
2132:		 * pauses scrub, then starts and commits a transaction before unpausing
2133:		 * scrub. If the transaction commit is being done by the relocation
2134:		 * task or triggered by another task and the relocation task is waiting
2135:		 * for the commit, and we end up here due to an error in the commit
2136:		 * path, then calling btrfs_scrub_cancel() will deadlock, as we are
2137:		 * asking for scrub to stop while having it asked to be paused higher
2138:		 * above in relocation code.
2139:		 */
2140:		if (!test_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags))
2141:			btrfs_scrub_cancel(fs_info);
2142:	
2143:		btrfs_uninhibit_all_eb_writeback(trans);
2144:		kmem_cache_free(btrfs_trans_handle_cachep, trans);
2145:	}
 SourceFile:fs/btrfs/transaction.c]

10/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:1760 LineCount:60]

Results:
map[Contents:1760:	 * If the return value is equal to @old, then the exchange was successful.
1761:	 *
1762:	 * Context: Any context.  Expects xa_lock to be held on entry.  May
1763:	 * release and reacquire xa_lock if @gfp flags permit.
1764:	 * Return: The old value at this index or xa_err() if an error happened.
1765:	 */
1766:	void *__xa_cmpxchg(struct xarray *xa, unsigned long index,
1767:				void *old, void *entry, gfp_t gfp)
1768:	{
1769:		return xa_zero_to_null(__xa_cmpxchg_raw(xa, index, old, entry, gfp));
1770:	}
1771:	EXPORT_SYMBOL(__xa_cmpxchg);
1772:	
1773:	static inline void *__xa_cmpxchg_raw(struct xarray *xa, unsigned long index,
1774:				void *old, void *entry, gfp_t gfp)
1775:	{
1776:		XA_STATE(xas, xa, index);
1777:		void *curr;
1778:	
1779:		if (WARN_ON_ONCE(xa_is_advanced(entry)))
1780:			return XA_ERROR(-EINVAL);
1781:	
1782:		do {
1783:			curr = xas_load(&xas);
1784:			if (curr == old) {
1785:				xas_store(&xas, entry);
1786:				if (xa_track_free(xa) && entry && !curr)
1787:					xas_clear_mark(&xas, XA_FREE_MARK);
1788:			}
1789:		} while (__xas_nomem(&xas, gfp));
1790:	
1791:		return xas_result(&xas, curr);
1792:	}
1793:	
1794:	/**
1795:	 * __xa_insert() - Store this entry in the XArray if no entry is present.
1796:	 * @xa: XArray.
1797:	 * @index: Index into array.
1798:	 * @entry: New entry.
1799:	 * @gfp: Memory allocation flags.
1800:	 *
1801:	 * Inserting a NULL entry will store a reserved entry (like xa_reserve())
1802:	 * if no entry is present.  Inserting will fail if a reserved entry is
1803:	 * present, even though loading from this index will return NULL.
1804:	 *
1805:	 * Context: Any context.  Expects xa_lock to be held on entry.  May
1806:	 * release and reacquire xa_lock if @gfp flags permit.
1807:	 * Return: 0 if the store succeeded.  -EBUSY if another entry was present.
1808:	 * -ENOMEM if memory could not be allocated.
1809:	 */
1810:	int __xa_insert(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp)
1811:	{
1812:		void *curr;
1813:		int errno;
1814:	
1815:		if (!entry)
1816:			entry = XA_ZERO_ENTRY;
1817:		curr = __xa_cmpxchg_raw(xa, index, NULL, entry, gfp);
1818:		errno = xa_err(curr);
1819:		if (errno)
]

11/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 15062
							output: 170
							thoughts: 38
						

Thoughts:
**My Thought Process on Tracing `btrfs_cleanup_one_transaction` and `btrfs_destroy_delayed_refs`**

Okay, so I'm diving into the Btrfs code today, and my primary focus is on understanding how it handles the cleanup of completed transactions and, more specifically, how it deals with delayed references. My immediate action is to leverage `codesearch-definition-source`. I find this tool incredibly efficient for pinpointing the exact definitions of functions and, crucially, for tracing their call sites. This isn't about a general understanding; I need to see *precisely* where and how `btrfs_cleanup_one_transaction` and `btrfs_destroy_delayed_refs` are invoked and what dependencies they have. My expectation is that by examining these call chains, I'll gain a clear picture of the lifecycle of Btrfs transactions and the mechanisms in place to prevent resource leaks or inconsistencies related to those delayed references. I anticipate this will involve looking at operations like commit phases, snapshotting, or possibly even certain deletion operations, as those are the scenarios where transaction cleanup and delayed reference management are most critical.


12/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/transaction.c Name:btrfs_cleanup_one_transaction]

Results:
map[SourceCode:4960:	void btrfs_cleanup_one_transaction(struct btrfs_transaction *cur_trans)
4961:	{
4962:		struct btrfs_fs_info *fs_info = cur_trans->fs_info;
4963:		struct btrfs_device *dev, *tmp;
4964:	
4965:		btrfs_cleanup_dirty_bgs(cur_trans, fs_info);
4966:		ASSERT(list_empty(&cur_trans->dirty_bgs));
4967:		ASSERT(list_empty(&cur_trans->io_bgs));
4968:	
4969:		list_for_each_entry_safe(dev, tmp, &cur_trans->dev_update_list,
4970:					 post_commit_list) {
4971:			list_del_init(&dev->post_commit_list);
4972:		}
4973:	
4974:		btrfs_destroy_delayed_refs(cur_trans);
4975:	
4976:		cur_trans->state = TRANS_STATE_COMMIT_START;
4977:		wake_up(&fs_info->transaction_blocked_wait);
4978:	
4979:		cur_trans->state = TRANS_STATE_UNBLOCKED;
4980:		wake_up(&fs_info->transaction_wait);
4981:	
4982:		btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages,
4983:					     EXTENT_DIRTY);
4984:		btrfs_destroy_pinned_extent(fs_info, &cur_trans->pinned_extents);
4985:	
4986:		cur_trans->state =TRANS_STATE_COMPLETED;
4987:		wake_up(&cur_trans->commit_wait);
4988:	}
 SourceFile:fs/btrfs/disk-io.c]

13/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/delayed-ref.c Name:btrfs_destroy_delayed_refs]

Results:
map[SourceCode:1304:	void btrfs_destroy_delayed_refs(struct btrfs_transaction *trans)
1305:	{
1306:		struct btrfs_delayed_ref_root *delayed_refs = &trans->delayed_refs;
1307:		struct btrfs_fs_info *fs_info = trans->fs_info;
1308:	
1309:		spin_lock(&delayed_refs->lock);
1310:		while (true) {
1311:			struct btrfs_delayed_ref_head *head;
1312:			struct rb_node *n;
1313:			bool pin_bytes = false;
1314:	
1315:			head = find_first_ref_head(delayed_refs);
1316:			if (!head)
1317:				break;
1318:	
1319:			if (!btrfs_delayed_ref_lock(delayed_refs, head))
1320:				continue;
1321:	
1322:			spin_lock(&head->lock);
1323:			while ((n = rb_first_cached(&head->ref_tree)) != NULL) {
1324:				struct btrfs_delayed_ref_node *ref;
1325:	
1326:				ref = rb_entry(n, struct btrfs_delayed_ref_node, ref_node);
1327:				drop_delayed_ref(fs_info, delayed_refs, head, ref);
1328:			}
1329:			if (head->must_insert_reserved)
1330:				pin_bytes = true;
1331:			btrfs_free_delayed_extent_op(head->extent_op);
1332:			btrfs_delete_ref_head(fs_info, delayed_refs, head);
1333:			spin_unlock(&head->lock);
1334:			spin_unlock(&delayed_refs->lock);
1335:			mutex_unlock(&head->mutex);
1336:	
1337:			if (!btrfs_is_testing(fs_info) && pin_bytes) {
1338:				struct btrfs_block_group *bg;
1339:	
1340:				bg = btrfs_lookup_block_group(fs_info, head->bytenr);
1341:				if (WARN_ON_ONCE(bg == NULL)) {
1342:					/*
1343:					 * Unexpected and there's nothing we can do here
1344:					 * because we are in a transaction abort path,
1345:					 * so any errors can only be ignored or reported
1346:					 * while attempting to cleanup all resources.
1347:					 */
1348:					btrfs_err(fs_info,
1349:	"block group for delayed ref at %llu was not found while destroying ref head",
1350:						  head->bytenr);
1351:				} else {
1352:					spin_lock(&bg->space_info->lock);
1353:					spin_lock(&bg->lock);
1354:					bg->pinned += head->num_bytes;
1355:					btrfs_space_info_update_bytes_pinned(bg->space_info,
1356:									     head->num_bytes);
1357:					bg->reserved -= head->num_bytes;
1358:					bg->space_info->bytes_reserved -= head->num_bytes;
1359:					spin_unlock(&bg->lock);
1360:					spin_unlock(&bg->space_info->lock);
1361:	
1362:					btrfs_put_block_group(bg);
1363:				}
1364:	
1365:				btrfs_error_unpin_extent_range(fs_info, head->bytenr,
1366:					head->bytenr + head->num_bytes - 1);
1367:			}
1368:			if (!btrfs_is_testing(fs_info))
1369:				btrfs_cleanup_ref_head_accounting(fs_info, delayed_refs, head);
1370:			btrfs_put_delayed_ref_head(head);
1371:			cond_resched();
1372:			spin_lock(&delayed_refs->lock);
1373:		}
1374:	
1375:		if (!btrfs_is_testing(fs_info))
1376:			btrfs_qgroup_destroy_extent_records(trans);
1377:	
1378:		spin_unlock(&delayed_refs->lock);
1379:	}
 SourceFile:fs/btrfs/delayed-ref.c]

14/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/delayed-ref.c Name:add_delayed_ref_head]

Results:
map[SourceCode: 831:	/*
 832:	 * Helper function to actually insert a head node into the xarray. This does all
 833:	 * the dirty work in terms of maintaining the correct overall modification
 834:	 * count.
 835:	 *
 836:	 * The caller is responsible for calling kfree() on @qrecord. More specifically,
 837:	 * if this function reports that it did not insert it as noted in
 838:	 * @qrecord_inserted_ret, then it's safe to call kfree() on it.
 839:	 *
 840:	 * Returns an error pointer in case of an error.
 841:	 */
 842:	static noinline struct btrfs_delayed_ref_head *
 843:	add_delayed_ref_head(struct btrfs_trans_handle *trans,
 844:			     struct btrfs_delayed_ref_head *head_ref,
 845:			     struct btrfs_qgroup_extent_record *qrecord,
 846:			     int action, bool *qrecord_inserted_ret)
 847:	{
 848:		struct btrfs_fs_info *fs_info = trans->fs_info;
 849:		struct btrfs_delayed_ref_head *existing;
 850:		struct btrfs_delayed_ref_root *delayed_refs;
 851:		const unsigned long index = (head_ref->bytenr >> fs_info->sectorsize_bits);
 852:	
 853:		/*
 854:		 * If 'qrecord_inserted_ret' is provided, then the first thing we need
 855:		 * to do is to initialize it to false just in case we have an exit
 856:		 * before trying to insert the record.
 857:		 */
 858:		if (qrecord_inserted_ret)
 859:			*qrecord_inserted_ret = false;
 860:	
 861:		delayed_refs = &trans->transaction->delayed_refs;
 862:		lockdep_assert_held(&delayed_refs->lock);
 863:	
 864:	#if BITS_PER_LONG == 32
 865:		if (head_ref->bytenr >= MAX_LFS_FILESIZE) {
 866:			if (qrecord)
 867:				xa_release(&delayed_refs->dirty_extents, index);
 868:			btrfs_err_rl(fs_info,
 869:	"delayed ref head %llu is beyond 32bit page cache and xarray index limit",
 870:				     head_ref->bytenr);
 871:			btrfs_err_32bit_limit(fs_info);
 872:			return ERR_PTR(-EOVERFLOW);
 873:		}
 874:	#endif
 875:	
 876:		/* Record qgroup extent info if provided */
 877:		if (qrecord) {
 878:			/*
 879:			 * Setting 'qrecord' but not 'qrecord_inserted_ret' will likely
 880:			 * result in a memory leakage.
 881:			 */
 882:			ASSERT(qrecord_inserted_ret != NULL);
 883:	
 884:			int ret;
 885:	
 886:			ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, qrecord,
 887:							       head_ref->bytenr);
 888:			if (ret) {
 889:				/* Clean up if insertion fails or item exists. */
 890:				xa_release(&delayed_refs->dirty_extents, index);
 891:				if (ret < 0)
 892:					return ERR_PTR(ret);
 893:			} else if (qrecord_inserted_ret) {
 894:				*qrecord_inserted_ret = true;
 895:			}
 896:		}
 897:	
 898:		trace_add_delayed_ref_head(fs_info, head_ref, action);
 899:	
 900:		existing = xa_load(&delayed_refs->head_refs, index);
 901:		if (existing) {
 902:			update_existing_head_ref(trans, existing, head_ref);
 903:			/*
 904:			 * we've updated the existing ref, free the newly
 905:			 * allocated ref
 906:			 */
 907:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 908:			head_ref = existing;
 909:		} else {
 910:			existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);
 911:			if (xa_is_err(existing)) {
 912:				/* Memory was preallocated by the caller. */
 913:				ASSERT(xa_err(existing) != -ENOMEM);
 914:				return ERR_PTR(xa_err(existing));
 915:			} else if (WARN_ON(existing)) {
 916:				/*
 917:				 * Shouldn't happen we just did a lookup before under
 918:				 * delayed_refs->lock.
 919:				 */
 920:				return ERR_PTR(-EEXIST);
 921:			}
 922:			head_ref->tracked = true;
 923:			/*
 924:			 * We reserve the amount of bytes needed to delete csums when
 925:			 * adding the ref head and not when adding individual drop refs
 926:			 * since the csum items are deleted only after running the last
 927:			 * delayed drop ref (the data extent's ref count drops to 0).
 928:			 */
 929:			if (head_ref->is_data && head_ref->ref_mod < 0) {
 930:				delayed_refs->pending_csums += head_ref->num_bytes;
 931:				trans->delayed_ref_csum_deletions +=
 932:					btrfs_csum_bytes_to_leaves(fs_info, head_ref->num_bytes);
 933:			}
 934:			delayed_refs->num_heads++;
 935:			delayed_refs->num_heads_ready++;
 936:		}
 937:	
 938:		return head_ref;
 939:	}
 SourceFile:fs/btrfs/delayed-ref.c]

15/2 2026/10/19 01:03 tool codesearch-definition-source
0m Args:
map[ContextFile:include/linux/xarray.h Name:xa_empty]

Results:
map[SourceCode: 402:	/**
 403:	 * xa_empty() - Determine if an array has any present entries.
 404:	 * @xa: XArray.
 405:	 *
 406:	 * Context: Any context.
 407:	 * Return: %true if the array contains only NULL pointers.
 408:	 */
 409:	static inline bool xa_empty(const struct xarray *xa)
 410:	{
 411:		return xa->xa_head == NULL;
 412:	}
 SourceFile:include/linux/xarray.h]

16/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 19034
							output: 43
							thoughts: 82
						

Thoughts:
**My Thought Process Regarding `head_refs` and Delayed References**

Okay, I've just been alerted to a set of functions and data structures that all seem to be related to "delayed references" and specifically something called `head_refs`. My immediate instinct is to thoroughly investigate these. The names `add_delayed_ref`, `add_delayed_ref_head`, `btrfs_destroy_delayed_refs`, `find_first_ref_head`, and `btrfs_delete_ref_head` are all strong indicators of a specific mechanism within the Btrfs filesystem for managing references, likely in a deferred or asynchronous manner.

The explicit mention of `head_refs` across these functions suggests it's a core component of this delayed reference handling. It could be a pointer, a list head, or some other data structure that anchors these delayed references.

My next logical step is to get a comprehensive view of how `head_refs` is used throughout the codebase. To do this, I'll leverage `codesearch-find-references`. This tool is invaluable for precisely identifying every single location where `head_refs` is accessed, modified, or otherwise involved. By examining all these references, I'll be able to:

*   **Understand the lifecycle of `head_refs`:** When is it initialized? When is it populated? When is it cleaned up or destroyed?
*   **Identify its purpose:** What exactly does `head_refs` represent? Is it a queue, a linked list, a collection of pending operations?
*   **Trace the flow of control:** How do the functions like `add_delayed_ref_head` and `btrfs_delete_ref_head` interact with `head_refs`? What triggers these operations?
*   **Uncover potential issues or dependencies:** Are there any race conditions or unexpected interactions that might arise from how `head_refs` is managed? Are there any implicit assumptions about its state or the state of the data it references?
*   **Map out the overall delayed reference strategy:** By seeing how `head_refs` fits into the picture, I can gain a deeper understanding of the broader system designed to handle these delayed references.

In essence, I need to build a mental model of the `head_refs` data structure and its role within the Btrfs delayed reference subsystem. `codesearch-find-references` is the essential tool to provide me with the raw data required to construct that model accurately.


17/2 2026/10/19 01:03 tool codesearch-find-references
0m Args:
map[IncludeSnippetLines:20 Name:btrfs_delayed_ref_root::head_refs]

Results:
map[References:[map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref SourceFile:fs/btrfs/delayed-ref.c SourceLine:1073 SourceSnippet:1053:		if (!head_ref) {
1054:			ret = -ENOMEM;
1055:			goto free_node;
1056:		}
1057:	
1058:		delayed_refs = &trans->transaction->delayed_refs;
1059:	
1060:		if (btrfs_qgroup_full_accounting(fs_info) && !generic_ref->skip_qgroup) {
1061:			record = kzalloc_obj(*record, GFP_NOFS);
1062:			if (!record) {
1063:				ret = -ENOMEM;
1064:				goto free_head_ref;
1065:			}
1066:			if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
1067:				ret = -ENOMEM;
1068:				goto free_record;
1069:			}
1070:			qrecord_reserved = true;
1071:		}
1072:	
1073:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1074:		if (ret) {
1075:			if (qrecord_reserved)
1076:				xa_release(&delayed_refs->dirty_extents, index);
1077:			goto free_record;
1078:		}
1079:	
1080:		init_delayed_ref_common(fs_info, node, generic_ref);
1081:		init_delayed_ref_head(head_ref, generic_ref, record, reserved);
1082:		head_ref->extent_op = extent_op;
1083:	
1084:		spin_lock(&delayed_refs->lock);
1085:	
1086:		/*
1087:		 * insert both the head node and the new ref without dropping
1088:		 * the spin lock
1089:		 */
1090:		new_head_ref = add_delayed_ref_head(trans, head_ref, record,
1091:						    action, &qrecord_inserted);
1092:		if (IS_ERR(new_head_ref)) {
1093:			xa_release(&delayed_refs->head_refs, index);
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref SourceFile:fs/btrfs/delayed-ref.c SourceLine:1093 SourceSnippet:1073:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1074:		if (ret) {
1075:			if (qrecord_reserved)
1076:				xa_release(&delayed_refs->dirty_extents, index);
1077:			goto free_record;
1078:		}
1079:	
1080:		init_delayed_ref_common(fs_info, node, generic_ref);
1081:		init_delayed_ref_head(head_ref, generic_ref, record, reserved);
1082:		head_ref->extent_op = extent_op;
1083:	
1084:		spin_lock(&delayed_refs->lock);
1085:	
1086:		/*
1087:		 * insert both the head node and the new ref without dropping
1088:		 * the spin lock
1089:		 */
1090:		new_head_ref = add_delayed_ref_head(trans, head_ref, record,
1091:						    action, &qrecord_inserted);
1092:		if (IS_ERR(new_head_ref)) {
1093:			xa_release(&delayed_refs->head_refs, index);
1094:			spin_unlock(&delayed_refs->lock);
1095:			ret = PTR_ERR(new_head_ref);
1096:	
1097:			/*
1098:			 * It's only safe to call kfree() on 'qrecord' if
1099:			 * add_delayed_ref_head() has _not_ inserted it for
1100:			 * tracing. Otherwise we need to handle this here.
1101:			 */
1102:			if (!qrecord_reserved || qrecord_inserted)
1103:				goto free_head_ref;
1104:			goto free_record;
1105:		}
1106:		head_ref = new_head_ref;
1107:	
1108:		merged = insert_delayed_ref(trans, head_ref, node);
1109:		spin_unlock(&delayed_refs->lock);
1110:	
1111:		/*
1112:		 * Need to update the delayed_refs_rsv with any changes we may have
1113:		 * made.
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:900 SourceSnippet: 880:			 * result in a memory leakage.
 881:			 */
 882:			ASSERT(qrecord_inserted_ret != NULL);
 883:	
 884:			int ret;
 885:	
 886:			ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, qrecord,
 887:							       head_ref->bytenr);
 888:			if (ret) {
 889:				/* Clean up if insertion fails or item exists. */
 890:				xa_release(&delayed_refs->dirty_extents, index);
 891:				if (ret < 0)
 892:					return ERR_PTR(ret);
 893:			} else if (qrecord_inserted_ret) {
 894:				*qrecord_inserted_ret = true;
 895:			}
 896:		}
 897:	
 898:		trace_add_delayed_ref_head(fs_info, head_ref, action);
 899:	
 900:		existing = xa_load(&delayed_refs->head_refs, index);
 901:		if (existing) {
 902:			update_existing_head_ref(trans, existing, head_ref);
 903:			/*
 904:			 * we've updated the existing ref, free the newly
 905:			 * allocated ref
 906:			 */
 907:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 908:			head_ref = existing;
 909:		} else {
 910:			existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);
 911:			if (xa_is_err(existing)) {
 912:				/* Memory was preallocated by the caller. */
 913:				ASSERT(xa_err(existing) != -ENOMEM);
 914:				return ERR_PTR(xa_err(existing));
 915:			} else if (WARN_ON(existing)) {
 916:				/*
 917:				 * Shouldn't happen we just did a lookup before under
 918:				 * delayed_refs->lock.
 919:				 */
 920:				return ERR_PTR(-EEXIST);
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:910 SourceSnippet: 890:				xa_release(&delayed_refs->dirty_extents, index);
 891:				if (ret < 0)
 892:					return ERR_PTR(ret);
 893:			} else if (qrecord_inserted_ret) {
 894:				*qrecord_inserted_ret = true;
 895:			}
 896:		}
 897:	
 898:		trace_add_delayed_ref_head(fs_info, head_ref, action);
 899:	
 900:		existing = xa_load(&delayed_refs->head_refs, index);
 901:		if (existing) {
 902:			update_existing_head_ref(trans, existing, head_ref);
 903:			/*
 904:			 * we've updated the existing ref, free the newly
 905:			 * allocated ref
 906:			 */
 907:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 908:			head_ref = existing;
 909:		} else {
 910:			existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);
 911:			if (xa_is_err(existing)) {
 912:				/* Memory was preallocated by the caller. */
 913:				ASSERT(xa_err(existing) != -ENOMEM);
 914:				return ERR_PTR(xa_err(existing));
 915:			} else if (WARN_ON(existing)) {
 916:				/*
 917:				 * Shouldn't happen we just did a lookup before under
 918:				 * delayed_refs->lock.
 919:				 */
 920:				return ERR_PTR(-EEXIST);
 921:			}
 922:			head_ref->tracked = true;
 923:			/*
 924:			 * We reserve the amount of bytes needed to delete csums when
 925:			 * adding the ref head and not when adding individual drop refs
 926:			 * since the csum items are deleted only after running the last
 927:			 * delayed drop ref (the data extent's ref count drops to 0).
 928:			 */
 929:			if (head_ref->is_data && head_ref->ref_mod < 0) {
 930:				delayed_refs->pending_csums += head_ref->num_bytes;
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_add_delayed_extent_op SourceFile:fs/btrfs/delayed-ref.c SourceLine:1188 SourceSnippet:1168:		struct btrfs_delayed_ref_head *head_ref_ret;
1169:		struct btrfs_delayed_ref_root *delayed_refs;
1170:		struct btrfs_ref generic_ref = {
1171:			.type = BTRFS_REF_METADATA,
1172:			.action = BTRFS_UPDATE_DELAYED_HEAD,
1173:			.bytenr = bytenr,
1174:			.num_bytes = num_bytes,
1175:			.tree_ref.level = level,
1176:		};
1177:		int ret;
1178:	
1179:		head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
1180:		if (!head_ref)
1181:			return -ENOMEM;
1182:	
1183:		init_delayed_ref_head(head_ref, &generic_ref, NULL, 0);
1184:		head_ref->extent_op = extent_op;
1185:	
1186:		delayed_refs = &trans->transaction->delayed_refs;
1187:	
1188:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1189:		if (ret) {
1190:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1191:			return ret;
1192:		}
1193:	
1194:		spin_lock(&delayed_refs->lock);
1195:		head_ref_ret = add_delayed_ref_head(trans, head_ref, NULL,
1196:						    BTRFS_UPDATE_DELAYED_HEAD, NULL);
1197:		if (IS_ERR(head_ref_ret)) {
1198:			xa_release(&delayed_refs->head_refs, index);
1199:			spin_unlock(&delayed_refs->lock);
1200:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1201:			return PTR_ERR(head_ref_ret);
1202:		}
1203:		spin_unlock(&delayed_refs->lock);
1204:	
1205:		/*
1206:		 * Need to update the delayed_refs_rsv with any changes we may have
1207:		 * made.
1208:		 */
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_add_delayed_extent_op SourceFile:fs/btrfs/delayed-ref.c SourceLine:1198 SourceSnippet:1178:	
1179:		head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
1180:		if (!head_ref)
1181:			return -ENOMEM;
1182:	
1183:		init_delayed_ref_head(head_ref, &generic_ref, NULL, 0);
1184:		head_ref->extent_op = extent_op;
1185:	
1186:		delayed_refs = &trans->transaction->delayed_refs;
1187:	
1188:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1189:		if (ret) {
1190:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1191:			return ret;
1192:		}
1193:	
1194:		spin_lock(&delayed_refs->lock);
1195:		head_ref_ret = add_delayed_ref_head(trans, head_ref, NULL,
1196:						    BTRFS_UPDATE_DELAYED_HEAD, NULL);
1197:		if (IS_ERR(head_ref_ret)) {
1198:			xa_release(&delayed_refs->head_refs, index);
1199:			spin_unlock(&delayed_refs->lock);
1200:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1201:			return PTR_ERR(head_ref_ret);
1202:		}
1203:		spin_unlock(&delayed_refs->lock);
1204:	
1205:		/*
1206:		 * Need to update the delayed_refs_rsv with any changes we may have
1207:		 * made.
1208:		 */
1209:		btrfs_update_delayed_refs_rsv(trans);
1210:		return 0;
1211:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_delete_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:570 SourceSnippet: 561:	void btrfs_delete_ref_head(const struct btrfs_fs_info *fs_info,
 562:				   struct btrfs_delayed_ref_root *delayed_refs,
 563:				   struct btrfs_delayed_ref_head *head)
 564:	{
 565:		const unsigned long index = (head->bytenr >> fs_info->sectorsize_bits);
 566:	
 567:		lockdep_assert_held(&delayed_refs->lock);
 568:		lockdep_assert_held(&head->lock);
 569:	
 570:		xa_erase(&delayed_refs->head_refs, index);
 571:		head->tracked = false;
 572:		delayed_refs->num_heads--;
 573:		if (!head->processing)
 574:			delayed_refs->num_heads_ready--;
 575:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_find_delayed_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:1234 SourceSnippet:1221:	/*
1222:	 * This does a simple search for the head node for a given extent.  Returns the
1223:	 * head node if found, or NULL if not.
1224:	 */
1225:	struct btrfs_delayed_ref_head *
1226:	btrfs_find_delayed_ref_head(const struct btrfs_fs_info *fs_info,
1227:				    struct btrfs_delayed_ref_root *delayed_refs,
1228:				    u64 bytenr)
1229:	{
1230:		const unsigned long index = (bytenr >> fs_info->sectorsize_bits);
1231:	
1232:		lockdep_assert_held(&delayed_refs->lock);
1233:	
1234:		return xa_load(&delayed_refs->head_refs, index);
1235:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_put_transaction SourceFile:fs/btrfs/transaction.c SourceLine:146 SourceSnippet: 142:	void btrfs_put_transaction(struct btrfs_transaction *transaction)
 143:	{
 144:		if (refcount_dec_and_test(&transaction->use_count)) {
 145:			BUG_ON(!list_empty(&transaction->list));
 146:			WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs));
 147:			WARN_ON(!xa_empty(&transaction->delayed_refs.dirty_extents));
 148:			if (transaction->delayed_refs.pending_csums)
 149:				btrfs_err(transaction->fs_info,
 150:					  "pending csums is %llu",
 151:					  transaction->delayed_refs.pending_csums);
 152:			/*
 153:			 * If any block groups are found in ->deleted_bgs then it's
 154:			 * because the transaction was aborted and a commit did not
 155:			 * happen (things failed before writing the new superblock
 156:			 * and calling btrfs_finish_extent_commit()), so we can not
 157:			 * discard the physical locations of the block groups.
 158:			 */
 159:			while (!list_empty(&transaction->deleted_bgs)) {
 160:				struct btrfs_block_group *cache;
 161:	
 162:				cache = list_first_entry(&transaction->deleted_bgs,
 163:							 struct btrfs_block_group,
 164:							 bg_list);
 165:				/*
 166:				 * Not strictly necessary to lock, as no other task will be using a
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_run_delayed_refs SourceFile:fs/btrfs/extent-tree.c SourceLine:2256 SourceSnippet:2236:			return 0;
2237:	
2238:		if (test_bit(BTRFS_FS_CREATING_FREE_SPACE_TREE, &fs_info->flags))
2239:			return 0;
2240:	
2241:		delayed_refs = &trans->transaction->delayed_refs;
2242:	again:
2243:	#ifdef SCRAMBLE_DELAYED_REFS
2244:		delayed_refs->run_delayed_start = find_middle(&delayed_refs->root);
2245:	#endif
2246:		ret = __btrfs_run_delayed_refs(trans, min_bytes);
2247:		if (unlikely(ret < 0)) {
2248:			btrfs_abort_transaction(trans, ret);
2249:			return ret;
2250:		}
2251:	
2252:		if (min_bytes == U64_MAX) {
2253:			btrfs_create_pending_block_groups(trans);
2254:	
2255:			spin_lock(&delayed_refs->lock);
2256:			if (xa_empty(&delayed_refs->head_refs)) {
2257:				spin_unlock(&delayed_refs->lock);
2258:				return 0;
2259:			}
2260:			spin_unlock(&delayed_refs->lock);
2261:	
2262:			cond_resched();
2263:			goto again;
2264:		}
2265:	
2266:		return 0;
2267:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_select_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:516 SourceSnippet: 503:	struct btrfs_delayed_ref_head *btrfs_select_ref_head(
 504:			const struct btrfs_fs_info *fs_info,
 505:			struct btrfs_delayed_ref_root *delayed_refs)
 506:	{
 507:		struct btrfs_delayed_ref_head *head;
 508:		unsigned long start_index;
 509:		unsigned long found_index;
 510:		bool found_head = false;
 511:		bool locked;
 512:	
 513:		spin_lock(&delayed_refs->lock);
 514:	again:
 515:		start_index = (delayed_refs->run_delayed_start >> fs_info->sectorsize_bits);
 516:		xa_for_each_start(&delayed_refs->head_refs, found_index, head, start_index) {
 517:			if (!head->processing) {
 518:				found_head = true;
 519:				break;
 520:			}
 521:		}
 522:		if (!found_head) {
 523:			if (delayed_refs->run_delayed_start == 0) {
 524:				spin_unlock(&delayed_refs->lock);
 525:				return NULL;
 526:			}
 527:			delayed_refs->run_delayed_start = 0;
 528:			goto again;
 529:		}
 530:	
 531:		head->processing = true;
 532:		WARN_ON(delayed_refs->num_heads_ready == 0);
 533:		delayed_refs->num_heads_ready--;
 534:		delayed_refs->run_delayed_start = head->bytenr +
 535:			head->num_bytes;
 536:	
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_select_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:516 SourceSnippet: 503:	struct btrfs_delayed_ref_head *btrfs_select_ref_head(
 504:			const struct btrfs_fs_info *fs_info,
 505:			struct btrfs_delayed_ref_root *delayed_refs)
 506:	{
 507:		struct btrfs_delayed_ref_head *head;
 508:		unsigned long start_index;
 509:		unsigned long found_index;
 510:		bool found_head = false;
 511:		bool locked;
 512:	
 513:		spin_lock(&delayed_refs->lock);
 514:	again:
 515:		start_index = (delayed_refs->run_delayed_start >> fs_info->sectorsize_bits);
 516:		xa_for_each_start(&delayed_refs->head_refs, found_index, head, start_index) {
 517:			if (!head->processing) {
 518:				found_head = true;
 519:				break;
 520:			}
 521:		}
 522:		if (!found_head) {
 523:			if (delayed_refs->run_delayed_start == 0) {
 524:				spin_unlock(&delayed_refs->lock);
 525:				return NULL;
 526:			}
 527:			delayed_refs->run_delayed_start = 0;
 528:			goto again;
 529:		}
 530:	
 531:		head->processing = true;
 532:		WARN_ON(delayed_refs->num_heads_ready == 0);
 533:		delayed_refs->num_heads_ready--;
 534:		delayed_refs->run_delayed_start = head->bytenr +
 535:			head->num_bytes;
 536:	
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:find_first_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:374 SourceSnippet: 367:	static struct btrfs_delayed_ref_head *find_first_ref_head(
 368:			struct btrfs_delayed_ref_root *dr)
 369:	{
 370:		unsigned long from = 0;
 371:	
 372:		lockdep_assert_held(&dr->lock);
 373:	
 374:		return xa_find(&dr->head_refs, &from, ULONG_MAX, XA_PRESENT);
 375:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:join_transaction SourceFile:fs/btrfs/transaction.c SourceLine:362 SourceSnippet: 342:		}
 343:	
 344:		cur_trans->fs_info = fs_info;
 345:		atomic_set(&cur_trans->pending_ordered, 0);
 346:		init_waitqueue_head(&cur_trans->pending_wait);
 347:		atomic_set(&cur_trans->num_writers, 1);
 348:		extwriter_counter_init(cur_trans, type);
 349:		init_waitqueue_head(&cur_trans->writer_wait);
 350:		init_waitqueue_head(&cur_trans->commit_wait);
 351:		cur_trans->state = TRANS_STATE_RUNNING;
 352:		/*
 353:		 * One for this trans handle, one so it will live on until we
 354:		 * commit the transaction.
 355:		 */
 356:		refcount_set(&cur_trans->use_count, 2);
 357:		cur_trans->flags = 0;
 358:		cur_trans->start_time = ktime_get_seconds();
 359:	
 360:		memset(&cur_trans->delayed_refs, 0, sizeof(cur_trans->delayed_refs));
 361:	
 362:		xa_init(&cur_trans->delayed_refs.head_refs);
 363:		xa_init(&cur_trans->delayed_refs.dirty_extents);
 364:	
 365:		/*
 366:		 * although the tree mod log is per file system and not per transaction,
 367:		 * the log must never go across transaction boundaries.
 368:		 */
 369:		smp_mb();
 370:		if (!list_empty(&fs_info->tree_mod_seq_list))
 371:			WARN(1, KERN_ERR "BTRFS: tree_mod_seq_list not empty when creating a fresh transaction\n");
 372:		if (!RB_EMPTY_ROOT(&fs_info->tree_mod_log))
 373:			WARN(1, KERN_ERR "BTRFS: tree_mod_log rb tree not empty when creating a fresh transaction\n");
 374:		atomic64_set(&fs_info->tree_mod_seq, 0);
 375:	
 376:		spin_lock_init(&cur_trans->delayed_refs.lock);
 377:	
 378:		INIT_LIST_HEAD(&cur_trans->pending_snapshots);
 379:		INIT_LIST_HEAD(&cur_trans->dev_update_list);
 380:		INIT_LIST_HEAD(&cur_trans->switch_commits);
 381:		INIT_LIST_HEAD(&cur_trans->dirty_bgs);
 382:		INIT_LIST_HEAD(&cur_trans->io_bgs);
]] TruncatedOutput:false]

18/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 27103
							output: 155
							thoughts: 131
						

Thoughts:
**My Deep Dive into the Xarray Implementation**

Hold on a minute. I need to really scrutinize how the core functions of the xarray data structure operate. My immediate focus is on the atomic operations and memory management primitives: `xa_reserve`, `__xa_cmpxchg_raw`, `xas_store`, `__xas_nomem`, and `xa_empty`. I need to understand the underlying mechanics of how these are implemented to ensure correctness and efficiency, especially under contention.

To achieve this, I'm going to meticulously read through `lib/xarray.c`, paying close attention to the implementations surrounding `__xa_cmpxchg_raw` (which I suspect is a critical building block for atomic updates), `xas_store` (the primary way data is inserted), `__xas_nomem` (likely related to handling memory allocation failures or non-existent entries), `xa_reserve` (essential for pre-allocating or claiming space), `xa_release` (the counterpart to `xa_reserve`), `xa_erase` (for removing elements), and `xa_destroy` (for cleanup).

My immediate next step will be to use the `read-file` command to pull up the source code for both `lib/xarray.c` and `include/linux/xarray.h`. This will give me the complete picture, allowing me to trace function calls, understand data structures, and analyze the precise atomicity guarantees provided by each operation. I'm particularly interested in how these functions interact and contribute to the overall integrity and performance of the xarray.


19/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:include/linux/xarray.h FirstLine:1070 LineCount:50]

Results:
map[Contents:1070:	 * @index: Index into array.
1071:	 * @gfp: Memory allocation flags.
1072:	 *
1073:	 * Ensures there is somewhere to store an entry at @index in the array.
1074:	 * If there is already something stored at @index, this function does
1075:	 * nothing.  If there was nothing there, the entry is marked as reserved.
1076:	 * Loading from a reserved entry returns a %NULL pointer.
1077:	 *
1078:	 * If you do not use the entry that you have reserved, call xa_release()
1079:	 * or xa_erase() to free any unnecessary memory.
1080:	 *
1081:	 * Context: Any context.  Takes and releases the xa_lock.
1082:	 * May sleep if the @gfp flags permit.
1083:	 * Return: 0 if the reservation succeeded or -ENOMEM if it failed.
1084:	 */
1085:	static inline __must_check
1086:	int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp)
1087:	{
1088:		return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1089:	}
1090:	
1091:	/**
1092:	 * xa_reserve_bh() - Reserve this index in the XArray.
1093:	 * @xa: XArray.
1094:	 * @index: Index into array.
1095:	 * @gfp: Memory allocation flags.
1096:	 *
1097:	 * A softirq-disabling version of xa_reserve().
1098:	 *
1099:	 * Context: Any context.  Takes and releases the xa_lock while
1100:	 * disabling softirqs.
1101:	 * Return: 0 if the reservation succeeded or -ENOMEM if it failed.
1102:	 */
1103:	static inline __must_check
1104:	int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp)
1105:	{
1106:		return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1107:	}
1108:	
1109:	/**
1110:	 * xa_reserve_irq() - Reserve this index in the XArray.
1111:	 * @xa: XArray.
1112:	 * @index: Index into array.
1113:	 * @gfp: Memory allocation flags.
1114:	 *
1115:	 * An interrupt-disabling version of xa_reserve().
1116:	 *
1117:	 * Context: Process context.  Takes and releases the xa_lock while
1118:	 * disabling interrupts.
1119:	 * Return: 0 if the reservation succeeded or -ENOMEM if it failed.
]

20/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:300 LineCount:100]

Results:
map[Contents: 300:	 */
 301:	bool xas_nomem(struct xa_state *xas, gfp_t gfp)
 302:	{
 303:		if (xas->xa_node != XA_ERROR(-ENOMEM)) {
 304:			xas_destroy(xas);
 305:			return false;
 306:		}
 307:		if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT)
 308:			gfp |= __GFP_ACCOUNT;
 309:		xas->xa_alloc = kmem_cache_alloc_lru(radix_tree_node_cachep, xas->xa_lru, gfp);
 310:		if (!xas->xa_alloc)
 311:			return false;
 312:		xas->xa_alloc->parent = NULL;
 313:		XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));
 314:		xas->xa_node = XAS_RESTART;
 315:		return true;
 316:	}
 317:	EXPORT_SYMBOL_GPL(xas_nomem);
 318:	
 319:	/*
 320:	 * __xas_nomem() - Drop locks and allocate memory if needed.
 321:	 * @xas: XArray operation state.
 322:	 * @gfp: Memory allocation flags.
 323:	 *
 324:	 * Internal variant of xas_nomem().
 325:	 *
 326:	 * Return: true if memory was needed, and was successfully allocated.
 327:	 */
 328:	static bool __xas_nomem(struct xa_state *xas, gfp_t gfp)
 329:		__must_hold(xas->xa->xa_lock)
 330:	{
 331:		unsigned int lock_type = xa_lock_type(xas->xa);
 332:	
 333:		if (xas->xa_node != XA_ERROR(-ENOMEM)) {
 334:			xas_destroy(xas);
 335:			return false;
 336:		}
 337:		if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT)
 338:			gfp |= __GFP_ACCOUNT;
 339:		if (gfpflags_allow_blocking(gfp)) {
 340:			xas_unlock_type(xas, lock_type);
 341:			xas->xa_alloc = kmem_cache_alloc_lru(radix_tree_node_cachep, xas->xa_lru, gfp);
 342:			xas_lock_type(xas, lock_type);
 343:		} else {
 344:			xas->xa_alloc = kmem_cache_alloc_lru(radix_tree_node_cachep, xas->xa_lru, gfp);
 345:		}
 346:		if (!xas->xa_alloc)
 347:			return false;
 348:		xas->xa_alloc->parent = NULL;
 349:		XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));
 350:		xas->xa_node = XAS_RESTART;
 351:		return true;
 352:	}
 353:	
 354:	static void xas_update(struct xa_state *xas, struct xa_node *node)
 355:	{
 356:		if (xas->xa_update)
 357:			xas->xa_update(node);
 358:		else
 359:			XA_NODE_BUG_ON(node, !list_empty(&node->private_list));
 360:	}
 361:	
 362:	static void *xas_alloc(struct xa_state *xas, unsigned int shift)
 363:	{
 364:		struct xa_node *parent = xas->xa_node;
 365:		struct xa_node *node = xas->xa_alloc;
 366:	
 367:		if (xas_invalid(xas))
 368:			return NULL;
 369:	
 370:		if (node) {
 371:			xas->xa_alloc = NULL;
 372:		} else {
 373:			gfp_t gfp = GFP_NOWAIT;
 374:	
 375:			if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT)
 376:				gfp |= __GFP_ACCOUNT;
 377:	
 378:			node = kmem_cache_alloc_lru(radix_tree_node_cachep, xas->xa_lru, gfp);
 379:			if (!node) {
 380:				xas_set_err(xas, -ENOMEM);
 381:				return NULL;
 382:			}
 383:		}
 384:	
 385:		if (parent) {
 386:			node->offset = xas->xa_offset;
 387:			parent->count++;
 388:			XA_NODE_BUG_ON(node, parent->count > XA_CHUNK_SIZE);
 389:			xas_update(xas, parent);
 390:		}
 391:		XA_NODE_BUG_ON(node, shift > BITS_PER_LONG);
 392:		XA_NODE_BUG_ON(node, !list_empty(&node->private_list));
 393:		node->shift = shift;
 394:		node->count = 0;
 395:		node->nr_values = 0;
 396:		RCU_INIT_POINTER(node->parent, xas->xa_node);
 397:		node->array = xas->xa;
 398:	
 399:		return node;
]

21/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:800 LineCount:100]

Results:
map[Contents: 800:		if (xas_invalid(xas))
 801:			return first;
 802:		node = xas->xa_node;
 803:		if (node && (xas->xa_shift < node->shift))
 804:			xas->xa_sibs = 0;
 805:		if ((first == entry) && !xas->xa_sibs)
 806:			return first;
 807:	
 808:		next = first;
 809:		offset = xas->xa_offset;
 810:		max = xas->xa_offset + xas->xa_sibs;
 811:		if (node) {
 812:			slot = &node->slots[offset];
 813:			if (xas->xa_sibs)
 814:				xas_squash_marks(xas);
 815:		}
 816:		if (!entry)
 817:			xas_init_marks(xas);
 818:	
 819:		for (;;) {
 820:			/*
 821:			 * Must clear the marks before setting the entry to NULL,
 822:			 * otherwise xas_for_each_marked may find a NULL entry and
 823:			 * stop early.  rcu_assign_pointer contains a release barrier
 824:			 * so the mark clearing will appear to happen before the
 825:			 * entry is set to NULL.
 826:			 */
 827:			rcu_assign_pointer(*slot, entry);
 828:			if (xa_is_node(next) && (!node || node->shift))
 829:				xas_free_nodes(xas, xa_to_node(next));
 830:			if (!node)
 831:				break;
 832:			count += !next - !entry;
 833:			values += !xa_is_value(first) - !value;
 834:			if (entry) {
 835:				if (offset == max)
 836:					break;
 837:				if (!xa_is_sibling(entry))
 838:					entry = xa_mk_sibling(xas->xa_offset);
 839:			} else {
 840:				if (offset == XA_CHUNK_MASK)
 841:					break;
 842:			}
 843:			next = xa_entry_locked(xas->xa, node, ++offset);
 844:			if (!xa_is_sibling(next)) {
 845:				if (!entry && (offset > max))
 846:					break;
 847:				first = next;
 848:			}
 849:			slot++;
 850:		}
 851:	
 852:		update_node(xas, node, count, values);
 853:		return first;
 854:	}
 855:	EXPORT_SYMBOL_GPL(xas_store);
 856:	
 857:	/**
 858:	 * xas_get_mark() - Returns the state of this mark.
 859:	 * @xas: XArray operation state.
 860:	 * @mark: Mark number.
 861:	 *
 862:	 * Return: true if the mark is set, false if the mark is clear or @xas
 863:	 * is in an error state.
 864:	 */
 865:	bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark)
 866:	{
 867:		if (xas_invalid(xas))
 868:			return false;
 869:		if (!xas->xa_node)
 870:			return xa_marked(xas->xa, mark);
 871:		return node_get_mark(xas->xa_node, xas->xa_offset, mark);
 872:	}
 873:	EXPORT_SYMBOL_GPL(xas_get_mark);
 874:	
 875:	/**
 876:	 * xas_set_mark() - Sets the mark on this entry and its parents.
 877:	 * @xas: XArray operation state.
 878:	 * @mark: Mark number.
 879:	 *
 880:	 * Sets the specified mark on this entry, and walks up the tree setting it
 881:	 * on all the ancestor entries.  Does nothing if @xas has not been walked to
 882:	 * an entry, or is in an error state.
 883:	 */
 884:	void xas_set_mark(const struct xa_state *xas, xa_mark_t mark)
 885:	{
 886:		struct xa_node *node = xas->xa_node;
 887:		unsigned int offset = xas->xa_offset;
 888:	
 889:		if (xas_invalid(xas))
 890:			return;
 891:	
 892:		while (node) {
 893:			if (node_set_mark(node, offset, mark))
 894:				return;
 895:			offset = node->offset;
 896:			node = xa_parent_locked(xas->xa, node);
 897:		}
 898:	
 899:		if (!xa_marked(xas->xa, mark))
]

22/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:1350 LineCount:100]

Results:
map[Contents:1350:		void *entry;
1351:	
1352:		if (!xas_frozen(xas->xa_node))
1353:			xas->xa_index++;
1354:		if (!xas->xa_node)
1355:			return set_bounds(xas);
1356:		if (xas_not_node(xas->xa_node))
1357:			return xas_load(xas);
1358:	
1359:		if (xas->xa_offset != get_offset(xas->xa_index, xas->xa_node))
1360:			xas->xa_offset++;
1361:	
1362:		while (xas->xa_offset == XA_CHUNK_SIZE) {
1363:			xas->xa_offset = xas->xa_node->offset + 1;
1364:			xas->xa_node = xa_parent(xas->xa, xas->xa_node);
1365:			if (!xas->xa_node)
1366:				return set_bounds(xas);
1367:		}
1368:	
1369:		for (;;) {
1370:			entry = xa_entry(xas->xa, xas->xa_node, xas->xa_offset);
1371:			if (!xa_is_node(entry))
1372:				return entry;
1373:	
1374:			xas->xa_node = xa_to_node(entry);
1375:			xas_set_offset(xas);
1376:		}
1377:	}
1378:	EXPORT_SYMBOL_GPL(__xas_next);
1379:	
1380:	/**
1381:	 * xas_find() - Find the next present entry in the XArray.
1382:	 * @xas: XArray operation state.
1383:	 * @max: Highest index to return.
1384:	 *
1385:	 * If the @xas has not yet been walked to an entry, return the entry
1386:	 * which has an index >= xas.xa_index.  If it has been walked, the entry
1387:	 * currently being pointed at has been processed, and so we move to the
1388:	 * next entry.
1389:	 *
1390:	 * If no entry is found and the array is smaller than @max, the iterator
1391:	 * is set to the smallest index not yet in the array.  This allows @xas
1392:	 * to be immediately passed to xas_store().
1393:	 *
1394:	 * Return: The entry, if found, otherwise %NULL.
1395:	 */
1396:	void *xas_find(struct xa_state *xas, unsigned long max)
1397:	{
1398:		void *entry;
1399:	
1400:		if (xas_error(xas) || xas->xa_node == XAS_BOUNDS)
1401:			return NULL;
1402:		if (xas->xa_index > max)
1403:			return set_bounds(xas);
1404:	
1405:		if (!xas->xa_node) {
1406:			xas->xa_index = 1;
1407:			return set_bounds(xas);
1408:		} else if (xas->xa_node == XAS_RESTART) {
1409:			entry = xas_load(xas);
1410:			if (entry || xas_not_node(xas->xa_node))
1411:				return entry;
1412:		} else if (!xas->xa_node->shift &&
1413:			    xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)) {
1414:			xas->xa_offset = ((xas->xa_index - 1) & XA_CHUNK_MASK) + 1;
1415:		}
1416:	
1417:		xas_next_offset(xas);
1418:	
1419:		while (xas->xa_node && (xas->xa_index <= max)) {
1420:			if (unlikely(xas->xa_offset == XA_CHUNK_SIZE)) {
1421:				xas->xa_offset = xas->xa_node->offset + 1;
1422:				xas->xa_node = xa_parent(xas->xa, xas->xa_node);
1423:				continue;
1424:			}
1425:	
1426:			entry = xa_entry(xas->xa, xas->xa_node, xas->xa_offset);
1427:			if (xa_is_node(entry)) {
1428:				xas->xa_node = xa_to_node(entry);
1429:				xas->xa_offset = 0;
1430:				continue;
1431:			}
1432:			if (entry && !xa_is_sibling(entry))
1433:				return entry;
1434:	
1435:			xas_next_offset(xas);
1436:		}
1437:	
1438:		if (!xas->xa_node)
1439:			xas->xa_node = XAS_BOUNDS;
1440:		return NULL;
1441:	}
1442:	EXPORT_SYMBOL_GPL(xas_find);
1443:	
1444:	/**
1445:	 * xas_find_marked() - Find the next marked entry in the XArray.
1446:	 * @xas: XArray operation state.
1447:	 * @max: Highest index to return.
1448:	 * @mark: Mark number to search for.
1449:	 *
]

23/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 32976
							output: 152
							thoughts: 46
						

Thoughts:
**My Deep Dive into XAS Storage and Expansion**

Alright, so my primary objective here is to get a really solid grip on how `xas_store`, `xas_create`, and `xas_expand` function within the `lib/xarray.c` module, specifically by dissecting lines 400 through 800. I'm not just looking for a surface-level understanding; as an expert in this domain, I need to see the intricate details of their interplay, the underlying logic, and the implications for data management within this xarray implementation. I'm anticipating a journey through memory allocation, data copying, and potential structural modifications as these functions are invoked. I want to understand the precise conditions under which each function is called, what data structures they operate on, and what guarantees they provide regarding data integrity and availability. I'm particularly keen on identifying any potential performance bottlenecks or areas where optimizations might be possible, drawing on my deep knowledge of efficient data handling. This focused examination is crucial for me to fully comprehend the lifecycle of xarray data as it's being stored, initialized, and potentially resized.


24/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:400 LineCount:100]

Results:
map[Contents: 400:	}
 401:	
 402:	#ifdef CONFIG_XARRAY_MULTI
 403:	/* Returns the number of indices covered by a given xa_state */
 404:	static unsigned long xas_size(const struct xa_state *xas)
 405:	{
 406:		return (xas->xa_sibs + 1UL) << xas->xa_shift;
 407:	}
 408:	#endif
 409:	
 410:	/*
 411:	 * Use this to calculate the maximum index that will need to be created
 412:	 * in order to add the entry described by @xas.  Because we cannot store a
 413:	 * multi-index entry at index 0, the calculation is a little more complex
 414:	 * than you might expect.
 415:	 */
 416:	static unsigned long xas_max(struct xa_state *xas)
 417:	{
 418:		unsigned long max = xas->xa_index;
 419:	
 420:	#ifdef CONFIG_XARRAY_MULTI
 421:		if (xas->xa_shift || xas->xa_sibs) {
 422:			unsigned long mask = xas_size(xas) - 1;
 423:			max |= mask;
 424:			if (mask == max)
 425:				max++;
 426:		}
 427:	#endif
 428:	
 429:		return max;
 430:	}
 431:	
 432:	/* The maximum index that can be contained in the array without expanding it */
 433:	static unsigned long max_index(void *entry)
 434:	{
 435:		if (!xa_is_node(entry))
 436:			return 0;
 437:		return (XA_CHUNK_SIZE << xa_to_node(entry)->shift) - 1;
 438:	}
 439:	
 440:	static inline void *xa_zero_to_null(void *entry)
 441:	{
 442:		return xa_is_zero(entry) ? NULL : entry;
 443:	}
 444:	
 445:	static void xas_shrink(struct xa_state *xas)
 446:	{
 447:		struct xarray *xa = xas->xa;
 448:		struct xa_node *node = xas->xa_node;
 449:	
 450:		for (;;) {
 451:			void *entry;
 452:	
 453:			XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
 454:			if (node->count != 1)
 455:				break;
 456:			entry = xa_entry_locked(xa, node, 0);
 457:			if (!entry)
 458:				break;
 459:			if (!xa_is_node(entry) && node->shift)
 460:				break;
 461:			if (xa_zero_busy(xa))
 462:				entry = xa_zero_to_null(entry);
 463:			xas->xa_node = XAS_BOUNDS;
 464:	
 465:			RCU_INIT_POINTER(xa->xa_head, entry);
 466:			if (xa_track_free(xa) && !node_get_mark(node, 0, XA_FREE_MARK))
 467:				xa_mark_clear(xa, XA_FREE_MARK);
 468:	
 469:			node->count = 0;
 470:			node->nr_values = 0;
 471:			if (!xa_is_node(entry))
 472:				RCU_INIT_POINTER(node->slots[0], XA_RETRY_ENTRY);
 473:			xas_update(xas, node);
 474:			xa_node_free(node);
 475:			if (!xa_is_node(entry))
 476:				break;
 477:			node = xa_to_node(entry);
 478:			node->parent = NULL;
 479:		}
 480:	}
 481:	
 482:	/*
 483:	 * xas_delete_node() - Attempt to delete an xa_node
 484:	 * @xas: Array operation state.
 485:	 *
 486:	 * Attempts to delete the @xas->xa_node.  This will fail if xa->node has
 487:	 * a non-zero reference count.
 488:	 */
 489:	static void xas_delete_node(struct xa_state *xas)
 490:	{
 491:		struct xa_node *node = xas->xa_node;
 492:	
 493:		for (;;) {
 494:			struct xa_node *parent;
 495:	
 496:			XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
 497:			if (node->count)
 498:				break;
 499:	
]

25/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:500 LineCount:100]

Results:
map[Contents: 500:			parent = xa_parent_locked(xas->xa, node);
 501:			xas->xa_node = parent;
 502:			xas->xa_offset = node->offset;
 503:			xa_node_free(node);
 504:	
 505:			if (!parent) {
 506:				xas->xa->xa_head = NULL;
 507:				xas->xa_node = XAS_BOUNDS;
 508:				return;
 509:			}
 510:	
 511:			parent->slots[xas->xa_offset] = NULL;
 512:			parent->count--;
 513:			XA_NODE_BUG_ON(parent, parent->count > XA_CHUNK_SIZE);
 514:			node = parent;
 515:			xas_update(xas, node);
 516:		}
 517:	
 518:		if (!node->parent)
 519:			xas_shrink(xas);
 520:	}
 521:	
 522:	/**
 523:	 * xas_free_nodes() - Free this node and all nodes that it references
 524:	 * @xas: Array operation state.
 525:	 * @top: Node to free
 526:	 *
 527:	 * This node has been removed from the tree.  We must now free it and all
 528:	 * of its subnodes.  There may be RCU walkers with references into the tree,
 529:	 * so we must replace all entries with retry markers.
 530:	 */
 531:	static void xas_free_nodes(struct xa_state *xas, struct xa_node *top)
 532:	{
 533:		unsigned int offset = 0;
 534:		struct xa_node *node = top;
 535:	
 536:		for (;;) {
 537:			void *entry = xa_entry_locked(xas->xa, node, offset);
 538:	
 539:			if (node->shift && xa_is_node(entry)) {
 540:				node = xa_to_node(entry);
 541:				offset = 0;
 542:				continue;
 543:			}
 544:			if (entry)
 545:				RCU_INIT_POINTER(node->slots[offset], XA_RETRY_ENTRY);
 546:			offset++;
 547:			while (offset == XA_CHUNK_SIZE) {
 548:				struct xa_node *parent;
 549:	
 550:				parent = xa_parent_locked(xas->xa, node);
 551:				offset = node->offset + 1;
 552:				node->count = 0;
 553:				node->nr_values = 0;
 554:				xas_update(xas, node);
 555:				xa_node_free(node);
 556:				if (node == top)
 557:					return;
 558:				node = parent;
 559:			}
 560:		}
 561:	}
 562:	
 563:	/*
 564:	 * xas_expand adds nodes to the head of the tree until it has reached
 565:	 * sufficient height to be able to contain @xas->xa_index
 566:	 */
 567:	static int xas_expand(struct xa_state *xas, void *head)
 568:	{
 569:		struct xarray *xa = xas->xa;
 570:		struct xa_node *node = NULL;
 571:		unsigned int shift = 0;
 572:		unsigned long max = xas_max(xas);
 573:	
 574:		if (!head) {
 575:			if (max == 0)
 576:				return 0;
 577:			while ((max >> shift) >= XA_CHUNK_SIZE)
 578:				shift += XA_CHUNK_SHIFT;
 579:			return shift + XA_CHUNK_SHIFT;
 580:		} else if (xa_is_node(head)) {
 581:			node = xa_to_node(head);
 582:			shift = node->shift + XA_CHUNK_SHIFT;
 583:		}
 584:		xas->xa_node = NULL;
 585:	
 586:		while (max > max_index(head)) {
 587:			xa_mark_t mark = 0;
 588:	
 589:			XA_NODE_BUG_ON(node, shift > BITS_PER_LONG);
 590:			node = xas_alloc(xas, shift);
 591:			if (!node)
 592:				return -ENOMEM;
 593:	
 594:			node->count = 1;
 595:			if (xa_is_value(head))
 596:				node->nr_values = 1;
 597:			RCU_INIT_POINTER(node->slots[0], head);
 598:	
 599:			/* Propagate the aggregated mark info to the new child */
]

26/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:600 LineCount:100]

Results:
map[Contents: 600:			for (;;) {
 601:				if (xa_track_free(xa) && mark == XA_FREE_MARK) {
 602:					node_mark_all(node, XA_FREE_MARK);
 603:					if (!xa_marked(xa, XA_FREE_MARK)) {
 604:						node_clear_mark(node, 0, XA_FREE_MARK);
 605:						xa_mark_set(xa, XA_FREE_MARK);
 606:					}
 607:				} else if (xa_marked(xa, mark)) {
 608:					node_set_mark(node, 0, mark);
 609:				}
 610:				if (mark == XA_MARK_MAX)
 611:					break;
 612:				mark_inc(mark);
 613:			}
 614:	
 615:			/*
 616:			 * Now that the new node is fully initialised, we can add
 617:			 * it to the tree
 618:			 */
 619:			if (xa_is_node(head)) {
 620:				xa_to_node(head)->offset = 0;
 621:				rcu_assign_pointer(xa_to_node(head)->parent, node);
 622:			}
 623:			head = xa_mk_node(node);
 624:			rcu_assign_pointer(xa->xa_head, head);
 625:			xas_update(xas, node);
 626:	
 627:			shift += XA_CHUNK_SHIFT;
 628:		}
 629:	
 630:		xas->xa_node = node;
 631:		return shift;
 632:	}
 633:	
 634:	/*
 635:	 * xas_create() - Create a slot to store an entry in.
 636:	 * @xas: XArray operation state.
 637:	 * @allow_root: %true if we can store the entry in the root directly
 638:	 *
 639:	 * Most users will not need to call this function directly, as it is called
 640:	 * by xas_store().  It is useful for doing conditional store operations
 641:	 * (see the xa_cmpxchg() implementation for an example).
 642:	 *
 643:	 * Return: If the slot already existed, returns the contents of this slot.
 644:	 * If the slot was newly created, returns %NULL.  If it failed to create the
 645:	 * slot, returns %NULL and indicates the error in @xas.
 646:	 */
 647:	static void *xas_create(struct xa_state *xas, bool allow_root)
 648:	{
 649:		struct xarray *xa = xas->xa;
 650:		void *entry;
 651:		void __rcu **slot;
 652:		struct xa_node *node = xas->xa_node;
 653:		int shift;
 654:		unsigned int order = xas->xa_shift;
 655:	
 656:		if (xas_top(node)) {
 657:			entry = xa_head_locked(xa);
 658:			xas->xa_node = NULL;
 659:			if (!entry && xa_zero_busy(xa))
 660:				entry = XA_ZERO_ENTRY;
 661:			shift = xas_expand(xas, entry);
 662:			if (shift < 0)
 663:				return NULL;
 664:			if (!shift && !allow_root)
 665:				shift = XA_CHUNK_SHIFT;
 666:			entry = xa_head_locked(xa);
 667:			slot = &xa->xa_head;
 668:		} else if (xas_error(xas)) {
 669:			return NULL;
 670:		} else if (node) {
 671:			unsigned int offset = xas->xa_offset;
 672:	
 673:			shift = node->shift;
 674:			entry = xa_entry_locked(xa, node, offset);
 675:			slot = &node->slots[offset];
 676:		} else {
 677:			shift = 0;
 678:			entry = xa_head_locked(xa);
 679:			slot = &xa->xa_head;
 680:		}
 681:	
 682:		while (shift > order) {
 683:			shift -= XA_CHUNK_SHIFT;
 684:			if (!entry) {
 685:				node = xas_alloc(xas, shift);
 686:				if (!node)
 687:					break;
 688:				if (xa_track_free(xa))
 689:					node_mark_all(node, XA_FREE_MARK);
 690:				rcu_assign_pointer(*slot, xa_mk_node(node));
 691:			} else if (xa_is_node(entry)) {
 692:				node = xa_to_node(entry);
 693:			} else {
 694:				break;
 695:			}
 696:			entry = xas_descend(xas, node);
 697:			slot = &node->slots[xas->xa_offset];
 698:		}
 699:	
]

27/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:700 LineCount:100]

Results:
map[Contents: 700:		return entry;
 701:	}
 702:	
 703:	/**
 704:	 * xas_create_range() - Ensure that stores to this range will succeed
 705:	 * @xas: XArray operation state.
 706:	 *
 707:	 * Creates all of the slots in the range covered by @xas.  Sets @xas to
 708:	 * create single-index entries and positions it at the beginning of the
 709:	 * range.  This is for the benefit of users which have not yet been
 710:	 * converted to use multi-index entries.
 711:	 */
 712:	void xas_create_range(struct xa_state *xas)
 713:	{
 714:		unsigned long index = xas->xa_index;
 715:		unsigned char shift = xas->xa_shift;
 716:		unsigned char sibs = xas->xa_sibs;
 717:	
 718:		xas->xa_index |= ((sibs + 1UL) << shift) - 1;
 719:		if (xas_is_node(xas) && xas->xa_node->shift == xas->xa_shift)
 720:			xas->xa_offset |= sibs;
 721:		xas->xa_shift = 0;
 722:		xas->xa_sibs = 0;
 723:	
 724:		for (;;) {
 725:			xas_create(xas, true);
 726:			if (xas_error(xas))
 727:				goto restore;
 728:			if (xas->xa_index <= (index | XA_CHUNK_MASK))
 729:				goto success;
 730:			xas->xa_index -= XA_CHUNK_SIZE;
 731:	
 732:			for (;;) {
 733:				struct xa_node *node = xas->xa_node;
 734:				if (node->shift >= shift)
 735:					break;
 736:				xas->xa_node = xa_parent_locked(xas->xa, node);
 737:				xas->xa_offset = node->offset - 1;
 738:				if (node->offset != 0)
 739:					break;
 740:			}
 741:		}
 742:	
 743:	restore:
 744:		xas->xa_shift = shift;
 745:		xas->xa_sibs = sibs;
 746:		xas->xa_index = index;
 747:		return;
 748:	success:
 749:		xas->xa_index = index;
 750:		if (xas->xa_node)
 751:			xas_set_offset(xas);
 752:	}
 753:	EXPORT_SYMBOL_GPL(xas_create_range);
 754:	
 755:	static void update_node(struct xa_state *xas, struct xa_node *node,
 756:			int count, int values)
 757:	{
 758:		if (!node || (!count && !values))
 759:			return;
 760:	
 761:		node->count += count;
 762:		node->nr_values += values;
 763:		XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
 764:		XA_NODE_BUG_ON(node, node->nr_values > XA_CHUNK_SIZE);
 765:		xas_update(xas, node);
 766:		if (count < 0)
 767:			xas_delete_node(xas);
 768:	}
 769:	
 770:	/**
 771:	 * xas_store() - Store this entry in the XArray.
 772:	 * @xas: XArray operation state.
 773:	 * @entry: New entry.
 774:	 *
 775:	 * If @xas is operating on a multi-index entry, the entry returned by this
 776:	 * function is essentially meaningless (it may be an internal entry or it
 777:	 * may be %NULL, even if there are non-NULL entries at some of the indices
 778:	 * covered by the range).  This is not a problem for any current users,
 779:	 * and can be changed if needed.
 780:	 *
 781:	 * Return: The old entry at this index.
 782:	 */
 783:	void *xas_store(struct xa_state *xas, void *entry)
 784:	{
 785:		struct xa_node *node;
 786:		void __rcu **slot = &xas->xa->xa_head;
 787:		unsigned int offset, max;
 788:		int count = 0;
 789:		int values = 0;
 790:		void *first, *next;
 791:		bool value = xa_is_value(entry);
 792:	
 793:		if (entry) {
 794:			bool allow_root = !xa_is_node(entry) && !xa_is_zero(entry);
 795:			first = xas_create(xas, allow_root);
 796:		} else {
 797:			first = xas_load(xas);
 798:		}
 799:	
]

28/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 39144
							output: 41
							thoughts: 67
						

Thoughts:
**My Thought Process Regarding `lib/xarray.c`'s Core Operations**

Okay, I need to get a handle on these core xarray operations. My immediate focus is drawn to `xas_create`, `xas_expand`, `xas_alloc`, `xas_destroy`, and that intriguing `__xa_cmpxchg_raw`. These feel like the fundamental building blocks of how this xarray data structure is managed and manipulated.

To truly grasp their interplay and purpose, I must dive into the specific implementation details. I'm going to laser in on lines 200 to 340 of `lib/xarray.c`. That concentrated section likely contains the meat of how these functions interact – how an xarray is initialized, how its capacity is adjusted, how memory is allocated for its elements, how it's cleaned up, and crucially, how atomic operations like compare-and-exchange are being employed at a low level. I'm expecting to see state transitions, memory management calls, and synchronization primitives in that range. This will be key to understanding the underlying mechanics.


29/2 2026/10/19 01:03 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:200 LineCount:105]

Results:
map[Contents: 200:		xas->xa_node = NULL;
 201:		return entry;
 202:	}
 203:	
 204:	static __always_inline void *xas_descend(struct xa_state *xas,
 205:						struct xa_node *node)
 206:	{
 207:		unsigned int offset = get_offset(xas->xa_index, node);
 208:		void *entry = xa_entry(xas->xa, node, offset);
 209:	
 210:		xas->xa_node = node;
 211:		while (xa_is_sibling(entry)) {
 212:			offset = xa_to_sibling(entry);
 213:			entry = xa_entry(xas->xa, node, offset);
 214:			if (node->shift && xa_is_node(entry))
 215:				entry = XA_RETRY_ENTRY;
 216:		}
 217:	
 218:		xas->xa_offset = offset;
 219:		return entry;
 220:	}
 221:	
 222:	/**
 223:	 * xas_load() - Load an entry from the XArray (advanced).
 224:	 * @xas: XArray operation state.
 225:	 *
 226:	 * Usually walks the @xas to the appropriate state to load the entry
 227:	 * stored at xa_index.  However, it will do nothing and return %NULL if
 228:	 * @xas is in an error state.  xas_load() will never expand the tree.
 229:	 *
 230:	 * If the xa_state is set up to operate on a multi-index entry, xas_load()
 231:	 * may return %NULL or an internal entry, even if there are entries
 232:	 * present within the range specified by @xas.
 233:	 *
 234:	 * Context: Any context.  The caller should hold the xa_lock or the RCU lock.
 235:	 * Return: Usually an entry in the XArray, but see description for exceptions.
 236:	 */
 237:	void *xas_load(struct xa_state *xas)
 238:	{
 239:		void *entry = xas_start(xas);
 240:	
 241:		while (xa_is_node(entry)) {
 242:			struct xa_node *node = xa_to_node(entry);
 243:	
 244:			if (xas->xa_shift > node->shift)
 245:				break;
 246:			entry = xas_descend(xas, node);
 247:			if (node->shift == 0)
 248:				break;
 249:		}
 250:		return entry;
 251:	}
 252:	EXPORT_SYMBOL_GPL(xas_load);
 253:	
 254:	#define XA_RCU_FREE	((struct xarray *)1)
 255:	
 256:	static void xa_node_free(struct xa_node *node)
 257:	{
 258:		XA_NODE_BUG_ON(node, !list_empty(&node->private_list));
 259:		node->array = XA_RCU_FREE;
 260:		call_rcu(&node->rcu_head, radix_tree_node_rcu_free);
 261:	}
 262:	
 263:	/*
 264:	 * xas_destroy() - Free any resources allocated during the XArray operation.
 265:	 * @xas: XArray operation state.
 266:	 *
 267:	 * Most users will not need to call this function; it is called for you
 268:	 * by xas_nomem().
 269:	 */
 270:	void xas_destroy(struct xa_state *xas)
 271:	{
 272:		struct xa_node *next, *node = xas->xa_alloc;
 273:	
 274:		while (node) {
 275:			XA_NODE_BUG_ON(node, !list_empty(&node->private_list));
 276:			next = rcu_dereference_raw(node->parent);
 277:			radix_tree_node_rcu_free(&node->rcu_head);
 278:			xas->xa_alloc = node = next;
 279:		}
 280:	}
 281:	EXPORT_SYMBOL_GPL(xas_destroy);
 282:	
 283:	/**
 284:	 * xas_nomem() - Allocate memory if needed.
 285:	 * @xas: XArray operation state.
 286:	 * @gfp: Memory allocation flags.
 287:	 *
 288:	 * If we need to add new nodes to the XArray, we try to allocate memory
 289:	 * with GFP_NOWAIT while holding the lock, which will usually succeed.
 290:	 * If it fails, @xas is flagged as needing memory to continue.  The caller
 291:	 * should drop the lock and call xas_nomem().  If xas_nomem() succeeds,
 292:	 * the caller should retry the operation.
 293:	 *
 294:	 * Forward progress is guaranteed as one node is allocated here and
 295:	 * stored in the xa_state where it will be found by xas_alloc().  More
 296:	 * nodes will likely be found in the slab allocator, but we do not tie
 297:	 * them up here.
 298:	 *
 299:	 * Return: true if memory was needed, and was successfully allocated.
]

30/2 2026/10/19 01:03 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 40853
							output: 93
							thoughts: 4356
						

Thoughts:
**A Deep Dive into XArray Node Leakage During Allocation Failures in Btrfs**

I've been tracing a rather intricate potential memory leak scenario within Btrfs, specifically triggered when the `xa_reserve` function encounters allocation failures, particularly with the `GFP_NOFS` flag. My focus has been on how the XArray (xa) handles these failures, especially when `kmem_cache_alloc_lru` itself fails, and what state the XArray is left in.

Here's my thought process:

First, I zeroed in on the core functions involved: `xas_create`, `xas_expand`, `xas_alloc`, and `__xas_nomem`. I wanted to understand the lifecycle of nodes within an XArray structure, particularly how they are created and managed.

The critical juncture is when `xa_reserve` is called with `GFP_NOFS`, and the underlying memory allocation for an XArray node fails. Let's break down the sequence of events I've been tracing:

1.  **Initial XArray State and `xa_reserve`:** I considered two main scenarios for the `delayed_refs->head_refs` XArray:
    *   **Case A: Empty XArray:** If `head_refs` is initially empty (`xa_head == NULL`), and we attempt to `xa_reserve` an index greater than or equal to 64, this triggers an expansion.
    *   **Case B: Non-empty XArray:** If `head_refs` already contains entries, and `xa_reserve` needs to expand the structure to accommodate a new index.

2.  **`xas_expand` and `xas_create` - The Allocation Path:**
    *   When `xa_reserve` needs to expand, it calls `xas_expand`. If the XArray is empty, `xas_expand` determines the necessary `shift` value based on the `index` (e.g., 6 or 12 for indices >= 64).
    *   Then, `xas_create` takes over. It iterates, attempting to allocate XArray nodes at different `shift` levels.
    *   Crucially, in `xas_create`, when `!entry` (meaning no node exists at that level yet), it calls `xas_alloc(xas, shift)`. If this allocation is successful, it creates a new `xa_node`, marks it, and attaches it to the XArray via `rcu_assign_pointer(*slot, xa_mk_node(node))`.
    *   At this point, the `node->count` of this newly allocated node is `0`. It's essentially an empty container.

3.  **The `GFP_NOFS` Failure Point:**
    *   The problem arises when `xas_alloc` is called for a lower `shift` level, and it fails (returning `NULL` and setting an error in `xas`). Or, more directly, when `__xas_nomem` is invoked.
    *   `__xas_nomem` is designed to retry allocation with a different `gfp` mask (in this case, `GFP_NOFS`) and, if that also fails, it's supposed to clean up. However, my analysis suggests that `__xas_nomem` fails *after* `xas_create` has already allocated and attached one or more empty `xa_node`s to the XArray structure.
    *   Specifically, if `xas_alloc` for the deepest required node fails, and then the subsequent call to `kmem_cache_alloc_lru` within `__xas_nomem` (with `GFP_NOFS`) also fails, `__xas_nomem` returns `false` without undoing the allocations that `xas_create` had already made.

4.  **The Resulting State of the XArray:**
    *   This leads to a situation where `delayed_refs->head_refs.xa_head` is no longer `NULL`. It points to a newly allocated `xa_node` (or a chain of them) that has `node->count = 0`, and all its slots are `NULL`. No actual data entries were ever successfully inserted into this XArray structure.

5.  **The Leakage Scenario During Transaction Cleanup:**
    *   The critical failure point becomes `btrfs_put_transaction`. Here, the code includes `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))`.
    *   The `xa_empty` function simply checks if `xa->xa_head` is `NULL`.
    *   Because the failed `xa_reserve` left `xa_head` pointing to an allocated but empty `xa_node`, `xa_empty` returns `false`. This triggers the `WARN_ON` condition, indicating a problem.
    *   However, the code proceeds to `kfree(transaction)`, leaking the `xa_node`(s) that were allocated during the failed `xa_reserve` and `xas_create` operations. Even if the transaction is aborted, these nodes remain un-freed.

6.  **Further Complication with Non-empty XArrays:**
    *   I also considered the case where the XArray was not initially empty. If `xa_reserve` fails after expanding the tree and allocating intermediate nodes, and later entries are deleted, these intermediate empty nodes might not be pruned correctly if their `count` becomes zero *only after* the failed allocation branch is gone. This could lead to intermediate `xa_node`s being retained indefinitely.

In essence, the core issue is that the XArray's failure handling mechanism (`__xas_nomem`) doesn't appear to fully unwind partial allocations made by `xas_create` or `xas_expand` when the final allocation step or the retry with `GFP_NOFS` fails. This leaves behind unreferenced but allocated `xa_node`s, which are then detected as a leak by the transaction cleanup logic.


31/2 2026/10/19 01:04 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/extent-tree.c Name:btrfs_run_delayed_refs]

Results:
map[SourceCode:2213:	/*
2214:	 * Start processing the delayed reference count updates and extent insertions
2215:	 * we have queued up so far.
2216:	 *
2217:	 * @trans:	Transaction handle.
2218:	 * @min_bytes:	How many bytes of delayed references to process. After this
2219:	 *		many bytes we stop processing delayed references if there are
2220:	 *		any more. If 0 it means to run all existing delayed references,
2221:	 *		but not new ones added after running all existing ones.
2222:	 *		Use (u64)-1 (U64_MAX) to run all existing delayed references
2223:	 *		plus any new ones that are added.
2224:	 *
2225:	 * Returns 0 on success or if called with an aborted transaction
2226:	 * Returns <0 on error and aborts the transaction
2227:	 */
2228:	int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes)
2229:	{
2230:		struct btrfs_fs_info *fs_info = trans->fs_info;
2231:		struct btrfs_delayed_ref_root *delayed_refs;
2232:		int ret;
2233:	
2234:		/* We'll clean this up in btrfs_cleanup_transaction */
2235:		if (TRANS_ABORTED(trans))
2236:			return 0;
2237:	
2238:		if (test_bit(BTRFS_FS_CREATING_FREE_SPACE_TREE, &fs_info->flags))
2239:			return 0;
2240:	
2241:		delayed_refs = &trans->transaction->delayed_refs;
2242:	again:
2243:	#ifdef SCRAMBLE_DELAYED_REFS
2244:		delayed_refs->run_delayed_start = find_middle(&delayed_refs->root);
2245:	#endif
2246:		ret = __btrfs_run_delayed_refs(trans, min_bytes);
2247:		if (unlikely(ret < 0)) {
2248:			btrfs_abort_transaction(trans, ret);
2249:			return ret;
2250:		}
2251:	
2252:		if (min_bytes == U64_MAX) {
2253:			btrfs_create_pending_block_groups(trans);
2254:	
2255:			spin_lock(&delayed_refs->lock);
2256:			if (xa_empty(&delayed_refs->head_refs)) {
2257:				spin_unlock(&delayed_refs->lock);
2258:				return 0;
2259:			}
2260:			spin_unlock(&delayed_refs->lock);
2261:	
2262:			cond_resched();
2263:			goto again;
2264:		}
2265:	
2266:		return 0;
2267:	}
 SourceFile:fs/btrfs/extent-tree.c]

32/2 2026/10/19 01:04 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/extent-tree.c Name:__btrfs_run_delayed_refs]

Results:
map[SourceCode:2080:	/*
2081:	 * Returns 0 on success or if called with an already aborted transaction.
2082:	 * Returns -ENOMEM or -EIO on failure and will abort the transaction.
2083:	 */
2084:	static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
2085:						     u64 min_bytes)
2086:	{
2087:		struct btrfs_fs_info *fs_info = trans->fs_info;
2088:		struct btrfs_delayed_ref_root *delayed_refs;
2089:		struct btrfs_delayed_ref_head *locked_ref = NULL;
2090:		int ret;
2091:		unsigned long count = 0;
2092:		unsigned long max_count = 0;
2093:		u64 bytes_processed = 0;
2094:	
2095:		delayed_refs = &trans->transaction->delayed_refs;
2096:		if (min_bytes == 0) {
2097:			/*
2098:			 * We may be subject to a harmless race if some task is
2099:			 * concurrently adding or removing a delayed ref, so silence
2100:			 * KCSAN and similar tools.
2101:			 */
2102:			max_count = data_race(delayed_refs->num_heads_ready);
2103:			min_bytes = U64_MAX;
2104:		}
2105:	
2106:		do {
2107:			if (!locked_ref) {
2108:				locked_ref = btrfs_select_ref_head(fs_info, delayed_refs);
2109:				if (IS_ERR_OR_NULL(locked_ref)) {
2110:					if (PTR_ERR(locked_ref) == -EAGAIN) {
2111:						count++;
2112:						goto again;
2113:					} else {
2114:						break;
2115:					}
2116:				}
2117:				count++;
2118:			}
2119:			/*
2120:			 * We need to try and merge add/drops of the same ref since we
2121:			 * can run into issues with relocate dropping the implicit ref
2122:			 * and then it being added back again before the drop can
2123:			 * finish.  If we merged anything we need to re-loop so we can
2124:			 * get a good ref.
2125:			 * Or we can get node references of the same type that weren't
2126:			 * merged when created due to bumps in the tree mod seq, and
2127:			 * we need to merge them to prevent adding an inline extent
2128:			 * backref before dropping it (triggering a BUG_ON at
2129:			 * insert_inline_extent_backref()).
2130:			 */
2131:			spin_lock(&locked_ref->lock);
2132:			btrfs_merge_delayed_refs(fs_info, delayed_refs, locked_ref);
2133:	
2134:			ret = btrfs_run_delayed_refs_for_head(trans, locked_ref, &bytes_processed);
2135:			if (ret < 0 && ret != -EAGAIN) {
2136:				/*
2137:				 * Error, btrfs_run_delayed_refs_for_head already
2138:				 * unlocked everything so just bail out
2139:				 */
2140:				return ret;
2141:			} else if (!ret) {
2142:				/*
2143:				 * Success, perform the usual cleanup of a processed
2144:				 * head
2145:				 */
2146:				ret = cleanup_ref_head(trans, locked_ref, &bytes_processed);
2147:				if (ret > 0 ) {
2148:					/* We dropped our lock, we need to loop. */
2149:					ret = 0;
2150:					continue;
2151:				} else if (ret) {
2152:					return ret;
2153:				}
2154:			}
2155:	
2156:			/*
2157:			 * Either success case or btrfs_run_delayed_refs_for_head
2158:			 * returned -EAGAIN, meaning we need to select another head
2159:			 */
2160:	again:
2161:			locked_ref = NULL;
2162:			cond_resched();
2163:		} while ((min_bytes != U64_MAX && bytes_processed < min_bytes) ||
2164:			 (max_count > 0 && count < max_count) ||
2165:			 locked_ref);
2166:	
2167:		return 0;
2168:	}
 SourceFile:fs/btrfs/extent-tree.c]

33/2 2026/10/19 01:04 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 47538
							output: 39
							thoughts: 320
						

Thoughts:
**My Thought Process Unpacking `btrfs_run_delayed_refs`**

Okay, hold on a minute. I'm looking closely at lines 2252-2264 of `btrfs_run_delayed_refs`, and something immediately jumps out at me. There's this specific `if (min_bytes == U64_MAX)` block, and it contains a sequence that seems a bit... unexpected.

First, it calls `btrfs_create_pending_block_groups(trans)`. Then, it locks the `delayed_refs->lock`. Inside the lock, it checks if `xa_empty(&delayed_refs->head_refs)`. If it *is* empty, it unlocks and returns 0. But what if it's *not* empty? This is where my mind really starts spinning.

I'm thinking about the scenario where `xa_empty(&delayed_refs->head_refs)` is false. This could happen if there's an empty `xa_node` lingering because a previous `xa_reserve` operation failed. Now, my immediate instinct is that a failure in `add_delayed_ref` usually aborts the transaction. But I'm pausing to consider: is a transaction *always* aborted when `xa_reserve` fails? It's not as straightforward as I initially thought.

I need to dig deeper. What happens specifically when `xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)` fails, but then `xa_release(&delayed_refs->dirty_extents, index)` is called? This is a critical point of confusion. I need to go straight to the source and examine the implementation of `xa_release` in `lib/xarray.c` to fully understand its behavior in this context, especially in light of a prior `xa_reserve` failure. That's the next logical step for me to resolve this apparent anomaly.


34/2 2026/10/19 01:04 tool codesearch-definition-source
0m Args:
map[ContextFile:lib/xarray.c Name:xa_release]

Results:
map[SourceCode:1127:	/**
1128:	 * xa_release() - Release a reserved entry.
1129:	 * @xa: XArray.
1130:	 * @index: Index of entry.
1131:	 *
1132:	 * After calling xa_reserve(), you can call this function to release the
1133:	 * reservation.  If the entry at @index has been stored to, this function
1134:	 * will do nothing.
1135:	 */
1136:	static inline void xa_release(struct xarray *xa, unsigned long index)
1137:	{
1138:		xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0);
1139:	}
 SourceFile:include/linux/xarray.h]

35/2 2026/10/19 01:04 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 48129
							output: 66
							thoughts: 400
						

Thoughts:
**My Thought Process Regarding XArray `xa_release` and `xa_reserve` Interaction**

Okay, let me process this. I've been digging into the `xa_release` function, specifically how it interacts with `xa_cmpxchg`. So, the call to `xa_release` ultimately invokes `xa_cmpxchg` with `XA_ZERO_ENTRY` and `NULL` for the `old` and `entry` arguments, respectively. This then cascades into `__xa_cmpxchg_raw`.

Now, here's where my mind starts to loop. If `xa_reserve` *failed* prior to `xa_release` being called, what does that mean for the state of the XArray at that particular `index`? The `xa_reserve` failure implies that the current value at `index` isn't what we expect, specifically, it wouldn't be `XA_ZERO_ENTRY`. Consequently, the condition `curr == old` within the `do-while` loop of `__xa_cmpxchg_raw` would evaluate to `FALSE`. This is a critical point: if `curr == old` is false, then `xas_store` is *never* called.

But even if, hypothetically, `xas_store(&xas, NULL)` *were* executed when `curr` is `NULL` (which, as I just established, it wouldn't be), I need to consider what happens inside `xas_store` itself. The code has this early return condition: `if ((first == entry) && !xas->xa_sibs) return first;`. In the scenario where `curr` is `NULL` and `entry` is also `NULL` (as in `xa_release`), `first` would be `NULL`. So, `first == entry` is true. If `!xas->xa_sibs` is also true, `xas_store` will simply return without performing any of the subsequent operations like `update_node` or `xas_delete_node`. This means that even if `xa_release` was called after `xa_reserve` failed, the XArray entry wouldn't be properly cleared or deleted.

This leads me to another significant question: why would `xas_create` leave empty `xa_node`s in the XArray if `xas_alloc` failed during its creation? This feels like a potential inconsistency or an unexpected behavior. To get to the bottom of this, I need to examine the commit history. I'll be using `git log` to review the changes in `fs/btrfs/delayed-ref.c` and `lib/xarray.c` to trace the evolution of this logic and understand the intent behind such behavior.


36/2 2026/10/19 01:05 tool git-log
0m Args:
map[Count:20 PathPrefix:fs/btrfs/delayed-ref.c]

Results:
map[Output:54ce0b1d5989 btrfs: lift assertions to beginning of insert_delayed_ref()
7bcb04de982f btrfs: zoned: cap delayed refs metadata reservation to avoid overcommit
69050f8d6d07 treewide: Replace kmalloc with kmalloc_obj for non-scalar types
a1359d06d787 btrfs: remove fs_info argument from btrfs_reserve_metadata_bytes()
725e46298876 btrfs: fix double free of qgroup record after failure to add delayed ref head
db524fd9802f btrfs: annotate btrfs_is_testing() as unlikely and make it return bool
17dc82dc1e77 btrfs: fix typos in comments and strings
cba7c35fec26 btrfs: move ref-verify under CONFIG_BTRFS_DEBUG
fd00922abc07 btrfs: add btrfs prefix to is_fstree() and make it return bool
ea2a8bacb103 btrfs: simplify return logic from btrfs_delayed_ref_init()
6aa79c4f2519 btrfs: use rb_entry_safe() where possible to simplify code
4e4d058e2129 btrfs: update tree_insert() to use rb helpers
7de9ca1f30b7 btrfs: drop fs_info argument from btrfs_update_space_info_*()
2b34879d97e2 btrfs: selftests: add delayed ref self test cases
5473aeedffa4 btrfs: move select_delayed_ref() and export it
7d493a5ecc26 btrfs: fix incorrect comparison for delayed refs
7f13360ef954 btrfs: remove no longer used delayed ref head search functionality
928ed1349dd7 btrfs: track delayed ref heads in an xarray
a8985ac6bed0 btrfs: assert delayed refs lock is held at add_delayed_ref_head()
64a71f0b8a37 btrfs: assert delayed refs lock is held at find_first_ref_head()
]

37/2 2026/10/19 01:05 tool git-log
0m Args:
map[Count:20 PathPrefix:lib/xarray.c]

Results:
map[Output:789763523fb4 xarray: honor XA_FLAGS_ACCOUNT in xas_split_alloc()
9863124e0bfb xarray: remove redundant __GFP_NOWARN
1e6b17b4237d xarray: add a BUG_ON() to ensure caller is not sibling
f1c2bca2677b xarray: fix kerneldoc for __xa_cmpxchg
200a89c159a7 mm/filemap: use xas_try_split() in __filemap_add_folio()
3fec86f8aa8c xarray: add xas_try_split() to split a multi-index entry
13fd5cf37456 Xarray: use xa_mark_t in xas_squash_marks() to keep code consistent
1988b318b32d Xarray: remove repeat check in xas_squash_marks()
97db889b961e Xarray: distinguish large entries correctly in xas_split_alloc()
c9ba5249ef8b Xarray: move forward index correctly in xas_pause()
7e060df04f56 Xarray: do not return sibling entries from xas_find_marked()
79ada2ae6615 xarray: extract helper from __xa_{insert,cmpxchg}
74e2712b14e3 xarray: extract xa_zero_to_null
ba591801a3df xarray: inline xas_descend to improve performance
2a0774c2886d XArray: set the marks correctly when splitting an entry
a4864671ca0b lib/xarray: introduce a new helper xas_get_order
e7716c74e388 xarray: Document necessary flag in alloc functions
cbc02854331e XArray: Do not return sibling entries from xa_load()
bde1597d0f04 radix-tree: move declarations to header
69a37a8ba1b4 mm/huge_memory: Fix xarray node memory leak
]

38/2 2026/10/19 01:05 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 49665
							output: 59
							thoughts: 66
						

Thoughts:
**My Thought Process**

Right, so I'm diving into these two commits, `928ed1349dd7` and `69a37a8ba1b4`. My initial impulse is to get a good look at them, understand the context, the changes, and the reasoning behind them. For this, `git show` is my go-to tool. It's going to give me the commit message, the author, the date, and most importantly, the diff itself.

First up, `928ed1349dd7`. The title "btrfs: track delayed ref heads in an xarray" immediately piques my interest. Btrfs is complex, and managing delayed references is a crucial piece of its internal workings. The fact that they're using `xarray` here suggests a move towards a more structured, potentially more efficient way of handling these references. I'm expecting to see how this `xarray` structure is being integrated into the Btrfs codebase, what data it's holding, and how it's being populated and traversed. I'll be looking for the allocation and deallocation of `xarray` nodes, and how the delayed references are being mapped within this new structure.

Then, I'll move on to `69a37a8ba1b4`, titled "mm/huge_memory: Fix xarray node memory leak". This one directly follows up on the use of `xarray` from the previous commit. The "memory leak" part is a red flag, obviously. It implies that in the `huge_memory` subsystem, specifically where `xarray` nodes are being used, there was a problem with memory not being freed correctly. My focus here will be on identifying the exact point where the leak occurred – likely an unreleased `xarray` node or a related data structure. I'll be scrutinizing the code for any missed `free` calls, incorrect reference counting, or improper cleanup during error paths or normal operation. Understanding how `xarray` is being managed in this memory context is key to spotting the fix.

So, in essence, my plan is to use `git show` for both commits to get a comprehensive understanding of the changes. For the first, it's about understanding the introduction and implementation of `xarray` for delayed refs in Btrfs. For the second, it's about diagnosing and understanding the fix for a memory leak specifically related to `xarray` usage within the kernel's memory management, particularly concerning huge pages. I'm anticipating seeing the refactoring or adjustments made to ensure proper resource management within the `xarray` framework.


39/2 2026/10/19 01:05 tool git-show
0m Args:
map[Commit:928ed1349dd7]

Results:
map[Output:commit 928ed1349dd7ca9028ceef5c344391105351e331
Author: Filipe Manana <fdmanana@suse.com>
Date:   Wed Oct 23 16:27:14 2024 +0100

    btrfs: track delayed ref heads in an xarray
    
    Currently we use a red black tree (rb-tree) to track the delayed ref
    heads (in struct btrfs_delayed_ref_root::href_root). This however is not
    very efficient when the number of delayed ref heads is large (and it's
    very common to be at least in the order of thousands) since rb-trees are
    binary trees. For example for 10K delayed ref heads, the tree has a depth
    of 13. Besides that, inserting into the tree requires navigating through
    it and pulling useless cache lines in the process since the red black tree
    nodes are embedded within the delayed ref head structure - on the other
    hand, by being embedded, it requires no extra memory allocations.
    
    We can improve this by using an xarray instead which has a much higher
    branching factor than a red black tree (binary balanced tree) and is more
    cache friendly and behaves like a resizable array, with a much better
    search and insertion complexity than a red black tree. This only has one
    small disadvantage which is that insertion will sometimes require
    allocating memory for the xarray - which may fail (not that often since
    it uses a kmem_cache) - but on the other hand we can reduce the delayed
    ref head structure size by 24 bytes (from 152 down to 128 bytes) after
    removing the embedded red black tree node, meaning than we can now fit
    32 delayed ref heads per 4K page instead of 26, and that gain compensates
    for the occasional memory allocations needed for the xarray nodes. We
    also end up using only 2 cache lines instead of 3 per delayed ref head.
    
    Running the following fs_mark test showed some improvements:
    
        $ cat test.sh
        #!/bin/bash
    
        DEV=/dev/nullb0
        MNT=/mnt/nullb0
        MOUNT_OPTIONS="-o ssd"
        FILES=100000
        THREADS=$(nproc --all)
    
        echo "performance" | \
            tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    
        mkfs.btrfs -f $DEV
        mount $MOUNT_OPTIONS $DEV $MNT
    
        OPTS="-S 0 -L 5 -n $FILES -s 0 -t $THREADS -k"
        for ((i = 1; i <= $THREADS; i++)); do
            OPTS="$OPTS -d $MNT/d$i"
        done
    
        fs_mark $OPTS
    
        umount $MNT
    
    Before this patch:
    
       FSUse%        Count         Size    Files/sec     App Overhead
           10      1200000            0     171845.7         12253839
           16      2400000            0     230898.7         12308254
           23      3600000            0     212292.9         12467768
           30      4800000            0     195737.8         12627554
           46      6000000            0     171055.2         12783329
    
    After this patch:
    
       FSUse%        Count         Size    Files/sec     App Overhead
           10      1200000            0     173835.0         12246131
           16      2400000            0     233537.8         12271746
           23      3600000            0     220398.7         12307737
           30      4800000            0     204483.6         12392318
           40      6000000            0     182923.3         12771843
    
    Reviewed-by: Boris Burkov <boris@bur.io>
    Reviewed-by: Qu Wenruo <wqu@suse.com>
    Signed-off-by: Filipe Manana <fdmanana@suse.com>
    Reviewed-by: David Sterba <dsterba@suse.com>
    Signed-off-by: David Sterba <dsterba@suse.com>

diff --git a/fs/btrfs/delayed-ref.c b/fs/btrfs/delayed-ref.c
index 018c9765702c..711ac31cd635 100644
--- a/fs/btrfs/delayed-ref.c
+++ b/fs/btrfs/delayed-ref.c
@@ -314,39 +314,6 @@ static int comp_refs(struct btrfs_delayed_ref_node *ref1,
 	return 0;
 }
 
-/* insert a new ref to head ref rbtree */
-static struct btrfs_delayed_ref_head *htree_insert(struct rb_root_cached *root,
-						   struct rb_node *node)
-{
-	struct rb_node **p = &root->rb_root.rb_node;
-	struct rb_node *parent_node = NULL;
-	struct btrfs_delayed_ref_head *entry;
-	struct btrfs_delayed_ref_head *ins;
-	u64 bytenr;
-	bool leftmost = true;
-
-	ins = rb_entry(node, struct btrfs_delayed_ref_head, href_node);
-	bytenr = ins->bytenr;
-	while (*p) {
-		parent_node = *p;
-		entry = rb_entry(parent_node, struct btrfs_delayed_ref_head,
-				 href_node);
-
-		if (bytenr < entry->bytenr) {
-			p = &(*p)->rb_left;
-		} else if (bytenr > entry->bytenr) {
-			p = &(*p)->rb_right;
-			leftmost = false;
-		} else {
-			return entry;
-		}
-	}
-
-	rb_link_node(node, parent_node, p);
-	rb_insert_color_cached(node, root, leftmost);
-	return NULL;
-}
-
 static struct btrfs_delayed_ref_node* tree_insert(struct rb_root_cached *root,
 		struct btrfs_delayed_ref_node *ins)
 {
@@ -381,18 +348,11 @@ static struct btrfs_delayed_ref_node* tree_insert(struct rb_root_cached *root,
 static struct btrfs_delayed_ref_head *find_first_ref_head(
 		struct btrfs_delayed_ref_root *dr)
 {
-	struct rb_node *n;
-	struct btrfs_delayed_ref_head *entry;
+	unsigned long from = 0;
 
 	lockdep_assert_held(&dr->lock);
 
-	n = rb_first_cached(&dr->href_root);
-	if (!n)
-		return NULL;
-
-	entry = rb_entry(n, struct btrfs_delayed_ref_head, href_node);
-
-	return entry;
+	return xa_find(&dr->head_refs, &from, ULONG_MAX, XA_PRESENT);
 }
 
 /*
@@ -405,35 +365,22 @@ static struct btrfs_delayed_ref_head *find_ref_head(
 		struct btrfs_delayed_ref_root *dr, u64 bytenr,
 		bool return_bigger)
 {
-	struct rb_root *root = &dr->href_root.rb_root;
-	struct rb_node *n;
+	const unsigned long target_index = (bytenr >> fs_info->sectorsize_bits);
+	unsigned long found_index = target_index;
 	struct btrfs_delayed_ref_head *entry;
 
 	lockdep_assert_held(&dr->lock);
 
-	n = root->rb_node;
-	entry = NULL;
-	while (n) {
-		entry = rb_entry(n, struct btrfs_delayed_ref_head, href_node);
+	entry = xa_find(&dr->head_refs, &found_index, ULONG_MAX, XA_PRESENT);
+	if (!entry)
+		return NULL;
+
+	ASSERT(found_index >= target_index);
 
-		if (bytenr < entry->bytenr)
-			n = n->rb_left;
-		else if (bytenr > entry->bytenr)
-			n = n->rb_right;
-		else
-			return entry;
-	}
-	if (entry && return_bigger) {
-		if (bytenr > entry->bytenr) {
-			n = rb_next(&entry->href_node);
-			if (!n)
-				return NULL;
-			entry = rb_entry(n, struct btrfs_delayed_ref_head,
-					 href_node);
-		}
-		return entry;
-	}
-	return NULL;
+	if (found_index != target_index && !return_bigger)
+		return NULL;
+
+	return entry;
 }
 
 static bool btrfs_delayed_ref_lock(struct btrfs_delayed_ref_root *delayed_refs,
@@ -448,7 +395,7 @@ static bool btrfs_delayed_ref_lock(struct btrfs_delayed_ref_root *delayed_refs,
 
 	mutex_lock(&head->mutex);
 	spin_lock(&delayed_refs->lock);
-	if (RB_EMPTY_NODE(&head->href_node)) {
+	if (!head->tracked) {
 		mutex_unlock(&head->mutex);
 		btrfs_put_delayed_ref_head(head);
 		return false;
@@ -567,35 +514,27 @@ struct btrfs_delayed_ref_head *btrfs_select_ref_head(
 		struct btrfs_delayed_ref_root *delayed_refs)
 {
 	struct btrfs_delayed_ref_head *head;
+	unsigned long start_index;
+	unsigned long found_index;
+	bool found_head = false;
 	bool locked;
 
 	spin_lock(&delayed_refs->lock);
 again:
-	head = find_ref_head(fs_info, delayed_refs,
-			     delayed_refs->run_delayed_start, true);
-	if (!head && delayed_refs->run_delayed_start != 0) {
-		delayed_refs->run_delayed_start = 0;
-		head = find_first_ref_head(delayed_refs);
-	}
-	if (!head) {
-		spin_unlock(&delayed_refs->lock);
-		return NULL;
+	start_index = (delayed_refs->run_delayed_start >> fs_info->sectorsize_bits);
+	xa_for_each_start(&delayed_refs->head_refs, found_index, head, start_index) {
+		if (!head->processing) {
+			found_head = true;
+			break;
+		}
 	}
-
-	while (head->processing) {
-		struct rb_node *node;
-
-		node = rb_next(&head->href_node);
-		if (!node) {
-			if (delayed_refs->run_delayed_start == 0) {
-				spin_unlock(&delayed_refs->lock);
-				return NULL;
-			}
-			delayed_refs->run_delayed_start = 0;
-			goto again;
+	if (!found_head) {
+		if (delayed_refs->run_delayed_start == 0) {
+			spin_unlock(&delayed_refs->lock);
+			return NULL;
 		}
-		head = rb_entry(node, struct btrfs_delayed_ref_head,
-				href_node);
+		delayed_refs->run_delayed_start = 0;
+		goto again;
 	}
 
 	head->processing = true;
@@ -632,11 +571,13 @@ void btrfs_delete_ref_head(const struct btrfs_fs_info *fs_info,
 			   struct btrfs_delayed_ref_root *delayed_refs,
 			   struct btrfs_delayed_ref_head *head)
 {
+	const unsigned long index = (head->bytenr >> fs_info->sectorsize_bits);
+
 	lockdep_assert_held(&delayed_refs->lock);
 	lockdep_assert_held(&head->lock);
 
-	rb_erase_cached(&head->href_node, &delayed_refs->href_root);
-	RB_CLEAR_NODE(&head->href_node);
+	xa_erase(&delayed_refs->head_refs, index);
+	head->tracked = false;
 	delayed_refs->num_heads--;
 	if (!head->processing)
 		delayed_refs->num_heads_ready--;
@@ -845,7 +786,7 @@ static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref,
 	head_ref->is_system = (generic_ref->ref_root == BTRFS_CHUNK_TREE_OBJECTID);
 	head_ref->ref_tree = RB_ROOT_CACHED;
 	INIT_LIST_HEAD(&head_ref->ref_add_list);
-	RB_CLEAR_NODE(&head_ref->href_node);
+	head_ref->tracked = false;
 	head_ref->processing = false;
 	head_ref->total_ref_mod = count_mod;
 	spin_lock_init(&head_ref->lock);
@@ -883,11 +824,24 @@ add_delayed_ref_head(struct btrfs_trans_handle *trans,
 	struct btrfs_fs_info *fs_info = trans->fs_info;
 	struct btrfs_delayed_ref_head *existing;
 	struct btrfs_delayed_ref_root *delayed_refs;
+	const unsigned long index = (head_ref->bytenr >> fs_info->sectorsize_bits);
 	bool qrecord_inserted = false;
 
 	delayed_refs = &trans->transaction->delayed_refs;
 	lockdep_assert_held(&delayed_refs->lock);
 
+#if BITS_PER_LONG == 32
+	if (head_ref->bytenr >= MAX_LFS_FILESIZE) {
+		if (qrecord)
+			xa_release(&delayed_refs->dirty_extents, index);
+		btrfs_err_rl(fs_info,
+"delayed ref head %llu is beyond 32bit page cache and xarray index limit",
+			     head_ref->bytenr);
+		btrfs_err_32bit_limit(fs_info);
+		return ERR_PTR(-EOVERFLOW);
+	}
+#endif
+
 	/* Record qgroup extent info if provided */
 	if (qrecord) {
 		int ret;
@@ -896,8 +850,7 @@ add_delayed_ref_head(struct btrfs_trans_handle *trans,
 						       head_ref->bytenr);
 		if (ret) {
 			/* Clean up if insertion fails or item exists. */
-			xa_release(&delayed_refs->dirty_extents,
-				   head_ref->bytenr >> fs_info->sectorsize_bits);
+			xa_release(&delayed_refs->dirty_extents, index);
 			/* Caller responsible for freeing qrecord on error. */
 			if (ret < 0)
 				return ERR_PTR(ret);
@@ -909,8 +862,7 @@ add_delayed_ref_head(struct btrfs_trans_handle *trans,
 
 	trace_add_delayed_ref_head(fs_info, head_ref, action);
 
-	existing = htree_insert(&delayed_refs->href_root,
-				&head_ref->href_node);
+	existing = xa_load(&delayed_refs->head_refs, index);
 	if (existing) {
 		update_existing_head_ref(trans, existing, head_ref);
 		/*
@@ -920,6 +872,19 @@ add_delayed_ref_head(struct btrfs_trans_handle *trans,
 		kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 		head_ref = existing;
 	} else {
+		existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);
+		if (xa_is_err(existing)) {
+			/* Memory was preallocated by the caller. */
+			ASSERT(xa_err(existing) != -ENOMEM);
+			return ERR_PTR(xa_err(existing));
+		} else if (WARN_ON(existing)) {
+			/*
+			 * Shouldn't happen we just did a lookup before under
+			 * delayed_refs->lock.
+			 */
+			return ERR_PTR(-EEXIST);
+		}
+		head_ref->tracked = true;
 		/*
 		 * We reserve the amount of bytes needed to delete csums when
 		 * adding the ref head and not when adding individual drop refs
@@ -1040,6 +1005,8 @@ static int add_delayed_ref(struct btrfs_trans_handle *trans,
 	struct btrfs_delayed_ref_head *new_head_ref;
 	struct btrfs_delayed_ref_root *delayed_refs;
 	struct btrfs_qgroup_extent_record *record = NULL;
+	const unsigned long index = (generic_ref->bytenr >> fs_info->sectorsize_bits);
+	bool qrecord_reserved = false;
 	bool qrecord_inserted;
 	int action = generic_ref->action;
 	bool merged;
@@ -1055,25 +1022,32 @@ static int add_delayed_ref(struct btrfs_trans_handle *trans,
 		goto free_node;
 	}
 
+	delayed_refs = &trans->transaction->delayed_refs;
+
 	if (btrfs_qgroup_full_accounting(fs_info) && !generic_ref->skip_qgroup) {
 		record = kzalloc(sizeof(*record), GFP_NOFS);
 		if (!record) {
 			ret = -ENOMEM;
 			goto free_head_ref;
 		}
-		if (xa_reserve(&trans->transaction->delayed_refs.dirty_extents,
-			       generic_ref->bytenr >> fs_info->sectorsize_bits,
-			       GFP_NOFS)) {
+		if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
 			ret = -ENOMEM;
 			goto free_record;
 		}
+		qrecord_reserved = true;
+	}
+
+	ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
+	if (ret) {
+		if (qrecord_reserved)
+			xa_release(&delayed_refs->dirty_extents, index);
+		goto free_record;
 	}
 
 	init_delayed_ref_common(fs_info, node, generic_ref);
 	init_delayed_ref_head(head_ref, generic_ref, record, reserved);
 	head_ref->extent_op = extent_op;
 
-	delayed_refs = &trans->transaction->delayed_refs;
 	spin_lock(&delayed_refs->lock);
 
 	/*
@@ -1083,6 +1057,7 @@ static int add_delayed_ref(struct btrfs_trans_handle *trans,
 	new_head_ref = add_delayed_ref_head(trans, head_ref, record,
 					    action, &qrecord_inserted);
 	if (IS_ERR(new_head_ref)) {
+		xa_release(&delayed_refs->head_refs, index);
 		spin_unlock(&delayed_refs->lock);
 		ret = PTR_ERR(new_head_ref);
 		goto free_record;
@@ -1145,6 +1120,7 @@ int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
 				u64 bytenr, u64 num_bytes, u8 level,
 				struct btrfs_delayed_extent_op *extent_op)
 {
+	const unsigned long index = (bytenr >> trans->fs_info->sectorsize_bits);
 	struct btrfs_delayed_ref_head *head_ref;
 	struct btrfs_delayed_ref_head *head_ref_ret;
 	struct btrfs_delayed_ref_root *delayed_refs;
@@ -1155,6 +1131,7 @@ int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
 		.num_bytes = num_bytes,
 		.tree_ref.level = level,
 	};
+	int ret;
 
 	head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
 	if (!head_ref)
@@ -1164,16 +1141,23 @@ int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
 	head_ref->extent_op = extent_op;
 
 	delayed_refs = &trans->transaction->delayed_refs;
-	spin_lock(&delayed_refs->lock);
 
+	ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
+	if (ret) {
+		kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
+		return ret;
+	}
+
+	spin_lock(&delayed_refs->lock);
 	head_ref_ret = add_delayed_ref_head(trans, head_ref, NULL,
 					    BTRFS_UPDATE_DELAYED_HEAD, NULL);
-	spin_unlock(&delayed_refs->lock);
-
 	if (IS_ERR(head_ref_ret)) {
+		xa_release(&delayed_refs->head_refs, index);
+		spin_unlock(&delayed_refs->lock);
 		kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 		return PTR_ERR(head_ref_ret);
 	}
+	spin_unlock(&delayed_refs->lock);
 
 	/*
 	 * Need to update the delayed_refs_rsv with any changes we may have
diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h
index a878579091e7..4cb7d4475808 100644
--- a/fs/btrfs/delayed-ref.h
+++ b/fs/btrfs/delayed-ref.h
@@ -122,12 +122,6 @@ struct btrfs_delayed_extent_op {
 struct btrfs_delayed_ref_head {
 	u64 bytenr;
 	u64 num_bytes;
-	/*
-	 * For insertion into struct btrfs_delayed_ref_root::href_root.
-	 * Keep it in the same cache line as 'bytenr' for more efficient
-	 * searches in the rbtree.
-	 */
-	struct rb_node href_node;
 	/*
 	 * the mutex is held while running the refs, and it is also
 	 * held when checking the sum of reference modifications.
@@ -191,6 +185,11 @@ struct btrfs_delayed_ref_head {
 	bool is_data;
 	bool is_system;
 	bool processing;
+	/*
+	 * Indicate if it's currently in the data structure that tracks head
+	 * refs (struct btrfs_delayed_ref_root::head_refs).
+	 */
+	bool tracked;
 };
 
 enum btrfs_delayed_ref_flags {
@@ -199,22 +198,27 @@ enum btrfs_delayed_ref_flags {
 };
 
 struct btrfs_delayed_ref_root {
-	/* head ref rbtree */
-	struct rb_root_cached href_root;
-
 	/*
-	 * Track dirty extent records.
+	 * Track head references.
 	 * The keys correspond to the logical address of the extent ("bytenr")
 	 * right shifted by fs_info->sectorsize_bits. This is both to get a more
 	 * dense index space (optimizes xarray structure) and because indexes in
 	 * xarrays are of "unsigned long" type, meaning they are 32 bits wide on
 	 * 32 bits platforms, limiting the extent range to 4G which is too low
 	 * and makes it unusable (truncated index values) on 32 bits platforms.
+	 * Protected by the spinlock 'lock' defined below.
+	 */
+	struct xarray head_refs;
+
+	/*
+	 * Track dirty extent records.
+	 * The keys correspond to the logical address of the extent ("bytenr")
+	 * right shifted by fs_info->sectorsize_bits, for same reasons as above.
 	 */
 	struct xarray dirty_extents;
 
 	/*
-	 * Protects the rbtree href_root, its entries and the following fields:
+	 * Protects the xarray head_refs, its entries and the following fields:
 	 * num_heads, num_heads_ready, pending_csums and run_delayed_start.
 	 */
 	spinlock_t lock;
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index ba87b15efec9..412e318e4a22 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2196,7 +2196,7 @@ int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes)
 		btrfs_create_pending_block_groups(trans);
 
 		spin_lock(&delayed_refs->lock);
-		if (RB_EMPTY_ROOT(&delayed_refs->href_root.rb_root)) {
+		if (xa_empty(&delayed_refs->head_refs)) {
 			spin_unlock(&delayed_refs->lock);
 			return 0;
 		}
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 9ccf68ab53f9..dc0b837efd5d 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -141,8 +141,7 @@ void btrfs_put_transaction(struct btrfs_transaction *transaction)
 	WARN_ON(refcount_read(&transaction->use_count) == 0);
 	if (refcount_dec_and_test(&transaction->use_count)) {
 		BUG_ON(!list_empty(&transaction->list));
-		WARN_ON(!RB_EMPTY_ROOT(
-				&transaction->delayed_refs.href_root.rb_root));
+		WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs));
 		WARN_ON(!xa_empty(&transaction->delayed_refs.dirty_extents));
 		if (transaction->delayed_refs.pending_csums)
 			btrfs_err(transaction->fs_info,
@@ -349,7 +348,7 @@ static noinline int join_transaction(struct btrfs_fs_info *fs_info,
 
 	memset(&cur_trans->delayed_refs, 0, sizeof(cur_trans->delayed_refs));
 
-	cur_trans->delayed_refs.href_root = RB_ROOT_CACHED;
+	xa_init(&cur_trans->delayed_refs.head_refs);
 	xa_init(&cur_trans->delayed_refs.dirty_extents);
 
 	/*
]

40/2 2026/10/19 01:05 tool git-show
0m Args:
map[Commit:69a37a8ba1b4]

Results:
map[Output:commit 69a37a8ba1b408a1c7616494aa7018e4b3844cbe
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date:   Wed Jun 8 15:18:34 2022 -0400

    mm/huge_memory: Fix xarray node memory leak
    
    If xas_split_alloc() fails to allocate the necessary nodes to complete the
    xarray entry split, it sets the xa_state to -ENOMEM, which xas_nomem()
    then interprets as "Please allocate more memory", not as "Please free
    any unnecessary memory" (which was the intended outcome).  It's confusing
    to use xas_nomem() to free memory in this context, so call xas_destroy()
    instead.
    
    Reported-by: syzbot+9e27a75a8c24f3fe75c1@syzkaller.appspotmail.com
    Fixes: 6b24ca4a1a8d ("mm: Use multi-index entries in the page cache")
    Cc: stable@vger.kernel.org
    Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

diff --git a/include/linux/xarray.h b/include/linux/xarray.h
index 72feab5ea8d4..c29e11b2c073 100644
--- a/include/linux/xarray.h
+++ b/include/linux/xarray.h
@@ -1508,6 +1508,7 @@ void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t);
 void xas_init_marks(const struct xa_state *);
 
 bool xas_nomem(struct xa_state *, gfp_t);
+void xas_destroy(struct xa_state *);
 void xas_pause(struct xa_state *);
 
 void xas_create_range(struct xa_state *);
diff --git a/lib/xarray.c b/lib/xarray.c
index 54e646e8e6ee..ea9ce1f0b386 100644
--- a/lib/xarray.c
+++ b/lib/xarray.c
@@ -264,9 +264,10 @@ static void xa_node_free(struct xa_node *node)
  * xas_destroy() - Free any resources allocated during the XArray operation.
  * @xas: XArray operation state.
  *
- * This function is now internal-only.
+ * Most users will not need to call this function; it is called for you
+ * by xas_nomem().
  */
-static void xas_destroy(struct xa_state *xas)
+void xas_destroy(struct xa_state *xas)
 {
 	struct xa_node *next, *node = xas->xa_alloc;
 
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index a77c78a2b6b5..f7248002dad9 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -2672,8 +2672,7 @@ int split_huge_page_to_list(struct page *page, struct list_head *list)
 	if (mapping)
 		i_mmap_unlock_read(mapping);
 out:
-	/* Free any memory we didn't use */
-	xas_nomem(&xas, 0);
+	xas_destroy(&xas);
 	count_vm_event(!ret ? THP_SPLIT_PAGE : THP_SPLIT_PAGE_FAILED);
 	return ret;
 }
]

41/2 2026/10/19 01:05 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 57957
							output: 50
							thoughts: 3028
						

Thoughts:
**My Thought Process Unraveling a Btrfs Memory Leak**

Wait a second! I was just examining the commit `928ed1349dd7` titled "btrfs: track delayed ref heads in an xarray", and I think I've spotted a couple of bugs related to how `head_refs` is being used in `fs/btrfs/delayed-ref.c`. Let me trace through this.

First, let's look at `add_delayed_ref`. It calls `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`. If this fails and returns an error, it's supposed to clean up by calling `xa_release(&delayed_refs->dirty_extents, index)` if `qrecord_reserved` is true. This seems straightforward enough.

Now, consider `add_delayed_ref_head`. It first tries to load an existing entry using `xa_load`. If one exists, it updates it and frees the newly allocated `head_ref`. If not, it proceeds to store the new `head_ref` using `xa_store`.

Here's where my alarm bells start ringing. What if two threads call `add_delayed_ref` for the *same* `index` concurrently? Or, more importantly, what if `xa_reserve` is called when `head_refs` doesn't yet contain `index`? My concern is around the timing of the lock acquisition and the potential for intermediate states.

Let's re-evaluate. In `add_delayed_ref`, `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` is called *before* `spin_lock(&delayed_refs->lock)`. If `index` was not already present in `head_refs`, `xa_reserve` will, as part of its operation, place a `XA_ZERO_ENTRY` at that `index`. Then, the lock is acquired, and `add_delayed_ref_head` is called.

Inside `add_delayed_ref_head`:
*   If `qrecord` is non-NULL and `btrfs_qgroup_trace_extent_nolock` returns an error, the function returns `ERR_PTR(ret)`, and the caller will then execute `xa_release(&delayed_refs->head_refs, index)`.
*   Otherwise, `xa_load(&delayed_refs->head_refs, index)` is called. Crucially, if `XA_ZERO_ENTRY` was placed by `xa_reserve`, `xa_load` will return `NULL`. In this case, `xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC)` is called, effectively replacing the `XA_ZERO_ENTRY` with the actual `head_ref`.
*   Later, when `head_ref` is removed by `btrfs_delete_ref_head`, `xa_erase(&delayed_refs->head_refs, index)` is called. This sets the entry to `NULL` and, importantly, can free underlying `xa_node`s if they become unused.

But what happens if `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` *itself* fails with `-ENOMEM`, as the bug report indicates? Or what if `head_refs` already contained other entries, and `xa_reserve` fails with `-ENOMEM` during its tree expansion?

Let's dive into the specific bug report. The trace clearly shows:
1.  `add_delayed_ref` at `fs/btrfs/delayed-ref.c:1073` calls `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`.
2.  The call trace points to `__xas_nomem` within `xa_reserve` failing due to `should_failslab` and `kmem_cache_alloc_lru` returning `NULL`, ultimately causing `xa_reserve` to return `-ENOMEM`.

Now, let's trace the state of `delayed_refs->head_refs` at this point. The XArray's `xa_reserve` function, when allocating nodes for a new index that requires tree expansion, might allocate intermediate `xa_node`s. If `kmem_cache_alloc_lru` fails during the allocation of a lower-level node (e.g., the leaf node), but *after* higher-level nodes (e.g., root or intermediate nodes) have already been allocated and linked into the structure, those partially allocated nodes will remain attached to `delayed_refs->head_refs`.

Specifically, an intermediate `xa_node` that was allocated might have its `count` as 0, and all its `slots[]` pointing to `NULL`. If it has a parent node, that parent's `count` would be incremented to point to this empty child node.

Following the crash, the transaction is aborted with `-ENOMEM`. The kernel then enters `cleanup_transaction`, which eventually calls `btrfs_destroy_delayed_refs`. This function iterates through `delayed_refs->head_refs` and calls `xa_erase` on each present entry.

Here's the critical part: If `delayed_refs->head_refs` contains only these partially allocated, empty `xa_node`s (because `xa_reserve` failed before any actual data was stored), `xa_find` might not find any actual entries to erase. Even if it *does* find entries, `xa_erase` only frees nodes if their `count` drops to zero. If an empty `xa_node` was attached as a child, and its parent's `count` remains 1 (because it's still pointing to the empty child, even if there are no other actual entries), neither the empty child nor the parent node will be freed by `xa_erase`.

Furthermore, `btrfs_destroy_delayed_refs` (or `btrfs_put_transaction`) never calls `xa_destroy(&delayed_refs->head_refs)`. This means there's no mechanism to reclaim these lingering, partially allocated `xa_node`s if they are not explicitly erased.

This leads me to believe that these uncleaned-up `xa_node`s are being leaked. I'm curious to see how `dirty_extents` is handled in `btrfs_qgroup_destroy_extent_records` to compare cleanup mechanisms.


42/2 2026/10/19 01:05 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/btrfs/qgroup.c Name:btrfs_qgroup_destroy_extent_records]

Results:
map[SourceCode:4924:	void btrfs_qgroup_destroy_extent_records(struct btrfs_transaction *trans)
4925:	{
4926:		struct btrfs_qgroup_extent_record *entry;
4927:		unsigned long index;
4928:	
4929:		xa_for_each(&trans->delayed_refs.dirty_extents, index, entry) {
4930:			ulist_free(entry->old_roots);
4931:			kfree(entry);
4932:		}
4933:		xa_destroy(&trans->delayed_refs.dirty_extents);
4934:	}
 SourceFile:fs/btrfs/qgroup.c]

43/2 2026/10/19 01:05 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 61241
							output: 44
							thoughts: 175
						

Thoughts:
**My Thought Process Unpacking `btrfs_qgroup_destroy_extent_records`**

Aha! My attention has been drawn to the `btrfs_qgroup_destroy_extent_records` function. I'm immediately intrigued by its purpose – it's clearly involved in cleaning up some form of "extent records" related to qgroups within a transaction.

Let's dive into the code snippet:

```c
void btrfs_qgroup_destroy_extent_records(struct btrfs_transaction *trans)
{
	struct btrfs_qgroup_extent_record *entry;
	unsigned long index;

	xa_for_each(&trans->delayed_refs.dirty_extents, index, entry) {
		ulist_free(entry->old_roots);
		kfree(entry);
	}
	xa_destroy(&trans->delayed_refs.dirty_extents);
}
```

My immediate reaction is to analyze the core loop: `xa_for_each(&trans->delayed_refs.dirty_extents, index, entry)`. This tells me that `dirty_extents` is an XArray (indicated by `xa_for_each` and `xa_destroy`) within the `delayed_refs` structure of a `btrfs_transaction`. The loop iterates over each `btrfs_qgroup_extent_record` within this XArray.

For each `entry` (which is a `btrfs_qgroup_extent_record`), I see two cleanup operations: `ulist_free(entry->old_roots)` and `kfree(entry)`. This implies that each `btrfs_qgroup_extent_record` likely contains a dynamically allocated list or array (`old_roots`) that needs to be freed before the record itself can be deallocated with `kfree`.

Finally, the function concludes with `xa_destroy(&trans->delayed_refs.dirty_extents)`. This is the crucial part that confirms my initial suspicion: this function is responsible for completely dismantling and freeing all memory associated with the `dirty_extents` XArray.

Now, this function is clearly a cleanup path. My next logical step, as an expert in this domain, is to understand *when* this cleanup occurs. Is this a dedicated error handling path, or is it part of a normal transaction commit?

This leads me to my next crucial line of inquiry: I need to examine where `dirty_extents` is populated and, more importantly, where it's cleaned up during a *normal* transaction commit. I'll be looking for functions like `btrfs_finish_extent_commit` or similar completion routines. My goal is to understand the full lifecycle of `dirty_extents` and ensure that its cleanup is handled consistently, whether during error conditions or successful commits. To do this comprehensively, I will meticulously check *all* references to `dirty_extents` throughout the btrfs code.


44/2 2026/10/19 01:06 tool codesearch-find-references
0m Args:
map[IncludeSnippetLines:20 Name:btrfs_delayed_ref_root::dirty_extents]

Results:
map[References:[map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref SourceFile:fs/btrfs/delayed-ref.c SourceLine:1066 SourceSnippet:1046:		int ret;
1047:	
1048:		node = kmem_cache_alloc(btrfs_delayed_ref_node_cachep, GFP_NOFS);
1049:		if (!node)
1050:			return -ENOMEM;
1051:	
1052:		head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
1053:		if (!head_ref) {
1054:			ret = -ENOMEM;
1055:			goto free_node;
1056:		}
1057:	
1058:		delayed_refs = &trans->transaction->delayed_refs;
1059:	
1060:		if (btrfs_qgroup_full_accounting(fs_info) && !generic_ref->skip_qgroup) {
1061:			record = kzalloc_obj(*record, GFP_NOFS);
1062:			if (!record) {
1063:				ret = -ENOMEM;
1064:				goto free_head_ref;
1065:			}
1066:			if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
1067:				ret = -ENOMEM;
1068:				goto free_record;
1069:			}
1070:			qrecord_reserved = true;
1071:		}
1072:	
1073:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1074:		if (ret) {
1075:			if (qrecord_reserved)
1076:				xa_release(&delayed_refs->dirty_extents, index);
1077:			goto free_record;
1078:		}
1079:	
1080:		init_delayed_ref_common(fs_info, node, generic_ref);
1081:		init_delayed_ref_head(head_ref, generic_ref, record, reserved);
1082:		head_ref->extent_op = extent_op;
1083:	
1084:		spin_lock(&delayed_refs->lock);
1085:	
1086:		/*
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref SourceFile:fs/btrfs/delayed-ref.c SourceLine:1076 SourceSnippet:1056:		}
1057:	
1058:		delayed_refs = &trans->transaction->delayed_refs;
1059:	
1060:		if (btrfs_qgroup_full_accounting(fs_info) && !generic_ref->skip_qgroup) {
1061:			record = kzalloc_obj(*record, GFP_NOFS);
1062:			if (!record) {
1063:				ret = -ENOMEM;
1064:				goto free_head_ref;
1065:			}
1066:			if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
1067:				ret = -ENOMEM;
1068:				goto free_record;
1069:			}
1070:			qrecord_reserved = true;
1071:		}
1072:	
1073:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1074:		if (ret) {
1075:			if (qrecord_reserved)
1076:				xa_release(&delayed_refs->dirty_extents, index);
1077:			goto free_record;
1078:		}
1079:	
1080:		init_delayed_ref_common(fs_info, node, generic_ref);
1081:		init_delayed_ref_head(head_ref, generic_ref, record, reserved);
1082:		head_ref->extent_op = extent_op;
1083:	
1084:		spin_lock(&delayed_refs->lock);
1085:	
1086:		/*
1087:		 * insert both the head node and the new ref without dropping
1088:		 * the spin lock
1089:		 */
1090:		new_head_ref = add_delayed_ref_head(trans, head_ref, record,
1091:						    action, &qrecord_inserted);
1092:		if (IS_ERR(new_head_ref)) {
1093:			xa_release(&delayed_refs->head_refs, index);
1094:			spin_unlock(&delayed_refs->lock);
1095:			ret = PTR_ERR(new_head_ref);
1096:	
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:add_delayed_ref_head SourceFile:fs/btrfs/delayed-ref.c SourceLine:890 SourceSnippet: 870:				     head_ref->bytenr);
 871:			btrfs_err_32bit_limit(fs_info);
 872:			return ERR_PTR(-EOVERFLOW);
 873:		}
 874:	#endif
 875:	
 876:		/* Record qgroup extent info if provided */
 877:		if (qrecord) {
 878:			/*
 879:			 * Setting 'qrecord' but not 'qrecord_inserted_ret' will likely
 880:			 * result in a memory leakage.
 881:			 */
 882:			ASSERT(qrecord_inserted_ret != NULL);
 883:	
 884:			int ret;
 885:	
 886:			ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, qrecord,
 887:							       head_ref->bytenr);
 888:			if (ret) {
 889:				/* Clean up if insertion fails or item exists. */
 890:				xa_release(&delayed_refs->dirty_extents, index);
 891:				if (ret < 0)
 892:					return ERR_PTR(ret);
 893:			} else if (qrecord_inserted_ret) {
 894:				*qrecord_inserted_ret = true;
 895:			}
 896:		}
 897:	
 898:		trace_add_delayed_ref_head(fs_info, head_ref, action);
 899:	
 900:		existing = xa_load(&delayed_refs->head_refs, index);
 901:		if (existing) {
 902:			update_existing_head_ref(trans, existing, head_ref);
 903:			/*
 904:			 * we've updated the existing ref, free the newly
 905:			 * allocated ref
 906:			 */
 907:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
 908:			head_ref = existing;
 909:		} else {
 910:			existing = xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_put_transaction SourceFile:fs/btrfs/transaction.c SourceLine:147 SourceSnippet: 142:	void btrfs_put_transaction(struct btrfs_transaction *transaction)
 143:	{
 144:		if (refcount_dec_and_test(&transaction->use_count)) {
 145:			BUG_ON(!list_empty(&transaction->list));
 146:			WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs));
 147:			WARN_ON(!xa_empty(&transaction->delayed_refs.dirty_extents));
 148:			if (transaction->delayed_refs.pending_csums)
 149:				btrfs_err(transaction->fs_info,
 150:					  "pending csums is %llu",
 151:					  transaction->delayed_refs.pending_csums);
 152:			/*
 153:			 * If any block groups are found in ->deleted_bgs then it's
 154:			 * because the transaction was aborted and a commit did not
 155:			 * happen (things failed before writing the new superblock
 156:			 * and calling btrfs_finish_extent_commit()), so we can not
 157:			 * discard the physical locations of the block groups.
 158:			 */
 159:			while (!list_empty(&transaction->deleted_bgs)) {
 160:				struct btrfs_block_group *cache;
 161:	
 162:				cache = list_first_entry(&transaction->deleted_bgs,
 163:							 struct btrfs_block_group,
 164:							 bg_list);
 165:				/*
 166:				 * Not strictly necessary to lock, as no other task will be using a
 167:				 * block_group on the deleted_bgs list during a transaction abort.
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_account_extents SourceFile:fs/btrfs/qgroup.c SourceLine:3041 SourceSnippet:3025:	int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans)
3026:	{
3027:		struct btrfs_fs_info *fs_info = trans->fs_info;
3028:		struct btrfs_qgroup_extent_record *record;
3029:		struct btrfs_delayed_ref_root *delayed_refs;
3030:		struct ulist *new_roots = NULL;
3031:		unsigned long index;
3032:		u64 num_dirty_extents = 0;
3033:		u64 qgroup_to_skip;
3034:		int ret = 0;
3035:	
3036:		if (btrfs_qgroup_mode(fs_info) == BTRFS_QGROUP_MODE_SIMPLE)
3037:			return 0;
3038:	
3039:		delayed_refs = &trans->transaction->delayed_refs;
3040:		qgroup_to_skip = delayed_refs->qgroup_to_skip;
3041:		xa_for_each(&delayed_refs->dirty_extents, index, record) {
3042:			const u64 bytenr = (((u64)index) << fs_info->sectorsize_bits);
3043:	
3044:			num_dirty_extents++;
3045:			trace_btrfs_qgroup_account_extents(fs_info, record, bytenr);
3046:	
3047:			if (!ret && !(fs_info->qgroup_flags &
3048:				      BTRFS_QGROUP_RUNTIME_FLAG_NO_ACCOUNTING)) {
3049:				struct btrfs_backref_walk_ctx ctx = { 0 };
3050:	
3051:				ctx.bytenr = bytenr;
3052:				ctx.fs_info = fs_info;
3053:	
3054:				/*
3055:				 * Old roots should be searched when inserting qgroup
3056:				 * extent record.
3057:				 *
3058:				 * But for INCONSISTENT (NO_ACCOUNTING) -> rescan case,
3059:				 * we may have some record inserted during
3060:				 * NO_ACCOUNTING (thus no old_roots populated), but
3061:				 * later we start rescan, which clears NO_ACCOUNTING,
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_account_extents SourceFile:fs/btrfs/qgroup.c SourceLine:3041 SourceSnippet:3025:	int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans)
3026:	{
3027:		struct btrfs_fs_info *fs_info = trans->fs_info;
3028:		struct btrfs_qgroup_extent_record *record;
3029:		struct btrfs_delayed_ref_root *delayed_refs;
3030:		struct ulist *new_roots = NULL;
3031:		unsigned long index;
3032:		u64 num_dirty_extents = 0;
3033:		u64 qgroup_to_skip;
3034:		int ret = 0;
3035:	
3036:		if (btrfs_qgroup_mode(fs_info) == BTRFS_QGROUP_MODE_SIMPLE)
3037:			return 0;
3038:	
3039:		delayed_refs = &trans->transaction->delayed_refs;
3040:		qgroup_to_skip = delayed_refs->qgroup_to_skip;
3041:		xa_for_each(&delayed_refs->dirty_extents, index, record) {
3042:			const u64 bytenr = (((u64)index) << fs_info->sectorsize_bits);
3043:	
3044:			num_dirty_extents++;
3045:			trace_btrfs_qgroup_account_extents(fs_info, record, bytenr);
3046:	
3047:			if (!ret && !(fs_info->qgroup_flags &
3048:				      BTRFS_QGROUP_RUNTIME_FLAG_NO_ACCOUNTING)) {
3049:				struct btrfs_backref_walk_ctx ctx = { 0 };
3050:	
3051:				ctx.bytenr = bytenr;
3052:				ctx.fs_info = fs_info;
3053:	
3054:				/*
3055:				 * Old roots should be searched when inserting qgroup
3056:				 * extent record.
3057:				 *
3058:				 * But for INCONSISTENT (NO_ACCOUNTING) -> rescan case,
3059:				 * we may have some record inserted during
3060:				 * NO_ACCOUNTING (thus no old_roots populated), but
3061:				 * later we start rescan, which clears NO_ACCOUNTING,
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_account_extents SourceFile:fs/btrfs/qgroup.c SourceLine:3109 SourceSnippet:3089:					ulist_del(new_roots, qgroup_to_skip, 0);
3090:					ulist_del(record->old_roots, qgroup_to_skip,
3091:						  0);
3092:				}
3093:				ret = btrfs_qgroup_account_extent(trans, bytenr,
3094:								  record->num_bytes,
3095:								  record->old_roots,
3096:								  new_roots);
3097:				record->old_roots = NULL;
3098:				new_roots = NULL;
3099:			}
3100:			/* Free the reserved data space */
3101:			btrfs_qgroup_free_refroot(fs_info,
3102:					record->data_rsv_refroot,
3103:					record->data_rsv,
3104:					BTRFS_QGROUP_RSV_DATA);
3105:	cleanup:
3106:			ulist_free(record->old_roots);
3107:			ulist_free(new_roots);
3108:			new_roots = NULL;
3109:			xa_erase(&delayed_refs->dirty_extents, index);
3110:			kfree(record);
3111:	
3112:		}
3113:		trace_btrfs_qgroup_num_dirty_extents(fs_info, trans->transid, num_dirty_extents);
3114:		return ret;
3115:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_destroy_extent_records SourceFile:fs/btrfs/qgroup.c SourceLine:4929 SourceSnippet:4924:	void btrfs_qgroup_destroy_extent_records(struct btrfs_transaction *trans)
4925:	{
4926:		struct btrfs_qgroup_extent_record *entry;
4927:		unsigned long index;
4928:	
4929:		xa_for_each(&trans->delayed_refs.dirty_extents, index, entry) {
4930:			ulist_free(entry->old_roots);
4931:			kfree(entry);
4932:		}
4933:		xa_destroy(&trans->delayed_refs.dirty_extents);
4934:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_destroy_extent_records SourceFile:fs/btrfs/qgroup.c SourceLine:4929 SourceSnippet:4924:	void btrfs_qgroup_destroy_extent_records(struct btrfs_transaction *trans)
4925:	{
4926:		struct btrfs_qgroup_extent_record *entry;
4927:		unsigned long index;
4928:	
4929:		xa_for_each(&trans->delayed_refs.dirty_extents, index, entry) {
4930:			ulist_free(entry->old_roots);
4931:			kfree(entry);
4932:		}
4933:		xa_destroy(&trans->delayed_refs.dirty_extents);
4934:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_destroy_extent_records SourceFile:fs/btrfs/qgroup.c SourceLine:4933 SourceSnippet:4924:	void btrfs_qgroup_destroy_extent_records(struct btrfs_transaction *trans)
4925:	{
4926:		struct btrfs_qgroup_extent_record *entry;
4927:		unsigned long index;
4928:	
4929:		xa_for_each(&trans->delayed_refs.dirty_extents, index, entry) {
4930:			ulist_free(entry->old_roots);
4931:			kfree(entry);
4932:		}
4933:		xa_destroy(&trans->delayed_refs.dirty_extents);
4934:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent SourceFile:fs/btrfs/qgroup.c SourceLine:2172 SourceSnippet:2152:	 *
2153:	 * Return 0 if the operation is done.
2154:	 * Return <0 for error, like memory allocation failure or invalid parameter
2155:	 * (NULL trans)
2156:	 */
2157:	int btrfs_qgroup_trace_extent(struct btrfs_trans_handle *trans, u64 bytenr,
2158:				      u64 num_bytes)
2159:	{
2160:		struct btrfs_fs_info *fs_info = trans->fs_info;
2161:		struct btrfs_qgroup_extent_record *record;
2162:		struct btrfs_delayed_ref_root *delayed_refs = &trans->transaction->delayed_refs;
2163:		const unsigned long index = (bytenr >> fs_info->sectorsize_bits);
2164:		int ret;
2165:	
2166:		if (!btrfs_qgroup_full_accounting(fs_info) || bytenr == 0 || num_bytes == 0)
2167:			return 0;
2168:		record = kzalloc_obj(*record, GFP_NOFS);
2169:		if (!record)
2170:			return -ENOMEM;
2171:	
2172:		if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
2173:			kfree(record);
2174:			return -ENOMEM;
2175:		}
2176:	
2177:		record->num_bytes = num_bytes;
2178:	
2179:		ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, record, bytenr);
2180:		if (ret) {
2181:			/* Clean up if insertion fails or item exists. */
2182:			xa_release(&delayed_refs->dirty_extents, index);
2183:			kfree(record);
2184:			return 0;
2185:		}
2186:		return btrfs_qgroup_trace_extent_post(trans, record, bytenr);
2187:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent SourceFile:fs/btrfs/qgroup.c SourceLine:2182 SourceSnippet:2162:		struct btrfs_delayed_ref_root *delayed_refs = &trans->transaction->delayed_refs;
2163:		const unsigned long index = (bytenr >> fs_info->sectorsize_bits);
2164:		int ret;
2165:	
2166:		if (!btrfs_qgroup_full_accounting(fs_info) || bytenr == 0 || num_bytes == 0)
2167:			return 0;
2168:		record = kzalloc_obj(*record, GFP_NOFS);
2169:		if (!record)
2170:			return -ENOMEM;
2171:	
2172:		if (xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)) {
2173:			kfree(record);
2174:			return -ENOMEM;
2175:		}
2176:	
2177:		record->num_bytes = num_bytes;
2178:	
2179:		ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, record, bytenr);
2180:		if (ret) {
2181:			/* Clean up if insertion fails or item exists. */
2182:			xa_release(&delayed_refs->dirty_extents, index);
2183:			kfree(record);
2184:			return 0;
2185:		}
2186:		return btrfs_qgroup_trace_extent_post(trans, record, bytenr);
2187:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent_nolock SourceFile:fs/btrfs/qgroup.c SourceLine:2047 SourceSnippet:2027:					     u64 bytenr)
2028:	{
2029:		struct btrfs_qgroup_extent_record *existing, *ret;
2030:		const unsigned long index = (bytenr >> fs_info->sectorsize_bits);
2031:	
2032:		if (!btrfs_qgroup_full_accounting(fs_info))
2033:			return 1;
2034:	
2035:	#if BITS_PER_LONG == 32
2036:		if (bytenr >= MAX_LFS_FILESIZE) {
2037:			btrfs_err_rl(fs_info,
2038:	"qgroup record for extent at %llu is beyond 32bit page cache and xarray index limit",
2039:				     bytenr);
2040:			btrfs_err_32bit_limit(fs_info);
2041:			return -EOVERFLOW;
2042:		}
2043:	#endif
2044:	
2045:		trace_btrfs_qgroup_trace_extent(fs_info, record, bytenr);
2046:	
2047:		xa_lock(&delayed_refs->dirty_extents);
2048:		existing = xa_load(&delayed_refs->dirty_extents, index);
2049:		if (existing) {
2050:			if (record->data_rsv && !existing->data_rsv) {
2051:				existing->data_rsv = record->data_rsv;
2052:				existing->data_rsv_refroot = record->data_rsv_refroot;
2053:			}
2054:			xa_unlock(&delayed_refs->dirty_extents);
2055:			return 1;
2056:		}
2057:	
2058:		ret = __xa_store(&delayed_refs->dirty_extents, index, record, GFP_ATOMIC);
2059:		xa_unlock(&delayed_refs->dirty_extents);
2060:		if (xa_is_err(ret)) {
2061:			qgroup_mark_inconsistent(fs_info, "xarray insert error: %d", xa_err(ret));
2062:			return xa_err(ret);
2063:		}
2064:	
2065:		return 0;
2066:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent_nolock SourceFile:fs/btrfs/qgroup.c SourceLine:2048 SourceSnippet:2028:	{
2029:		struct btrfs_qgroup_extent_record *existing, *ret;
2030:		const unsigned long index = (bytenr >> fs_info->sectorsize_bits);
2031:	
2032:		if (!btrfs_qgroup_full_accounting(fs_info))
2033:			return 1;
2034:	
2035:	#if BITS_PER_LONG == 32
2036:		if (bytenr >= MAX_LFS_FILESIZE) {
2037:			btrfs_err_rl(fs_info,
2038:	"qgroup record for extent at %llu is beyond 32bit page cache and xarray index limit",
2039:				     bytenr);
2040:			btrfs_err_32bit_limit(fs_info);
2041:			return -EOVERFLOW;
2042:		}
2043:	#endif
2044:	
2045:		trace_btrfs_qgroup_trace_extent(fs_info, record, bytenr);
2046:	
2047:		xa_lock(&delayed_refs->dirty_extents);
2048:		existing = xa_load(&delayed_refs->dirty_extents, index);
2049:		if (existing) {
2050:			if (record->data_rsv && !existing->data_rsv) {
2051:				existing->data_rsv = record->data_rsv;
2052:				existing->data_rsv_refroot = record->data_rsv_refroot;
2053:			}
2054:			xa_unlock(&delayed_refs->dirty_extents);
2055:			return 1;
2056:		}
2057:	
2058:		ret = __xa_store(&delayed_refs->dirty_extents, index, record, GFP_ATOMIC);
2059:		xa_unlock(&delayed_refs->dirty_extents);
2060:		if (xa_is_err(ret)) {
2061:			qgroup_mark_inconsistent(fs_info, "xarray insert error: %d", xa_err(ret));
2062:			return xa_err(ret);
2063:		}
2064:	
2065:		return 0;
2066:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent_nolock SourceFile:fs/btrfs/qgroup.c SourceLine:2054 SourceSnippet:2034:	
2035:	#if BITS_PER_LONG == 32
2036:		if (bytenr >= MAX_LFS_FILESIZE) {
2037:			btrfs_err_rl(fs_info,
2038:	"qgroup record for extent at %llu is beyond 32bit page cache and xarray index limit",
2039:				     bytenr);
2040:			btrfs_err_32bit_limit(fs_info);
2041:			return -EOVERFLOW;
2042:		}
2043:	#endif
2044:	
2045:		trace_btrfs_qgroup_trace_extent(fs_info, record, bytenr);
2046:	
2047:		xa_lock(&delayed_refs->dirty_extents);
2048:		existing = xa_load(&delayed_refs->dirty_extents, index);
2049:		if (existing) {
2050:			if (record->data_rsv && !existing->data_rsv) {
2051:				existing->data_rsv = record->data_rsv;
2052:				existing->data_rsv_refroot = record->data_rsv_refroot;
2053:			}
2054:			xa_unlock(&delayed_refs->dirty_extents);
2055:			return 1;
2056:		}
2057:	
2058:		ret = __xa_store(&delayed_refs->dirty_extents, index, record, GFP_ATOMIC);
2059:		xa_unlock(&delayed_refs->dirty_extents);
2060:		if (xa_is_err(ret)) {
2061:			qgroup_mark_inconsistent(fs_info, "xarray insert error: %d", xa_err(ret));
2062:			return xa_err(ret);
2063:		}
2064:	
2065:		return 0;
2066:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent_nolock SourceFile:fs/btrfs/qgroup.c SourceLine:2058 SourceSnippet:2038:	"qgroup record for extent at %llu is beyond 32bit page cache and xarray index limit",
2039:				     bytenr);
2040:			btrfs_err_32bit_limit(fs_info);
2041:			return -EOVERFLOW;
2042:		}
2043:	#endif
2044:	
2045:		trace_btrfs_qgroup_trace_extent(fs_info, record, bytenr);
2046:	
2047:		xa_lock(&delayed_refs->dirty_extents);
2048:		existing = xa_load(&delayed_refs->dirty_extents, index);
2049:		if (existing) {
2050:			if (record->data_rsv && !existing->data_rsv) {
2051:				existing->data_rsv = record->data_rsv;
2052:				existing->data_rsv_refroot = record->data_rsv_refroot;
2053:			}
2054:			xa_unlock(&delayed_refs->dirty_extents);
2055:			return 1;
2056:		}
2057:	
2058:		ret = __xa_store(&delayed_refs->dirty_extents, index, record, GFP_ATOMIC);
2059:		xa_unlock(&delayed_refs->dirty_extents);
2060:		if (xa_is_err(ret)) {
2061:			qgroup_mark_inconsistent(fs_info, "xarray insert error: %d", xa_err(ret));
2062:			return xa_err(ret);
2063:		}
2064:	
2065:		return 0;
2066:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:btrfs_qgroup_trace_extent_nolock SourceFile:fs/btrfs/qgroup.c SourceLine:2059 SourceSnippet:2039:				     bytenr);
2040:			btrfs_err_32bit_limit(fs_info);
2041:			return -EOVERFLOW;
2042:		}
2043:	#endif
2044:	
2045:		trace_btrfs_qgroup_trace_extent(fs_info, record, bytenr);
2046:	
2047:		xa_lock(&delayed_refs->dirty_extents);
2048:		existing = xa_load(&delayed_refs->dirty_extents, index);
2049:		if (existing) {
2050:			if (record->data_rsv && !existing->data_rsv) {
2051:				existing->data_rsv = record->data_rsv;
2052:				existing->data_rsv_refroot = record->data_rsv_refroot;
2053:			}
2054:			xa_unlock(&delayed_refs->dirty_extents);
2055:			return 1;
2056:		}
2057:	
2058:		ret = __xa_store(&delayed_refs->dirty_extents, index, record, GFP_ATOMIC);
2059:		xa_unlock(&delayed_refs->dirty_extents);
2060:		if (xa_is_err(ret)) {
2061:			qgroup_mark_inconsistent(fs_info, "xarray insert error: %d", xa_err(ret));
2062:			return xa_err(ret);
2063:		}
2064:	
2065:		return 0;
2066:	}
] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:join_transaction SourceFile:fs/btrfs/transaction.c SourceLine:363 SourceSnippet: 343:	
 344:		cur_trans->fs_info = fs_info;
 345:		atomic_set(&cur_trans->pending_ordered, 0);
 346:		init_waitqueue_head(&cur_trans->pending_wait);
 347:		atomic_set(&cur_trans->num_writers, 1);
 348:		extwriter_counter_init(cur_trans, type);
 349:		init_waitqueue_head(&cur_trans->writer_wait);
 350:		init_waitqueue_head(&cur_trans->commit_wait);
 351:		cur_trans->state = TRANS_STATE_RUNNING;
 352:		/*
 353:		 * One for this trans handle, one so it will live on until we
 354:		 * commit the transaction.
 355:		 */
 356:		refcount_set(&cur_trans->use_count, 2);
 357:		cur_trans->flags = 0;
 358:		cur_trans->start_time = ktime_get_seconds();
 359:	
 360:		memset(&cur_trans->delayed_refs, 0, sizeof(cur_trans->delayed_refs));
 361:	
 362:		xa_init(&cur_trans->delayed_refs.head_refs);
 363:		xa_init(&cur_trans->delayed_refs.dirty_extents);
 364:	
 365:		/*
 366:		 * although the tree mod log is per file system and not per transaction,
 367:		 * the log must never go across transaction boundaries.
 368:		 */
 369:		smp_mb();
 370:		if (!list_empty(&fs_info->tree_mod_seq_list))
 371:			WARN(1, KERN_ERR "BTRFS: tree_mod_seq_list not empty when creating a fresh transaction\n");
 372:		if (!RB_EMPTY_ROOT(&fs_info->tree_mod_log))
 373:			WARN(1, KERN_ERR "BTRFS: tree_mod_log rb tree not empty when creating a fresh transaction\n");
 374:		atomic64_set(&fs_info->tree_mod_seq, 0);
 375:	
 376:		spin_lock_init(&cur_trans->delayed_refs.lock);
 377:	
 378:		INIT_LIST_HEAD(&cur_trans->pending_snapshots);
 379:		INIT_LIST_HEAD(&cur_trans->dev_update_list);
 380:		INIT_LIST_HEAD(&cur_trans->switch_commits);
 381:		INIT_LIST_HEAD(&cur_trans->dirty_bgs);
 382:		INIT_LIST_HEAD(&cur_trans->io_bgs);
 383:		INIT_LIST_HEAD(&cur_trans->dropped_roots);
]] TruncatedOutput:false]

45/2 2026/10/19 01:06 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 71685
							output: 43
							thoughts: 3001
						

Thoughts:
**The Root of the Problem: Leaky `xa_node`s in `head_refs` During Failed Allocations**

I've been digging into a particularly vexing issue where `btrfs_put_transaction` is warning that `head_refs` isn't empty, even though `btrfs_destroy_delayed_refs` should have cleaned it up. This is happening specifically when an allocation within `add_delayed_ref` fails due to `failslab`.

My initial thought was to compare how `btrfs_qgroup_destroy_extent_records` and `btrfs_destroy_delayed_refs` handle cleanup. I noticed that `btrfs_qgroup_destroy_extent_records` correctly calls `xa_destroy` on its `dirty_extents` xarray, which would free any residual `xa_node`s. However, `btrfs_destroy_delayed_refs` *doesn't* call `xa_destroy` on `delayed_refs->head_refs`. This was the first clue that something might be amiss there.

Then, I focused on *why* `!xa_empty(&transaction->delayed_refs.head_refs)` would be true in `btrfs_put_transaction`. This led me down two primary investigative paths.

**Possibility A: A Failed `xa_reserve` Leaving Behind Stray `xa_node`s**

This path felt the most direct, and after careful tracing, I'm increasingly convinced it's the correct explanation. When `add_delayed_ref` calls `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`, here's what I believe is happening:

1.  **Partial Allocation:** `xa_reserve` attempts to create the necessary `xa_node`s for the xarray. For a given `index`, it might successfully allocate an upper-level `xa_node` (e.g., for `shift = 12`). This node is then linked into `head_refs`.
2.  **Allocation Failure:** Subsequently, when `xa_reserve` tries to allocate a lower-level `xa_node` (e.g., for `shift = 6` or `0`), the `kmem_cache_alloc_lru` call fails, likely due to `failslab` in the bug report. This failure propagates back up, causing `xa_reserve` to return `-ENOMEM`.
3.  **Lingering Node:** Crucially, the `xa_node` that was *already allocated and linked* for the upper level remains in `head_refs`. Since the allocation for the specific `index` ultimately failed, `xa_find` (which is used in `btrfs_destroy_delayed_refs`) will never traverse to this partially allocated node. Consequently, `xa_erase` is never called on it.
4.  **Incomplete Cleanup:** When `btrfs_destroy_delayed_refs` is later called during transaction cleanup, it iterates through and erases existing entries using `xa_erase`. However, it *doesn't* call `xa_destroy(&delayed_refs->head_refs)`. This means the stray, partially allocated `xa_node` is never freed.
5.  **The Warning:** Finally, in `btrfs_put_transaction`, the `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` check fails because `head_refs.xa_head` still points to this uncleaned `xa_node`, triggering the warning.

This scenario perfectly explains the bug report's deterministic nature: a specific sequence of events involving `xa_reserve` failing after a partial allocation, combined with the lack of a full `xa_destroy` in the cleanup path.

**Possibility B: Race Conditions with `add_delayed_ref` and `btrfs_delete_ref_head`**

While Possibility A seems to be the primary culprit, I also considered other ways `head_refs` might not be empty. I explored potential race conditions between multiple threads calling `add_delayed_ref` for the same `index`, or between `add_delayed_ref` and `btrfs_delete_ref_head`.

My analysis here suggested that the `xa_cmpxchg` in `xa_reserve` and the spinlock protection around `add_delayed_ref_head` are designed to prevent concurrent modifications to the *same* `index` from corrupting the xarray. For instance, if `index` is already present, `xa_reserve` won't allocate a new node. If an `index` has an `XA_ZERO_ENTRY` marker, `xa_load` correctly interprets it as `NULL`.

However, I also thought about a scenario where:
*   Thread 1 calls `xa_reserve(index)`, successfully allocating and linking an `xa_node` for an upper level, but then fails on a lower-level allocation.
*   *Before* Thread 1 can clean up its partial allocation (e.g., via `xa_release` if it were to try), Thread 2 calls `btrfs_delete_ref_head` for that same `index`. `xa_erase` might operate on a node that Thread 1 still "owns" logically.
*   Then, Thread 1 (or another thread) acquires the lock and calls `add_delayed_ref_head`. `xa_load` would see `NULL` (as `xa_erase` removed the entry), and `xa_store` might then re-introduce a node, or potentially fail if the underlying structure was unexpectedly altered.

While these race conditions are complex and worth considering in general, the specific bug report provided points much more strongly to the `failslab` in `xa_reserve` leaving behind a "ghost" `xa_node` that `xa_erase` can't touch because it's not part of a complete, inserted entry. The fact that qgroups aren't even involved and it's a single thread `syz.0.0/5325` further solidifies that the race condition scenario (Possibility B) is less likely to be the *direct cause* of this particular `WARN_ON` in the provided context, though it might exacerbate similar issues in different code paths.

In conclusion, I'm confident that the core issue is the `xa_node` leakage stemming from `xa_reserve`'s partial allocations failing under memory pressure, combined with `btrfs_destroy_delayed_refs` not performing a comprehensive `xa_destroy`.


46/2 2026/10/19 01:06 tool read-file
0m Args:
map[File:fs/btrfs/transaction.c FirstLine:2360 LineCount:60]

Results:
map[Contents:2360:			 */
2361:			if (unlikely(BTRFS_FS_ERROR(fs_info))) {
2362:				spin_unlock(&fs_info->trans_lock);
2363:				ret = -EROFS;
2364:				goto lockdep_release;
2365:			}
2366:		}
2367:	
2368:		cur_trans->state = TRANS_STATE_COMMIT_START;
2369:		trace_btrfs_transaction_commit(trans);
2370:		wake_up(&fs_info->transaction_blocked_wait);
2371:		spin_unlock(&fs_info->trans_lock);
2372:	
2373:		/*
2374:		 * Get the time spent on the work done by the commit thread and not
2375:		 * the time spent waiting on a previous commit
2376:		 */
2377:		fs_info->commit_stats.critical_section_start_time = ktime_get_ns();
2378:		extwriter_counter_dec(cur_trans, trans->type);
2379:	
2380:		ret = btrfs_start_delalloc_flush(fs_info);
2381:		if (unlikely(ret))
2382:			goto lockdep_release;
2383:	
2384:		ret = btrfs_run_delayed_items(trans);
2385:		if (unlikely(ret))
2386:			goto lockdep_release;
2387:	
2388:		/*
2389:		 * The thread has started/joined the transaction thus it holds the
2390:		 * lockdep map as a reader. It has to release it before acquiring the
2391:		 * lockdep map as a writer.
2392:		 */
2393:		btrfs_lockdep_release(fs_info, btrfs_trans_num_extwriters);
2394:		btrfs_might_wait_for_event(fs_info, btrfs_trans_num_extwriters);
2395:		wait_event(cur_trans->writer_wait,
2396:			   extwriter_counter_read(cur_trans) == 0);
2397:	
2398:		/* some pending stuffs might be added after the previous flush. */
2399:		ret = btrfs_run_delayed_items(trans);
2400:		if (unlikely(ret)) {
2401:			btrfs_lockdep_release(fs_info, btrfs_trans_num_writers);
2402:			goto cleanup_transaction;
2403:		}
2404:	
2405:		btrfs_wait_delalloc_flush(fs_info);
2406:	
2407:		/*
2408:		 * Wait for all ordered extents started by a fast fsync that joined this
2409:		 * transaction. Otherwise if this transaction commits before the ordered
2410:		 * extents complete we lose logged data after a power failure.
2411:		 */
2412:		btrfs_might_wait_for_event(fs_info, btrfs_trans_pending_ordered);
2413:		wait_event(cur_trans->pending_wait,
2414:			   atomic_read(&cur_trans->pending_ordered) == 0);
2415:	
2416:		btrfs_scrub_pause(fs_info);
2417:		/*
2418:		 * Ok now we need to make sure to block out any other joins while we
2419:		 * commit the transaction.  We could have started a join before setting
]

47/2 2026/10/19 01:06 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 75701
							output: 45
							thoughts: 144
						

Thoughts:
**Investigating ENOMEM Failures in Delayed Reference Operations**

My primary concern right now is understanding the implications of `add_delayed_ref` or `btrfs_add_delayed_extent_op` failing with an `-ENOMEM` error. To get a comprehensive grasp of this, I need to determine if there are other scenarios where these functions might encounter such a failure. Following that, I need to trace what precisely happens within the Btrfs filesystem when either `add_delayed_ref` or `btrfs_add_delayed_extent_op` returns `-ENOMEM`. To facilitate this investigation, my immediate action is to examine all the call sites for both `add_delayed_ref` and `btrfs_add_delayed_extent_op` specifically within the `fs/btrfs/delayed-ref.c` file. I'll then focus my reading on the code segment within `fs/btrfs/delayed-ref.c` roughly between lines 1130 and 1230 to understand the immediate context and error handling around these functions.


48/2 2026/10/19 01:06 tool read-file
0m Args:
map[File:fs/btrfs/delayed-ref.c FirstLine:1130 LineCount:95]

Results:
map[Contents:1130:	free_record:
1131:		kfree(record);
1132:	free_head_ref:
1133:		kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1134:	free_node:
1135:		kmem_cache_free(btrfs_delayed_ref_node_cachep, node);
1136:		return ret;
1137:	}
1138:	
1139:	/*
1140:	 * Add a delayed tree ref. This does all of the accounting required to make sure
1141:	 * the delayed ref is eventually processed before this transaction commits.
1142:	 */
1143:	int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans,
1144:				       struct btrfs_ref *generic_ref,
1145:				       struct btrfs_delayed_extent_op *extent_op)
1146:	{
1147:		ASSERT(generic_ref->type == BTRFS_REF_METADATA && generic_ref->action);
1148:		return add_delayed_ref(trans, generic_ref, extent_op, 0);
1149:	}
1150:	
1151:	/*
1152:	 * add a delayed data ref. it's similar to btrfs_add_delayed_tree_ref.
1153:	 */
1154:	int btrfs_add_delayed_data_ref(struct btrfs_trans_handle *trans,
1155:				       struct btrfs_ref *generic_ref,
1156:				       u64 reserved)
1157:	{
1158:		ASSERT(generic_ref->type == BTRFS_REF_DATA && generic_ref->action);
1159:		return add_delayed_ref(trans, generic_ref, NULL, reserved);
1160:	}
1161:	
1162:	int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
1163:					u64 bytenr, u64 num_bytes, u8 level,
1164:					struct btrfs_delayed_extent_op *extent_op)
1165:	{
1166:		const unsigned long index = (bytenr >> trans->fs_info->sectorsize_bits);
1167:		struct btrfs_delayed_ref_head *head_ref;
1168:		struct btrfs_delayed_ref_head *head_ref_ret;
1169:		struct btrfs_delayed_ref_root *delayed_refs;
1170:		struct btrfs_ref generic_ref = {
1171:			.type = BTRFS_REF_METADATA,
1172:			.action = BTRFS_UPDATE_DELAYED_HEAD,
1173:			.bytenr = bytenr,
1174:			.num_bytes = num_bytes,
1175:			.tree_ref.level = level,
1176:		};
1177:		int ret;
1178:	
1179:		head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS);
1180:		if (!head_ref)
1181:			return -ENOMEM;
1182:	
1183:		init_delayed_ref_head(head_ref, &generic_ref, NULL, 0);
1184:		head_ref->extent_op = extent_op;
1185:	
1186:		delayed_refs = &trans->transaction->delayed_refs;
1187:	
1188:		ret = xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS);
1189:		if (ret) {
1190:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1191:			return ret;
1192:		}
1193:	
1194:		spin_lock(&delayed_refs->lock);
1195:		head_ref_ret = add_delayed_ref_head(trans, head_ref, NULL,
1196:						    BTRFS_UPDATE_DELAYED_HEAD, NULL);
1197:		if (IS_ERR(head_ref_ret)) {
1198:			xa_release(&delayed_refs->head_refs, index);
1199:			spin_unlock(&delayed_refs->lock);
1200:			kmem_cache_free(btrfs_delayed_ref_head_cachep, head_ref);
1201:			return PTR_ERR(head_ref_ret);
1202:		}
1203:		spin_unlock(&delayed_refs->lock);
1204:	
1205:		/*
1206:		 * Need to update the delayed_refs_rsv with any changes we may have
1207:		 * made.
1208:		 */
1209:		btrfs_update_delayed_refs_rsv(trans);
1210:		return 0;
1211:	}
1212:	
1213:	void btrfs_put_delayed_ref(struct btrfs_delayed_ref_node *ref)
1214:	{
1215:		if (refcount_dec_and_test(&ref->refs)) {
1216:			WARN_ON(!RB_EMPTY_NODE(&ref->ref_node));
1217:			kmem_cache_free(btrfs_delayed_ref_node_cachep, ref);
1218:		}
1219:	}
1220:	
1221:	/*
1222:	 * This does a simple search for the head node for a given extent.  Returns the
1223:	 * head node if found, or NULL if not.
1224:	 */
]

49/2 2026/10/19 01:06 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 77470
							output: 115
							thoughts: 1035
						

Thoughts:
**My Thought Process on Delayed References and Qgroup Accounting**

Okay, let me walk through my current line of thinking regarding these delayed references, specifically within the context of Btrfs and qgroups.

First, I'm re-examining the `add_delayed_ref_head` function. I see that it tries to load an existing `head_ref` from `delayed_refs->head_refs`. If one exists, it updates it and frees the newly allocated `head_ref`. This makes sense – we want to reuse existing entries if possible.

But then a crucial question pops into my head: what about the state of `existing` *before* `xa_reserve` was called in the first place? `xa_reserve` is designed to prepare an entry for storage. If `existing` was *not* NULL when `xa_reserve` was called, `xa_reserve` would have done nothing, as it checks for `NULL` before proceeding. If `existing` *was* NULL, `xa_reserve` would have stored `XA_ZERO_ENTRY` at that index.

This leads to a potential race condition I'm pondering. Imagine `xa_reserve` stored `XA_ZERO_ENTRY` at `index`. Now, *before* the `spin_lock(&delayed_refs->lock)` is taken in `add_delayed_ref` (which is meant to serialize access), another thread *also* calls `xa_reserve` for the *same* `index`. This second thread sees `XA_ZERO_ENTRY`, so `xa_reserve` does nothing. However, this second thread then proceeds to acquire `delayed_refs->lock`, sees that `xa_load(...)` returns `NULL` (because the first thread hasn't committed its `XA_ZERO_ENTRY` yet or it's still in flight), and proceeds to store its own `head_ref` at `index`. Now, the first thread eventually acquires `delayed_refs->lock`, sees that `existing` is *not* NULL (because the second thread stored something there), and proceeds to update the `existing` entry. This seems like it could lead to unexpected overwrites or data loss if not handled carefully.

Shifting gears slightly, I'm now looking at the interplay between `add_delayed_ref` and the `dirty_extents` array, particularly when qgroup accounting is involved. In `add_delayed_ref`, `xa_reserve(&delayed_refs->dirty_extents, index, GFP_NOFS)` is called. If this reservation fails, the function returns `-ENOMEM`.

Then, in `add_delayed_ref_head`, after some logic, it calls `btrfs_qgroup_trace_extent_nolock`. If `btrfs_qgroup_trace_extent_nolock` encounters an error (specifically, a negative return value), it calls `xa_release(&delayed_refs->dirty_extents, index)` to clean up.

The crucial part is that when a transaction aborts, `btrfs_qgroup_destroy_extent_records` is called, which in turn calls `xa_destroy(&trans->delayed_refs.dirty_extents)`. This means all entries in `dirty_extents` are cleaned up on abort.

Now, my concern is about `btrfs_qgroup_trace_extent` (during normal operation, not abort) failing with `-ENOMEM` for `delayed_refs->dirty_extents`. If this happens, its callers will abort the transaction.

This leads me to a broader question: if `add_delayed_ref` or `btrfs_add_delayed_extent_op` fails with `-ENOMEM` during an `xa_reserve` call, do *all* callers of `btrfs_add_delayed_tree_ref`, `btrfs_add_delayed_data_ref`, and `btrfs_add_delayed_extent_op` necessarily abort the transaction? Or is it possible for a transaction to commit even if an `xa_reserve` failed, or for `btrfs_run_delayed_refs(trans, U64_MAX)` to be called *after* an `xa_reserve` failure? To get to the bottom of this, I need to meticulously examine every single caller of `btrfs_add_delayed_tree_ref`, `btrfs_add_delayed_data_ref`, and `btrfs_add_delayed_extent_op`. That's my next step.


50/2 2026/10/19 01:07 tool codesearch-find-references
0m Args:
map[IncludeSnippetLines:15 Name:btrfs_add_delayed_tree_ref]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_alloc_tree_block SourceFile:fs/btrfs/extent-tree.c SourceLine:5426 SourceSnippet:5411:					goto out_free_buf;
5412:				}
5413:				if (key)
5414:					memcpy(&extent_op->key, key, sizeof(extent_op->key));
5415:				else
5416:					memset(&extent_op->key, 0, sizeof(extent_op->key));
5417:				extent_op->flags_to_set = flags;
5418:				extent_op->update_key = (skinny_metadata ? false : true);
5419:				extent_op->update_flags = (flags != 0);
5420:			} else {
5421:				extent_op = NULL;
5422:			}
5423:	
5424:			btrfs_init_tree_ref(&generic_ref, level, btrfs_root_id(root), false);
5425:			btrfs_ref_tree_mod(fs_info, &generic_ref);
5426:			ret = btrfs_add_delayed_tree_ref(trans, &generic_ref, extent_op);
5427:			if (ret) {
5428:				btrfs_free_delayed_extent_op(extent_op);
5429:				goto out_free_buf;
5430:			}
5431:		}
5432:		return buf;
5433:	
5434:	out_free_buf:
5435:		btrfs_tree_unlock(buf);
5436:		free_extent_buffer(buf);
5437:	out_free_reserved:
5438:		btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, false);
5439:	out_unuse:
5440:		btrfs_unuse_block_rsv(fs_info, block_rsv, blocksize);
5441:		return ERR_PTR(ret);
] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_free_extent SourceFile:fs/btrfs/extent-tree.c SourceLine:3726 SourceSnippet:3711:	{
3712:		struct btrfs_fs_info *fs_info = trans->fs_info;
3713:		int ret;
3714:	
3715:		if (btrfs_is_testing(fs_info))
3716:			return 0;
3717:	
3718:		/*
3719:		 * tree log blocks never actually go into the extent allocation
3720:		 * tree, just update pinning info and exit early.
3721:		 */
3722:		if (ref->ref_root == BTRFS_TREE_LOG_OBJECTID) {
3723:			btrfs_pin_extent(trans, ref->bytenr, ref->num_bytes);
3724:			ret = 0;
3725:		} else if (ref->type == BTRFS_REF_METADATA) {
3726:			ret = btrfs_add_delayed_tree_ref(trans, ref, NULL);
3727:		} else {
3728:			ret = btrfs_add_delayed_data_ref(trans, ref, 0);
3729:		}
3730:	
3731:		if (ref->ref_root != BTRFS_TREE_LOG_OBJECTID)
3732:			btrfs_ref_tree_mod(fs_info, ref);
3733:	
3734:		return ret;
3735:	}
] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_free_tree_block SourceFile:fs/btrfs/extent-tree.c SourceLine:3650 SourceSnippet:3635:				.parent = parent,
3636:				.owning_root = btrfs_header_owner(buf),
3637:				.ref_root = root_id,
3638:			};
3639:	
3640:			/*
3641:			 * Assert that the extent buffer is not cleared due to
3642:			 * EXTENT_BUFFER_ZONED_ZEROOUT. Please refer
3643:			 * btrfs_clear_buffer_dirty() and btree_csum_one_bio() for
3644:			 * detail.
3645:			 */
3646:			ASSERT(btrfs_header_bytenr(buf) != 0);
3647:	
3648:			btrfs_init_tree_ref(&generic_ref, btrfs_header_level(buf), 0, false);
3649:			btrfs_ref_tree_mod(fs_info, &generic_ref);
3650:			ret = btrfs_add_delayed_tree_ref(trans, &generic_ref, NULL);
3651:			if (ret < 0)
3652:				return ret;
3653:		}
3654:	
3655:		if (!last_ref)
3656:			return 0;
3657:	
3658:		if (btrfs_header_generation(buf) != trans->transid)
3659:			return 0;
3660:	
3661:		if (root_id != BTRFS_TREE_LOG_OBJECTID) {
3662:			ret = check_ref_cleanup(trans, buf->start);
3663:			if (!ret)
3664:				return 0;
3665:		}
] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_inc_extent_ref SourceFile:fs/btrfs/extent-tree.c SourceLine:1502 SourceSnippet:1489:	/* Can return -ENOMEM */
1490:	int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
1491:				 struct btrfs_ref *generic_ref)
1492:	{
1493:		struct btrfs_fs_info *fs_info = trans->fs_info;
1494:		int ret;
1495:	
1496:		ASSERT(generic_ref->type != BTRFS_REF_NOT_SET &&
1497:		       generic_ref->action);
1498:		BUG_ON(generic_ref->type == BTRFS_REF_METADATA &&
1499:		       generic_ref->ref_root == BTRFS_TREE_LOG_OBJECTID);
1500:	
1501:		if (generic_ref->type == BTRFS_REF_METADATA)
1502:			ret = btrfs_add_delayed_tree_ref(trans, generic_ref, NULL);
1503:		else
1504:			ret = btrfs_add_delayed_data_ref(trans, generic_ref, 0);
1505:	
1506:		btrfs_ref_tree_mod(fs_info, generic_ref);
1507:	
1508:		return ret;
1509:	}
]] TruncatedOutput:false]

51/2 2026/10/19 01:07 tool codesearch-find-references
0m Args:
map[IncludeSnippetLines:15 Name:btrfs_add_delayed_data_ref]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_alloc_reserved_file_extent SourceFile:fs/btrfs/extent-tree.c SourceLine:5179 SourceSnippet:5164:			.action = BTRFS_ADD_DELAYED_EXTENT,
5165:			.bytenr = ins->objectid,
5166:			.num_bytes = ins->offset,
5167:			.owning_root = btrfs_root_id(root),
5168:			.ref_root = btrfs_root_id(root),
5169:		};
5170:	
5171:		ASSERT(generic_ref.ref_root != BTRFS_TREE_LOG_OBJECTID);
5172:	
5173:		if (btrfs_is_data_reloc_root(root) && btrfs_is_fstree(root->relocation_src_root))
5174:			generic_ref.owning_root = root->relocation_src_root;
5175:	
5176:		btrfs_init_data_ref(&generic_ref, owner, offset, 0, false);
5177:		btrfs_ref_tree_mod(root->fs_info, &generic_ref);
5178:	
5179:		return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes);
5180:	}
] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_free_extent SourceFile:fs/btrfs/extent-tree.c SourceLine:3728 SourceSnippet:3713:		int ret;
3714:	
3715:		if (btrfs_is_testing(fs_info))
3716:			return 0;
3717:	
3718:		/*
3719:		 * tree log blocks never actually go into the extent allocation
3720:		 * tree, just update pinning info and exit early.
3721:		 */
3722:		if (ref->ref_root == BTRFS_TREE_LOG_OBJECTID) {
3723:			btrfs_pin_extent(trans, ref->bytenr, ref->num_bytes);
3724:			ret = 0;
3725:		} else if (ref->type == BTRFS_REF_METADATA) {
3726:			ret = btrfs_add_delayed_tree_ref(trans, ref, NULL);
3727:		} else {
3728:			ret = btrfs_add_delayed_data_ref(trans, ref, 0);
3729:		}
3730:	
3731:		if (ref->ref_root != BTRFS_TREE_LOG_OBJECTID)
3732:			btrfs_ref_tree_mod(fs_info, ref);
3733:	
3734:		return ret;
3735:	}
] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_inc_extent_ref SourceFile:fs/btrfs/extent-tree.c SourceLine:1504 SourceSnippet:1489:	/* Can return -ENOMEM */
1490:	int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
1491:				 struct btrfs_ref *generic_ref)
1492:	{
1493:		struct btrfs_fs_info *fs_info = trans->fs_info;
1494:		int ret;
1495:	
1496:		ASSERT(generic_ref->type != BTRFS_REF_NOT_SET &&
1497:		       generic_ref->action);
1498:		BUG_ON(generic_ref->type == BTRFS_REF_METADATA &&
1499:		       generic_ref->ref_root == BTRFS_TREE_LOG_OBJECTID);
1500:	
1501:		if (generic_ref->type == BTRFS_REF_METADATA)
1502:			ret = btrfs_add_delayed_tree_ref(trans, generic_ref, NULL);
1503:		else
1504:			ret = btrfs_add_delayed_data_ref(trans, generic_ref, 0);
1505:	
1506:		btrfs_ref_tree_mod(fs_info, generic_ref);
1507:	
1508:		return ret;
1509:	}
]] TruncatedOutput:false]

52/2 2026/10/19 01:07 tool codesearch-find-references
0m Args:
map[IncludeSnippetLines:15 Name:btrfs_add_delayed_extent_op]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:btrfs_set_disk_extent_flags SourceFile:fs/btrfs/extent-tree.c SourceLine:2283 SourceSnippet:2269:	int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans,
2270:					struct extent_buffer *eb, u64 flags)
2271:	{
2272:		struct btrfs_delayed_extent_op *extent_op;
2273:		int ret;
2274:	
2275:		extent_op = btrfs_alloc_delayed_extent_op();
2276:		if (!extent_op)
2277:			return -ENOMEM;
2278:	
2279:		extent_op->flags_to_set = flags;
2280:		extent_op->update_flags = true;
2281:		extent_op->update_key = false;
2282:	
2283:		ret = btrfs_add_delayed_extent_op(trans, eb->start, eb->len,
2284:						  btrfs_header_level(eb), extent_op);
2285:		if (ret)
2286:			btrfs_free_delayed_extent_op(extent_op);
2287:		return ret;
2288:	}
]] TruncatedOutput:false]

53/2 2026/10/19 01:07 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 82223
							output: 120
							thoughts: 162
						

Thoughts:
**My Deep Dive into Btrfs Transactional Integrity**

My mind is racing with a rather thorny transactional integrity question concerning Btrfs. I've hit upon a specific scenario that demands scrutiny: what happens if `btrfs_alloc_tree_block`, a critical function for acquiring new tree blocks, fails *within* the context of `btrfs_add_delayed_tree_ref`? Now, `btrfs_add_delayed_ref` is called by `btrfs_add_delayed_tree_ref`, and my immediate concern is whether the *caller* of `btrfs_alloc_tree_block`—specifically, the one in `btrfs_add_delayed_tree_ref`—will correctly abort the ongoing transaction if this allocation fails.

This leads me to a more fundamental question about the error handling of `btrfs_alloc_tree_block` itself. Does it *always* trigger a transaction abort upon failure, or is it possible for a caller to receive an allocation failure from `btrfs_alloc_tree_block` *without* the transaction necessarily being aborted? This distinction is crucial for understanding the robustness of these operations.

To get to the bottom of this, I'm going to have to dive into the Btrfs source code. My plan is to specifically examine the behavior of `btrfs_force_cow_block` and `btrfs_cow_block`, both of which are heavily involved in block allocation and copy-on-write (COW) operations within `fs/btrfs/ctree.c`. I'll be focusing my attention on the code within the approximate line range of 450 to 750 in `fs/btrfs/ctree.c`, as this is where I anticipate finding the logic that governs these allocation and error-handling paths. It's essential that I understand precisely how failures propagate and how transactions are managed to ensure the integrity of the filesystem.


54/2 2026/10/19 01:07 tool read-file
0m Args:
map[File:fs/btrfs/ctree.c FirstLine:470 LineCount:100]

Results:
map[Contents: 470:				  u64 search_start, u64 empty_size,
 471:				  enum btrfs_lock_nesting nest)
 472:	{
 473:		struct btrfs_fs_info *fs_info = root->fs_info;
 474:		struct btrfs_disk_key disk_key;
 475:		struct extent_buffer *cow;
 476:		int level, ret;
 477:		int last_ref = 0;
 478:		const bool unlock_orig = (*cow_ret == buf);
 479:		u64 parent_start = 0;
 480:		u64 reloc_src_root = 0;
 481:	
 482:		btrfs_assert_tree_write_locked(buf);
 483:	
 484:		WARN_ON(test_bit(BTRFS_ROOT_SHAREABLE, &root->state) &&
 485:			trans->transid != fs_info->running_transaction->transid);
 486:		WARN_ON(test_bit(BTRFS_ROOT_SHAREABLE, &root->state) &&
 487:			trans->transid != btrfs_get_root_last_trans(root));
 488:	
 489:		level = btrfs_header_level(buf);
 490:	
 491:		if (level == 0)
 492:			btrfs_item_key(buf, &disk_key, 0);
 493:		else
 494:			btrfs_node_key(buf, &disk_key, 0);
 495:	
 496:		if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) {
 497:			if (parent)
 498:				parent_start = parent->start;
 499:			reloc_src_root = btrfs_header_owner(buf);
 500:		}
 501:		cow = btrfs_alloc_tree_block(trans, root, parent_start,
 502:					     btrfs_root_id(root), &disk_key, level,
 503:					     search_start, empty_size, reloc_src_root, nest);
 504:		if (IS_ERR(cow))
 505:			return PTR_ERR(cow);
 506:	
 507:		/* cow is set to blocking by btrfs_init_new_buffer */
 508:	
 509:		copy_extent_buffer_full(cow, buf);
 510:		btrfs_set_header_bytenr(cow, cow->start);
 511:		btrfs_set_header_generation(cow, trans->transid);
 512:		btrfs_set_header_backref_rev(cow, BTRFS_MIXED_BACKREF_REV);
 513:		btrfs_clear_header_flag(cow, BTRFS_HEADER_FLAG_WRITTEN |
 514:					     BTRFS_HEADER_FLAG_RELOC);
 515:		if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID)
 516:			btrfs_set_header_flag(cow, BTRFS_HEADER_FLAG_RELOC);
 517:		else
 518:			btrfs_set_header_owner(cow, btrfs_root_id(root));
 519:	
 520:		write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid);
 521:	
 522:		ret = update_ref_for_cow(trans, root, buf, cow, &last_ref);
 523:		if (unlikely(ret)) {
 524:			btrfs_abort_transaction(trans, ret);
 525:			goto error_unlock_cow;
 526:		}
 527:	
 528:		if (test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) {
 529:			ret = btrfs_reloc_cow_block(trans, root, buf, cow);
 530:			if (unlikely(ret)) {
 531:				btrfs_abort_transaction(trans, ret);
 532:				goto error_unlock_cow;
 533:			}
 534:		}
 535:	
 536:		if (buf == root->node) {
 537:			WARN_ON(parent && parent != buf);
 538:			if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID ||
 539:			    btrfs_header_backref_rev(buf) < BTRFS_MIXED_BACKREF_REV)
 540:				parent_start = buf->start;
 541:	
 542:			ret = btrfs_tree_mod_log_insert_root(root->node, cow, true);
 543:			if (unlikely(ret < 0)) {
 544:				btrfs_abort_transaction(trans, ret);
 545:				goto error_unlock_cow;
 546:			}
 547:			refcount_inc(&cow->refs);
 548:			rcu_assign_pointer(root->node, cow);
 549:	
 550:			ret = btrfs_free_tree_block(trans, btrfs_root_id(root), buf,
 551:						    parent_start, last_ref);
 552:			free_extent_buffer(buf);
 553:			add_root_to_dirty_list(root);
 554:			if (unlikely(ret < 0)) {
 555:				btrfs_abort_transaction(trans, ret);
 556:				goto error_unlock_cow;
 557:			}
 558:		} else {
 559:			WARN_ON(trans->transid != btrfs_header_generation(parent));
 560:			ret = btrfs_tree_mod_log_insert_key(parent, parent_slot,
 561:							    BTRFS_MOD_LOG_KEY_REPLACE);
 562:			if (unlikely(ret)) {
 563:				btrfs_abort_transaction(trans, ret);
 564:				goto error_unlock_cow;
 565:			}
 566:			btrfs_set_node_blockptr(parent, parent_slot,
 567:						cow->start);
 568:			btrfs_set_node_ptr_generation(parent, parent_slot,
 569:						      trans->transid);
]

55/2 2026/10/19 01:07 tool read-file
0m Args:
map[File:fs/btrfs/ctree.c FirstLine:570 LineCount:100]

Results:
map[Contents: 570:			btrfs_mark_buffer_dirty(trans, parent);
 571:			if (last_ref) {
 572:				ret = btrfs_tree_mod_log_free_eb(buf);
 573:				if (unlikely(ret)) {
 574:					btrfs_abort_transaction(trans, ret);
 575:					goto error_unlock_cow;
 576:				}
 577:			}
 578:			ret = btrfs_free_tree_block(trans, btrfs_root_id(root), buf,
 579:						    parent_start, last_ref);
 580:			if (unlikely(ret < 0)) {
 581:				btrfs_abort_transaction(trans, ret);
 582:				goto error_unlock_cow;
 583:			}
 584:		}
 585:	
 586:		trace_btrfs_cow_block(root, buf, cow);
 587:		if (unlock_orig)
 588:			btrfs_tree_unlock(buf);
 589:		free_extent_buffer_stale(buf);
 590:		btrfs_mark_buffer_dirty(trans, cow);
 591:	
 592:		btrfs_inhibit_eb_writeback(trans, cow);
 593:	
 594:		*cow_ret = cow;
 595:		return 0;
 596:	
 597:	error_unlock_cow:
 598:		btrfs_tree_unlock(cow);
 599:		free_extent_buffer(cow);
 600:		return ret;
 601:	}
 602:	
 603:	static inline bool should_cow_block(struct btrfs_trans_handle *trans,
 604:					    const struct btrfs_root *root,
 605:					    struct extent_buffer *buf)
 606:	{
 607:		if (btrfs_is_testing(root->fs_info))
 608:			return false;
 609:	
 610:		/*
 611:		 * We do not need to cow a block if
 612:		 * 1) this block is not created or changed in this transaction;
 613:		 * 2) this block does not belong to TREE_RELOC tree;
 614:		 * 3) the root is not forced COW.
 615:		 *
 616:		 * What is forced COW:
 617:		 *    when we create snapshot during committing the transaction,
 618:		 *    after we've finished copying src root, we must COW the shared
 619:		 *    block to ensure the metadata consistency.
 620:		 */
 621:	
 622:		if (btrfs_header_generation(buf) != trans->transid)
 623:			return true;
 624:	
 625:		if (btrfs_header_flag(buf, BTRFS_HEADER_FLAG_WRITTEN))
 626:			return true;
 627:	
 628:		/* Ensure we can see the FORCE_COW bit. */
 629:		smp_mb__before_atomic();
 630:		if (test_bit(BTRFS_ROOT_FORCE_COW, &root->state))
 631:			return true;
 632:	
 633:		if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID)
 634:			return false;
 635:	
 636:		if (btrfs_header_flag(buf, BTRFS_HEADER_FLAG_RELOC))
 637:			return true;
 638:	
 639:		btrfs_inhibit_eb_writeback(trans, buf);
 640:		return false;
 641:	}
 642:	
 643:	/*
 644:	 * COWs a single block, see btrfs_force_cow_block() for the real work.
 645:	 * This version of it has extra checks so that a block isn't COWed more than
 646:	 * once per transaction, as long as it hasn't been written yet
 647:	 */
 648:	int btrfs_cow_block(struct btrfs_trans_handle *trans,
 649:			    struct btrfs_root *root, struct extent_buffer *buf,
 650:			    struct extent_buffer *parent, int parent_slot,
 651:			    struct extent_buffer **cow_ret,
 652:			    enum btrfs_lock_nesting nest)
 653:	{
 654:		struct btrfs_fs_info *fs_info = root->fs_info;
 655:		u64 search_start;
 656:	
 657:		if (unlikely(test_bit(BTRFS_ROOT_DELETING, &root->state))) {
 658:			btrfs_abort_transaction(trans, -EUCLEAN);
 659:			btrfs_crit(fs_info,
 660:			   "attempt to COW block %llu on root %llu that is being deleted",
 661:				   buf->start, btrfs_root_id(root));
 662:			return -EUCLEAN;
 663:		}
 664:	
 665:		/*
 666:		 * COWing must happen through a running transaction, which always
 667:		 * matches the current fs generation (it's a transaction with a state
 668:		 * less than TRANS_STATE_UNBLOCKED). If it doesn't, then turn the fs
 669:		 * into error state to prevent the commit of any transaction.
]

56/2 2026/10/19 01:07 tool read-file
0m Args:
map[File:fs/btrfs/ctree.c FirstLine:670 LineCount:60]

Results:
map[Contents: 670:		 */
 671:		if (unlikely(trans->transaction != fs_info->running_transaction ||
 672:			     trans->transid != fs_info->generation)) {
 673:			btrfs_abort_transaction(trans, -EUCLEAN);
 674:			btrfs_crit(fs_info,
 675:	"unexpected transaction when attempting to COW block %llu on root %llu, transaction %llu running transaction %llu fs generation %llu",
 676:				   buf->start, btrfs_root_id(root), trans->transid,
 677:				   fs_info->running_transaction->transid,
 678:				   fs_info->generation);
 679:			return -EUCLEAN;
 680:		}
 681:	
 682:		if (!should_cow_block(trans, root, buf)) {
 683:			*cow_ret = buf;
 684:			return 0;
 685:		}
 686:	
 687:		search_start = round_down(buf->start, SZ_1G);
 688:	
 689:		/*
 690:		 * Before CoWing this block for later modification, check if it's
 691:		 * the subtree root and do the delayed subtree trace if needed.
 692:		 *
 693:		 * Also We don't care about the error, as it's handled internally.
 694:		 */
 695:		btrfs_qgroup_trace_subtree_after_cow(trans, root, buf);
 696:		return btrfs_force_cow_block(trans, root, buf, parent, parent_slot,
 697:					     cow_ret, search_start, 0, nest);
 698:	}
 699:	ALLOW_ERROR_INJECTION(btrfs_cow_block, ERRNO);
 700:	
 701:	/*
 702:	 * same as comp_keys only with two btrfs_key's
 703:	 */
 704:	int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2)
 705:	{
 706:		if (k1->objectid > k2->objectid)
 707:			return 1;
 708:		if (k1->objectid < k2->objectid)
 709:			return -1;
 710:		if (k1->type > k2->type)
 711:			return 1;
 712:		if (k1->type < k2->type)
 713:			return -1;
 714:		if (k1->offset > k2->offset)
 715:			return 1;
 716:		if (k1->offset < k2->offset)
 717:			return -1;
 718:		return 0;
 719:	}
 720:	
 721:	/*
 722:	 * Search for a key in the given extent_buffer.
 723:	 *
 724:	 * The lower boundary for the search is specified by the slot number @first_slot.
 725:	 * Use a value of 0 to search over the whole extent buffer. Works for both
 726:	 * leaves and nodes.
 727:	 *
 728:	 * The slot in the extent buffer is returned via @slot. If the key exists in the
 729:	 * extent buffer, then @slot will point to the slot where the key is, otherwise
]

57/2 2026/10/19 01:07 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 86824
							output: 40
							thoughts: 237
						

Thoughts:
**A Critical Insight Regarding Btrfs Transaction Handling**

Hold on a moment – I've just spotted something rather concerning that demands immediate attention. I was reviewing the `btrfs_force_cow_block` function, specifically within the context of `btrfs_add_delayed_tree_ref`, and a glaring omission jumped out at me. When `btrfs_alloc_tree_block` is invoked and, crucially, returns an error, `btrfs_force_cow_block` *fails to propagate that error by calling `btrfs_abort_transaction(trans, ret)`*. This is a significant deviation from expected robust error handling and could potentially leave a transaction in an inconsistent state.

My immediate thought then turned to a related scenario: what happens when `btrfs_cow_block` itself fails within `btrfs_search_slot`? This is another critical path where failure must be handled impeccably. I'm now compelled to dive into the `btrfs_search_slot` implementation in `fs/btrfs/ctree.c` to thoroughly examine its behavior around the `btrfs_cow_block` call. I need to ascertain if this potential oversight in error propagation is a localized issue or indicative of a broader systemic problem in how Btrfs manages transaction integrity upon block allocation failures. This investigation is paramount to understanding the full implications for data consistency and transaction atomicity.


58/2 2026/10/19 01:07 tool grepper
0m Args:
map[Expression:btrfs_cow_block PathPrefixes:[fs/btrfs/ctree.c]]

Results:
map[Output:fs/btrfs/ctree.c=465=int btrfs_force_cow_block(struct btrfs_trans_handle *trans,
--
fs/btrfs/ctree.c-585-
fs/btrfs/ctree.c:586:	trace_btrfs_cow_block(root, buf, cow);
fs/btrfs/ctree.c-587-	if (unlock_orig)
--
fs/btrfs/ctree.c=603=static inline bool should_cow_block(struct btrfs_trans_handle *trans,
--
fs/btrfs/ctree.c-647- */
fs/btrfs/ctree.c:648:int btrfs_cow_block(struct btrfs_trans_handle *trans,
fs/btrfs/ctree.c-649-		    struct btrfs_root *root, struct extent_buffer *buf,
--
fs/btrfs/ctree.c-698-}
fs/btrfs/ctree.c:699:ALLOW_ERROR_INJECTION(btrfs_cow_block, ERRNO);
fs/btrfs/ctree.c-700-
--
fs/btrfs/ctree.c=859=static int promote_child_to_root(struct btrfs_trans_handle *trans,
--
fs/btrfs/ctree.c-872-	btrfs_tree_lock(child);
fs/btrfs/ctree.c:873:	ret = btrfs_cow_block(trans, root, child, parent, 0, &child, BTRFS_NESTING_COW);
fs/btrfs/ctree.c-874-	if (ret) {
--
fs/btrfs/ctree.c=916=static noinline int balance_level(struct btrfs_trans_handle *trans,
--
fs/btrfs/ctree.c-967-		btrfs_tree_lock_nested(left, BTRFS_NESTING_LEFT);
fs/btrfs/ctree.c:968:		wret = btrfs_cow_block(trans, root, left,
fs/btrfs/ctree.c-969-				       parent, pslot - 1, &left,
--
fs/btrfs/ctree.c-985-		btrfs_tree_lock_nested(right, BTRFS_NESTING_RIGHT);
fs/btrfs/ctree.c:986:		wret = btrfs_cow_block(trans, root, right,
fs/btrfs/ctree.c-987-				       parent, pslot + 1, &right,
--
fs/btrfs/ctree.c=1141=static noinline int push_nodes_for_insert(struct btrfs_trans_handle *trans,
--
fs/btrfs/ctree.c-1182-		} else {
fs/btrfs/ctree.c:1183:			ret = btrfs_cow_block(trans, root, left, parent,
fs/btrfs/ctree.c-1184-					      pslot - 1, &left,
--
fs/btrfs/ctree.c-1242-		} else {
fs/btrfs/ctree.c:1243:			ret = btrfs_cow_block(trans, root, right,
fs/btrfs/ctree.c-1244-					      parent, pslot + 1,
--
fs/btrfs/ctree.c=1994=int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
--
fs/btrfs/ctree.c-2107-			if (last_level)
fs/btrfs/ctree.c:2108:				ret2 = btrfs_cow_block(trans, root, b, NULL, 0,
fs/btrfs/ctree.c-2109-						       &b, BTRFS_NESTING_COW);
fs/btrfs/ctree.c-2110-			else
fs/btrfs/ctree.c:2111:				ret2 = btrfs_cow_block(trans, root, b,
fs/btrfs/ctree.c-2112-						       p->nodes[level + 1],
--
fs/btrfs/ctree.c=3263=static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
--
fs/btrfs/ctree.c-3295-
fs/btrfs/ctree.c:3296:	ret = btrfs_cow_block(trans, root, right, upper,
fs/btrfs/ctree.c-3297-			      slot + 1, &right, BTRFS_NESTING_RIGHT_COW);
--
fs/btrfs/ctree.c=3480=static int push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root
--
fs/btrfs/ctree.c-3514-
fs/btrfs/ctree.c:3515:	ret = btrfs_cow_block(trans, root, left,
fs/btrfs/ctree.c-3516-			      path->nodes[1], slot - 1, &left,
]

59/2 2026/10/19 01:07 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 88396
							output: 43
							thoughts: 67
						

Thoughts:
**A Critical Realization on Btrfs Copy-on-Write Failure**

My mind just latched onto something crucial regarding Btrfs's copy-on-write (COW) mechanism, specifically when a COW operation fails at the root node. I'm thinking about the `btrfs_search_slot` function and its behavior when `btrfs_cow_block` encounters an issue. This is particularly concerning when this failure happens at the *very root* of the tree structure, meaning `last_level` is true and no parent nodes have yet been modified. The implication here is that a fundamental write operation to the filesystem's core data structures could be failing in a way that bypasses the usual rollback or error handling that would occur if a parent node was involved. I need to dive into the source code, specifically `fs/btrfs/ctree.c` around line 2108, to fully grasp the implications and the exact logic governing this edge case. This feels like a potential area for data corruption or unexpected behavior if not handled with extreme care.


60/2 2026/10/19 01:07 tool read-file
0m Args:
map[File:fs/btrfs/ctree.c FirstLine:2095 LineCount:50]

Results:
map[Contents:2095:				 * parent
2096:				 */
2097:				if (level > write_lock_level ||
2098:				    (level + 1 > write_lock_level &&
2099:				    level + 1 < BTRFS_MAX_LEVEL &&
2100:				    p->nodes[level + 1])) {
2101:					write_lock_level = level + 1;
2102:					btrfs_release_path(p);
2103:					trace_btrfs_search_slot_restart(root, level, "write_lock");
2104:					goto again;
2105:				}
2106:	
2107:				if (last_level)
2108:					ret2 = btrfs_cow_block(trans, root, b, NULL, 0,
2109:							       &b, BTRFS_NESTING_COW);
2110:				else
2111:					ret2 = btrfs_cow_block(trans, root, b,
2112:							       p->nodes[level + 1],
2113:							       p->slots[level + 1], &b,
2114:							       BTRFS_NESTING_COW);
2115:				if (ret2) {
2116:					ret = ret2;
2117:					goto done;
2118:				}
2119:			}
2120:	cow_done:
2121:			p->nodes[level] = b;
2122:	
2123:			/*
2124:			 * we have a lock on b and as long as we aren't changing
2125:			 * the tree, there is no way to for the items in b to change.
2126:			 * It is safe to drop the lock on our parent before we
2127:			 * go through the expensive btree search on b.
2128:			 *
2129:			 * If we're inserting or deleting (ins_len != 0), then we might
2130:			 * be changing slot zero, which may require changing the parent.
2131:			 * So, we can't drop the lock until after we know which slot
2132:			 * we're operating on.
2133:			 */
2134:			if (!ins_len && !p->keep_locks) {
2135:				int u = level + 1;
2136:	
2137:				if (u < BTRFS_MAX_LEVEL && p->locks[u]) {
2138:					btrfs_tree_unlock_rw(p->nodes[u], p->locks[u]);
2139:					p->locks[u] = 0;
2140:				}
2141:			}
2142:	
2143:			if (level == 0) {
2144:				if (ins_len > 0)
]

61/2 2026/10/19 01:07 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 89293
							output: 39
							thoughts: 812
						

Thoughts:
**My Realization of a Btrfs Commit Loop Vulnerability**

HOLD EVERYTHING! I've just uncovered what appears to be a critical issue within `btrfs_search_slot` and its interaction with transaction commits. My immediate thought process went something like this:

I was examining the behavior of `btrfs_search_slot`. What I noticed is that if `btrfs_cow_block` fails *during the initial COWing of the root node* – meaning before any actual modifications are made to the tree structure itself – `btrfs_search_slot` is designed to return `-ENOMEM`. Here's the alarming part: it does this *without aborting the ongoing transaction*.

So, imagine a scenario: a user attempts an operation, like creating a file or inserting an extended attribute. During this process, `btrfs_search_slot` encounters a `btrfs_cow_block` failure at the very root of the tree. The function returns `-ENOMEM`, but the transaction remains active.

Now, the crucial question forms in my mind: **What happens later when this seemingly incomplete or failed transaction attempts to commit?**

This led me to `btrfs_commit_transaction`. I immediately looked for how outstanding references or delayed operations are handled. This naturally brought me to `btrfs_run_delayed_refs`, specifically the call with `U64_MAX`. I decided to revisit its implementation in `fs/btrfs/extent-tree.c`.

There, I saw this snippet:

```c
	if (min_bytes == U64_MAX) {
		btrfs_create_pending_block_groups(trans);

		spin_lock(&delayed_refs->lock);
		if (xa_empty(&delayed_refs->head_refs)) {
			spin_unlock(&delayed_refs->lock);
			return 0;
		}
		spin_unlock(&delayed_refs->lock);

		cond_resched();
		goto again;
	}
```

And a chilling realization dawned: **WAIT A SECOND!**

Let's trace this. If, as described earlier, `btrfs_search_slot` failed at the root node and returned `-ENOMEM` without aborting the transaction, it's possible that `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` also failed at some point (leading to an empty `xa_node` remaining in `delayed_refs->head_refs` but the transaction not being aborted).

Now, when `btrfs_commit_transaction` calls `btrfs_run_delayed_refs(trans, U64_MAX)`:

1.  The inner function, `__btrfs_run_delayed_refs(trans, U64_MAX)`, will process all *actual* delayed references. As it processes them, they are erased from `delayed_refs->head_refs`. Once all *real* delayed references are gone, `btrfs_select_ref_head` will eventually return `NULL`, and `__btrfs_run_delayed_refs` will return `0`.

2.  Control then returns to `btrfs_run_delayed_refs`. The code checks `if (xa_empty(&delayed_refs->head_refs))`. However, that empty `xa_node` that resulted from the prior failed `xa_reserve` is *still present*. Therefore, `xa_empty(&delayed_refs->head_refs)` will return `FALSE`!

3.  Because the condition is false, the code executes `cond_resched();` and then `goto again;`.

4.  We land back in the `again:` loop. Inside this loop, `__btrfs_run_delayed_refs(trans, U64_MAX)` is called again. This time, `btrfs_select_ref_head` will find *no actual head references* (since they were all processed and removed in the previous step) and will return `0` immediately. `btrfs_create_pending_block_groups(trans)` will likely do nothing if there are no pending groups. But crucially, `xa_empty(&delayed_refs->head_refs)` will *still* evaluate to `FALSE` because that lone empty `xa_node` persists. This leads to `cond_resched();` and another `goto again;`.

This creates an **INFINITE LOOP** within `btrfs_run_delayed_refs(trans, U64_MAX)` during the commit process.

My immediate next step was to verify this. I needed to be absolutely sure. I thought, "Wait, let me re-confirm exactly where `btrfs_run_delayed_refs(trans, U64_MAX)` is called within `btrfs_commit_transaction`. And to get a broader understanding, I'll `grep` for all occurrences of `btrfs_run_delayed_refs` across the entire `fs/btrfs/` directory." This systematic approach is crucial for understanding the full scope and potential impact of such a discovery.


62/2 2026/10/19 01:07 tool grepper
0m Args:
map[Expression:btrfs_run_delayed_refs PathPrefixes:[fs/btrfs/]]

Results:
map[Output:fs/btrfs/block-group.c=3579=int btrfs_start_dirty_block_groups(struct btrfs_trans_handle *trans)
--
fs/btrfs/block-group.c-3717-	if (!ret)
fs/btrfs/block-group.c:3718:		ret = btrfs_run_delayed_refs(trans, 0);
fs/btrfs/block-group.c-3719-	if (!ret && loops == 0) {
--
fs/btrfs/block-group.c=3744=int btrfs_write_dirty_block_groups(struct btrfs_trans_handle *trans)
--
fs/btrfs/block-group.c-3802-		if (!ret)
fs/btrfs/block-group.c:3803:			ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/block-group.c-3804-
--
fs/btrfs/extent-tree.c=1935=static int cleanup_ref_head(struct btrfs_trans_handle *trans,
--
fs/btrfs/extent-tree.c-1996-
fs/btrfs/extent-tree.c:1997:static int btrfs_run_delayed_refs_for_head(struct btrfs_trans_handle *trans,
fs/btrfs/extent-tree.c-1998-					   struct btrfs_delayed_ref_head *locked_ref,
--
fs/btrfs/extent-tree.c-2083- */
fs/btrfs/extent-tree.c:2084:static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
fs/btrfs/extent-tree.c-2085-					     u64 min_bytes)
--
fs/btrfs/extent-tree.c-2133-
fs/btrfs/extent-tree.c:2134:		ret = btrfs_run_delayed_refs_for_head(trans, locked_ref, &bytes_processed);
fs/btrfs/extent-tree.c-2135-		if (ret < 0 && ret != -EAGAIN) {
fs/btrfs/extent-tree.c-2136-			/*
fs/btrfs/extent-tree.c:2137:			 * Error, btrfs_run_delayed_refs_for_head already
fs/btrfs/extent-tree.c-2138-			 * unlocked everything so just bail out
--
fs/btrfs/extent-tree.c-2156-		/*
fs/btrfs/extent-tree.c:2157:		 * Either success case or btrfs_run_delayed_refs_for_head
fs/btrfs/extent-tree.c-2158-		 * returned -EAGAIN, meaning we need to select another head
--
fs/btrfs/extent-tree.c=2176=static u64 find_middle(struct rb_root *root)
--
fs/btrfs/extent-tree.c-2227- */
fs/btrfs/extent-tree.c:2228:int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes)
fs/btrfs/extent-tree.c-2229-{
--
fs/btrfs/extent-tree.c-2245-#endif
fs/btrfs/extent-tree.c:2246:	ret = __btrfs_run_delayed_refs(trans, min_bytes);
fs/btrfs/extent-tree.c-2247-	if (unlikely(ret < 0)) {
--
fs/btrfs/extent-tree.h=102=u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
fs/btrfs/extent-tree.h-103-
fs/btrfs/extent-tree.h:104:int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes);
fs/btrfs/extent-tree.h-105-u64 btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info,
--
fs/btrfs/relocation.c=5306=static int start_block_group_remapping(struct btrfs_fs_info *fs_info,
--
fs/btrfs/relocation.c-5322-	/* We need to run delayed refs, to make sure FST is up to date. */
fs/btrfs/relocation.c:5323:	ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/relocation.c-5324-	if (ret) {
--
fs/btrfs/space-info.c=851=static void flush_space(struct btrfs_space_info *space_info, u64 num_bytes,
--
fs/btrfs/space-info.c-895-		if (state == FLUSH_DELAYED_REFS_NR)
fs/btrfs/space-info.c:896:			btrfs_run_delayed_refs(trans, num_bytes);
fs/btrfs/space-info.c-897-		else
fs/btrfs/space-info.c:898:			btrfs_run_delayed_refs(trans, 0);
fs/btrfs/space-info.c-899-		btrfs_end_transaction(trans);
--
fs/btrfs/transaction.c=1363=static noinline int commit_cowonly_roots(struct btrfs_trans_handle *trans)
--
fs/btrfs/transaction.c-1416-	/* Now flush any delayed refs generated by updating all of the roots */
fs/btrfs/transaction.c:1417:	ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/transaction.c-1418-	if (ret)
--
fs/btrfs/transaction.c-1431-		 */
fs/btrfs/transaction.c:1432:		ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/transaction.c-1433-		if (ret)
--
fs/btrfs/transaction.c=1576=static int qgroup_account_snapshot(struct btrfs_trans_handle *trans,
--
fs/btrfs/transaction.c-1612-	 */
fs/btrfs/transaction.c:1613:	ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/transaction.c-1614-	if (unlikely(ret)) {
--
fs/btrfs/transaction.c=2236=int btrfs_commit_transaction(struct btrfs_trans_handle *trans)
--
fs/btrfs/transaction.c-2267-		 */
fs/btrfs/transaction.c:2268:		ret = btrfs_run_delayed_refs(trans, 0);
fs/btrfs/transaction.c-2269-		if (ret)
--
fs/btrfs/transaction.c-2489-
fs/btrfs/transaction.c:2490:	ret = btrfs_run_delayed_refs(trans, U64_MAX);
fs/btrfs/transaction.c-2491-	if (unlikely(ret))
]

63/2 2026/10/19 01:07 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 92042
							output: 40
							thoughts: 2856
						

Thoughts:
**A Deep Dive into the Btrfs Delayed Reference Head Handling and Potential Races**

I've been thinking critically about this bug report, and it's essential to disentangle what's actually happening from potential fault injection scenarios. My primary concern is to understand if the observed issue – specifically, `!xa_empty(&transaction->delayed_refs.head_refs)` or an empty `xa_node` within `head_refs` – can occur *without* a preceding memory allocation failure (`-ENOMEM`). To do this, I need to meticulously examine every single pathway an `xa_node` is created and subsequently removed from `head_refs`.

My investigation starts within `fs/btrfs/delayed-ref.c`. I see `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` being called in two key places: `add_delayed_ref` (line 1073) and `btrfs_add_delayed_extent_op` (line 1188). A crucial question arises: what exactly happens when `xa_reserve` *succeeds*?

Let's trace `xa_reserve(xa, index, gfp)`: it ultimately calls `xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)`. Now, I need to consider the state of `head_refs` at the moment `xa_reserve` is invoked.

*   **Scenario 1: `head_refs` is initially empty at `index`.**
    In this case, `xa_cmpxchg` will successfully store `XA_ZERO_ENTRY` at `index`. A significant detail here is that storing `XA_ZERO_ENTRY` actually increments the `node->count` by 1. Now, what transpires *after* `xa_reserve` succeeds within `add_delayed_ref`? The code proceeds to acquire the `delayed_refs->lock` and then calls `add_delayed_ref_head`.

    Inside `add_delayed_ref_head`:
    *   It loads the entry at `index`.
    *   **If `existing` is `NULL`:** `xa_store` replaces `XA_ZERO_ENTRY` with the actual `head_ref`. The `node->count` remains at 1. Later, when `btrfs_delete_ref_head` removes this entry, `xa_erase` stores `NULL` at `index`. This decrements `node->count` back to 0 and, critically, triggers `xas_delete_node`, which frees the `xa_node`s and sets `head_refs.xa_head = NULL`.
    *   **If `existing` is *not* `NULL`:** This means another `head_ref` was already present at `index`. `xa_store` updates the existing entry, and `node->count` doesn't change in this path. When this `existing` entry is later removed by `btrfs_delete_ref_head`, `xa_erase` handles the node freeing.

    This leads me to a new line of inquiry: what if there's a race condition between two threads operating on the *same* `index`, or what if one thread calls `xa_reserve` while another is in the process of erasing an entry at that `index`?

    **This is a critical point!** Can Thread A call `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` *without* holding `delayed_refs->lock`, while Thread B is concurrently executing `btrfs_delete_ref_head` (or `cleanup_ref_head`) and erasing `index`? Let's walk through this hypothetical race:

    1.  **Thread A initiates `add_delayed_ref` for a specific `index`.**
        Crucially, `xa_reserve` is called *before* the lock is acquired.
        `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` is invoked. Internally, `xa_cmpxchg(&delayed_refs->head_refs, index, NULL, XA_ZERO_ENTRY, GFP_NOFS)` runs.
        At this precise moment, let's assume `head_refs` *does* contain an entry (`head_ref_1`) at `index`. The `xa_cmpxchg` sees that the current value is not `NULL`, so it does nothing and returns `head_ref_1`. `xa_reserve` therefore returns `0` (indicating success, but no modification).

    2.  **Now, Thread B, holding `delayed_refs->lock`, enters `btrfs_delete_ref_head` and calls `xa_erase(&delayed_refs->head_refs, index)`.**
        `xa_erase` removes `head_ref_1` from `index`. If `head_ref_1` was the last entry in its `xa_node`, the `xa_node` itself is freed.
        Thread B then releases `delayed_refs->lock`.

    3.  **Thread A finally acquires `delayed_refs->lock` and calls `add_delayed_ref_head`.**
        Inside `add_delayed_ref_head`, `existing = xa_load(&delayed_refs->head_refs, index);` is called. Since Thread B just erased the entry, `xa_load` now returns `NULL`.
        Thread A enters the `else` branch and proceeds to `xa_store(&delayed_refs->head_refs, index, head_ref, GFP_ATOMIC);`.
        There's a comment here: `/* Memory was preallocated by the caller. */ ASSERT(xa_err(existing) != -ENOMEM);`. This is concerning because if `xa_store` with `GFP_ATOMIC` fails due to memory pressure, it *could* return `-ENOMEM`, but the `ASSERT` explicitly disallows this.

    Now, let's consider the *reverse* race:

    *   **Thread A calls `add_delayed_ref` for `index`.**
        At this point, `index` is empty.
        Thread A calls `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`. This successfully stores `XA_ZERO_ENTRY` at `index`.
    *   **Before Thread A acquires `delayed_refs->lock`:**
        Thread C *also* calls `add_delayed_ref` for the same `index`.
        Thread C calls `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`. It sees `XA_ZERO_ENTRY` is present (which it treats as non-NULL) and does nothing.
        Thread C then acquires `delayed_refs->lock` *before* Thread A.
        Thread C calls `add_delayed_ref_head`. Inside, `xa_load` returns `NULL` because `XA_ZERO_ENTRY` is effectively treated as `NULL` by `xa_load`.
        Thread C calls `xa_store(&delayed_refs->head_refs, index, head_ref_C, GFP_ATOMIC)`, replacing `XA_ZERO_ENTRY` with `head_ref_C`.
        Thread C releases the lock.
    *   **Thread A then acquires `delayed_refs->lock`.**
        It calls `add_delayed_ref_head`. `xa_load` now returns `head_ref_C`. Thread A merges its `head_ref` into `head_ref_C`.

    This scenario seems to work out, but what if Thread A's `add_delayed_ref_head` fails *before* the `xa_load`? Looking at lines 864-896 of `add_delayed_ref_head`, there's logic for `qgroup` checks and potential early returns of `ERR_PTR(ret)`. If such an error occurs, the code executes `xa_release(&delayed_refs->head_refs, index);`.

    And here's where I hit a major snag: what does `xa_release(xa, index)` actually do? It calls `xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0)`.

    Let's re-trace `xa_release` when `XA_ZERO_ENTRY` *was* stored by `xa_reserve`:

    1.  `xa_reserve(xa, index, GFP_NOFS)` was called when `xa` was empty at `index`.
        It performed `xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, GFP_NOFS)`.
        Internally, `__xa_cmpxchg_raw` would have been called. `xas_load(&xas)` would return `NULL`. The condition `curr == old` (`NULL == NULL`) is true.
        Then `xas_store(&xas, XA_ZERO_ENTRY)` is executed.
        This involves `xas_create` if needed, an `xa_node` is allocated, `XA_ZERO_ENTRY` is placed in `node->slots[offset]`, and `node->count` is incremented by 1.

    2.  Now, `xa_release(xa, index)` is called:
        `xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0)` is invoked.
        Inside `__xa_cmpxchg_raw`:
        The `do-while` loop starts. `curr = xas_load(&xas)`.
        **The critical question is: what does `xas_load(&xas)` return when `XA_ZERO_ENTRY` is stored at `index`?**
        Looking into `xas_load` and `xas_start` (and `xa_entry`) in `lib/xarray.c`, I need to determine if `XA_ZERO_ENTRY` is treated as `NULL` when loaded. This is where the understanding of `xarray`'s internal representation becomes paramount. If `xas_load` *converts* `XA_ZERO_ENTRY` back to `NULL` during a load operation, then `xa_release` could indeed be problematic in this scenario.

    My current focus is dissecting `lib/xarray.c`, specifically the behavior of `xas_load` and how it interprets `XA_ZERO_ENTRY`. This is the key to understanding if `xa_release` can incorrectly remove an `xa_node` that was only ever intended to be a placeholder, and potentially lead to the exact bug I'm investigating.


64/2 2026/10/19 01:08 tool read-file
0m Args:
map[File:lib/xarray.c FirstLine:120 LineCount:90]

Results:
map[Contents: 120:	 * xas_squash_marks() - Merge all marks to the first entry
 121:	 * @xas: Array operation state.
 122:	 *
 123:	 * Set a mark on the first entry if any entry has it set.  Clear marks on
 124:	 * all sibling entries.
 125:	 */
 126:	static void xas_squash_marks(const struct xa_state *xas)
 127:	{
 128:		xa_mark_t mark = 0;
 129:		unsigned int limit = xas->xa_offset + xas->xa_sibs + 1;
 130:	
 131:		for (;;) {
 132:			unsigned long *marks = node_marks(xas->xa_node, mark);
 133:	
 134:			if (find_next_bit(marks, limit, xas->xa_offset + 1) != limit) {
 135:				__set_bit(xas->xa_offset, marks);
 136:				bitmap_clear(marks, xas->xa_offset + 1, xas->xa_sibs);
 137:			}
 138:			if (mark == XA_MARK_MAX)
 139:				break;
 140:			mark_inc(mark);
 141:		}
 142:	}
 143:	
 144:	/* extracts the offset within this node from the index */
 145:	static unsigned int get_offset(unsigned long index, struct xa_node *node)
 146:	{
 147:		return (index >> node->shift) & XA_CHUNK_MASK;
 148:	}
 149:	
 150:	static void xas_set_offset(struct xa_state *xas)
 151:	{
 152:		xas->xa_offset = get_offset(xas->xa_index, xas->xa_node);
 153:	}
 154:	
 155:	/* move the index either forwards (find) or backwards (sibling slot) */
 156:	static void xas_move_index(struct xa_state *xas, unsigned long offset)
 157:	{
 158:		unsigned int shift = xas->xa_node->shift;
 159:		xas->xa_index &= ~XA_CHUNK_MASK << shift;
 160:		xas->xa_index += offset << shift;
 161:	}
 162:	
 163:	static void xas_next_offset(struct xa_state *xas)
 164:	{
 165:		xas->xa_offset++;
 166:		xas_move_index(xas, xas->xa_offset);
 167:	}
 168:	
 169:	static void *set_bounds(struct xa_state *xas)
 170:	{
 171:		xas->xa_node = XAS_BOUNDS;
 172:		return NULL;
 173:	}
 174:	
 175:	/*
 176:	 * Starts a walk.  If the @xas is already valid, we assume that it's on
 177:	 * the right path and just return where we've got to.  If we're in an
 178:	 * error state, return NULL.  If the index is outside the current scope
 179:	 * of the xarray, return NULL without changing @xas->xa_node.  Otherwise
 180:	 * set @xas->xa_node to NULL and return the current head of the array.
 181:	 */
 182:	static void *xas_start(struct xa_state *xas)
 183:	{
 184:		void *entry;
 185:	
 186:		if (xas_valid(xas))
 187:			return xas_reload(xas);
 188:		if (xas_error(xas))
 189:			return NULL;
 190:	
 191:		entry = xa_head(xas->xa);
 192:		if (!xa_is_node(entry)) {
 193:			if (xas->xa_index)
 194:				return set_bounds(xas);
 195:		} else {
 196:			if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK)
 197:				return set_bounds(xas);
 198:		}
 199:	
 200:		xas->xa_node = NULL;
 201:		return entry;
 202:	}
 203:	
 204:	static __always_inline void *xas_descend(struct xa_state *xas,
 205:						struct xa_node *node)
 206:	{
 207:		unsigned int offset = get_offset(xas->xa_index, node);
 208:		void *entry = xa_entry(xas->xa, node, offset);
 209:	
]

65/2 2026/10/19 01:08 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 96345
							output: 38
							thoughts: 1077
						

Thoughts:
**My Thoughts on the `XA_ZERO_ENTRY` and `xa_reserve` Failure Scenario**

It seems I'm wrestling with a subtle point concerning the interaction between `xas_load`, `xa_release`, and `xa_reserve`, specifically when `xa_reserve` encounters a failure. I understand that `xas_load` returning `XA_ZERO_ENTRY` is distinct from it returning `NULL`, and this difference is crucial for `xa_release` to function correctly even when `xa_reserve` initially stored `XA_ZERO_ENTRY`.

The more pressing issue I'm trying to get to the bottom of is what happens precisely when `xa_reserve` *fails*. I need to re-examine why, in a specific bug report scenario, `head_refs` was left non-empty even after `xa_reserve` failed.

Looking back at the fault injection stack trace provided in that report, I see the call chain: `dump_stack_lvl` -> `fail_dump` -> `should_fail_ex` -> `should_failslab` -> `slab_pre_alloc_hook` -> `slab_alloc_node` -> `kmem_cache_alloc_lru_noprof` -> `__xas_nomem` -> `__xa_cmpxchg_raw` -> `__xa_cmpxchg` -> `xa_cmpxchg` -> `xa_reserve` -> `add_delayed_ref`.

This trace immediately brings up a question: did `xa_reserve` allocate an `xa_node` and *then* fail in `__xas_nomem`? Or was there an earlier call to `xa_reserve` within the same `add_delayed_ref` operation that caused a problem? I need to investigate both possibilities.

Let's dive into the `xa_reserve` logic. When `xas_store(&xas, XA_ZERO_ENTRY)` is executed, the `xas_create` function is invoked. Within `xas_create`, there's a critical section:

```c
		if (xas_top(node)) {
			entry = xa_head_locked(xa);
			xas->xa_node = NULL;
			if (!entry && xa_zero_busy(xa))
				entry = XA_ZERO_ENTRY;
			shift = xas_expand(xas, entry);
			if (shift < 0)
				return NULL;
			if (!shift && !allow_root)
				shift = XA_CHUNK_SHIFT;
			entry = xa_head_locked(xa);
			slot = &xa->xa_head;
		}
```

Following this, there's a loop that handles node expansion:

```c
		while (shift > order) {
			shift -= XA_CHUNK_SHIFT;
			if (!entry) {
				node = xas_alloc(xas, shift);
				if (!node)
					break;
				if (xa_track_free(xa))
					node_mark_all(node, XA_FREE_MARK);
				rcu_assign_pointer(*slot, xa_mk_node(node));
			} else if (xa_is_node(entry)) {
				node = xa_to_node(entry);
			} else {
				break;
			}
			entry = xas_descend(xas, node);
			slot = &node->slots[xas->xa_offset];
		}
```

The crucial point here is what happens within `xas_create` when `index` is 64 or greater, meaning `shift` is at least 12 and requires at least two `xa_node`s to be allocated.

Consider a scenario where `head_refs` is initially empty (its `xa_head` is `NULL`), or it contains existing nodes with a smaller shift.

1.  The first attempt to allocate a node (say, for `shift = 6`) using `xas_alloc` might succeed. This allocation could succeed directly via `GFP_NOWAIT` within `xas_alloc`, *or* it could fail and then be handled by `__xas_nomem` in the first iteration of the loop.
    *   A thought that needs immediate clarification: does `should_failslab` only target allocations *without* `__GFP_NOWARN`? I need to pause and actually check the implementation in `mm/failslab.c` to be absolutely sure about the conditions under which it injects failures. This detail is critical for understanding the exact failure point.

My current focus is on meticulously tracing these allocation paths and failure conditions to understand how `xa_reserve` can return failure while leaving the xarray in an inconsistent or partially allocated state, which is what I suspect happened in the bug report.


66/2 2026/10/19 01:08 tool read-file
0m Args:
map[File:mm/failslab.c FirstLine:1 LineCount:60]

Results:
map[Contents:   1:	// SPDX-License-Identifier: GPL-2.0
   2:	#include <linux/fault-inject.h>
   3:	#include <linux/error-injection.h>
   4:	#include <linux/debugfs.h>
   5:	#include <linux/slab.h>
   6:	#include <linux/mm.h>
   7:	#include "slab.h"
   8:	
   9:	static struct {
  10:		struct fault_attr attr;
  11:		bool ignore_gfp_reclaim;
  12:		bool cache_filter;
  13:	} failslab = {
  14:		.attr = FAULT_ATTR_INITIALIZER,
  15:		.ignore_gfp_reclaim = true,
  16:		.cache_filter = false,
  17:	};
  18:	
  19:	int should_failslab(struct kmem_cache *s, gfp_t gfpflags)
  20:	{
  21:		int flags = 0;
  22:	
  23:		/* No fault-injection for bootstrap cache */
  24:		if (unlikely(s == kmem_cache))
  25:			return 0;
  26:	
  27:		if (gfpflags & __GFP_NOFAIL)
  28:			return 0;
  29:	
  30:		if (failslab.ignore_gfp_reclaim &&
  31:				(gfpflags & __GFP_DIRECT_RECLAIM))
  32:			return 0;
  33:	
  34:		if (failslab.cache_filter && !(s->flags & SLAB_FAILSLAB))
  35:			return 0;
  36:	
  37:		/*
  38:		 * In some cases, it expects to specify __GFP_NOWARN
  39:		 * to avoid printing any information(not just a warning),
  40:		 * thus avoiding deadlocks. See commit 6b9dbedbe349 for
  41:		 * details.
  42:		 */
  43:		if (gfpflags & __GFP_NOWARN)
  44:			flags |= FAULT_NOWARN;
  45:	
  46:		return should_fail_ex(&failslab.attr, s->object_size, flags) ? -ENOMEM : 0;
  47:	}
  48:	ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
  49:	
  50:	static int __init setup_failslab(char *str)
  51:	{
  52:		return setup_fault_attr(&failslab.attr, str);
  53:	}
  54:	__setup("failslab=", setup_failslab);
  55:	
  56:	#ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
  57:	static int __init failslab_debugfs_init(void)
  58:	{
  59:		struct dentry *dir;
  60:		umode_t mode = S_IFREG | 0600;
]

67/2 2026/10/19 01:08 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 98283
							output: 37
							thoughts: 1904
						

Thoughts:
**My Thoughts on the Btrfs Transaction Delayed Refs Bug**

Here's a breakdown of my thought process as I dug into this Btrfs issue:

My initial observation was about `GFP_NOWAIT` and its interaction with `__GFP_NOWARN`. I realized that when `xas_alloc` uses `GFP_NOWAIT`, even if it fails (or succeeds with a low probability), it *won't* print a `dump_stack`. This is important because it means the usual noisy debugging information is suppressed in this specific scenario.

Then, I followed the failure path: when `xas_alloc` *does* fail with `GFP_NOWAIT`, the code proceeds to call `__xas_nomem` with `GFP_NOFS`. Here's the crucial difference: `GFP_NOFS` *does not* have `__GFP_NOWARN`. This means that if `should_failslab` decides to inject a failure at this point, we *will* get a `FAULT_INJECTION: forcing a failure` stack trace, which is how the problem is being exposed.

Next, I considered the state of the transaction when this failure occurs. It's critical that `xas_create` or `xas_expand` had already successfully allocated and linked at least one upper-level `xa_node` into `delayed_refs->head_refs` *before* the subsequent `xas_alloc` and `__xas_nomem` calls failed. This pre-existing, but empty (`count == 0`), `xa_node` is the key to the subsequent problems.

Because this `xa_node` was left behind by the failed `xa_reserve` operation, `add_delayed_ref` correctly returns `-ENOMEM`. This triggers an abort in `__btrfs_run_delayed_items`. The transaction then goes through its cleanup process: `cleanup_transaction` calls `btrfs_cleanup_one_transaction`, which in turn calls `btrfs_destroy_delayed_refs`.

Here's where the core issue lies: `btrfs_destroy_delayed_refs` iterates through and erases existing entries. However, it *doesn't* free that empty `xa_node` that was left dangling by the failed `xa_reserve`. Furthermore, `btrfs_destroy_delayed_refs` *explicitly does not* call `xa_destroy(&delayed_refs->head_refs)`.

The final act in this sequence is `btrfs_put_transaction`. When the transaction's `use_count` drops to zero, it hits a `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))`. This warning is triggered precisely because that empty `xa_node` is still present in `head_refs`, and it points to the problematic state of the delayed references.

Now, I started to think about the implications *after* this warning. In `btrfs_put_transaction`, after the `WARN_ON`s, there's a `kfree(transaction)`. My immediate question was: what happens if `kfree(transaction)` is called when `transaction->delayed_refs.head_refs.xa_head` still points to an allocated `struct xa_node`?

I then looked into `xas_alloc`'s initialization of the new `xa_node`. It sets `node->parent` and `node->array`. The crucial follow-up question became: does anything else in the kernel hold a reference to this `struct xa_node` besides the `transaction->delayed_refs.head_refs.xa_head`? I checked `add_delayed_ref`, and `xas->xa_lru` was `NULL` there. I also verified that `node->private_list` was empty. This confirmed my suspicion: only the `transaction` itself held a pointer to this orphaned `xa_node`.

This led to the discovery of the memory leak. When `kfree(transaction)` is called *without* `xa_destroy(&transaction->delayed_refs.head_refs)` having been called, that allocated `struct xa_node` (which is 576 bytes from `radix_tree_node_cachep`) is simply leaked. This constitutes a memory leak on `-ENOMEM`, a rather ironic consequence.

I then considered a slightly different scenario: what if `xa_reserve` failed, but the transaction *wasn't* aborted, and later committed and called `btrfs_run_delayed_refs(trans, U64_MAX)`? In this case, `xa_empty(&delayed_refs->head_refs)` would still be false even after processing all valid delayed refs. This would lead to an infinite loop within `btrfs_run_delayed_refs` (with `cond_resched()`).

Finally, I turned to the most important question: how could this bug possibly manifest in a real, non-fault-injection production kernel? To trigger this bug at all, a specific sequence of events is required:
1. `xa_reserve` must first successfully allocate an upper-level `xa_node` (either via `xas_alloc` or `xas_expand`).
2. Critically, *within that same* `xa_reserve` call, both the `xas_alloc(..., GFP_NOWAIT)` and the subsequent `__xas_nomem(..., GFP_NOFS)` (which calls `kmem_cache_alloc_lru(radix_tree_node_cachep, NULL, GFP_NOFS)`) must fail with `-ENOMEM`.

This led me to ponder if `kmem_cache_alloc_lru(radix_tree_node_cachep, NULL, GFP_NOFS)` could fail in a real system without explicit fault injection. My initial thought was that this would only happen under extreme Out-Of-Memory (OOM) conditions, where even page reclaim fails. However, I then had a crucial insight: I needed to check if memory accounting was enabled for this specific allocation.

I went back to the initialization of `head_refs` in `join_transaction`. I found that `xa_init` sets `xa_flags` to `0`, meaning `XA_FLAGS_ACCOUNT` is *not* set. Consequently, when `xas_nomem` or `__xas_nomem` encounters the `XA_FLAGS_ACCOUNT` check, the `gfp` flag will simply remain `GFP_NOFS`, *not* `GFP_NOFS | __GFP_ACCOUNT`.

This realization was significant: even memory control group (memcg) limits wouldn't be able to cause `kmem_cache_alloc_lru(radix_tree_node_cachep, NULL, GFP_NOFS)` to fail, because accounting wasn't enabled for these allocations. This strongly suggests that triggering this bug without fault injection would be extremely difficult, likely requiring a system-wide catastrophic memory exhaustion scenario. I then resolved to check if `radix_tree_node_cachep` itself was created with `SLAB_ACCOUNT` to be absolutely sure, and I decided to grep for its definition in `lib/radix-tree.c`.


68/2 2026/10/19 01:09 tool grepper
0m Args:
map[Expression:radix_tree_node_cachep = PathPrefixes:[lib/]]

Results:
map[Output:lib/radix-tree.c=1594=void __init radix_tree_init(void)
--
lib/radix-tree.c-1600-	BUILD_BUG_ON(XA_CHUNK_SIZE > 255);
lib/radix-tree.c:1601:	radix_tree_node_cachep = kmem_cache_create("radix_tree_node",
lib/radix-tree.c-1602-			sizeof(struct radix_tree_node), 0,
]

69/2 2026/10/19 01:09 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 100363
							output: 42
							thoughts: 21
						

Thoughts:
**My Thought Process for Navigating `radix-tree.c` around line 1601**

My initial impulse is to dive straight into the code, and my mental cursor immediately gravitates towards `lib/radix-tree.c` at the specific marker of line 1601. This isn't just a random jump; I'm anticipating that this section of the codebase will be crucial for understanding a particular aspect of the radix tree implementation. Given my expertise, I'm not just looking for syntax; I'm seeking the underlying logic, the architectural decisions, and the elegance (or perhaps the necessary compromises) that define how this data structure is being realized.

As I begin to read, my primary focus will be on the **context**. What is happening *immediately* before and after line 1601? Is this part of a larger function? What is the function's stated purpose? Understanding the surrounding code is paramount because a single line, especially in a complex C file like this, rarely exists in isolation. It's a cog within a larger machine, and I need to see the gears it meshes with.

I'll be looking for **key data structures and variables**. What are the prominent types being manipulated? What are their names suggesting about their roles? I'm mentally constructing a model of the radix tree's internal representation, noting how nodes are structured, how keys are encoded, and how child pointers are managed. At this specific line, I'm particularly interested in whether it involves node traversal, key comparison, node splitting or merging, insertion, deletion, or perhaps some form of iteration.

The **algorithm** will be my next point of scrutiny. Is there a recursive approach, an iterative loop, or a combination? How are edge cases being handled? I'm thinking about performance implications – are there any obvious optimizations or potential bottlenecks present? I'll be analyzing the control flow, paying close attention to conditional statements (`if`, `else`, `switch`) and loops (`for`, `while`). I want to understand the decision-making process within the code.

Furthermore, I'll be considering the **intent behind the code**. Why was it written this way? What problem is it trying to solve? Sometimes, the most illuminating insights come from understanding the rationale, even if it's not explicitly documented. I'll be hypothesizing about potential use cases and how this specific section contributes to the overall functionality of the radix tree. For instance, if line 1601 is related to key matching, I'll be thinking about exact matches, prefix matches, and how the tree structure facilitates these operations efficiently.

I'll also be **scanning for common patterns and idioms** within C programming and data structure implementations. Are there familiar ways of managing memory, handling pointers, or performing bitwise operations? This helps me to quickly grasp the meaning of the code, drawing on my existing knowledge base.

Finally, as I read, I'll be **forming questions and hypotheses**. Is this implementation thread-safe? What are the guarantees about the state of the tree after this operation? What are the time and space complexity implications of the logic at this line? These questions will guide my deeper analysis and prompt further investigation if necessary. The goal is to move from simply reading the code to truly understanding it, and then to critically evaluating its design and implementation.


70/2 2026/10/19 01:09 tool read-file
0m Args:
map[File:lib/radix-tree.c FirstLine:1594 LineCount:20]

Results:
map[Contents:1594:	void __init radix_tree_init(void)
1595:	{
1596:		int ret;
1597:	
1598:		BUILD_BUG_ON(RADIX_TREE_MAX_TAGS + __GFP_BITS_SHIFT > 32);
1599:		BUILD_BUG_ON(ROOT_IS_IDR & ~GFP_ZONEMASK);
1600:		BUILD_BUG_ON(XA_CHUNK_SIZE > 255);
1601:		radix_tree_node_cachep = kmem_cache_create("radix_tree_node",
1602:				sizeof(struct radix_tree_node), 0,
1603:				SLAB_PANIC | SLAB_RECLAIM_ACCOUNT,
1604:				radix_tree_node_ctor);
1605:		ret = cpuhp_setup_state_nocalls(CPUHP_RADIX_DEAD, "lib/radix:dead",
1606:						NULL, radix_tree_cpu_dead);
1607:		WARN_ON(ret < 0);
1608:	}
]

71/2 2026/10/19 01:09 llm expert
1m Model:
gemini-4-argon

Tokens:
							input: 100729
							output: 39
							thoughts: 3087
						

Thoughts:
**My Thoughts on this Btrfs Allocation Failure**

So, I've been digging into this Btrfs allocation issue, and I'm trying to piece together the whole picture, particularly from a security perspective. Here's my breakdown of the thought process:

First off, I'm looking at how `radix_tree_node_cachep` is initialized. It's created with `SLAB_PANIC | SLAB_RECLAIM_ACCOUNT`, but crucially, *not* `SLAB_ACCOUNT`. This tells me that accounting for allocations isn't the primary concern here, which might be relevant later.

Then, I see `head_refs` being initialized. It uses `xa_init(&cur_trans->delayed_refs.head_refs)`, which means its flags are `0`, *not* `XA_FLAGS_ACCOUNT`. Again, this points away from explicit accounting.

The core of the issue seems to stem from `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`. This function, in turn, calls `kmem_cache_alloc_lru(radix_tree_node_cachep, NULL, GFP_NOFS)`.

Now, I'm thinking about how this allocation actually works within the Linux page allocator, specifically in `__alloc_pages_slowpath`. For an order-0 (or small slab order) allocation using `GFP_NOFS`, which implies `__GFP_DIRECT_RECLAIM`, the system will loop in the reclaim path. It's designed to *never* fail unless specific conditions are met: either fault injection (`failslab`) is active, or the system is utterly exhausted of memory and `GFP_NOFS` can't even trigger the OOM killer (and even then, it would give up after `MAX_RECLAIM_RETRIES`).

Okay, so what happens *if* `xa_reserve` *does* fail with `-ENOMEM`? My immediate thought goes to the reported path: `btrfs_commit_transaction` -> `__btrfs_run_delayed_items` -> `add_delayed_ref`. If `xa_reserve` fails here, the transaction is aborted. Then, `btrfs_put_transaction` is called, which hits a `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))`. This is a warning, not a hard `BUG_ON`, so it won't panic in production builds. The consequence, however, is that one or two `xa_node`s (about 576 bytes each) are leaked when the aborted transaction is freed.

But then I pause. "Wait a minute," I think. "What if `xa_reserve` fails in a path that *doesn't* abort the transaction?" For example, in `btrfs_search_slot` -> `btrfs_cow_block` at `last_level`?

This leads me to a crucial hypothetical: Imagine a Btrfs filesystem is mounted and actively being used. The entire system is critically low on memory. An allocation of a 576-byte `radix_tree_node` fails using `GFP_NOFS`, *right after* a previous, identical allocation succeeded. My mind immediately jumps to the security implications.

This is where I start diving deep into the security dimensions.

**First, is it Exploitable?**
Can this bug lead to memory corruption, privilege escalation, or an information leak?
I'm scrutinizing what happens when `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)` fails in `__xas_nomem`. An empty `struct xa_node` (count 0, all slots NULL) or a parent node pointing only to an empty child node might remain in `delayed_refs->head_refs`.
I then ask myself: Does anything *ever* dereference an invalid pointer, freed memory, or go out of bounds? I check the relevant XArray functions like `xa_load`, `xa_find`, `xa_for_each_start`, `xa_store`, `xa_erase`, `xa_reserve`. My conclusion is that they all treat a `struct xa_node` with NULL slots as a perfectly valid XArray structure.
"But what if," I ponder, "another `xa_reserve` or `xa_store` later puts something into that empty node, and then `xa_erase` removes it?" I trace this scenario: If an empty node `N` (with `N->count == 0`) is left, and a subsequent `add_delayed_ref` stores an entry into `N`, `N->count` goes from 0 to 1. Later, when that entry is erased, `N->count` goes back to 0, and `xas_delete_node` frees `N`, then its parent `P` is freed too. I even consider the edge case where `N` might have a child `M` already, and a new entry is stored in `N` at a *different* slot and then erased. My analysis confirms that `node->count` remains consistent with the number of non-NULL slots. This is because `xas_alloc` increments `parent->count` precisely when the child node is allocated and stored, and `xas_create` immediately assigns the pointer.
And when `btrfs_put_transaction` runs, it hits the `WARN_ON`, frees the transaction structure, but the `xa_node`s in `delayed_refs->head_refs` are leaked. Crucially, nothing else in the kernel holds a reference to these leaked nodes.
Therefore, I'm confident that there's no use-after-free, no out-of-bounds access, no slab corruption, no uninitialized memory read, and no information leak. So, `Exploitable` is definitely `false`.

**Second, is it a Denial of Service?**
Now for the DoS aspect.
In the reported bug, the `WARN_ON` in `btrfs_put_transaction` is just a warning, not a crash. However, there are other consequences.
1. When the transaction is aborted and freed, the `xa_node`(s) left in `delayed_refs->head_refs` are leaked because `xa_destroy` isn't called.
2. More critically, if `xa_reserve` fails in a path that *doesn't* abort the transaction (like `btrfs_search_slot` leading to `add_delayed_ref` without an explicit transaction abort), when the transaction later tries to commit, `btrfs_run_delayed_refs(trans, U64_MAX)` will get stuck in an infinite loop (`goto again;` with `cond_resched()`) because `xa_empty(&delayed_refs->head_refs)` will never be true.

This leads me to question: can `xa_reserve(..., GFP_NOFS)` *actually* fail without fault injection? And what if a task is within a memory cgroup? Earlier, I noted `radix_tree_node_cachep` lacks `SLAB_ACCOUNT`. What if the task is killed or is an OOM victim? How is `DenialOfService` typically evaluated for `failslab` bugs?

I need to think critically about this. If a bug *only* happens when a `GFP_NOFS` allocation of a 576-byte object fails, and that failure is *only* triggered by fault injection (`FAULT_INJECTION: forcing a failure. name failslab`), then can an attacker reliably trigger this in a normal production build to cause a DoS?

I then re-read the instructions for determining Denial of Service. They're very specific: "Most bugs can, since they cause system crash, hangs, deadlocks, or resource leaks." For WARNING bugs, it's about the consequences of violating kernel assumptions. If the condition is handled normally (e.g., with `if (WARN_ON(...))`), it's not a DoS. But if it's *not* handled, it *may or may not* cause DoS.

Here, the condition flagged by `WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` in `btrfs_put_transaction` is *not* handled at all. The code just warns and then frees the transaction, leaking the `xa_node` memory. Furthermore, in `btrfs_run_delayed_refs`, the loop termination relies on `xa_empty(&delayed_refs->head_refs)`. An empty `xa_node` left in `head_refs` *will* cause an infinite loop during transaction commit.

So, the violation of the kernel assumption (an empty `xa_node` in `head_refs` when no delayed refs actually exist) directly leads to a resource leak and/or an infinite loop (a hang) in `btrfs_run_delayed_refs`.

Therefore, `DenialOfService` is `true`.

Finally, I'm looking at the accessibility dimensions:
1.  `Unprivileged` (Accessible From Unprivileged Processes)
2.  `UserNamespace` (Accessible From User Namespaces)
3.  `Malicious Filesystem Trigger` (`FilesystemTrigger`)
4.  `VMGuestTrigger`, `VMHostTrigger`, `NetworkTrigger`, `RemoteTrigger`, `PeripheralTrigger`.

To assess these, I need to understand how `add_delayed_ref` and `btrfs_commit_transaction` are reached. The provided stack trace is key: `btrfs_ioctl` -> `btrfs_ioctl_shutdown` -> `freeze_super` -> `sync_filesystem` -> `btrfs_commit_transaction` -> ... -> `add_delayed_ref`.

I realize that `btrfs_commit_transaction` (or `add_delayed_ref` directly) is invoked by *every* normal filesystem modification on a mounted Btrfs filesystem. This includes operations like `sync()`, `fsync()`, creating, writing, truncating, or unlinking files, and any inode updates.

The crucial question becomes: Can an unprivileged user, without special capabilities and without mounting a filesystem themselves, trigger `add_delayed_ref` and `btrfs_commit_transaction` if the system is using Btrfs (e.g., `/tmp` or `/home` is on Btrfs)?

To answer this, I need to check how Btrfs is configured. I'd look at `fs/btrfs/super.c` for `fs_flags` of `btrfs_fs_type` and `btrfs_root_fs_type` to see if an unprivileged user can mount it. This is where I'd continue my investigation to classify the bug in terms of `Unprivileged`, `UserNamespace`, and `FilesystemTrigger`.


72/2 2026/10/19 01:10 tool grepper
0m Args:
map[Expression:struct file_system_type btrfs PathPrefixes:[fs/btrfs/]]

Results:
map[Output:fs/btrfs/super.c=68=static const struct super_operations btrfs_super_ops;
fs/btrfs/super.c:69:static struct file_system_type btrfs_fs_type;
fs/btrfs/super.c-70-
--
fs/btrfs/super.c=2197=static int btrfs_init_fs_context(struct fs_context *fc)
--
fs/btrfs/super.c-2225-
fs/btrfs/super.c:2226:static struct file_system_type btrfs_fs_type = {
fs/btrfs/super.c-2227-	.owner			= THIS_MODULE,
]

73/2 2026/10/19 01:10 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 104043
							output: 43
							thoughts: 26
						

Thoughts:
**My Thought Process Regarding `fs/btrfs/super.c` Lines 2220-2250**

Alright, diving into `fs/btrfs/super.c`, specifically around lines 2220 to 2250, my immediate focus is on understanding the initialization and setup procedures for a Btrfs filesystem, as this code block likely pertains to the `btrfs_mount_fs` function or a closely related helper. I'm anticipating seeing critical operations that establish the in-memory representation of the mounted filesystem, including the super block, the root tree, and any initial locking or state management.

As I scan the lines, I'm looking for the allocation and population of the `btrfs_fs_info` structure. This is the central hub for all filesystem-wide information, so its setup is paramount. I'll be paying close attention to how the super block is read from disk and validated, ensuring its integrity and that it corresponds to a Btrfs filesystem. This would involve checking magic numbers, versioning, and perhaps some initial checksum verification of the super block itself.

Furthermore, I expect to see the initialization of the root tree. This is the cornerstone of Btrfs's metadata management, so I'll be looking for how the tree's root node is identified from the super block and how the necessary structures to traverse and manipulate this tree are prepared in memory. This might involve setting up tree search parameters or initial node caches.

I'll also be monitoring for the establishment of essential locking mechanisms. Btrfs is a complex, concurrent filesystem, so ensuring proper synchronization primitives (like mutexes, spinlocks, or read-write semaphores) are initialized and associated with the appropriate data structures is crucial for preventing race conditions and maintaining data consistency during mount.

Finally, I'll be looking for any early error handling or sanity checks. If any of these critical initialization steps fail, the mount operation must abort gracefully, and this code is likely where those failure paths would be handled, returning appropriate error codes to the caller. The goal here is a robust and correctly initialized filesystem in memory, ready for subsequent operations.


74/2 2026/10/19 01:10 tool read-file
0m Args:
map[File:fs/btrfs/super.c FirstLine:2220 LineCount:30]

Results:
map[Contents:2220:	#endif
2221:		fc->sb_flags |= SB_I_VERSION;
2222:	
2223:		return 0;
2224:	}
2225:	
2226:	static struct file_system_type btrfs_fs_type = {
2227:		.owner			= THIS_MODULE,
2228:		.name			= "btrfs",
2229:		.init_fs_context	= btrfs_init_fs_context,
2230:		.parameters		= btrfs_fs_parameters,
2231:		.kill_sb		= btrfs_kill_super,
2232:		.fs_flags		= FS_REQUIRES_DEV | FS_BINARY_MOUNTDATA |
2233:					  FS_ALLOW_IDMAP | FS_MGTIME,
2234:	 };
2235:	
2236:	MODULE_ALIAS_FS("btrfs");
2237:	
2238:	static int btrfs_control_open(struct inode *inode, struct file *file)
2239:	{
2240:		/*
2241:		 * The control file's private_data is used to hold the
2242:		 * transaction when it is started and is used to keep
2243:		 * track of whether a transaction is already in progress.
2244:		 */
2245:		file->private_data = NULL;
2246:		return 0;
2247:	}
2248:	
2249:	/*
]

75/2 2026/10/19 01:10 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 104546
							output: 43
							thoughts: 225
						

Thoughts:
**My Thought Process Regarding the Btrfs Vulnerability**

My initial reaction upon examining `btrfs_fs_type` was relief: it doesn't *necessarily* point to a compromised filesystem image. This is a crucial distinction – it doesn't require pre-existing corruption or malicious intent baked into the filesystem itself.

However, this initial observation led me to a deeper line of reasoning. My immediate follow-up thought was: "Wait a minute." I realized that if a Btrfs filesystem is *already mounted* – and Btrfs is quite common, often used for `/`, `/home`, or `/tmp` on many Linux distributions like Fedora and openSUSE – then *any* unprivileged user can already perform standard file operations. Think about it: `open`, `write`, `unlink`, `fsync`, `sync`. These are everyday operations.

The critical insight here is that these common operations, when performed on a Btrfs filesystem, ultimately trigger calls to `add_delayed_ref` and, importantly, `btrfs_commit_transaction`. This is where the vulnerability lies, not in the *type* of filesystem itself being inherently broken, but in how standard interactions with a *live* Btrfs filesystem can lead to this problematic transaction commit.

Then, I recalled the specific bug report. I remembered that the stack trace showed `btrfs_ioctl_shutdown` being used by syzkaller. My immediate question became: why would syzkaller use `btrfs_ioctl_shutdown` for this? I understood that this particular `ioctl` ultimately leads to `freeze_super`, then `sync_filesystem`, and finally, `btrfs_commit_transaction`. This reinforced my earlier thought: the vulnerability isn't about needing a specially crafted filesystem, but about how standard, or even seemingly innocuous, operations can lead to this critical transaction commit.

To solidify my understanding, I decided I needed to examine the `btrfs_ioctl_shutdown` function itself in `fs/btrfs/ioctl.c`. I also wanted to explicitly verify *how* `sync_filesystem` and `btrfs_commit_transaction` are invoked by unprivileged syscalls. This is to ensure I fully grasp the path from a user-initiated action to the vulnerable transaction commit, which is the core of the issue.


76/2 2026/10/19 01:10 tool read-file
0m Args:
map[File:fs/btrfs/ioctl.c FirstLine:5160 LineCount:40]

Results:
map[Contents:5160:		return 0;
5161:	}
5162:	
5163:	static int btrfs_ioctl_shutdown(struct btrfs_fs_info *fs_info, unsigned long arg)
5164:	{
5165:		int ret = 0;
5166:		u32 flags;
5167:	
5168:		if (!capable(CAP_SYS_ADMIN))
5169:			return -EPERM;
5170:	
5171:		if (get_user(flags, (u32 __user *)arg))
5172:			return -EFAULT;
5173:	
5174:		if (flags >= BTRFS_SHUTDOWN_FLAGS_LAST)
5175:			return -EINVAL;
5176:	
5177:		if (btrfs_is_shutdown(fs_info))
5178:			return 0;
5179:	
5180:		switch (flags) {
5181:		case BTRFS_SHUTDOWN_FLAGS_LOGFLUSH:
5182:		case BTRFS_SHUTDOWN_FLAGS_DEFAULT:
5183:			ret = freeze_super(fs_info->sb, FREEZE_HOLDER_KERNEL, NULL);
5184:			if (ret)
5185:				return ret;
5186:			btrfs_force_shutdown(fs_info);
5187:			ret = thaw_super(fs_info->sb, FREEZE_HOLDER_KERNEL, NULL);
5188:			if (ret)
5189:				return ret;
5190:			break;
5191:		case BTRFS_SHUTDOWN_FLAGS_NOLOGFLUSH:
5192:			btrfs_force_shutdown(fs_info);
5193:			break;
5194:		default:
5195:			ret = -EINVAL;
5196:			break;
5197:		}
5198:		return ret;
5199:	}
]

77/2 2026/10/19 01:10 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 105366
							output: 71
							thoughts: 576
						

Thoughts:
**My Thought Process Regarding Btrfs Commit Transaction Vulnerability**

My initial observation is quite striking: I'm seeing direct calls to `sync_filesystem` and `btrfs_commit_transaction` originating from completely unprivileged syscalls. This immediately grabs my attention because such core filesystem operations are typically guarded by elevated privileges.

Specifically, I've traced the following paths:

*   The `sync()` syscall, exposed as `ksys_sync()`, and the `syncfs()` syscall (`sys_syncfs(fd)`) both directly invoke `sync_filesystem(sb)`. From there, it's a straight shot to `btrfs_sync_fs` and then, crucially, `btrfs_commit_transaction`.
*   Even `fsync(fd)`, a common operation, leads to `btrfs_sync_file` and subsequently `btrfs_commit_transaction`.
*   Furthermore, the background `btrfs-transaction` kthread (`btrfs_transaction_kthread`) periodically triggers `btrfs_commit_transaction`.
*   And perhaps most surprisingly, seemingly mundane file operations like `creat`, `mkdir`, `write`, `unlink`, `rename`, and `truncate` all involve calls that eventually reach `btrfs_search_slot`, then `btrfs_cow_block`, `btrfs_force_cow_block`, `btrfs_alloc_tree_block`, and finally `add_delayed_ref`.

The critical point here is that none of these execution paths require any special capabilities. The only operation I observed that *does* involve `CAP_SYS_ADMIN` is `btrfs_ioctl_shutdown`. This particular path *happens* to call `freeze_super` which then calls `sync_filesystem`, leading to `btrfs_commit_transaction`. However, the vulnerability isn't tied to the `CAP_SYS_ADMIN` requirement of the shutdown itself, but rather the underlying filesystem operations that can be triggered by unprivileged users.

This leads me to the conclusion that on any system with a mounted btrfs filesystem, an unprivileged user process can indeed reach `btrfs_commit_transaction` and, by extension, `add_delayed_ref`. This means:

*   `Unprivileged` is definitively `true`.
*   And `UserNamespace` is also `true`.

Now, I'm considering the trigger mechanism. The question arises: can this bug be triggered by mounting and parsing a malicious filesystem image? My initial thought was yes, as mounting a btrfs image can involve log replay, orphan cleanup, or creation of free space/UUID trees, all of which initiate transactions and call `add_delayed_ref`.

However, upon deeper reflection, I realize that the bug is *not* triggered by a crafted or malicious filesystem image in isolation. The actual trigger is an `-ENOMEM` slab allocation failure specifically within `xa_reserve(&delayed_refs->head_refs, index, GFP_NOFS)`. A malicious filesystem image, by itself, cannot guarantee that `kmem_cache_alloc_lru(radix_tree_node_cachep, ..., GFP_NOFS)` will fail at the precise moment that `xa_node` allocation within `xa_reserve` is attempted.

Therefore, I must revise my assessment for the trigger:

*   `FilesystemTrigger` is `false`.

Consequently, I can also confidently state:

*   `VMGuestTrigger` is `false`.
*   `VMHostTrigger` is `false`.
*   `NetworkTrigger` is `false`.
*   `RemoteTrigger` is `false`.
*   `PeripheralTrigger` is `false`.

With these determinations made, I'm now ready to finalize the results and provide a clear, comprehensive explanation.


78/2 2026/10/19 01:10 tool set-results
0m Args:
map[DenialOfService:true Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:true UserNamespace:true VMGuestTrigger:false VMHostTrigger:false]

Results:
map[DenialOfService:true Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:true UserNamespace:true VMGuestTrigger:false VMHostTrigger:false]

79/2 2026/10/19 01:10 llm expert
0m Model:
gemini-4-argon

Tokens:
							input: 106080
							output: 995
							thoughts: 21
						

Thoughts:
**My Thought Process on Crafting the Final Response**

Alright, everything feels prepped. My primary objective now is to articulate the bug and the security assessment with absolute clarity in our final response. This means ensuring that the intricacies of the identified vulnerability are laid out comprehensively, and the subsequent security evaluation is presented in a way that is both rigorous and easily understandable, particularly for an expert audience like yourself. I need to ensure our communication is precise, impactful, and leaves no room for ambiguity regarding the nature of the issue and our findings.


80/1 2026/10/19 01:11 action format-explanation
0m Results:
map[Explanation:### Root Cause Analysis

Commit `928ed1349dd7` ("btrfs: track delayed ref heads in an xarray") replaced
the delayed reference head red-black tree (`href_root`) with an XArray
(`transaction->delayed_refs.head_refs`).

When adding a delayed reference in `add_delayed_ref()` (or
`btrfs_add_delayed_extent_op()`), `xa_reserve(&delayed_refs->head_refs, index,
GFP_NOFS)` is called to preallocate XArray nodes and reserve the slot at
`index`:
1. Inside `xa_reserve()` -> `__xa_cmpxchg_raw()` -> `xas_store()` ->
`xas_create()`, if `index` requires a multi-level XArray tree, `xas_expand()` /
`xas_create()` allocates upper-level `xa_node` structures and links them into
`head_refs` (setting `head_refs.xa_head` to a non-NULL `xa_node` pointer).
2. If a subsequent lower-level `xa_node` allocation fails in `xas_alloc()` and
the fallback allocation in `__xas_nomem(&xas, GFP_NOFS)` also fails with
`-ENOMEM` (as triggered via `failslab` in the report), `xa_reserve()` returns
`-ENOMEM` while leaving the already-allocated upper-level `xa_node` (with `count
== 0` and all slots `NULL`) linked in `delayed_refs->head_refs`.
3. When the transaction is subsequently aborted and cleaned up in
`btrfs_cleanup_one_transaction()` -> `btrfs_destroy_delayed_refs()`, it iterates
over present entries via `find_first_ref_head()` (`xa_find(..., XA_PRESENT)`)
and calls `xa_erase()` on each entry. However, because no entry was ever stored
in the empty `xa_node` branch left behind by the failed `xa_reserve()`,
`xa_erase()` never visits or frees that `xa_node`, and
`btrfs_destroy_delayed_refs()` does not call
`xa_destroy(&delayed_refs->head_refs)` (unlike
`btrfs_qgroup_destroy_extent_records()`, which calls
`xa_destroy(&trans->delayed_refs.dirty_extents)`).
4. Consequently, when `btrfs_put_transaction()` frees the `btrfs_transaction`,
`head_refs.xa_head` is still non-NULL, triggering
`WARN_ON(!xa_empty(&transaction->delayed_refs.head_refs))` at
`fs/btrfs/transaction.c:146` and leaking the `xa_node`. Furthermore, if
`xa_reserve()` fails in a path that does not immediately abort the transaction
(e.g., `btrfs_search_slot()` failing in `btrfs_cow_block()` at the root level),
a subsequent `btrfs_run_delayed_refs(trans, U64_MAX)` during transaction commit
will loop indefinitely because `xa_empty(&delayed_refs->head_refs)` remains
false after all delayed ref heads are processed.

### Security Impact Assessment

* **Exploitable (`false`)**: The bug does not cause memory corruption,
use-after-free, out-of-bounds access, or information disclosure. The leftover
`xa_node` in `head_refs` has valid empty (`NULL`) slots, and no external
references to the `xa_node` remain when `transaction` is freed.
* **Denial of Service (`true`)**: When triggered, the unhandled leftover
`xa_node` in `head_refs` causes a memory leak of `radix_tree_node` slab objects
upon transaction teardown, or an infinite loop in `btrfs_run_delayed_refs(trans,
U64_MAX)` if the transaction is not aborted.
* **Accessible From Unprivileged Processes / User Namespaces (`true`)**:
Although the syzkaller reproducer reached `btrfs_commit_transaction()` via
`btrfs_ioctl_shutdown()`, both `add_delayed_ref()` and
`btrfs_commit_transaction()` are reachable by unprivileged processes performing
ordinary filesystem operations (`write`, `unlink`, `fsync`, `sync`, `syncfs`,
etc.) on any writable btrfs mount.
* **Malicious Filesystem / Network / Peripheral / VM Triggers (`false`)**: The
issue depends on a memory allocation failure (`-ENOMEM`) during `xa_reserve()`
rather than malformed on-disk filesystem structures, network packets, or device
input.]

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)