ID Workflow Result Correct Bug Created Started Finished Revision
42064ab6 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING: zero-size vmalloc in trace_suspend_resume 2026/09/13 00:06 2026/09/13 00:06 2026/09/13 00:34 70a60e12
Agent: prod-syz-agent-3
External Bug ID: ---

Inputs:
BaseBranch master
BaseCommit RC
BaseRepository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
BugTitle WARNING: zero-size vmalloc in trace_suspend_resume
CrashLogID 5322555759525888
CrashReportID 6193863158398976
KernelCommit 0f23d56f17fdfc7db69d51f64c8b91bbab947aa9
KernelConfig
Show (223500 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="arm-linux-gnueabi-gcc (Debian 14.2.0-19) 14.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24400
CONFIG_LLD_VERSION=0
CONFIG_RUSTC_VERSION=109101
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=210102
CONFIG_RUSTC_LLVM_MAJOR_VERSION=21
CONFIG_ARCH_HAS_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
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_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 is not set
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# 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_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=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_SHOW_LEVEL=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_IRQ_IPI=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_GENERIC_IRQ_MULTI_HANDLER=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_ARCH_HAS_TICK_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=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 is not set
CONFIG_NO_HZ_FULL=y
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

#
# 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 is not set
CONFIG_BPF_LSM=y
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
# CONFIG_SCHED_CORE is not set

#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
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 is not set
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_NEED_SRCU_NMI_SAFE=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
CONFIG_RCU_NOCB_CPU=y
# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set
# CONFIG_RCU_LAZY is not set
# 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_GENERIC_SCHED_CLOCK=y

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

CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
CONFIG_CC_MS_EXTENSIONS="-fms-extensions"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_CC_NO_ARRAY_BOUNDS=y
CONFIG_GCC_NO_STRINGOP_OVERFLOW=y
CONFIG_CC_NO_STRINGOP_OVERFLOW=y
CONFIG_SCHED_CACHE=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_NMI_SAFETY_REQUIRES_ATOMIC=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_CPUSETS=y
# CONFIG_CPUSETS_V1 is not set
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_BPF is not set
# CONFIG_CGROUP_MISC is not set
# CONFIG_CGROUP_DEBUG is not set
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 is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_INITRAMFS_FORCE is not set
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_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_HAVE_LD_DEAD_CODE_DATA_ELIMINATION=y
# CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is not set
CONFIG_LD_ORPHAN_WARN=y
CONFIG_LD_ORPHAN_WARN_LEVEL="warn"
CONFIG_SYSCTL=y
CONFIG_HAVE_UID16=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
# CONFIG_SGETMASK_SYSCALL is not set
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_BASE_SMALL is not set
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_FUTEX_PRIVATE_HASH=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_STATS is not set
# CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE is not set
# CONFIG_DEBUG_RSEQ 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_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=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_KEXEC_CORE=y
CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set
# end of Kexec and crash features

#
# Live Update and Kexec HandOver
#
# end of Live Update and Kexec HandOver
# end of General setup

CONFIG_ARM=y
CONFIG_ARM_HAS_GROUP_RELOCS=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_NO_IOPORT_MAP=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_ARM_PATCH_PHYS_VIRT=y
CONFIG_GENERIC_BUG=y
CONFIG_PGTABLE_LEVELS=3

#
# System Type
#
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_BITS_MAX=15
CONFIG_ARCH_MULTIPLATFORM=y

#
# Platform selection
#

#
# CPU Core family selection
#
# CONFIG_ARCH_MULTI_V6 is not set
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_MULTI_V6_V7=y
# end of Platform selection

# CONFIG_ARCH_VIRT is not set
# CONFIG_ARCH_AIROHA is not set
# CONFIG_ARCH_HPE is not set
# CONFIG_ARCH_RDA is not set
# CONFIG_ARCH_SUNPLUS is not set
# CONFIG_ARCH_UNIPHIER is not set
# CONFIG_ARCH_ACTIONS is not set
# CONFIG_ARCH_ALPINE is not set
# CONFIG_ARCH_ARTPEC is not set
# CONFIG_ARCH_ASPEED is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_AXXIA is not set
# CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BERLIN is not set
# CONFIG_ARCH_DIGICOLOR is not set
# CONFIG_ARCH_DOVE is not set
CONFIG_ARCH_EXYNOS=y
CONFIG_S5P_DEV_MFC=y
# CONFIG_ARCH_EXYNOS3 is not set
# CONFIG_ARCH_EXYNOS4 is not set
# CONFIG_ARCH_EXYNOS5 is not set

#
# Exynos SoCs
#
CONFIG_EXYNOS_CPU_SUSPEND=y
# CONFIG_ARCH_HIGHBANK is not set
CONFIG_ARCH_HISI=y

#
# Hisilicon platform type
#
# CONFIG_ARCH_HI3xxx is not set
# CONFIG_ARCH_HIP01 is not set
# CONFIG_ARCH_HIP04 is not set
# CONFIG_ARCH_HIX5HD2 is not set
# end of Hisilicon platform type

# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_KEYSTONE is not set
# CONFIG_ARCH_MEDIATEK is not set
# CONFIG_ARCH_MESON is not set
# CONFIG_ARCH_MILBEAUT is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_MSTARV7 is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_NPCM is not set

#
# TI OMAP/AM/DM/DRA Family
#
# CONFIG_ARCH_OMAP3 is not set
# CONFIG_ARCH_OMAP4 is not set
# CONFIG_SOC_OMAP5 is not set
# CONFIG_SOC_AM33XX is not set
# CONFIG_SOC_AM43XX is not set
# CONFIG_SOC_DRA7XX is not set
# end of TI OMAP/AM/DM/DRA Family

CONFIG_ARCH_QCOM=y
# CONFIG_ARCH_QCOM_RESERVE_SMEM is not set
# CONFIG_ARCH_REALTEK is not set
# CONFIG_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_RENESAS is not set
# CONFIG_ARCH_INTEL_SOCFPGA is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_STI is not set
# CONFIG_ARCH_STM32 is not set
CONFIG_ARCH_SUNXI=y
# CONFIG_MACH_SUN4I is not set
# CONFIG_MACH_SUN5I is not set
# CONFIG_MACH_SUN6I is not set
# CONFIG_MACH_SUN7I is not set
# CONFIG_MACH_SUN8I is not set
# CONFIG_MACH_SUN9I is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_REALVIEW is not set
CONFIG_ARCH_VEXPRESS=y
CONFIG_ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA=y
CONFIG_ARCH_VEXPRESS_SPC=y
CONFIG_ARCH_VEXPRESS_TC2_PM=y
# CONFIG_ARCH_WM8850 is not set
# CONFIG_ARCH_ZTE is not set
# CONFIG_ARCH_ZYNQ is not set
CONFIG_PLAT_VERSATILE=y

#
# Processor Type
#
CONFIG_CPU_V7=y
CONFIG_CPU_THUMB_CAPABLE=y
CONFIG_CPU_32v6K=y
CONFIG_CPU_32v7=y
CONFIG_CPU_ABRT_EV7=y
CONFIG_CPU_PABRT_V7=y
CONFIG_CPU_CACHE_V7=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V7=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y

#
# Processor Features
#
CONFIG_ARM_LPAE=y
CONFIG_ARM_THUMB=y
# CONFIG_ARM_THUMBEE is not set
CONFIG_ARM_VIRT_EXT=y
CONFIG_SWP_EMULATE=y
CONFIG_CPU_LITTLE_ENDIAN=y
# CONFIG_CPU_BIG_ENDIAN is not set
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_ICACHE_MISMATCH_WORKAROUND is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_CPU_SPECTRE=y
# CONFIG_HARDEN_BRANCH_PREDICTOR is not set
CONFIG_HARDEN_BRANCH_HISTORY=y
CONFIG_KUSER_HELPERS=y
CONFIG_VDSO=y
CONFIG_OUTER_CACHE=y
CONFIG_OUTER_CACHE_SYNC=y
CONFIG_MIGHT_HAVE_CACHE_L2X0=y
CONFIG_CACHE_L2X0=y
# CONFIG_CACHE_L2X0_PMU is not set
# CONFIG_PL310_ERRATA_588369 is not set
# CONFIG_PL310_ERRATA_727915 is not set
CONFIG_PL310_ERRATA_753970=y
# CONFIG_PL310_ERRATA_769419 is not set
CONFIG_ARM_L1_CACHE_SHIFT_6=y
CONFIG_ARM_L1_CACHE_SHIFT=6
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
CONFIG_ARM_HEAVY_MB=y
CONFIG_DEBUG_ALIGN_RODATA=y
# CONFIG_ARM_ERRATA_430973 is not set
CONFIG_ARM_ERRATA_643719=y
CONFIG_ARM_ERRATA_720789=y
# CONFIG_ARM_ERRATA_754322 is not set
# CONFIG_ARM_ERRATA_754327 is not set
# CONFIG_ARM_ERRATA_764369 is not set
# CONFIG_ARM_ERRATA_764319 is not set
# CONFIG_ARM_ERRATA_775420 is not set
# CONFIG_ARM_ERRATA_798181 is not set
# CONFIG_ARM_ERRATA_773022 is not set
# CONFIG_ARM_ERRATA_818325_852422 is not set
# CONFIG_ARM_ERRATA_821420 is not set
# CONFIG_ARM_ERRATA_825619 is not set
# CONFIG_ARM_ERRATA_857271 is not set
# CONFIG_ARM_ERRATA_852421 is not set
# CONFIG_ARM_ERRATA_852423 is not set
# CONFIG_ARM_ERRATA_857272 is not set
# end of System Type

#
# Bus support
#
# CONFIG_ARM_ERRATA_814220 is not set
# end of Bus support

#
# Kernel Features
#
CONFIG_HAVE_SMP=y
CONFIG_SMP=y
CONFIG_SMP_ON_UP=y
CONFIG_CURRENT_POINTER_IN_TPIDRURO=y
CONFIG_IRQSTACKS=y
CONFIG_ARM_CPU_TOPOLOGY=y
CONFIG_HAVE_ARM_SCU=y
CONFIG_HAVE_ARM_ARCH_TIMER=y
CONFIG_HAVE_ARM_TWD=y
CONFIG_MCPM=y
CONFIG_BIG_LITTLE=y
CONFIG_BL_SWITCHER=y
# CONFIG_BL_SWITCHER_DUMMY_IF is not set
# CONFIG_VMSPLIT_3G is not set
CONFIG_VMSPLIT_2G=y
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0x80000000
CONFIG_NR_CPUS=8
CONFIG_HOTPLUG_CPU=y
CONFIG_ARM_PSCI=y
CONFIG_HZ_FIXED=0
CONFIG_HZ_100=y
# CONFIG_HZ_200 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_500 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
# CONFIG_THUMB2_KERNEL is not set
CONFIG_ARM_PATCH_IDIV=y
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
CONFIG_ARM_PAN=y
CONFIG_CPU_TTBR0_PAN=y
CONFIG_HW_PERF_EVENTS=y
CONFIG_ARM_MODULE_PLTS=y
CONFIG_ARCH_FORCE_MAX_ORDER=10
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_TIME_ACCOUNTING=y
# CONFIG_XEN is not set
CONFIG_CC_HAVE_STACKPROTECTOR_TLS=y
CONFIG_STACKPROTECTOR_PER_TASK=y
# end of Kernel Features

#
# Boot options
#
CONFIG_USE_OF=y
CONFIG_ARCH_WANT_FLAT_DTB_INSTALL=y
CONFIG_ATAGS=y
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
# CONFIG_ARM_APPENDED_DTB is not set
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/vda console=ttyAMA0 vmalloc=512M smp.csd_lock_timeout=300000 watchdog_thresh=165 workqueue.watchdog_thresh=420 sysctl.net.core.netdev_unregister_timeout_secs=420 dummy_hcd.num=2 max_loop=2 nbds_max=2 comedi.comedi_num_legacy_minors=4 panic_on_warn=1"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set
CONFIG_CMDLINE_EXTEND=y
# CONFIG_CMDLINE_FORCE is not set
CONFIG_ARCH_SUPPORTS_KEXEC=y
# CONFIG_ATAGS_PROC is not set
CONFIG_ARCH_SUPPORTS_CRASH_DUMP=y
CONFIG_ARCH_DEFAULT_CRASH_DUMP=y
CONFIG_AUTO_ZRELADDR=y
# CONFIG_EFI is not set
# end of Boot options

#
# CPU Power Management
#

#
# 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_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
# 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 is not set

#
# CPU frequency scaling drivers
#
# CONFIG_CPUFREQ_DT is not set
# CONFIG_CPUFREQ_VIRT is not set
# CONFIG_CPUFREQ_DT_PLATDEV is not set
CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=y
# CONFIG_ARM_QCOM_CPUFREQ_HW is not set
# end of CPU Frequency scaling

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
CONFIG_DT_IDLE_STATES=y

#
# ARM CPU Idle Drivers
#
# CONFIG_ARM_CPUIDLE is not set
# CONFIG_ARM_PSCI_CPUIDLE is not set
CONFIG_ARM_BIG_LITTLE_CPUIDLE=y
# CONFIG_ARM_HIGHBANK_CPUIDLE is not set
# CONFIG_ARM_EXYNOS_CPUIDLE is not set
# CONFIG_ARM_QCOM_SPM_CPUIDLE is not set
# end of ARM CPU Idle Drivers
# end of CPU Idle
# end of CPU Power Management

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y
CONFIG_KERNEL_MODE_NEON=y
# end of Floating point emulation

CONFIG_ARCH_CC_CAN_LINK=y
CONFIG_ARCH_USERFLAGS="-mlittle-endian"

#
# Power management options
#
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 is not set
CONFIG_HIBERNATION_COMP_LZ4=y
CONFIG_HIBERNATION_DEF_COMP="lz4"
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_APM_EMULATION is not set
CONFIG_PM_CLK=y
CONFIG_PM_GENERIC_DOMAINS=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
CONFIG_PM_GENERIC_DOMAINS_OF=y
CONFIG_CPU_PM=y
CONFIG_ENERGY_MODEL=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
# end of Power management options

CONFIG_CPU_MITIGATIONS=y
CONFIG_ARCH_HAS_DMA_OPS=y

#
# General architecture-dependent options
#
CONFIG_ARCH_SUPPORTS_SCHED_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_HOTPLUG_CORE_SYNC=y
CONFIG_HOTPLUG_CORE_SYNC_DEAD=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_IDLE_POLL_SETUP=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_KEEPINITRD=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_32BIT_OFF_T=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_RUST=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_MMU_GATHER_TABLE_FREE=y
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
CONFIG_MMU_LAZY_TLB_REFCOUNT=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=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_LTO_NONE=y
CONFIG_ARCH_SUPPORTS_CFI=y
CONFIG_ARCH_USES_CFI_GENERIC_LLVM_PASS=y
CONFIG_HAVE_CONTEXT_TRACKING_USER=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_PV_STEAL_CLOCK_GEN=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_REL=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=8
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_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARCH_SUPPORTS_RT=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
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_LOCK_EVENT_COUNTS is not set
CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
CONFIG_HAVE_ARCH_PFN_VALID=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=0
CONFIG_CC_HAS_MIN_FUNCTION_ALIGNMENT=y
CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=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_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_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 is not set
# CONFIG_BLK_DEBUG_FS is not set
# CONFIG_BLK_SED_OPAL is not set
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
# 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_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_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y
CONFIG_FREEZER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_ELF_FDPIC=y
CONFIG_ELFCORE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
CONFIG_ARCH_HAS_BINFMT_FLAT=y
CONFIG_BINFMT_FLAT=y
CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y
CONFIG_BINFMT_FLAT_OLD=y
CONFIG_BINFMT_ZFLAT=y
CONFIG_BINFMT_MISC=y
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_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_HAVE_GUP_FAST=y
CONFIG_ARCH_KEEP_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_EXCLUSIVE_SYSTEM_RAM=y
CONFIG_SPLIT_PTE_PTLOCKS=y
CONFIG_BALLOON=y
CONFIG_BALLOON_MIGRATION=y
CONFIG_COMPACTION=y
CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
CONFIG_PAGE_REPORTING=y
CONFIG_MIGRATION=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_WANT_GENERAL_HUGETLB=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set
CONFIG_PAGE_MAPCOUNT=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
CONFIG_CMA_AREAS=8
CONFIG_PAGE_BLOCK_MAX_ORDER=10
CONFIG_GENERIC_EARLY_IOREMAP=y
CONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_CPU_CACHE_ALIASING=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y
CONFIG_HMM_MIRROR=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_KMAP_LOCAL=y
CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y
CONFIG_MEMFD_CREATE=y
CONFIG_ANON_VMA_NAME=y
CONFIG_USERFAULTFD=y
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
# CONFIG_LRU_GEN_STATS is not set
CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y
CONFIG_PER_VMA_LOCK=y
CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_EXECMEM=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_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_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 is not set
# 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=y
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="bbr"
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

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
# CONFIG_NETFILTER_EGRESS is not set
CONFIG_NETFILTER_NETLINK=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 is not set
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_LEGACY=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=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 is not set
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_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_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 is not set
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 is not set
# CONFIG_IP_VS is not set

#
# 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 is not set
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_CONNTRACK_BRIDGE is not set
# CONFIG_IP_SCTP is not set
CONFIG_RDS=y
CONFIG_RDS_RDMA=y
CONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not set
# CONFIG_TIPC is not set
# CONFIG_ATM 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 is not set
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_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 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_6LOWPAN is not set
# CONFIG_IEEE802154 is not set
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_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_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 is not set
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 is not set
# CONFIG_OPENVSWITCH is not set
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_DIAG=y
CONFIG_VSOCKETS_LOOPBACK=y
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
CONFIG_NETLINK_DIAG=y
# CONFIG_MPLS is not set
# CONFIG_NET_NSH is not set
CONFIG_HSR=y
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_L3_MASTER_DEV=y
# CONFIG_QRTR 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_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 is not set
# CONFIG_AF_RXRPC is not set
CONFIG_AF_KCM=y
CONFIG_STREAM_PARSER=y
CONFIG_MCTP=y
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
# CONFIG_CFG80211 is not set

#
# CFG80211 needs to be enabled for MAC80211
#
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_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_ARM_AMBA=y
CONFIG_HAVE_PCI=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=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_STUB is not set
# CONFIG_PCI_TSM is not set
# CONFIG_PCI_DOE is not set
CONFIG_PCI_ECAM=y
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_NPEM is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
# CONFIG_PCIE_TPH is not set
# 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_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_PCIE_ALTERA is not set
# CONFIG_PCI_FTPCI100 is not set
CONFIG_PCI_HOST_GENERIC=y
# CONFIG_PCI_V3_SEMI 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_PCI_LAYERSCAPE is not set
# CONFIG_PCI_LAYERSCAPE_EP is not set
# CONFIG_PCIE_HISI_STB is not set
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCIE_DW_PLAT_EP is not set
# CONFIG_PCIE_QCOM is not set
# CONFIG_PCIE_QCOM_EP is not set
# CONFIG_PCI_EXYNOS 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 is not set
# CONFIG_CARDBUS is not set

#
# PC-card bridges
#
# CONFIG_YENTA is not set
# CONFIG_PD6729 is not set
# 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_ALLOW_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_SOC_BUS=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_DMA_FENCE_TRACE is not set
CONFIG_GENERIC_ARCH_TOPOLOGY=y
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options

#
# Bus devices
#
CONFIG_ARM_CCI=y
CONFIG_ARM_CCI400_COMMON=y
CONFIG_ARM_CCI400_PORT_CTRL=y
# CONFIG_MOXTET is not set
# CONFIG_QCOM_EBI2 is not set
# CONFIG_QCOM_SSC_BLOCK_BUS is not set
# CONFIG_SUN50I_DE2_BUS is not set
# CONFIG_SUNXI_RSB is not set
CONFIG_VEXPRESS_CONFIG=y
# CONFIG_MHI_BUS is not set
# CONFIG_MHI_BUS_EP is not set
# end of Bus devices

CONFIG_CONNECTOR=y
# CONFIG_PROC_EVENTS is not set

#
# Firmware Drivers
#

#
# ARM System Control and Management Interface Protocol
#
# CONFIG_ARM_SCMI_PROTOCOL is not set
# end of ARM System Control and Management Interface Protocol

# CONFIG_FIRMWARE_MEMMAP is not set
# CONFIG_TRUSTED_FOUNDATIONS is not set
CONFIG_GOOGLE_FIRMWARE=y
# CONFIG_GOOGLE_CBMEM is not set
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_MEMCONSOLE=y
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_GOOGLE_VPD=y
CONFIG_ARM_PSCI_FW=y
# CONFIG_ARM_PSCI_CHECKER is not set

#
# Qualcomm firmware drivers
#
CONFIG_QCOM_SCM=y
CONFIG_QCOM_TZMEM=y
CONFIG_QCOM_TZMEM_MODE_GENERIC=y
# CONFIG_QCOM_TZMEM_MODE_SHMBRIDGE is not set
# CONFIG_QCOM_QSEECOM is not set
# end of Qualcomm firmware drivers

CONFIG_HAVE_ARM_SMCCC=y
CONFIG_HAVE_ARM_SMCCC_DISCOVERY=y
CONFIG_ARM_SMCCC_SOC_ID=y

#
# 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=y
CONFIG_MTD_OF_PARTS=y
CONFIG_MTD_AFS_PARTS=y
# 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=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
# CONFIG_MTD_CFI_ADV_OPTIONS 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_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_RAM=y
# 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_PHYSMAP=y
# CONFIG_MTD_PHYSMAP_COMPAT is not set
CONFIG_MTD_PHYSMAP_OF=y
# CONFIG_MTD_PHYSMAP_VERSATILE is not set
# CONFIG_MTD_PHYSMAP_GEMINI is not set
# CONFIG_MTD_PHYSMAP_IXP4XX is not set
CONFIG_MTD_PLATRAM=y
# 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

#
# 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
# CONFIG_MTD_LPDDR2_NVM 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_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_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y
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_LATTICE_ECP3_CONFIG is not set
CONFIG_SRAM=y
CONFIG_SRAM_EXEC=y
# 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_HISI_HIKEY_USB is not set
# 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_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=y
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_EEPROM_EE1004 is not set
# CONFIG_EEPROM_M24LR is not set
# end of EEPROM support

# CONFIG_CB710_CORE is not set
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL 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_AMD_SBRMI_I2C is not set
# CONFIG_MISC_RP1 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 is not set

#
# 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 is not set
# 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_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_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_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_NSP32 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_SATA_PMP is not set

#
# 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_AHCI_SUNXI 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_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 is not set
# CONFIG_MD_BITMAP_FILE is not set
# 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_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_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_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 is not set
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_ARCNET 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_NET_VENDOR_ALLWINNER 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_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_CIRRUS=y
# CONFIG_CS89x0_PLATFORM 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_DM9000 is not set
# 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_FARADAY=y
# CONFIG_FTMAC100 is not set
# CONFIG_FTGMAC100 is not set
CONFIG_NET_VENDOR_FUNGIBLE=y
# CONFIG_FUN_ETH is not set
CONFIG_NET_VENDOR_GOOGLE=y
# CONFIG_GVE is not set
CONFIG_NET_VENDOR_HISILICON=y
# CONFIG_HIX5HD2_GMAC is not set
# CONFIG_HISI_FEMAC is not set
# CONFIG_HIP04_ETH is not set
# CONFIG_HNS_DSAF is not set
# CONFIG_HNS_ENET is not set
# CONFIG_HNS3 is not set
# 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 is not set
CONFIG_E1000E=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_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_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_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
CONFIG_PHYLINK=y
CONFIG_PHYLIB=y
CONFIG_SWPHY=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_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_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 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=y
CONFIG_CAN_SLCAN=y
# CONFIG_CAN_TI_HECC is not set
# 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_USB is not set
# end of MCTP Device Drivers

CONFIG_FWNODE_MDIO=y
CONFIG_OF_MDIO=y
# CONFIG_MDIO_SUN4I is not set
# 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_IPQ4019 is not set
# CONFIG_MDIO_IPQ8064 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

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

# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
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_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 is not set
# CONFIG_WAN is not set

#
# Wireless WAN
#
# CONFIG_WWAN is not set
# end of Wireless WAN

CONFIG_VMXNET3=y
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 is not set
# 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_SUN4I_LRADC 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_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_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_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_WM97XX 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_SUN4I is not set
# 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_MMA8450 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_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_CMA3000 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_INPUT_HISI_POWERKEY 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_F55 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_AMBAKMI=y
# 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_SUN4I_PS2 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_16550A_VARIANTS=y
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_DMA is not set
CONFIG_SERIAL_8250_PCILIB=y
CONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_EXAR is not set
# 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_FSL=y
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_PERICOM=y
# CONFIG_SERIAL_OF_PLATFORM is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_AMBA_PL010 is not set
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
# CONFIG_SERIAL_EARLYCON_SEMIHOST is not set
# CONFIG_SERIAL_SAMSUNG is not set
# 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_MSM is not set
# CONFIG_SERIAL_SIFIVE 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_ST_ASC 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_IPWIRELESS is not set
CONFIG_N_GSM=y
CONFIG_NOZOMI=y
CONFIG_NULL_TTY=y
CONFIG_HVC_DRIVER=y
# CONFIG_HVC_DCC is not set
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_BA431 is not set
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_HW_RANDOM_HISI is not set
# CONFIG_HW_RANDOM_HISTB is not set
# CONFIG_HW_RANDOM_EXYNOS is not set
# CONFIG_HW_RANDOM_CCTRNG is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
CONFIG_HW_RANDOM_ARM_SMCCC_TRNG=y
# CONFIG_DEVMEM is not set
# CONFIG_DEVPORT is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TPM2_HMAC is not set
# CONFIG_HW_RANDOM_TPM is not set
# CONFIG_TCG_TIS is not set
# 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_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI 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_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_PINCTRL is not set
CONFIG_I2C_MUX_REG=y
# CONFIG_I2C_DEMUX_PINCTRL is not set
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support

CONFIG_I2C_HELPER_AUTO=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_HIX5HD2 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_PIIX4 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

#
# 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_PCI is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_EXYNOS5 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_MV64XXX is not set
# CONFIG_I2C_NOMADIK is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_QCOM_CCI is not set
# CONFIG_I2C_QUP is not set
# CONFIG_I2C_RK3X is not set
# CONFIG_I2C_S3C2410 is not set
# CONFIG_I2C_SIMTEC is not set
CONFIG_I2C_VERSATILE=y
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_DIOLAN_U2C=y
CONFIG_I2C_DLN2=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_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_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_MICROCHIP_CORE_SPI is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PCI1XXXX is not set
# CONFIG_SPI_PL022 is not set
# CONFIG_SPI_QCOM_QSPI is not set
# CONFIG_SPI_QPIC_SNAND is not set
# CONFIG_SPI_QUP is not set
# CONFIG_SPI_S3C64XX is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_SUN4I is not set
# CONFIG_SPI_SUN6I 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_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_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_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=y
CONFIG_PINMUX=y
CONFIG_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_AW9523 is not set
# CONFIG_PINCTRL_CY8C95X0 is not set
# CONFIG_PINCTRL_MCP23S08 is not set
# CONFIG_PINCTRL_MICROCHIP_SGPIO is not set
# CONFIG_PINCTRL_OCELOT is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PINCTRL_STMFX is not set
# CONFIG_PINCTRL_SX150X is not set
# CONFIG_PINCTRL_MSM is not set
# CONFIG_PINCTRL_QCOM_SSBI_PMIC is not set
# CONFIG_PINCTRL_LPASS_LPI is not set

#
# Renesas pinctrl drivers
#
# end of Renesas pinctrl drivers

CONFIG_PINCTRL_SAMSUNG=y
CONFIG_PINCTRL_EXYNOS=y
CONFIG_PINCTRL_EXYNOS_ARM=y
# CONFIG_PINCTRL_SUN4I_A10 is not set
# CONFIG_PINCTRL_SUN5I is not set
# CONFIG_PINCTRL_SUN6I_A31 is not set
# CONFIG_PINCTRL_SUN6I_A31_R is not set
# CONFIG_PINCTRL_SUN8I_A23 is not set
# CONFIG_PINCTRL_SUN8I_A33 is not set
# CONFIG_PINCTRL_SUN8I_A83T is not set
# CONFIG_PINCTRL_SUN8I_A83T_R is not set
# CONFIG_PINCTRL_SUN8I_A23_R is not set
# CONFIG_PINCTRL_SUN8I_H3 is not set
# CONFIG_PINCTRL_SUN8I_H3_R is not set
# CONFIG_PINCTRL_SUN8I_V3S is not set
# CONFIG_PINCTRL_SUN9I_A80 is not set
# CONFIG_PINCTRL_SUN9I_A80_R is not set
# CONFIG_PINCTRL_SUN20I_D1 is not set
# CONFIG_PINCTRL_SUN50I_A64 is not set
# CONFIG_PINCTRL_SUN50I_A64_R is not set
# CONFIG_PINCTRL_SUN50I_A100 is not set
# CONFIG_PINCTRL_SUN50I_A100_R is not set
# CONFIG_PINCTRL_SUN50I_H5 is not set
# CONFIG_PINCTRL_SUN50I_H6 is not set
# CONFIG_PINCTRL_SUN50I_H6_R is not set
# CONFIG_PINCTRL_SUN50I_H616 is not set
# CONFIG_PINCTRL_SUN50I_H616_R is not set
# CONFIG_PINCTRL_SUN55I_A523 is not set
# CONFIG_PINCTRL_SUN55I_A523_R is not set
CONFIG_GPIOLIB_LEGACY=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
CONFIG_GPIO_CDEV=y
# CONFIG_GPIO_CDEV_V1 is not set
CONFIG_GPIO_GENERIC=y

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA 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=y
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_LOGICVC is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_MPC8XXX is not set
# CONFIG_GPIO_PL061 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_ZEVIO is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped 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_HTC_EGPIO is not set
# CONFIG_GPIO_TWL4030 is not set
# end of MFD GPIO expanders

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

#
# PCI GPIO expanders
#
# CONFIG_GPIO_BT8XX 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
# 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=y
# CONFIG_POWER_RESET_BRCMKONA is not set
# CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
CONFIG_POWER_RESET_HISI=y
# CONFIG_POWER_RESET_MSM is not set
# CONFIG_POWER_RESET_LTC2952 is not set
# CONFIG_POWER_RESET_REGULATOR is not set
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_RESET_VERSATILE is not set
CONFIG_POWER_RESET_VEXPRESS=y
CONFIG_POWER_RESET_SYSCON=y
CONFIG_POWER_RESET_SYSCON_POWEROFF=y
# CONFIG_SYSCON_REBOOT_MODE is not set
# CONFIG_NVMEM_REBOOT_MODE is not set
# CONFIG_POWER_RESET_QEMU_VIRT_CTRL 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_BQ256XX 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_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_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_ARCTIC_FAN_CONTROLLER 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_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_FTSTEUTATES is not set
CONFIG_SENSORS_GIGABYTE_WATERFORCE=y
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM 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_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_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_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_SBTSI 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_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_VEXPRESS=y
# 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_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 is not set
CONFIG_THERMAL_OF=y
# CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE is not set
CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=y
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
CONFIG_THERMAL_GOV_FAIR_SHARE=y
# CONFIG_THERMAL_GOV_STEP_WISE is not set
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
# CONFIG_CPU_THERMAL is not set
# CONFIG_PCIE_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_THERMAL_MMIO is not set
# CONFIG_HISI_THERMAL is not set
# CONFIG_SUN8I_THERMAL is not set

#
# Samsung thermal drivers
#
CONFIG_EXYNOS_THERMAL=y
# end of Samsung thermal drivers

# CONFIG_GENERIC_ADC_THERMAL is not set

#
# Qualcomm thermal drivers
#
# CONFIG_QCOM_LMH is not set
# end of Qualcomm thermal drivers

CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED is not set
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_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_ARM_SP805_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_FTWDT010_WATCHDOG is not set
# CONFIG_S3C2410_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_SUNXI_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_RETU_WATCHDOG is not set
# CONFIG_QCOM_WDT is not set
# CONFIG_ARM_SMC_WATCHDOG is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_I6300ESB_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_GUNYAH_WATCHDOG is not set
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_SUN4I_GPADC 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_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_EXYNOS_LPASS is not set
# 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_HI655X_PMIC is not set
CONFIG_LPC_ICH=y
# CONFIG_LPC_SCH is not set
# 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_PM8XXX is not set
# CONFIG_MFD_QCOM_RPM is not set
# 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_SUN6I_PRCM 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_TWL4030_POWER is not set
# 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_MFD_VEXPRESS_SYSREG=y
# 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_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_MAX8973 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_QCOM_REFGEN is not set
# CONFIG_REGULATOR_RAA215300 is not set
# CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY is not set
# CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_V2 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_SUN20I 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_REGULATOR_VEXPRESS=y
# CONFIG_REGULATOR_VQMMC_IPQ4019 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_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_MCEUSB=y
CONFIG_IR_REDRAT3=y
# CONFIG_IR_SERIAL is not set
CONFIG_IR_STREAMZAP=y
# CONFIG_IR_SUNXI is not set
CONFIG_IR_TOY=y
CONFIG_IR_TTUSBIR=y
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_SAMSUNG_S5P is not set
CONFIG_USB_PULSE8_CEC=y
CONFIG_USB_RAINSHADOW_CEC=y
# end of CEC support

# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
CONFIG_APERTURE_HELPERS=y
CONFIG_VIDEO=y
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
CONFIG_DRM=y

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

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_GEM_DMA_HELPER=y
CONFIG_DRM_GEM_SHMEM_HELPER=y
# CONFIG_DRM_AMDGPU is not set

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

# CONFIG_DRM_ARMADA is not set
# 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=y
# 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_EXYNOS is not set
# CONFIG_DRM_FSL_DCU is not set
CONFIG_DRM_GUD=y
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_LIMA is not set
# CONFIG_DRM_LOGICVC is not set
# CONFIG_DRM_MCDE is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_MSM 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_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set
# CONFIG_DRM_PANEL_LVDS is not set
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E_SPI is not set
# CONFIG_DRM_PANEL_INNOLUX_EJ030NA is not set
# CONFIG_DRM_PANEL_LG_LB035Q02 is not set
# CONFIG_DRM_PANEL_LG_LG4573 is not set
# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3052C 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_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_S6D27A1 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8FC0 is not set
# CONFIG_DRM_PANEL_SEIKO_43WVF1G is not set
# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set
# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set
CONFIG_DRM_PANEL_EDP=y
CONFIG_DRM_PANEL_SIMPLE=y
# 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_WIDECHIPS_WS2401 is not set
# end of Display Panels

# CONFIG_DRM_PANFROST is not set
# CONFIG_DRM_PANTHOR is not set
CONFIG_DRM_PL111=y
# 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
# CONFIG_DRM_SUN4I is not set

#
# Drivers for system framebuffers
#
CONFIG_DRM_SYSFB_HELPER=y
CONFIG_DRM_SIMPLEDRM=y
# end of Drivers for system framebuffers

# CONFIG_DRM_TIDSS is not set
# CONFIG_DRM_TILCDC 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_TVE200 is not set
CONFIG_DRM_UDL=y
CONFIG_DRM_VGEM=y
CONFIG_DRM_VIRTIO_GPU=y
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_DRM_VKMS=y
# 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_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_UVESA 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_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_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_DMAMEM_HELPERS=y
CONFIG_FB_DMAMEM_HELPERS_DEFERRED=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_MAX25014 is not set
# CONFIG_BACKLIGHT_MT6370 is not set
# CONFIG_BACKLIGHT_QCOM_WLED 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_VIDEOMODE_HELPERS=y
CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=30
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=y
CONFIG_LOGO_LINUX_CLUT224_FILE="drivers/video/logo/logo_linux_clut224.ppm"
# 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_PCM_ELD=y
CONFIG_SND_PCM_IEC958=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_CTL_LED=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_SEQ_HRTIMER_DEFAULT is not set
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_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
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_AC97_POWER_SAVE is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 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_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_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM 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_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_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_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_CORE=y
CONFIG_SND_INTEL_DSP_CONFIG=y
# end of HD-Audio

CONFIG_SND_ARM=y
CONFIG_SND_ARMAACI=y
# 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_UA101=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
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 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_AMD_ACP_CONFIG 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
#
# end of Intel

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

#
# PXA
#
# end of PXA

# CONFIG_SND_SOC_QCOM is not set
# CONFIG_SND_SOC_SAMSUNG is not set

#
# SoundWire (SDCA)
#
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

#
# Allwinner
#
# CONFIG_SND_SUN4I_CODEC is not set
# CONFIG_SND_SUN4I_I2S is not set
# CONFIG_SND_SUN4I_SPDIF is not set
# CONFIG_SND_SUN50I_DMIC is not set
# end of Allwinner

#
# 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_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_HDMI_CODEC=y
# 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_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_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_VIRTIO=y
CONFIG_AC97_BUS=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_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_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_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_ORTEK=y
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_OF=y
# CONFIG_I2C_HID_OF_ELAN is not set
# CONFIG_I2C_HID_OF_GOODIX is not set
CONFIG_I2C_HID_CORE=y

#
# 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_HISTB is not set
# 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_EXYNOS is not set
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_EXYNOS 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 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_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_EXYNOS=y
CONFIG_USB_DWC3_HAPS=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3_QCOM=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_USB_QCOM_EUD is not set
CONFIG_APPLE_MFI_FASTCHARGE=y
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

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
# CONFIG_AM335X_PHY_USB is not set
CONFIG_TAHVO_USB=y
CONFIG_TAHVO_USB_HOST_BY_DEFAULT=y
CONFIG_USB_ISP1301=y
# CONFIG_USB_ULPI is not set
# 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_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_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_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_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_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_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_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_QCOM_PMIC is not set
CONFIG_TYPEC_UCSI=y
CONFIG_UCSI_CCG=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_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_MMC=y
CONFIG_PWRSEQ_EMMC=y
CONFIG_PWRSEQ_SIMPLE=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
# 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_ARMMMCI=y
CONFIG_MMC_STM32_SDMMC=y
# CONFIG_MMC_SDHCI 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_DW 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_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_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_SUN50I_A100 is not set
# CONFIG_LEDS_PCA9532 is not set
CONFIG_LEDS_GPIO=y
# 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_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_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_SPI_BYTE is not set
# CONFIG_LEDS_LM3697 is not set
# CONFIG_LEDS_ST1202 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=y
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
CONFIG_LEDS_TRIGGER_CPU=y
# 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_MLX4_INFINIBAND=y
# CONFIG_INFINIBAND_MTHCA is not set
# CONFIG_INFINIBAND_OCRDMA is not set
# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set
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_SCRUB is not set
# CONFIG_EDAC_ECS is not set
# CONFIG_EDAC_MEM_REPAIR is not set
CONFIG_RTC_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 is not set
# 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_S3C is not set
# CONFIG_RTC_DRV_PL030 is not set
CONFIG_RTC_DRV_PL031=y
# CONFIG_RTC_DRV_SUN6I is not set
# 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_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_AMBA_PL08X is not set
# CONFIG_ARM_DMA350 is not set
# CONFIG_DMA_SUN6I is not set
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
# CONFIG_FSL_QDMA is not set
# CONFIG_HISI_DMA is not set
# CONFIG_INTEL_IDMA64 is not set
# CONFIG_K3_DMA is not set
# CONFIG_NBPFAXI_DMA is not set
# CONFIG_PL330_DMA is not set
# 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_QDMA is not set
# CONFIG_QCOM_BAM_DMA is not set
# CONFIG_QCOM_GPI_DMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_DW_EDMA is not set
# CONFIG_SF_PDMA is not set

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

#
# 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_CMA=y
# end of DMABUF options

# CONFIG_UIO is not set
# CONFIG_VFIO is not set
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_LEGACY=y
CONFIG_VIRTIO_VDPA=y
CONFIG_VIRTIO_BALLOON=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_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
#
# 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_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_NI_LABPC=y
# CONFIG_COMEDI_TESTS is not set
# CONFIG_GPIB is not set
CONFIG_STAGING=y

#
# 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_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Clock driver for ARM Reference designs
#
CONFIG_CLK_ICST=y
CONFIG_CLK_SP810=y
CONFIG_CLK_VEXPRESS_OSC=y
# end of Clock driver for ARM Reference designs

# 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
# CONFIG_COMMON_CLK_HI3516CV300 is not set
# CONFIG_COMMON_CLK_HI3519 is not set
# CONFIG_COMMON_CLK_HI3559A is not set
# CONFIG_COMMON_CLK_HI3660 is not set
# CONFIG_COMMON_CLK_HI3670 is not set
# CONFIG_COMMON_CLK_HI3798CV200 is not set
# CONFIG_COMMON_CLK_HI6220 is not set
# CONFIG_RESET_HISI is not set
# CONFIG_COMMON_CLK_QCOM is not set
CONFIG_COMMON_CLK_SAMSUNG=y
# CONFIG_EXYNOS_AUDSS_CLK_CON is not set
# CONFIG_EXYNOS_CLKOUT is not set
# CONFIG_CLK_SUNXI is not set
# CONFIG_SUNXI_CCU 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_TIMER_OF=y
CONFIG_TIMER_PROBE=y
CONFIG_CLKSRC_MMIO=y
CONFIG_SUN4I_TIMER=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
CONFIG_ARM_GLOBAL_TIMER=y
CONFIG_ARM_GT_INITIAL_PRESCALER_VAL=0
CONFIG_ARM_TIMER_SP804=y
CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y
CONFIG_CLKSRC_EXYNOS_MCT=y
CONFIG_CLKSRC_QCOM=y
CONFIG_CLKSRC_VERSATILE=y
# CONFIG_MICROCHIP_PIT64B is not set
# end of Clock Source drivers

# CONFIG_MAILBOX is not set
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
# CONFIG_IOMMU_IO_PGTABLE_LPAE is not set
# CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set
# 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_MSM_IOMMU is not set
# CONFIG_ARM_SMMU is not set
# CONFIG_QCOM_IOMMU is not set
CONFIG_IOMMUFD_DRIVER_CORE=y
CONFIG_IOMMUFD=y
# CONFIG_SUN50I_IOMMU is not set
# CONFIG_EXYNOS_IOMMU is not set

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

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

CONFIG_SOUNDWIRE=y

#
# SoundWire Devices
#
# 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
#
# CONFIG_QUICC_ENGINE is not set
# CONFIG_FSL_RCPM is not set
# end of NXP/Freescale QorIQ SoC drivers

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

#
# Hisilicon SoC drivers
#
# end of Hisilicon 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

#
# Qualcomm SoC drivers
#
# CONFIG_QCOM_COMMAND_DB is not set
# CONFIG_QCOM_GENI_SE is not set
# CONFIG_QCOM_GSBI is not set
# CONFIG_QCOM_LLCC is not set
# CONFIG_QCOM_OCMEM is not set
# CONFIG_QCOM_RAMP_CTRL is not set
# CONFIG_QCOM_RMTFS_MEM is not set
# CONFIG_QCOM_RPM_MASTER_STATS is not set
# CONFIG_QCOM_RPMH is not set
# CONFIG_QCOM_SPM is not set
# CONFIG_QCOM_ICC_BWMON is not set
# end of Qualcomm SoC drivers

CONFIG_SOC_SAMSUNG=y
# CONFIG_EXYNOS_CHIPID is not set
# CONFIG_EXYNOS_USI is not set
CONFIG_EXYNOS_PMU=y
CONFIG_EXYNOS_PMU_ARM_DRIVERS=y
CONFIG_SUNXI_MBUS=y
CONFIG_SUNXI_SRAM=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
#
# CONFIG_QCOM_CPR is not set
# end of Qualcomm PM Domains

CONFIG_EXYNOS_PM_DOMAINS=y
# CONFIG_SUN20I_PPU is not set
# CONFIG_SUN50I_H6_PRCM_PPU is not set
# CONFIG_SUN55I_PCK600 is not set
# 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_LC824206XA is not set
# CONFIG_EXTCON_MAX3355 is not set
# CONFIG_EXTCON_MAX14526 is not set
CONFIG_EXTCON_PTN5150=y
# CONFIG_EXTCON_QCOM_SPMI_MISC is not set
# 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=y
# CONFIG_ARM_PL172_MPMC is not set
# CONFIG_PL353_SMC is not set
CONFIG_SAMSUNG_MC=y
CONFIG_EXYNOS_SROM=y
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_EXYNOS_ADC 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_SUN20I_GPADC 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_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_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_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_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
#
# end of Filters

#
# Frequency Synthesizers DDS/PLL
#

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

#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# 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_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_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_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_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_ARM_GIC=y
CONFIG_ARM_GIC_MAX_NR=1
# CONFIG_AL_FIC is not set
# CONFIG_XILINX_INTC is not set
# CONFIG_QCOM_PDC is not set
CONFIG_EXYNOS_IRQ_COMBINER=y
# end of IRQ chip support

# CONFIG_IPACK_BUS is not set
CONFIG_ARCH_HAS_RESET_CONTROLLER=y
CONFIG_RESET_CONTROLLER=y
# CONFIG_RESET_GPIO is not set
# CONFIG_RESET_QCOM_AOSS is not set
# CONFIG_RESET_QCOM_PDC is not set
CONFIG_RESET_SIMPLE=y
CONFIG_RESET_SUNXI=y
# CONFIG_RESET_TI_SYSCON is not set
# CONFIG_RESET_TI_TPS380X is not set
# CONFIG_COMMON_RESET_HI3660 is not set
# CONFIG_COMMON_RESET_HI6220 is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
# CONFIG_PHY_CAN_TRANSCEIVER is not set
CONFIG_PHY_GOOGLE_USB=y
# CONFIG_PHY_NXP_PTN3222 is not set
# CONFIG_PHY_NXP_TJA1145 is not set
# CONFIG_PHY_SNPS_EUSB2 is not set
# CONFIG_PHY_SUN4I_USB is not set
# CONFIG_PHY_SUN6I_MIPI_DPHY is not set
# CONFIG_PHY_SUN9I_USB is not set
# CONFIG_PHY_SUN50I_USB3 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_HISI_INNO_USB2 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_APQ8064_SATA is not set
# CONFIG_PHY_QCOM_EDP is not set
# CONFIG_PHY_QCOM_IPQ4019_USB is not set
# CONFIG_PHY_QCOM_IPQ806X_SATA is not set
# CONFIG_PHY_QCOM_PCIE2 is not set
# CONFIG_PHY_QCOM_QMP is not set
# CONFIG_PHY_QCOM_QUSB2 is not set
# CONFIG_PHY_QCOM_EUSB2_REPEATER is not set
# CONFIG_PHY_QCOM_M31_USB is not set
# CONFIG_PHY_QCOM_UNIPHY_PCIE_28LP is not set
# CONFIG_PHY_QCOM_M31_EUSB is not set
CONFIG_PHY_QCOM_USB_HS=y
# CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2 is not set
CONFIG_PHY_QCOM_USB_HSIC=y
# CONFIG_PHY_QCOM_USB_HS_28NM is not set
# CONFIG_PHY_QCOM_USB_SS is not set
# CONFIG_PHY_QCOM_IPQ806X_USB is not set
# CONFIG_PHY_QCOM_SGMII_ETH is not set
# CONFIG_PHY_EXYNOS_DP_VIDEO is not set
# CONFIG_PHY_EXYNOS_MIPI_VIDEO is not set
# CONFIG_PHY_EXYNOS_PCIE is not set
# CONFIG_PHY_SAMSUNG_UFS is not set
CONFIG_PHY_SAMSUNG_USB2=y
CONFIG_PHY_EXYNOS5_USBDRD=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_ARM_CCI_PMU is not set
# CONFIG_ARM_CCN is not set
CONFIG_ARM_PMU=y
CONFIG_ARM_V7_PMU=y
# CONFIG_ARM_PMUV3 is not set
# 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 is not set
# CONFIG_DAX 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_NVMEM_QCOM_QFPROM is not set
# CONFIG_NVMEM_QCOM_SEC_QFPROM is not set
# CONFIG_NVMEM_RMEM is not set
# CONFIG_NVMEM_SUNXI_SID 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 is not set
CONFIG_OPTEE_STATIC_PROTMEM_POOL=y
# CONFIG_QCOMTEE is not set
# CONFIG_MUX_CORE is not set
CONFIG_PM_OPP=y
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not set
CONFIG_COUNTER=y
# 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_BUFFER_HEAD=y
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT4_FS=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 is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_ZONEFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
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 is not set
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VIRTIO_FS=y
# CONFIG_FUSE_PASSTHROUGH is not set
# CONFIG_FUSE_IO_URING is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
CONFIG_NETFS_SUPPORT=y
# CONFIG_NETFS_STATS is not set
# CONFIG_NETFS_DEBUG is not set
# CONFIG_FSCACHE is not set
# end of Caches

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
# end of CD-ROM/DVD Filesystems

#
# DOS/FAT/EXFAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EXFAT_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS3_FS is not set
# end of DOS/FAT/EXFAT/NT Filesystems

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_TMPFS_QUOTA=y
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
# CONFIG_HUGETLBFS is not set
CONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems

CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_UBIFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
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 is not set
# CONFIG_EROFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS 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_SMBFS=y
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set
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_LSM_MMAP_MIN_ADDR=32768
# CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_SECURITY_SELINUX=y
# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set
CONFIG_SECURITY_SELINUX_DEVELOP=y
# CONFIG_SECURITY_SELINUX_AVC_STATS is not set
CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9
CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256
CONFIG_SECURITY_SELINUX_AVC_HASH_BITS=9
# CONFIG_SECURITY_SELINUX_DEBUG 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 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_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_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,safesetid,integrity,tomoyo,selinux,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_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_RANDSTRUCT_NONE=y
# 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_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 is not set
# 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_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_SEED=y
# CONFIG_CRYPTO_SERPENT is not set
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_AEGIS128_SIMD is not set
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 (arm)
#
CONFIG_CRYPTO_GHASH_ARM_CE=y
CONFIG_CRYPTO_AES_ARM_BS=y
CONFIG_CRYPTO_AES_ARM_CE=y
# end of Accelerated Cryptographic Algorithms for CPU (arm)

CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_ALLWINNER is not set
# CONFIG_CRYPTO_DEV_S5P is not set
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
# CONFIG_CRYPTO_DEV_QAT_DH895xCC is not set
# CONFIG_CRYPTO_DEV_QAT_C3XXX is not set
# CONFIG_CRYPTO_DEV_QAT_C62X is not set
# CONFIG_CRYPTO_DEV_QAT_4XXX is not set
# CONFIG_CRYPTO_DEV_QAT_420XX is not set
# CONFIG_CRYPTO_DEV_QAT_DH895xCCVF is not set
# CONFIG_CRYPTO_DEV_QAT_C3XXXVF is not set
# CONFIG_CRYPTO_DEV_QAT_C62XVF is not set
# CONFIG_CRYPTO_DEV_QCE is not set
# CONFIG_CRYPTO_DEV_QCOM_RNG 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_HAVE_ARCH_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_ARCH_USE_CMPXCHG_LOCKREF=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_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=9
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_AUDIT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set
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_DMA=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DMA_DECLARE_COHERENT=y
CONFIG_ARCH_HAS_SETUP_DMA_OPS=y
CONFIG_ARCH_HAS_TEARDOWN_DMA_OPS=y
CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
CONFIG_SWIOTLB=y
# CONFIG_SWIOTLB_DYNAMIC is not set
CONFIG_DMA_NEED_SYNC=y
# CONFIG_DMA_RESTRICTED_POOL is not set
CONFIG_DMA_NONCOHERENT_MMAP=y
CONFIG_ARCH_HAS_DMA_ALLOC=y
CONFIG_DMA_CMA=y

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
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_HAVE_GENERIC_VDSO=y
CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_STACKWALK=y
CONFIG_STACKDEPOT=y
CONFIG_STACKDEPOT_MAX_FRAMES=64
CONFIG_REF_TRACKER=y
CONFIG_SBITMAP=y
# CONFIG_LWQ_TEST is not set
# end of Library routines

CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED=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 is not set
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=1280
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_HEADERS_INSTALL is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
# CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU 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 is not set
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_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_PAGE_POISONING=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS 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 is not set
CONFIG_SCHED_STACK_END_CHECK=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_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_DEBUG_HIGHMEM=y
# CONFIG_MEM_ALLOC_PROFILING is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
# CONFIG_KASAN is not set
CONFIG_HAVE_ARCH_KFENCE=y
# CONFIG_KFENCE is not set
# 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=0
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
# CONFIG_HARDLOCKUP_DETECTOR is not set
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=420
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=1
CONFIG_DETECT_HUNG_TASK_BLOCKER=y
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 is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# 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
# end of Lock Debugging (spinlocks, mutexes, etc...)

# CONFIG_DEBUG_IRQFLAGS is not set
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_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=300
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 is not set
# 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_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FREGS=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_EXTRA_IPI_TRACEPOINTS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=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_TRACING=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_ENABLE_DEFAULT_TRACERS 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 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 is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set
# 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_SAMPLES is not set
# CONFIG_STRICT_DEVMEM is not set

#
# arm Debugging
#
# CONFIG_ARM_PTDUMP_DEBUGFS is not set
# CONFIG_ARM_DEBUG_WX is not set
CONFIG_UNWINDER_FRAME_POINTER=y
# CONFIG_UNWINDER_ARM is not set
CONFIG_BACKTRACE_VERBOSE=y
CONFIG_DEBUG_USER=y
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_CORESIGHT is not set
# end of arm 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 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_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_FREE_PAGES 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
KernelRepo https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
ReproCID 5636242521194496
ReproOpts
Show (106 bytes)
{"repeat":true,"procs":1,"slowdown":10,"sandbox":"","sandbox_arg":0,"close_fds":false,"callcomments":true}
ReproSyzID 4786488274845696
SyzkallerCommit 1fe56c0af80df10ab9f07819d9fa709dc9971ae1
TargetArch arm
TargetOS linux

Outputs:
DenialOfService ❌
Exploitable ❌
FilesystemTrigger ❌
NetworkTrigger ❌
PeripheralTrigger ❌
RemoteTrigger ❌
Unprivileged ❌
UserNamespace ❌
VMGuestTrigger ❌
VMHostTrigger ❌
Explanation
**Analysis of the Bug**

The bug report indicates a `WARN_ON_ONCE(!size)` triggered in
`__vmalloc_node_range_noprof()` when attempting to allocate memory with a size
of 0.

Following the call trace, the bug is triggered by writing to the
`/sys/block/zram0/disksize` sysfs attribute. The `disksize_store()` function in
`drivers/block/zram/zram_drv.c` parses the user-provided string into a `u64
disksize` and then aligns it to the page size using `PAGE_ALIGN(disksize)`.

If a very large value is written (e.g., `0xffffffffffffffff` as seen in the
syzkaller reproducer), the `PAGE_ALIGN()` macro causes the value to wrap around
to `0`. Consequently, `zram_meta_alloc()` calculates `num_pages = 0` and calls
`vzalloc(0)`. This triggers the `WARN_ON_ONCE(!size)` in the vmalloc code.

**Exploitability and Denial of Service**
The warning is properly handled by the kernel's control flow. The
`__vmalloc_node_range_noprof()` function simply returns `NULL` after emitting
the warning. The caller, `zram_meta_alloc()`, correctly checks for this `NULL`
return value and gracefully fails, causing `disksize_store()` to return
`-ENOMEM`.
There is no memory corruption, out-of-bounds access, or resource leak. In a
production environment where `panic_on_warn` is disabled, the system will just
log the warning and continue executing normally. Therefore, this bug is neither
exploitable nor does it cause a denial of service.

**Accessibility**
The sysfs attribute `/sys/block/zram0/disksize` is created with `0644`
permissions and is owned by the global `root` user.
- **Unprivileged Processes:** A typical non-root user cannot write to this file
due to the DAC permissions.
- **User Namespaces:** If an unprivileged user creates a new user namespace and
mounts `sysfs`, the file will still be owned by the global root user. Since the
global root UID is not mapped in the unprivileged user's namespace, the file's
owner will appear as `nobody` (or `overflowuid`). The user will not have
`CAP_DAC_OVERRIDE` privileges over files owned by unmapped UIDs, meaning they
still cannot write to the file.

Thus, the bug is strictly reachable only by a globally privileged user (root).

**Other Triggers**
The bug is isolated to the sysfs configuration interface of the `zram` block
device. It cannot be triggered via network traffic, peripheral devices,
malicious filesystems, or from within a VM guest.

Crash report:
------------[ cut here ]------------
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x610/0x6a4 mm/vmalloc.c:4037, CPU#0: syz.1.17/4031
Modules linked in:
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 0 UID: 0 PID: 4031 Comm: syz.1.17 Not tainted syzkaller #0 PREEMPT 
Hardware name: ARM-Versatile Express
Call trace: 
[<80201998>] (dump_backtrace) from [<80201a8c>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257)
 r7:82a20f78 r6:00000000 r5:82336570 r4:00000001
[<80201a74>] (show_stack) from [<8021ec68>] (__dump_stack lib/dump_stack.c:94 [inline])
[<80201a74>] (show_stack) from [<8021ec68>] (dump_stack_lvl+0x5c/0x70 lib/dump_stack.c:120)
[<8021ec0c>] (dump_stack_lvl) from [<8021ec94>] (dump_stack+0x18/0x1c lib/dump_stack.c:129)
 r7:82a20f78 r6:00000000 r5:839f1880 r4:82c85d40
[<8021ec7c>] (dump_stack) from [<80202590>] (vpanic+0x114/0x320 kernel/panic.c:651)
[<8020247c>] (vpanic) from [<802027d0>] (trace_suspend_resume+0x0/0x100 kernel/panic.c:788)
 r7:805241d4
[<8020279c>] (panic) from [<80251b50>] (check_panic_on_warn kernel/panic.c:525 [inline])
[<8020279c>] (panic) from [<80251b50>] (get_taint+0x0/0x1c kernel/panic.c:520)
 r3:82a0b144 r2:00000001 r1:8231c298 r0:82323c10
[<80251ad8>] (check_panic_on_warn) from [<80251ccc>] (__warn+0x98/0x1a4 kernel/panic.c:1104)
[<80251c34>] (__warn) from [<80251f50>] (warn_slowpath_fmt+0x178/0x1f4 kernel/panic.c:1136)
 r8:00000009 r7:82352930 r6:dfb7dd4c r5:839f1880 r4:00000000
[<80251ddc>] (warn_slowpath_fmt) from [<805241d4>] (__vmalloc_node_range_noprof+0x610/0x6a4 mm/vmalloc.c:4037)
 r10:ffffffff r9:ff800000 r8:00000dc0 r7:00000002 r6:10000000 r5:df800000
 r4:00000000
[<80523bc4>] (__vmalloc_node_range_noprof) from [<805244d0>] (__vmalloc_node_noprof mm/vmalloc.c:4165 [inline])
[<80523bc4>] (__vmalloc_node_range_noprof) from [<805244d0>] (vzalloc_noprof+0x6c/0x74 mm/vmalloc.c:4243)
 r10:84dd6e10 r9:00000000 r8:83970c24 r7:00000002 r6:10000000 r5:83970c00
 r4:00000000
[<80524464>] (vzalloc_noprof) from [<80c2086c>] (zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline])
[<80524464>] (vzalloc_noprof) from [<80c2086c>] (disksize_store+0x80/0x1dc drivers/block/zram/zram_drv.c:2880)
 r4:00000000
[<80c207ec>] (disksize_store) from [<80bd68c0>] (dev_attr_store+0x1c/0x28 drivers/base/core.c:2505)
 r10:84dd6e10 r9:00000000 r8:83578478 r7:854dc1c0 r6:81d5b598 r5:80bd68a4
 r4:80c207ec r3:00000002
[<80bd68a4>] (dev_attr_store) from [<8067e3b4>] (sysfs_kf_write+0x70/0x7c fs/sysfs/file.c:145)
 r5:80bd68a4 r4:00000002
[<8067e344>] (sysfs_kf_write) from [<8067c450>] (kernfs_fop_write_iter+0x134/0x214 fs/kernfs/file.c:345)
 r9:00000000 r8:00000000 r7:dfb7df08 r6:84dd6e00 r5:00000002 r4:854dc1c0
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (new_sync_write fs/read_write.c:595 [inline])
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (vfs_write fs/read_write.c:687 [inline])
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (vfs_write+0x27c/0x42c fs/read_write.c:667)
 r10:81c2d60c r9:839f1880 r8:8067c31c r7:dfb7df68 r6:20000140 r5:8602aa00
 r4:00000002
[<805a1114>] (vfs_write) from [<805a16b4>] (ksys_write+0x74/0xec fs/read_write.c:739)
 r10:00000004 r9:839f1880 r8:8020029c r7:00000000 r6:00000000 r5:8602aa00
 r4:8602aa00
[<805a1640>] (ksys_write) from [<805a173c>] (__do_sys_write fs/read_write.c:750 [inline])
[<805a1640>] (ksys_write) from [<805a173c>] (sys_write+0x10/0x14 fs/read_write.c:747)
 r7:00000004 r6:00356310 r5:00000000 r4:00000000
[<805a172c>] (sys_write) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67)
Exception stack(0xdfb7dfa8 to 0xdfb7dff0)
dfa0:                   00000000 00000000 00000003 20000140 00000002 00000000
dfc0: 00000000 00000000 00356310 00000004 003562d8 00000000 00000008 00000000
dfe0: 7eb777a0 7eb77790 00018fa0 00130a50
Rebooting in 86400 seconds..

Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/09/13 00:06 flow assessment-security
27m Results:
map[DenialOfService:false Explanation:**Analysis of the Bug**

The bug report indicates a `WARN_ON_ONCE(!size)` triggered in
`__vmalloc_node_range_noprof()` when attempting to allocate memory with a size
of 0.

Following the call trace, the bug is triggered by writing to the
`/sys/block/zram0/disksize` sysfs attribute. The `disksize_store()` function in
`drivers/block/zram/zram_drv.c` parses the user-provided string into a `u64
disksize` and then aligns it to the page size using `PAGE_ALIGN(disksize)`.

If a very large value is written (e.g., `0xffffffffffffffff` as seen in the
syzkaller reproducer), the `PAGE_ALIGN()` macro causes the value to wrap around
to `0`. Consequently, `zram_meta_alloc()` calculates `num_pages = 0` and calls
`vzalloc(0)`. This triggers the `WARN_ON_ONCE(!size)` in the vmalloc code.

**Exploitability and Denial of Service**
The warning is properly handled by the kernel's control flow. The
`__vmalloc_node_range_noprof()` function simply returns `NULL` after emitting
the warning. The caller, `zram_meta_alloc()`, correctly checks for this `NULL`
return value and gracefully fails, causing `disksize_store()` to return
`-ENOMEM`.
There is no memory corruption, out-of-bounds access, or resource leak. In a
production environment where `panic_on_warn` is disabled, the system will just
log the warning and continue executing normally. Therefore, this bug is neither
exploitable nor does it cause a denial of service.

**Accessibility**
The sysfs attribute `/sys/block/zram0/disksize` is created with `0644`
permissions and is owned by the global `root` user.
- **Unprivileged Processes:** A typical non-root user cannot write to this file
due to the DAC permissions.
- **User Namespaces:** If an unprivileged user creates a new user namespace and
mounts `sysfs`, the file will still be owned by the global root user. Since the
global root UID is not mapped in the unprivileged user's namespace, the file's
owner will appear as `nobody` (or `overflowuid`). The user will not have
`CAP_DAC_OVERRIDE` privileges over files owned by unmapped UIDs, meaning they
still cannot write to the file.

Thus, the bug is strictly reachable only by a globally privileged user (root).

**Other Triggers**
The bug is isolated to the sysfs configuration interface of the `zram` block
device. It cannot be triggered via network traffic, peripheral devices,
malicious filesystems, or from within a VM guest. Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:false UserNamespace:false VMGuestTrigger:false VMHostTrigger:false]

1/1 2026/09/13 00:06 action syz-repro-to-c-repro
0m Results:
map[SimplifiedCRepro:// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

#ifndef __NR_mkdirat
#define __NR_mkdirat 323
#endif
#ifndef __NR_mmap
#define __NR_mmap 192
#endif
#ifndef __NR_mount
#define __NR_mount 21
#endif
#ifndef __NR_openat
#define __NR_openat 322
#endif
#ifndef __NR_write
#define __NR_write 4
#endif
#undef __NR_mmap
#define __NR_mmap __NR_mmap2

uint64_t r[1] = {0xffffffffffffffff};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffff000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	syscall(__NR_mmap, /*addr=*/0x20000000, /*len=*/0x1000000, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	syscall(__NR_mmap, /*addr=*/0x21000000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  mkdirat arguments: [
//    fd: fd_dir (resource)
//    path: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 00} (length 0x6)
//    }
//    mode: open_mode = 0x1ff (4 bytes)
//  ]
memcpy((void*)0x20000000, "./sys\000", 6);
	syscall(__NR_mkdirat, /*fd=*/0xffffff9c, /*path=*/0x20000000, /*mode=S_IXOTH|S_IWOTH|S_IROTH|S_IXGRP|S_IWGRP|S_IRGRP|S_IXUSR|S_IWUSR|0x100*/0x1ff);
//  mount arguments: [
//    src: nil
//    dst: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 00} (length 0x6)
//    }
//    type: ptr[in, buffer] {
//      buffer: {73 79 73 66 73 00} (length 0x6)
//    }
//    flags: mount_flags = 0x0 (4 bytes)
//    data: nil
//  ]
memcpy((void*)0x20000000, "./sys\000", 6);
memcpy((void*)0x20000100, "sysfs\000", 6);
	syscall(__NR_mount, /*src=*/0, /*dst=*/0x20000000, /*type=*/0x20000100, /*flags=*/0, /*data=*/0);
//  openat arguments: [
//    fd: fd_dir (resource)
//    file: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 2f 62 6c 6f 63 6b 2f 7a 72 61 6d 30 2f 64 69 73 6b 73 69 7a 65 00} (length 0x1b)
//    }
//    flags: open_flags = 0x1 (4 bytes)
//    mode: open_mode = 0x0 (2 bytes)
//  ]
//  returns fd
memcpy((void*)0x20000400, "./sys/block/zram0/disksize\000", 27);
	res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000400, /*flags=O_WRONLY*/1, /*mode=*/0);
	if (res != -1)
		r[0] = res;
//  write arguments: [
//    fd: fd (resource)
//    buf: ptr[in, buffer] {
//      buffer: {31 45} (length 0x2)
//    }
//    count: len = 0x2 (4 bytes)
//  ]
memcpy((void*)0x20000140, "1E", 2);
	syscall(__NR_write, /*fd=*/(intptr_t)r[0], /*buf=*/0x20000140, /*count=*/2);
	return 0;
}
]

2/1 2026/09/13 00:06 action kernel-checkouter
0m Results:
map[KernelSrc:/app/workdir/cache/src/2be1aeb1f5ee0ceace15b0e71b019d9d3c2b9a13]

3/1 2026/09/13 00:06 action kernel-builder
10m Results:
map[KernelObj:/app/workdir/cache/build/299bfa966caf8fd5149fd16429dbaea1fdefc0d2]

4/1 2026/09/13 00:17 action codesearch-prepare
10m Results:
map[Index:codesearch-index]

5/1 2026/09/13 00:28 agent expert
5m Model:
deep-reasoning

Results:
map[DenialOfService:false Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:false UserNamespace:false 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:

------------[ cut here ]------------
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x610/0x6a4 mm/vmalloc.c:4037, CPU#0: syz.1.17/4031
Modules linked in:
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 0 UID: 0 PID: 4031 Comm: syz.1.17 Not tainted syzkaller #0 PREEMPT 
Hardware name: ARM-Versatile Express
Call trace: 
[<80201998>] (dump_backtrace) from [<80201a8c>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257)
 r7:82a20f78 r6:00000000 r5:82336570 r4:00000001
[<80201a74>] (show_stack) from [<8021ec68>] (__dump_stack lib/dump_stack.c:94 [inline])
[<80201a74>] (show_stack) from [<8021ec68>] (dump_stack_lvl+0x5c/0x70 lib/dump_stack.c:120)
[<8021ec0c>] (dump_stack_lvl) from [<8021ec94>] (dump_stack+0x18/0x1c lib/dump_stack.c:129)
 r7:82a20f78 r6:00000000 r5:839f1880 r4:82c85d40
[<8021ec7c>] (dump_stack) from [<80202590>] (vpanic+0x114/0x320 kernel/panic.c:651)
[<8020247c>] (vpanic) from [<802027d0>] (trace_suspend_resume+0x0/0x100 kernel/panic.c:788)
 r7:805241d4
[<8020279c>] (panic) from [<80251b50>] (check_panic_on_warn kernel/panic.c:525 [inline])
[<8020279c>] (panic) from [<80251b50>] (get_taint+0x0/0x1c kernel/panic.c:520)
 r3:82a0b144 r2:00000001 r1:8231c298 r0:82323c10
[<80251ad8>] (check_panic_on_warn) from [<80251ccc>] (__warn+0x98/0x1a4 kernel/panic.c:1104)
[<80251c34>] (__warn) from [<80251f50>] (warn_slowpath_fmt+0x178/0x1f4 kernel/panic.c:1136)
 r8:00000009 r7:82352930 r6:dfb7dd4c r5:839f1880 r4:00000000
[<80251ddc>] (warn_slowpath_fmt) from [<805241d4>] (__vmalloc_node_range_noprof+0x610/0x6a4 mm/vmalloc.c:4037)
 r10:ffffffff r9:ff800000 r8:00000dc0 r7:00000002 r6:10000000 r5:df800000
 r4:00000000
[<80523bc4>] (__vmalloc_node_range_noprof) from [<805244d0>] (__vmalloc_node_noprof mm/vmalloc.c:4165 [inline])
[<80523bc4>] (__vmalloc_node_range_noprof) from [<805244d0>] (vzalloc_noprof+0x6c/0x74 mm/vmalloc.c:4243)
 r10:84dd6e10 r9:00000000 r8:83970c24 r7:00000002 r6:10000000 r5:83970c00
 r4:00000000
[<80524464>] (vzalloc_noprof) from [<80c2086c>] (zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline])
[<80524464>] (vzalloc_noprof) from [<80c2086c>] (disksize_store+0x80/0x1dc drivers/block/zram/zram_drv.c:2880)
 r4:00000000
[<80c207ec>] (disksize_store) from [<80bd68c0>] (dev_attr_store+0x1c/0x28 drivers/base/core.c:2505)
 r10:84dd6e10 r9:00000000 r8:83578478 r7:854dc1c0 r6:81d5b598 r5:80bd68a4
 r4:80c207ec r3:00000002
[<80bd68a4>] (dev_attr_store) from [<8067e3b4>] (sysfs_kf_write+0x70/0x7c fs/sysfs/file.c:145)
 r5:80bd68a4 r4:00000002
[<8067e344>] (sysfs_kf_write) from [<8067c450>] (kernfs_fop_write_iter+0x134/0x214 fs/kernfs/file.c:345)
 r9:00000000 r8:00000000 r7:dfb7df08 r6:84dd6e00 r5:00000002 r4:854dc1c0
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (new_sync_write fs/read_write.c:595 [inline])
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (vfs_write fs/read_write.c:687 [inline])
[<8067c31c>] (kernfs_fop_write_iter) from [<805a1390>] (vfs_write+0x27c/0x42c fs/read_write.c:667)
 r10:81c2d60c r9:839f1880 r8:8067c31c r7:dfb7df68 r6:20000140 r5:8602aa00
 r4:00000002
[<805a1114>] (vfs_write) from [<805a16b4>] (ksys_write+0x74/0xec fs/read_write.c:739)
 r10:00000004 r9:839f1880 r8:8020029c r7:00000000 r6:00000000 r5:8602aa00
 r4:8602aa00
[<805a1640>] (ksys_write) from [<805a173c>] (__do_sys_write fs/read_write.c:750 [inline])
[<805a1640>] (ksys_write) from [<805a173c>] (sys_write+0x10/0x14 fs/read_write.c:747)
 r7:00000004 r6:00356310 r5:00000000 r4:00000000
[<805a172c>] (sys_write) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67)
Exception stack(0xdfb7dfa8 to 0xdfb7dff0)
dfa0:                   00000000 00000000 00000003 20000140 00000002 00000000
dfc0: 00000000 00000000 00356310 00000004 003562d8 00000000 00000008 00000000
dfe0: 7eb777a0 7eb77790 00018fa0 00130a50
Rebooting in 86400 seconds..




It is reproducible with the followint program.
Keep in mind that it may lack the precise threading, sandboxing, and some arguments of a working reproducer.
But it should give an idea of the involved syscalls.

// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

#ifndef __NR_mkdirat
#define __NR_mkdirat 323
#endif
#ifndef __NR_mmap
#define __NR_mmap 192
#endif
#ifndef __NR_mount
#define __NR_mount 21
#endif
#ifndef __NR_openat
#define __NR_openat 322
#endif
#ifndef __NR_write
#define __NR_write 4
#endif
#undef __NR_mmap
#define __NR_mmap __NR_mmap2

uint64_t r[1] = {0xffffffffffffffff};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffff000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	syscall(__NR_mmap, /*addr=*/0x20000000, /*len=*/0x1000000, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	syscall(__NR_mmap, /*addr=*/0x21000000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32, /*fd=*/(intptr_t)-1, /*offset=*/0);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  mkdirat arguments: [
//    fd: fd_dir (resource)
//    path: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 00} (length 0x6)
//    }
//    mode: open_mode = 0x1ff (4 bytes)
//  ]
memcpy((void*)0x20000000, "./sys\000", 6);
	syscall(__NR_mkdirat, /*fd=*/0xffffff9c, /*path=*/0x20000000, /*mode=S_IXOTH|S_IWOTH|S_IROTH|S_IXGRP|S_IWGRP|S_IRGRP|S_IXUSR|S_IWUSR|0x100*/0x1ff);
//  mount arguments: [
//    src: nil
//    dst: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 00} (length 0x6)
//    }
//    type: ptr[in, buffer] {
//      buffer: {73 79 73 66 73 00} (length 0x6)
//    }
//    flags: mount_flags = 0x0 (4 bytes)
//    data: nil
//  ]
memcpy((void*)0x20000000, "./sys\000", 6);
memcpy((void*)0x20000100, "sysfs\000", 6);
	syscall(__NR_mount, /*src=*/0, /*dst=*/0x20000000, /*type=*/0x20000100, /*flags=*/0, /*data=*/0);
//  openat arguments: [
//    fd: fd_dir (resource)
//    file: ptr[in, buffer] {
//      buffer: {2e 2f 73 79 73 2f 62 6c 6f 63 6b 2f 7a 72 61 6d 30 2f 64 69 73 6b 73 69 7a 65 00} (length 0x1b)
//    }
//    flags: open_flags = 0x1 (4 bytes)
//    mode: open_mode = 0x0 (2 bytes)
//  ]
//  returns fd
memcpy((void*)0x20000400, "./sys/block/zram0/disksize\000", 27);
	res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000400, /*flags=O_WRONLY*/1, /*mode=*/0);
	if (res != -1)
		r[0] = res;
//  write arguments: [
//    fd: fd (resource)
//    buf: ptr[in, buffer] {
//      buffer: {31 45} (length 0x2)
//    }
//    count: len = 0x2 (4 bytes)
//  ]
memcpy((void*)0x20000140, "1E", 2);
	syscall(__NR_write, /*fd=*/(intptr_t)r[0], /*buf=*/0x20000140, /*count=*/2);
	return 0;
}



Reply:
**Analysis of the Bug**

The bug report indicates a `WARN_ON_ONCE(!size)` triggered in `__vmalloc_node_range_noprof()` when attempting to allocate memory with a size of 0. 

Following the call trace, the bug is triggered by writing to the `/sys/block/zram0/disksize` sysfs attribute. The `disksize_store()` function in `drivers/block/zram/zram_drv.c` parses the user-provided string into a `u64 disksize` and then aligns it to the page size using `PAGE_ALIGN(disksize)`. 

If a very large value is written (e.g., `0xffffffffffffffff` as seen in the syzkaller reproducer), the `PAGE_ALIGN()` macro causes the value to wrap around to `0`. Consequently, `zram_meta_alloc()` calculates `num_pages = 0` and calls `vzalloc(0)`. This triggers the `WARN_ON_ONCE(!size)` in the vmalloc code.

**Exploitability and Denial of Service**
The warning is properly handled by the kernel's control flow. The `__vmalloc_node_range_noprof()` function simply returns `NULL` after emitting the warning. The caller, `zram_meta_alloc()`, correctly checks for this `NULL` return value and gracefully fails, causing `disksize_store()` to return `-ENOMEM`. 
There is no memory corruption, out-of-bounds access, or resource leak. In a production environment where `panic_on_warn` is disabled, the system will just log the warning and continue executing normally. Therefore, this bug is neither exploitable nor does it cause a denial of service.

**Accessibility**
The sysfs attribute `/sys/block/zram0/disksize` is created with `0644` permissions and is owned by the global `root` user. 
- **Unprivileged Processes:** A typical non-root user cannot write to this file due to the DAC permissions.
- **User Namespaces:** If an unprivileged user creates a new user namespace and mounts `sysfs`, the file will still be owned by the global root user. Since the global root UID is not mapped in the unprivileged user's namespace, the file's owner will appear as `nobody` (or `overflowuid`). The user will not have `CAP_DAC_OVERRIDE` privileges over files owned by unmapped UIDs, meaning they still cannot write to the file.

Thus, the bug is strictly reachable only by a globally privileged user (root).

**Other Triggers**
The bug is isolated to the sysfs configuration interface of the `zram` block device. It cannot be triggered via network traffic, peripheral devices, malicious filesystems, or from within a VM guest.

6/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 9952
							output: 25
							thoughts: 160
						

Thoughts:
**Investigating a vmalloc Warning**

Okay, so I've got a warning flagged in `mm/vmalloc.c` at line 4037 – specifically within `__vmalloc_node_range_noprof`. The trace is helpful; it shows the call stack leading to it: `__vmalloc_node_range_noprof` -> `__vmalloc_node_noprof` -> `vzalloc_noprof` -> `zram_meta_alloc` -> `disksize_store` -> `dev_attr_store` -> `sysfs_kf_write` -> `kernfs_fop_write_iter` -> `vfs_write` -> `ksys_write` -> `sys_write`. That's a pretty clear path to follow.

My initial thought is to dive into `mm/vmalloc.c` and zero in on that section of code around line 4037. This should give me a good understanding of what's happening at the point where the warning is triggered. I need to figure out the conditions that are causing this particular warning to occur within `__vmalloc_node_range_noprof` and then assess the implications of the warning. With the call trace, I can look at the code paths involved from the start of the process (`sys_write`) to the warning. It looks like we're dealing with a `vmalloc` issue related to ZRAM meta allocation, triggered during a write operation. Time to get my hands dirty.



7/2 2026/09/13 00:28 tool grepper
0m Args:
map[Expression:__vmalloc_node_range_noprof]

Results:
map[Output:include/linux/vmalloc.h=171=extern void *__vmalloc_noprof(unsigned long size, gfp_t gfp_mask) __alloc_size(1);
--
include/linux/vmalloc.h-173-
include/linux/vmalloc.h:174:extern void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align,
include/linux/vmalloc.h-175-			unsigned long start, unsigned long end, gfp_t gfp_mask,
--
include/linux/vmalloc.h-177-			const void *caller) __alloc_size(1);
include/linux/vmalloc.h:178:#define __vmalloc_node_range(...)	alloc_hooks(__vmalloc_node_range_noprof(__VA_ARGS__))
include/linux/vmalloc.h-179-
--
mm/nommu.c=122=void *vrealloc_node_align_noprof(const void *p, size_t size, unsigned long align,
--
mm/nommu.c-127-
mm/nommu.c:128:void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align,
mm/nommu.c-129-		unsigned long start, unsigned long end, gfp_t gfp_mask,
--
mm/slub.c=6890=void *__kvmalloc_node_noprof(DECL_KMALLOC_PARAMS(size, b, token), unsigned long align,
--
mm/slub.c-6932-	 */
mm/slub.c:6933:	return __vmalloc_node_range_noprof(size, align, VMALLOC_START, VMALLOC_END,
mm/slub.c-6934-			flags, PAGE_KERNEL, allow_block ? VM_ALLOW_HUGE_VMAP:0,
--
mm/vmalloc.c=3865=static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
--
mm/vmalloc.c-3910-	 *
mm/vmalloc.c:3911:	 * Please note, the __vmalloc_node_range_noprof() falls-back
mm/vmalloc.c-3912-	 * to order-0 pages if high-order attempt is unsuccessful.
--
mm/vmalloc.c=3980=static gfp_t vmalloc_fix_flags(gfp_t flags)
--
mm/vmalloc.c-4024- */
mm/vmalloc.c:4025:void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align,
mm/vmalloc.c-4026-			unsigned long start, unsigned long end, gfp_t gfp_mask,
--
mm/vmalloc.c-4157- * Semantics of @gfp_mask (including reclaim/retry modifiers such as
mm/vmalloc.c:4158: * __GFP_NOFAIL) are the same as in __vmalloc_node_range_noprof().
mm/vmalloc.c-4159- *
--
mm/vmalloc.c=4162=void *__vmalloc_node_noprof(unsigned long size, unsigned long align,
--
mm/vmalloc.c-4164-{
mm/vmalloc.c:4165:	return __vmalloc_node_range_noprof(size, align, VMALLOC_START, VMALLOC_END,
mm/vmalloc.c-4166-				gfp_mask, PAGE_KERNEL, 0, node, caller);
--
mm/vmalloc.c=4218=void *vmalloc_huge_node_noprof(unsigned long size, gfp_t gfp_mask, int node)
--
mm/vmalloc.c-4221-		gfp_mask = vmalloc_fix_flags(gfp_mask);
mm/vmalloc.c:4222:	return __vmalloc_node_range_noprof(size, 1, VMALLOC_START, VMALLOC_END,
mm/vmalloc.c-4223-					   gfp_mask, PAGE_KERNEL, VM_ALLOW_HUGE_VMAP,
--
mm/vmalloc.c=4257=void *vmalloc_user_noprof(unsigned long size)
mm/vmalloc.c-4258-{
mm/vmalloc.c:4259:	return __vmalloc_node_range_noprof(size, SHMLBA,  VMALLOC_START, VMALLOC_END,
mm/vmalloc.c-4260-				    GFP_KERNEL | __GFP_ZERO, PAGE_KERNEL,
--
mm/vmalloc.c=4504=void *vmalloc_32_user_noprof(unsigned long size)
mm/vmalloc.c-4505-{
mm/vmalloc.c:4506:	return __vmalloc_node_range_noprof(size, SHMLBA,  VMALLOC_START, VMALLOC_END,
mm/vmalloc.c-4507-				    GFP_VMALLOC32 | __GFP_ZERO, PAGE_KERNEL,
]

8/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 11779
							output: 35
							thoughts: 19
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Diving into `mm/vmalloc.c`**

Okay, let's zero in on `mm/vmalloc.c` and specifically around line 4037. I'm probably looking at this section because of a memory allocation issue, perhaps related to `vmalloc`'s behavior under contention, a fragmentation problem, or maybe a potential memory leak. Line 4037 usually places you somewhere in the allocation or deallocation paths. I'm going to quickly refresh myself on the surrounding code... I'm particularly interested in how the `vmalloc` implementation handles page table setup, especially with respect to the underlying `vmap` calls, any potential spinlocks involved, and what happens when the requested memory chunk spans multiple pages or physical memory regions. I'll be paying close attention to the error handling paths and how different allocation failures are reported and handled – are we getting `ENOMEM`, or something more specific? I'll probably also check if there are any `WARN_ON` statements near this location, that can give important clues. Ultimately, my goal is to figure out the root cause of this specific observed behavior, or to understand how the allocation system works for a specific scenario I'm currently investigating.



9/2 2026/09/13 00:28 tool read-file
0m Args:
map[File:mm/vmalloc.c FirstLine:4010 LineCount:50]

Results:
map[Contents:4010:	 * by __vmalloc().
4011:	 *
4012:	 * Retry modifiers: only %__GFP_NOFAIL is fully supported;
4013:	 * %__GFP_NORETRY and %__GFP_RETRY_MAYFAIL are supported with limitation,
4014:	 * i.e. page tables are allocated with NOWAIT semantic so they might fail
4015:	 * under moderate memory pressure.
4016:	 *
4017:	 * %__GFP_NOWARN can be used to suppress failure messages.
4018:	 *
4019:	 * %__GFP_SKIP_KASAN can be used to skip unpoisoning of mapped pages
4020:	 * (when prot=%PAGE_KERNEL).
4021:	 *
4022:	 * Can not be called from interrupt nor NMI contexts.
4023:	 * Return: the address of the area or %NULL on failure
4024:	 */
4025:	void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align,
4026:				unsigned long start, unsigned long end, gfp_t gfp_mask,
4027:				pgprot_t prot, unsigned long vm_flags, int node,
4028:				const void *caller)
4029:	{
4030:		struct vm_struct *area;
4031:		void *ret;
4032:		kasan_vmalloc_flags_t kasan_flags = KASAN_VMALLOC_NONE;
4033:		unsigned long original_align = align;
4034:		unsigned int shift = PAGE_SHIFT;
4035:		bool skip_vmalloc_kasan = kasan_hw_tags_enabled() && (gfp_mask & __GFP_SKIP_KASAN);
4036:	
4037:		if (WARN_ON_ONCE(!size))
4038:			return NULL;
4039:	
4040:		if ((size >> PAGE_SHIFT) > totalram_pages()) {
4041:			warn_alloc(gfp_mask, NULL,
4042:				"vmalloc error: size %lu, exceeds total pages",
4043:				size);
4044:			return NULL;
4045:		}
4046:	
4047:		if (vmap_allow_huge && (vm_flags & VM_ALLOW_HUGE_VMAP)) {
4048:			/*
4049:			 * Try huge pages. Only try for PAGE_KERNEL allocations,
4050:			 * others like modules don't yet expect huge pages in
4051:			 * their allocations due to apply_to_page_range not
4052:			 * supporting them.
4053:			 */
4054:	
4055:			if (arch_vmap_pmd_supported(prot) && size >= PMD_SIZE)
4056:				shift = PMD_SHIFT;
4057:			else
4058:				shift = arch_vmap_pte_supported_shift(size);
4059:	
]

10/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12932
							output: 42
							thoughts: 83
						

Thoughts:
Here's my analysis of the situation:

**Investigating a ZRAM Allocation Issue**

Okay, so I've got a `WARN_ON_ONCE(!size)` warning popping up. That immediately tells me that `size` is equal to 0, which is the root of the problem. Looking at the call trace, it's clear the error originates in a chain of function calls: `vzalloc_noprof` -> `zram_meta_alloc` -> `disksize_store`. This suggests a memory allocation within ZRAM is failing. I need to dive into the ZRAM driver code. Based on the trace, I will check `drivers/block/zram/zram_drv.c` around line 2880, as this appears to be the point of failure. I expect the code there is related to disk size or metadata allocation, given the functions involved. I need to quickly identify why `size` could be zero in that specific context.



11/2 2026/09/13 00:28 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.c FirstLine:2860 LineCount:50]

Results:
map[Contents:2860:	static ssize_t disksize_store(struct device *dev, struct device_attribute *attr,
2861:				      const char *buf, size_t len)
2862:	{
2863:		u64 disksize;
2864:		struct zcomp *comp;
2865:		struct zram *zram = dev_to_zram(dev);
2866:		int err;
2867:		u32 prio;
2868:	
2869:		disksize = memparse(buf, NULL);
2870:		if (!disksize)
2871:			return -EINVAL;
2872:	
2873:		guard(rwsem_write)(&zram->dev_lock);
2874:		if (init_done(zram)) {
2875:			pr_info("Cannot change disksize for initialized device\n");
2876:			return -EBUSY;
2877:		}
2878:	
2879:		disksize = PAGE_ALIGN(disksize);
2880:		if (!zram_meta_alloc(zram, disksize))
2881:			return -ENOMEM;
2882:	
2883:		for (prio = ZRAM_PRIMARY_COMP; prio < ZRAM_MAX_COMPS; prio++) {
2884:			if (!zram->comp_algs[prio])
2885:				continue;
2886:	
2887:			comp = zcomp_create(zram->comp_algs[prio],
2888:					    &zram->params[prio]);
2889:			if (IS_ERR(comp)) {
2890:				pr_err("Cannot initialise %s compressing backend\n",
2891:				       zram->comp_algs[prio]);
2892:				err = PTR_ERR(comp);
2893:				goto out_free_comps;
2894:			}
2895:	
2896:			zram->comps[prio] = comp;
2897:		}
2898:		zram->disksize = disksize;
2899:		set_capacity_and_notify(zram->disk, zram->disksize >> SECTOR_SHIFT);
2900:	
2901:		return len;
2902:	
2903:	out_free_comps:
2904:		zram_destroy_comps(zram);
2905:		zram_meta_free(zram, disksize);
2906:		return err;
2907:	}
2908:	
2909:	static ssize_t reset_store(struct device *dev,
]

12/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14008
							output: 19
							thoughts: 95
						

Thoughts:
**Analyzing Potential Integer Overflow in Disk Size Calculation**

Okay, so I'm looking at this code snippet, and I'm immediately focused on the `disksize` variable. It's crucial, obviously, and it's being parsed from `buf` using `memparse`. The result of that parsing is assigned to `disksize` and then we have the safety check: If it's zero, we're returning -EINVAL. Seems reasonable enough, preventing garbage input.

The bit that's snagging my attention, though, is the `PAGE_ALIGN(disksize)` call. That's where things could get interesting, especially if the initial `disksize` value is a very large number, like `0xffffffffffffffff`. My gut is telling me that's a prime candidate for an integer overflow.

Let me refresh my understanding of how `PAGE_ALIGN` works. If `disksize` is enormous, the alignment process *could* cause it to wrap around to zero, or at least a very small value. That would effectively make `disksize` unusable for its intended purpose. I'll need to double check the actual alignment calculation in the context of the page size to confirm that it's doing what I think it is. I need to be sure this is handled correctly because a miscalculated `disksize` could lead to some significant problems down the line. We need to prevent such overflows from occurring, likely by implementing a sanity check, before `PAGE_ALIGN` is called, ensuring `disksize` stays within sensible bounds.



13/2 2026/09/13 00:28 tool grepper
0m Args:
map[Expression:#define PAGE_ALIGN]

Results:
map[Output:arch/powerpc/boot/page.h-27-/* to align the pointer to the (next) page boundary */
arch/powerpc/boot/page.h:28:#define PAGE_ALIGN(addr)	_ALIGN(addr, PAGE_SIZE)
arch/powerpc/boot/page.h-29-
--
include/asm-generic/vmlinux.lds.h-410-
include/asm-generic/vmlinux.lds.h:411:#define PAGE_ALIGNED_DATA(page_align)					\
include/asm-generic/vmlinux.lds.h-412-	. = ALIGN(page_align);						\
--
include/linux/mm.h=216=static inline bool page_range_contiguous(const struct page *page,
--
include/linux/mm.h-223-/* to align the pointer to the (next) page boundary */
include/linux/mm.h:224:#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
include/linux/mm.h-225-
include/linux/mm.h-226-/* to align the pointer to the (prev) page boundary */
include/linux/mm.h:227:#define PAGE_ALIGN_DOWN(addr) ALIGN_DOWN(addr, PAGE_SIZE)
include/linux/mm.h-228-
include/linux/mm.h-229-/* test whether an address (unsigned long or pointer) is aligned to PAGE_SIZE */
include/linux/mm.h:230:#define PAGE_ALIGNED(addr)	IS_ALIGNED((unsigned long)(addr), PAGE_SIZE)
include/linux/mm.h-231-
--
tools/include/linux/mm.h-14-
tools/include/linux/mm.h:15:#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
tools/include/linux/mm.h:16:#define PAGE_ALIGN_DOWN(addr) ALIGN_DOWN(addr, PAGE_SIZE)
tools/include/linux/mm.h-17-
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-37-
tools/testing/scatterlist/linux/mm.h:38:#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
tools/testing/scatterlist/linux/mm.h-39-
--
tools/testing/selftests/mm/mlock-random-test.c-24-#define TEST_LOOP 100
tools/testing/selftests/mm/mlock-random-test.c:25:#define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1))
tools/testing/selftests/mm/mlock-random-test.c-26-
--
tools/virtio/linux/kernel.h-28-#define PAGE_MASK (~(PAGE_SIZE-1))
tools/virtio/linux/kernel.h:29:#define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK)
tools/virtio/linux/kernel.h-30-
]

14/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15254
							output: 42
							thoughts: 120
						

Thoughts:
**My Analysis of a Potential ZRAM Disk Size Issue**

Okay, so I'm looking at this `ALIGN(addr, PAGE_SIZE)` macro – pretty standard stuff, right? It's just a bitwise operation to round up an address to the nearest page boundary: `(((addr) + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1))`.  Seems straightforward. But then I see this scenario where `disksize` is effectively a maximum value, `0xffffffffffffffff`. That's where things get interesting, or potentially, troublesome.

If I add `PAGE_SIZE - 1` to that maximum `disksize` value, I'm going to hit an integer overflow, right?  The result of that addition, thanks to the way unsigned integers work, will wrap around to `PAGE_SIZE - 2`.  Then, when I do the bitwise AND with the bitwise complement of `PAGE_SIZE - 1`, that will result in zero.  So `disksize` *effectively* gets set to zero, even though it started out at its maximum value.

And that's what's worrying me.  Because after that, `zram_meta_alloc(zram, disksize)` is called with a `disksize` of zero. This is a critical point. That might not be what the system intended, and it could lead to the ZRAM device being unusable or misconfigured. There is probably code later in the routine that expects `disksize` to have a reasonable value, perhaps related to the amount of memory allocated to the device. This truncation of the original size could result in undefined behavior and errors.



15/2 2026/09/13 00:28 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.c FirstLine:1970 LineCount:50]

Results:
map[Contents:1970:		size_t num_pages = disksize >> PAGE_SHIFT;
1971:		size_t index;
1972:	
1973:		if (!zram->table)
1974:			return;
1975:	
1976:		/* Free all pages that are still in this zram device */
1977:		for (index = 0; index < num_pages; index++)
1978:			slot_free(zram, index);
1979:	
1980:		zs_destroy_pool(zram->mem_pool);
1981:		vfree(zram->table);
1982:		zram->table = NULL;
1983:	}
1984:	
1985:	static bool zram_meta_alloc(struct zram *zram, u64 disksize)
1986:	{
1987:		size_t num_pages, index;
1988:	
1989:		num_pages = disksize >> PAGE_SHIFT;
1990:		zram->table = vzalloc(array_size(num_pages, sizeof(*zram->table)));
1991:		if (!zram->table)
1992:			return false;
1993:	
1994:		zram->mem_pool = zs_create_pool(zram->disk->disk_name);
1995:		if (!zram->mem_pool) {
1996:			vfree(zram->table);
1997:			zram->table = NULL;
1998:			return false;
1999:		}
2000:	
2001:		if (!huge_class_size)
2002:			huge_class_size = zs_huge_class_size(zram->mem_pool);
2003:	
2004:		for (index = 0; index < num_pages; index++)
2005:			slot_lock_init(zram, index);
2006:	
2007:		return true;
2008:	}
2009:	
2010:	static void slot_free(struct zram *zram, u32 index)
2011:	{
2012:		unsigned long handle;
2013:	
2014:	#ifdef CONFIG_ZRAM_TRACK_ENTRY_ACTIME
2015:		zram->table[index].attr.ac_time = 0;
2016:	#endif
2017:	
2018:		clear_slot_flag(zram, index, ZRAM_IDLE);
2019:		clear_slot_flag(zram, index, ZRAM_INCOMPRESSIBLE);
]

16/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16503
							output: 20
							thoughts: 474
						

Thoughts:
**My Analysis of the ZRAM Disksize Zero-Page Allocation**

Okay, let's break this down. The code calculates `num_pages` by right-shifting `disksize` by `PAGE_SHIFT`. If `disksize` happens to be zero, `num_pages` is also zero. That's the crux of it.

Then, we try to allocate memory for the zram metadata table: `zram->table = vzalloc(array_size(num_pages, sizeof(*zram->table)));`. Since `num_pages` is zero, `array_size` also returns zero, so `vzalloc(0)` is called. And that's where the fun begins.

`vzalloc(0)` internally calls `__vmalloc_node_range_noprof` with a size of zero. This triggers a `WARN_ON_ONCE(!size)`, meaning it issues a warning if the allocation size is zero. The warning is the key here.

Now, `__vmalloc_node_range_noprof` *returns* `NULL` when `size` is zero, even though it also warns. So `vzalloc(0)` also returns `NULL`. The subsequent check `if (!zram->table) return false;` catches this. The `zram_meta_alloc` function returns `false`, which then causes `disksize_store` to return `-ENOMEM`. Makes perfect sense.

My initial thought was, "Is there a memory corruption or potential denial of service here?" The thing that jumps out is the warning, because in the syzkaller environment, `panic_on_warn` is set. This makes it a kernel panic. *But* in a real-world, production environment, `panic_on_warn` is *not* set. So, in a production environment, this means a warning message gets printed to the kernel log with a stack trace. The system continues to run.

So, in production, there's no memory corruption, no crash, no hang. It isn't a denial-of-service, it's just an edge case. Specifically, it's an unhandled edge case where `disksize` wraps to zero.

The real question is: is there *any* other consequence? What happens if `disksize_store` returns `-ENOMEM`? The `zram` device's state remains unchanged. This means it is still accessible from unprivileged processes, which are writing to the `/sys/block/zram0/disksize` file.

Now, I need to check the permissions of that sysfs file to be sure. I'm not seeing an immediate critical vulnerability, but I should check the permissions on `/sys/block/zram0/disksize`. It's a non-issue as it is a read-write value, and returns a error, that's not a security issue, it's an edge case.



17/2 2026/09/13 00:28 tool grepper
0m Args:
map[Expression:DEVICE_ATTR.*disksize]

Results:
map[Output:drivers/block/zram/zram_drv.c=2971=static DEVICE_ATTR_WO(compact);
drivers/block/zram/zram_drv.c:2972:static DEVICE_ATTR_RW(disksize);
drivers/block/zram/zram_drv.c-2973-static DEVICE_ATTR_RO(initstate);
]

18/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17727
							output: 21
							thoughts: 57
						

Thoughts:
**Examining the Permission Assignment of a Device Attribute File**

Okay, so `DEVICE_ATTR_RW(disksize)` creates a file, right? And I recall that file having specific permissions. Right, it's created with `0644` permissions. That seems a bit odd; I would have expected a more controlled permission set. Hold on, let me quickly double-check that. I need to be absolutely certain how the underlying macro, `DEVICE_ATTR_RW`, handles permissions. Time to dig into the macro definition itself to understand how this `0644` assignment is happening under the hood. I know there's a good reason for it, so let's track it down!



19/2 2026/09/13 00:28 tool grepper
0m Args:
map[Expression:#define DEVICE_ATTR_RW]

Results:
map[Output:include/linux/device.h=149=typedef ssize_t __device_store_handler_const(struct device *dev, const struct device_attribute *attr,
--
include/linux/device.h-246- */
include/linux/device.h:247:#define DEVICE_ATTR_RW(_name) \
include/linux/device.h-248-	struct device_attribute dev_attr_##_name = __DEVICE_ATTR_RW(_name)
--
include/linux/device.h-267- */
include/linux/device.h:268:#define DEVICE_ATTR_RW_NAMED(_name, _attrname)                            \
include/linux/device.h-269-	struct device_attribute dev_attr_##_name = {                      \
]

20/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 18155
							output: 22
							thoughts: 12
						

Thoughts:
Here's my take on those thoughts:

**Checking the Read/Write Device Attribute**

Okay, so I'm thinking, let's just make absolutely sure we're on the right track here. Time to double-check that `__DEVICE_ATTR_RW` macro, just to be crystal clear. I know I’ve been over this code a thousand times, and I *think* I’ve got it nailed, but it's always worth a quick sanity check, especially with something this fundamental. We can't afford any slip-ups in the basic building blocks. A misstep there can lead to cascading problems down the line. Let's make sure that read/write attribute is behaving as expected, before we go any further. Gotta have my ducks in a row.



21/2 2026/09/13 00:28 tool grepper
0m Args:
map[Expression:#define __DEVICE_ATTR_RW]

Results:
map[Output:include/linux/device.h=149=typedef ssize_t __device_store_handler_const(struct device *dev, const struct device_attribute *attr,
--
include/linux/device.h-201-
include/linux/device.h:202:#define __DEVICE_ATTR_RW_MODE(_name, _mode) \
include/linux/device.h-203-	__DEVICE_ATTR(_name, _mode, _name##_show, _name##_store)
include/linux/device.h-204-
include/linux/device.h:205:#define __DEVICE_ATTR_RW(_name) \
include/linux/device.h-206-	__DEVICE_ATTR_RW_MODE(_name, 0644)
]

22/2 2026/09/13 00:28 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 18554
							output: 21
							thoughts: 647
						

Thoughts:
**Analyzing Sysfs and User Namespaces**

Okay, so I'm looking at this file's permissions – `0644`. Root has write access, but regular users only have read. Now, the question is, can an unprivileged user actually *write* to a sysfs file if they're operating within a user namespace? The reproducer code is attempting to do just that, creating a directory, mounting, opening, and then writing.

My initial thought is that sysfs is mounted within a new user namespace. If that's the case, an unprivileged user *could* set up their own user and mount namespace. But does mounting sysfs in the user namespace *guarantee* write access to something like `/sys/block/zram0/disksize`?

Typically, those sysfs files have root ownership in the original namespace. When sysfs is mounted in a user namespace, I'd expect the ownership to shift to something like `nobody:nobody` or `overflowuid`. That means the user *inside* the namespace wouldn't inherently have write access, unless the namespace mapped the initial root uid to a uid they control (which, as an unprivileged user, they don't).

However, wait a second. If an unprivileged user *creates* the user namespace, the root within that namespace is actually mapped to *their* user ID, isn't it? But, sysfs files are still owned by the *global* root (UID 0). Since the global root isn't mapped inside the user namespace, it's going to show up as `nobody` (probably 65534). So the user in the namespace, even though they're root *in that namespace*, won't have the required privileges over files owned by `nobody`.

I need to confirm whether sysfs can even be mounted inside a user namespace. Yes, sysfs *can* be mounted within a user namespace if the user has `CAP_SYS_ADMIN` in that namespace. But even then, the files inside will retain their ownership from the initial namespace, meaning they'll still be owned by `GLOBAL_ROOT_UID`. I need to check if sysfs employs `FS_USERNS_MOUNT` to ensure this behaviour.



23/2 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:FS_USERNS_MOUNT]

Results:
map[Output:drivers/android/binder/rust_binderfs.c=753=static struct file_system_type binder_fs_type = {
--
drivers/android/binder/rust_binderfs.c-757-	.kill_sb		= binderfs_kill_super,
drivers/android/binder/rust_binderfs.c:758:	.fs_flags		= FS_USERNS_MOUNT,
drivers/android/binder/rust_binderfs.c-759-};
--
drivers/android/binderfs.c=749=static struct file_system_type binder_fs_type = {
--
drivers/android/binderfs.c-753-	.kill_sb		= binderfs_kill_super,
drivers/android/binderfs.c:754:	.fs_flags		= FS_USERNS_MOUNT,
drivers/android/binderfs.c-755-};
--
fs/binfmt_misc.c=1667=static struct file_system_type bm_fs_type = {
--
fs/binfmt_misc.c-1670-	.init_fs_context = bm_init_fs_context,
fs/binfmt_misc.c:1671:	.fs_flags	= FS_USERNS_MOUNT,
fs/binfmt_misc.c-1672-	.kill_sb	= bm_kill_sb,
--
fs/devpts/inode.c=453=static struct file_system_type devpts_fs_type = {
--
fs/devpts/inode.c-457-	.kill_sb	= devpts_kill_sb,
fs/devpts/inode.c:458:	.fs_flags	= FS_USERNS_MOUNT,
fs/devpts/inode.c-459-};
--
fs/fuse/inode.c=2001=static struct file_system_type fuse_fs_type = {
--
fs/fuse/inode.c-2003-	.name		= "fuse",
fs/fuse/inode.c:2004:	.fs_flags	= FS_HAS_SUBTYPE | FS_USERNS_MOUNT | FS_ALLOW_IDMAP,
fs/fuse/inode.c-2005-	.init_fs_context = fuse_init_fs_context,
--
fs/namespace.c=1076=static void mnt_add_to_ns(struct mnt_namespace *ns, struct mount *mnt)
--
fs/namespace.c-1101-
fs/namespace.c:1102:	if ((mnt->mnt.mnt_sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED) &&
fs/namespace.c-1103-	    mnt->mnt.mnt_root == mnt->mnt.mnt_sb->s_root)
--
fs/namespace.c=6426=static bool mount_too_revealing(const struct super_block *sb, int *new_mnt_flags)
--
fs/namespace.c-6435-	/* Can this filesystem be too revealing? */
fs/namespace.c:6436:	if (!(sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED))
fs/namespace.c-6437-		return false;
--
fs/overlayfs/params.c=782=static const struct fs_context_operations ovl_context_ops = {
--
fs/overlayfs/params.c-791- * This is called during fsopen() and will record the user namespace of
fs/overlayfs/params.c:792: * the caller in fc->user_ns since we've raised FS_USERNS_MOUNT. We'll
fs/overlayfs/params.c-793- * need it when we actually create the superblock to verify that the
--
fs/overlayfs/super.c=1572=struct file_system_type ovl_fs_type = {
--
fs/overlayfs/super.c-1576-	.parameters		= ovl_parameter_spec,
fs/overlayfs/super.c:1577:	.fs_flags		= FS_USERNS_MOUNT | FS_ALLOW_IDMAP,
fs/overlayfs/super.c-1578-	.kill_sb		= kill_anon_super,
--
fs/proc/root.c=369=static struct file_system_type proc_fs_type = {
--
fs/proc/root.c-373-	.kill_sb		= proc_kill_sb,
fs/proc/root.c:374:	.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED | FS_DISALLOW_NOTIFY_PERM,
fs/proc/root.c-375-};
--
fs/ramfs/inode.c=317=static struct file_system_type ramfs_fs_type = {
--
fs/ramfs/inode.c-321-	.kill_sb	= ramfs_kill_sb,
fs/ramfs/inode.c:322:	.fs_flags	= FS_USERNS_MOUNT,
fs/ramfs/inode.c-323-};
--
fs/super.c=817=bool mount_capable(struct fs_context *fc)
fs/super.c-818-{
fs/super.c:819:	if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT))
fs/super.c-820-		return capable(CAP_SYS_ADMIN);
--
fs/super.c=857=struct super_block *sget_fc(struct fs_context *fc,
--
fs/super.c-866-	/*
fs/super.c:867:	 * Never allow s_user_ns != &init_user_ns when FS_USERNS_MOUNT or
fs/super.c-868-	 * FS_USERNS_DELEGATABLE is not set, as the filesystem is likely
--
fs/super.c-872-	if (user_ns != &init_user_ns &&
fs/super.c:873:	    !(fc->fs_type->fs_flags & (FS_USERNS_MOUNT | FS_USERNS_DELEGATABLE))) {
fs/super.c-874-		errorfc(fc, "VFS: Mounting from non-initial user namespace is not allowed");
--
fs/sysfs/mount.c=78=static struct file_system_type sysfs_fs_type = {
--
fs/sysfs/mount.c-81-	.kill_sb		= sysfs_kill_sb,
fs/sysfs/mount.c:82:	.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED,
fs/sysfs/mount.c-83-};
--
include/linux/fs.h=2286=struct file_system_type {
--
include/linux/fs.h-2291-#define FS_HAS_SUBTYPE		4
include/linux/fs.h:2292:#define FS_USERNS_MOUNT		8	/* Can be mounted by userns root */
include/linux/fs.h-2293-#define FS_DISALLOW_NOTIFY_PERM	16	/* Disable fanotify permission events */
--
include/linux/fs.h-2297-#define FS_POWER_FREEZE		256	/* Always freeze on suspend/hibernate */
include/linux/fs.h:2298:#define FS_USERNS_MOUNT_RESTRICTED 512	/* Restrict mount in userns if not already visible */
include/linux/fs.h-2299-#define FS_USERNS_DELEGATABLE	1024	/* Can be mounted inside userns from outside */
--
ipc/mqueue.c=1612=static struct file_system_type mqueue_fs_type = {
--
ipc/mqueue.c-1615-	.kill_sb		= kill_anon_super,
ipc/mqueue.c:1616:	.fs_flags		= FS_USERNS_MOUNT,
ipc/mqueue.c-1617-};
--
kernel/acct.c=216=static int acct_on(const char __user *name)
--
kernel/acct.c-251-	/* Exclude procfs and sysfs. */
kernel/acct.c:252:	if (file_inode(file)->i_sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED)
kernel/acct.c-253-		return -EINVAL;
--
kernel/bpf/inode.c=1277=static struct file_system_type bpf_fs_type = {
--
kernel/bpf/inode.c-1282-	.kill_sb	= bpf_kill_super,
kernel/bpf/inode.c:1283:	.fs_flags	= FS_USERNS_MOUNT,
kernel/bpf/inode.c-1284-};
--
kernel/cgroup/cgroup.c=2388=struct file_system_type cgroup_fs_type = {
--
kernel/cgroup/cgroup.c-2392-	.kill_sb		= cgroup_kill_sb,
kernel/cgroup/cgroup.c:2393:	.fs_flags		= FS_USERNS_MOUNT,
kernel/cgroup/cgroup.c-2394-};
--
kernel/cgroup/cgroup.c=2396=static struct file_system_type cgroup2_fs_type = {
--
kernel/cgroup/cgroup.c-2400-	.kill_sb		= cgroup_kill_sb,
kernel/cgroup/cgroup.c:2401:	.fs_flags		= FS_USERNS_MOUNT,
kernel/cgroup/cgroup.c-2402-};
--
kernel/cgroup/cgroup.c=2469=static struct file_system_type cpuset_fs_type = {
--
kernel/cgroup/cgroup.c-2472-	.parameters		= cpuset_fs_parameters,
kernel/cgroup/cgroup.c:2473:	.fs_flags		= FS_USERNS_MOUNT,
kernel/cgroup/cgroup.c-2474-};
--
mm/shmem.c=5280=static struct file_system_type shmem_fs_type = {
--
mm/shmem.c-5287-	.kill_sb	= kill_anon_super,
mm/shmem.c:5288:	.fs_flags	= FS_USERNS_MOUNT | FS_ALLOW_IDMAP | FS_MGTIME,
mm/shmem.c-5289-};
--
mm/shmem.c=5712=static struct file_system_type shmem_fs_type = {
--
mm/shmem.c-5716-	.kill_sb	= ramfs_kill_sb,
mm/shmem.c:5717:	.fs_flags	= FS_USERNS_MOUNT,
mm/shmem.c-5718-};
--
tools/testing/selftests/exec/binfmt_misc_interplimit.c-5- * the mount it came from. It costs no file descriptor, and binfmt_misc is
tools/testing/selftests/exec/binfmt_misc_interplimit.c:6: * FS_USERNS_MOUNT, so an unprivileged user namespace can create them without
tools/testing/selftests/exec/binfmt_misc_interplimit.c-7- * bound. Check that UCOUNT_BINFMT_MISC_INTERPRETERS bounds it, that an entry
--
tools/testing/selftests/exec/binfmt_misc_selfpin.c-9- *
tools/testing/selftests/exec/binfmt_misc_selfpin.c:10: * Runs unprivileged in a user namespace; binfmt_misc is FS_USERNS_MOUNT.
tools/testing/selftests/exec/binfmt_misc_selfpin.c-11- */
--
tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test.c-12- * socket. vfs_cmd_create() authorizes the create with mount_capable(),
tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test.c:13: * which for FS_USERNS_MOUNT checks ns_capable(fc->user_ns, CAP_SYS_ADMIN),
tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test.c-14- * and that succeeds for a task holding CAP_SYS_ADMIN in an ancestor of
]

24/2 2026/09/13 00:29 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22931
							output: 51
							thoughts: 314
						

Thoughts:
**My Reasoning on `sysfs` and User Namespaces**

Okay, so `sysfs` is marked with `FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED`. That means it *can* be mounted within a user namespace, but only if it's already visible in the initial namespace, which is expected. And, importantly, the file ownership will remain the *same* as in the initial namespace.

Now, let's look at `/sys/block/zram0/disksize`. If that's owned by `root:root` in the initial namespace, and an unprivileged user namespace *doesn't* map the initial root UID, I should expect that file to appear as `nobody:nobody` within the user namespace.

Which means, even if I'm root *inside* that unprivileged user namespace, I shouldn't be able to write to it. I'm essentially operating outside of the permissions of the `nobody` user, and therefore my root privilege would not be sufficient. That feels right, but...wait a minute, is that *completely* accurate? I better double-check the permissions on `sysfs`.

Let me think this through. When a user creates a user namespace, their own UID gets mapped to 0, which is the root within the namespace. The global root UID (0 in the initial namespace) will be mapped to 65534, which is `nobody`. I get it; I'm UID 0 within the namespace, but that doesn't automatically mean I have carte blanche. I don't have privileges that override `nobody`'s files, since that UID isn't mapped to my namespace.

Oh, that's it! `CAP_DAC_OVERRIDE` in a user namespace *only* applies to files where the UID/GID are mapped into the *current* namespace. That makes perfect sense. I need to verify this assumption to be absolutely sure.



25/2 2026/09/13 00:29 tool codeexpert
1m Error:
log-in to see details

Args:
map[Question:If an unprivileged user creates a user namespace and mounts sysfs, can they write to a sysfs file that has 0644 permissions and is owned by global root?]

26/3 2026/09/13 00:29 agent codeexpert
1m Model:
core

Error:
log-in to see details

Instruction:
You are a capable Linux kernel developer tasked with researching complex questions
about kernel source code. You will be given a concrete question, and need to provide
a concrete answer.
Research the question using targeted, efficient tool calls. Don't make assumptions,
or rely on your previous knowledge about the kernel source code, use available tools
to access the actual source code. Keep your tool calls focused and limited to the
scope of the question. Do not explore tangential code paths or perform unbounded searches.
Use all available sources of information:
 - kernel source code
 - documentation in the Documentation dir in the source tree
 - git commits descriptions, git blame

Do not guess file names or file paths and attempt to read them without
verifying their existence first using content search or directory listing tools.
If a file, symbol, or directory is not found via content search (grepper) or
directory listing (codesearch-dir-index), treat it as completely absent.
Do not attempt to guess alternative names, extensions, or directories.

Tool Selection Guidelines:
1. For C functions, structs, and variables: Prefer codesearch-definition-source
   or codesearch-struct-layout FIRST to retrieve clean, exact definitions
   without line-number guessing.
2. If symbol lookup fails (e.g., preprocessor macros, macro-generated code, or
   disabled #ifdef branches), fall back to read-file or grepper.
3. For file headers, #include directives, preprocessor macro definitions, and
   non-C files (Kconfig, Makefiles, docs): Use read-file or grepper directly.
4. Be concise and targeted. Answer the question as directly and concisely as possible
   once you have located the relevant code or definitions. If a symbol or function cannot
   be found after targeted searches, conclude with the best available information rather
   than continuing repetitive searches.
Do NOT use git-log to search for the presence or existence of files in the
repository. git-log is only for tracing commit history of files that are
already present in the current checkout. If a file does not exist in the
current checkout, it cannot be used for reproduction.

Avoid running broad git-log queries (such as searches on the entire repo)
without a specific 'PathPrefix' to restrict the scope, as these are very
expensive and will time out.
If a git-log tool call times out, do not retry the query with the same broad
scope. You must specify a tighter, narrower 'PathPrefix' for subsequent queries.

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:
If an unprivileged user creates a user namespace and mounts sysfs, can they write to a sysfs file that has 0644 permissions and is owned by global root?

27/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 4183
							output: 92
							thoughts: 402
						

Thoughts:
**My Initial Thoughts on the User's Question**

Okay, so the user poses a tricky question. Essentially, they're asking about a potential security bypass: can an unprivileged user, playing within the confines of a user namespace, write to a sysfs file that *appears* to have permissive permissions (0644) and a global root ownership? Let's dissect this, because there are a few layers here, and they're all critical to understanding the potential vulnerability and the Linux kernel's protections.

First, the setup: we have an unprivileged user creating a user namespace. This immediately introduces a layer of isolation. They'll be mapped to root *within* that namespace, which, in a standard setup, is mapped to an unprivileged user id outside of the namespace. The core of the question is, can they circumvent the "real" root's access control?

My immediate questions are centered around `sysfs` itself. Can a user namespace even *mount* sysfs? Or does mounting sysfs require some privileged operation, even within a namespace? And then, if it *can* be mounted, how does sysfs behave with regard to file ownership and permissions within a user namespace? This gets into the core of how permissions are actually *checked* in sysfs.

I need to dive into the kernel source, specifically: `fs/sysfs`, `fs/kernfs`, `super.c` and `inode.c` within kernfs/sysfs. I want to understand: is `FS_USERNS_MOUNT` set for sysfs? That's a huge clue. How are ownership and permissions for sysfs inodes handled? How are DAC/inode permissions handled, kernfs permission checks?

The user is asking about writing to a file, which means I need to understand the write path, and the kernel's security checks along that path. I need to understand exactly how the effective user ID within the user namespace interacts with the global file ownership and permissions, because the 0644 permissions are the bait here. Is the system going to check permissions in the user namespace, and if so, how?

Let me do a quick search using `grepper` or `codesearch-definition-source` to investigate sysfs mounting, user namespaces, permissions and write paths. I need to figure out exactly how the kernel handles this situation!



28/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:sysfs_fs_type PathPrefix:fs/sysfs]

Results:
map[Output:fs/sysfs/mount.c=70=static void sysfs_kill_sb(struct super_block *sb)
--
fs/sysfs/mount.c-77-
fs/sysfs/mount.c:78:static struct file_system_type sysfs_fs_type = {
fs/sysfs/mount.c-79-	.name			= "sysfs",
--
fs/sysfs/mount.c=85=int __init sysfs_init(void)
--
fs/sysfs/mount.c-95-
fs/sysfs/mount.c:96:	err = register_filesystem(&sysfs_fs_type);
fs/sysfs/mount.c-97-	if (err) {
]

29/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:FS_USERNS_MOUNT PathPrefix:fs/sysfs]

Results:
map[Output:fs/sysfs/mount.c=78=static struct file_system_type sysfs_fs_type = {
--
fs/sysfs/mount.c-81-	.kill_sb		= sysfs_kill_sb,
fs/sysfs/mount.c:82:	.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED,
fs/sysfs/mount.c-83-};
]

30/4 2026/09/13 00:29 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:FS_USERNS_MOUNT PathPrefix:fs/kernfs]

Results:
map[Output:]

31/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5500
							output: 35
							thoughts: 50
						

Thoughts:
Here's my summary, as though I'm thinking through this myself:

**Delving into sysfs and User Namespaces**

Okay, so `sysfs_fs_type`... the filesystem type struct for sysfs. I see it has `.fs_flags = FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED`. That immediately catches my eye, given my expertise.  Specifically, the `FS_USERNS_MOUNT` flag indicates it's designed to interact with user namespaces, which is usually interesting from a security and containerization standpoint.  And the `FS_USERNS_MOUNT_RESTRICTED` flag means we should be careful. It implies that there might be some limitations, or that the mounting process is tightly controlled, when mounted within a user namespace, which is important.

Given that's my current understanding, let's stop guessing and go straight to the source. Time to dig into `fs/sysfs/mount.c`. I need to see *precisely* how sysfs handles mount requests within user namespaces, and the implications of these flags. I need to understand what's restricted, why it's restricted, and how it relates to general security considerations. Gotta make sure nothing unexpected is going on here.



32/4 2026/09/13 00:29 tool read-file
0m Args:
map[File:fs/sysfs/mount.c FirstLine:1 LineCount:100]

Results:
map[Contents:   1:	// SPDX-License-Identifier: GPL-2.0
   2:	/*
   3:	 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
   4:	 *
   5:	 * Copyright (c) 2001-3 Patrick Mochel
   6:	 * Copyright (c) 2007 SUSE Linux Products GmbH
   7:	 * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
   8:	 *
   9:	 * Please see Documentation/filesystems/sysfs.rst for more information.
  10:	 */
  11:	
  12:	#include <linux/fs.h>
  13:	#include <linux/magic.h>
  14:	#include <linux/mount.h>
  15:	#include <linux/init.h>
  16:	#include <linux/slab.h>
  17:	#include <linux/user_namespace.h>
  18:	#include <linux/fs_context.h>
  19:	#include <net/net_namespace.h>
  20:	
  21:	#include "sysfs.h"
  22:	
  23:	static struct kernfs_root *sysfs_root;
  24:	struct kernfs_node *sysfs_root_kn;
  25:	
  26:	static void sysfs_fs_context_free(struct fs_context *fc)
  27:	{
  28:		struct kernfs_fs_context *kfc = fc->fs_private;
  29:	
  30:		if (kfc->ns_tag)
  31:			kobj_ns_drop(KOBJ_NS_TYPE_NET, kfc->ns_tag);
  32:		kernfs_free_fs_context(fc);
  33:		kfree(kfc);
  34:	}
  35:	
  36:	static const struct fs_context_operations sysfs_fs_context_ops = {
  37:		.free		= sysfs_fs_context_free,
  38:		.get_tree	= kernfs_get_tree,
  39:	};
  40:	
  41:	static int sysfs_init_fs_context(struct fs_context *fc)
  42:	{
  43:		struct kernfs_fs_context *kfc;
  44:		struct ns_common *ns;
  45:	
  46:		if (!(fc->sb_flags & SB_KERNMOUNT)) {
  47:			if (!kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET))
  48:				return -EPERM;
  49:		}
  50:	
  51:		kfc = kzalloc_obj(struct kernfs_fs_context);
  52:		if (!kfc)
  53:			return -ENOMEM;
  54:	
  55:		kfc->ns_tag = ns = kobj_ns_grab_current(KOBJ_NS_TYPE_NET);
  56:		kfc->root = sysfs_root;
  57:		kfc->magic = SYSFS_MAGIC;
  58:		fc->fs_private = kfc;
  59:		fc->ops = &sysfs_fs_context_ops;
  60:		if (ns) {
  61:			struct net *netns = to_net_ns(ns);
  62:	
  63:			put_user_ns(fc->user_ns);
  64:			fc->user_ns = get_user_ns(netns->user_ns);
  65:		}
  66:		fc->global = true;
  67:		return 0;
  68:	}
  69:	
  70:	static void sysfs_kill_sb(struct super_block *sb)
  71:	{
  72:		struct ns_common *ns = (struct ns_common *)kernfs_super_ns(sb);
  73:	
  74:		kernfs_kill_sb(sb);
  75:		kobj_ns_drop(KOBJ_NS_TYPE_NET, ns);
  76:	}
  77:	
  78:	static struct file_system_type sysfs_fs_type = {
  79:		.name			= "sysfs",
  80:		.init_fs_context	= sysfs_init_fs_context,
  81:		.kill_sb		= sysfs_kill_sb,
  82:		.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED,
  83:	};
  84:	
  85:	int __init sysfs_init(void)
  86:	{
  87:		int err;
  88:	
  89:		sysfs_root = kernfs_create_root(NULL, KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK,
  90:						NULL);
  91:		if (IS_ERR(sysfs_root))
  92:			return PTR_ERR(sysfs_root);
  93:	
  94:		sysfs_root_kn = kernfs_root_to_node(sysfs_root);
  95:	
  96:		err = register_filesystem(&sysfs_fs_type);
  97:		if (err) {
  98:			kernfs_destroy_root(sysfs_root);
  99:			return err;
 100:		}
]

33/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 7316
							output: 27
							thoughts: 157
						

Thoughts:
**Diving into the Sysfs Initialization**

Okay, so I'm looking at this sysfs initialization code, specifically lines 89-90. And there it is: `sysfs_root = kernfs_create_root(NULL, KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK, NULL);` That `KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK` flag immediately grabs my attention. I need to understand that. What's the deal with adding an *extra* permission check at the root? That sounds like a potential security hardening measure, or perhaps a niche access control requirement for a specific subsystem.

And wait, I see `kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET)` nearby. I need to understand that call too. What does `kobj_ns_current_may_mount` do exactly in this context? Is this about network namespace integration in sysfs? This is relevant.

Alright, back to the `KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK`. I'm going to fire up grep and get some context on this flag. I need to see where it's defined, how it's used, and what effect it has on the access permissions. Let's see what the source code reveals.



34/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK]

Results:
map[Output:fs/kernfs/file.c=603=static int kernfs_fop_open(struct inode *inode, struct file *file)
--
fs/kernfs/file.c-621-	/* see the flag definition for details */
fs/kernfs/file.c:622:	if (root->flags & KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK) {
fs/kernfs/file.c-623-		if ((file->f_mode & FMODE_WRITE) &&
--
fs/resctrl/rdtgroup.c=4284=static int rdtgroup_setup_root(struct rdt_fs_context *ctx)
--
fs/resctrl/rdtgroup.c-4287-				      KERNFS_ROOT_CREATE_DEACTIVATED |
fs/resctrl/rdtgroup.c:4288:				      KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK,
fs/resctrl/rdtgroup.c-4289-				      &rdtgroup_default);
--
fs/sysfs/mount.c=85=int __init sysfs_init(void)
--
fs/sysfs/mount.c-88-
fs/sysfs/mount.c:89:	sysfs_root = kernfs_create_root(NULL, KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK,
fs/sysfs/mount.c-90-					NULL);
--
include/linux/kernfs.h=124=enum kernfs_root_flag {
--
include/linux/kernfs.h-141-	 */
include/linux/kernfs.h:142:	KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK	= 0x0002,
include/linux/kernfs.h-143-
]

35/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 8242
							output: 36
							thoughts: 46
						

Thoughts:
Here's my summary, as though I'm thinking through this process:

**Diving into Kernfs Implementation**

Okay, so I need to get a handle on how Kernfs is managing file operations, specifically the read/write aspects. My initial thought is to zero in on `include/linux/kernfs.h`, around lines 124-150. That header file should give me the core data structures and function declarations related to the file interface within Kernfs. I'm expecting to find the definitions for the `kernfs_ops` struct, the file operations structure, and probably some of the internal data types that define how these files behave. I'm assuming this section will outline the overall read/write interface contracts.

Then, to understand the actual implementation details, I'm going to look at the `fs/kernfs/file.c` source file. Specifically, I want to see what's happening around lines 603-640. That location *should* contain the implementation of the file operations I spotted in the header – perhaps the `kernfs_file_read` and `kernfs_file_write` functions, if that's how it's structured. I'm expecting to see the low-level details of how Kernfs files handle data transfer, permission checks, and any special Kernfs-specific logic involved. I'll be looking for things like buffer management, locking, and how it interacts with the underlying Kernfs data structures. Time to dig in and see if this intuition pans out!



36/4 2026/09/13 00:29 tool read-file
0m Args:
map[File:include/linux/kernfs.h FirstLine:120 LineCount:40]

Results:
map[Contents: 120:		KERNFS_REMOVING		= 0x4000,
 121:	};
 122:	
 123:	/* @flags for kernfs_create_root() */
 124:	enum kernfs_root_flag {
 125:		/*
 126:		 * kernfs_nodes are created in the deactivated state and invisible.
 127:		 * They require explicit kernfs_activate() to become visible.  This
 128:		 * can be used to make related nodes become visible atomically
 129:		 * after all nodes are created successfully.
 130:		 */
 131:		KERNFS_ROOT_CREATE_DEACTIVATED		= 0x0001,
 132:	
 133:		/*
 134:		 * For regular files, if the opener has CAP_DAC_OVERRIDE, open(2)
 135:		 * succeeds regardless of the RW permissions.  sysfs had an extra
 136:		 * layer of enforcement where open(2) fails with -EACCES regardless
 137:		 * of CAP_DAC_OVERRIDE if the permission doesn't have the
 138:		 * respective read or write access at all (none of S_IRUGO or
 139:		 * S_IWUGO) or the respective operation isn't implemented.  The
 140:		 * following flag enables that behavior.
 141:		 */
 142:		KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK	= 0x0002,
 143:	
 144:		/*
 145:		 * The filesystem supports exportfs operation, so userspace can use
 146:		 * fhandle to access nodes of the fs.
 147:		 */
 148:		KERNFS_ROOT_SUPPORT_EXPORTOP		= 0x0004,
 149:	
 150:		/*
 151:		 * Support user xattrs to be written to nodes rooted at this root.
 152:		 */
 153:		KERNFS_ROOT_SUPPORT_USER_XATTR		= 0x0008,
 154:	
 155:		/*
 156:		 * Renames must not change the parent node.
 157:		 */
 158:		KERNFS_ROOT_INVARIANT_PARENT		= 0x0010,
 159:	};
]

37/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 9301
							output: 36
							thoughts: 26
						

Thoughts:
Here's a summary of my thought process, as requested:

**Diving into `kernfs` File Operations**

Okay, time to dig into the `kernfs` file handling. I'm going to focus my attention on `fs/kernfs/file.c`, specifically around lines 600-640. That region should contain the core logic for [insert specific operation being examined, e.g., read, write, getattr, etc., depending on the context the expert would know]. I need to refresh my memory on how `kernfs` interacts with the underlying VFS, especially since I'm trying to [insert specific goal of the investigation, e.g., identify a potential race condition, trace a specific data flow, understand the lifecycle of a particular attribute]. This chunk of code should hold the key, or at least provide some crucial clues, to understand the current situation.



38/4 2026/09/13 00:29 tool read-file
0m Args:
map[File:fs/kernfs/file.c FirstLine:600 LineCount:50]

Results:
map[Contents: 600:		mutex_unlock(mutex);
 601:	}
 602:	
 603:	static int kernfs_fop_open(struct inode *inode, struct file *file)
 604:	{
 605:		struct kernfs_node *kn = inode->i_private;
 606:		struct kernfs_root *root = kernfs_root(kn);
 607:		const struct kernfs_ops *ops;
 608:		struct kernfs_open_file *of;
 609:		bool has_read, has_write, has_mmap;
 610:		int error = -EACCES;
 611:	
 612:		if (!kernfs_get_active(kn))
 613:			return -ENODEV;
 614:	
 615:		ops = kernfs_ops(kn);
 616:	
 617:		has_read = ops->seq_show || ops->read || ops->mmap;
 618:		has_write = ops->write || ops->mmap;
 619:		has_mmap = ops->mmap;
 620:	
 621:		/* see the flag definition for details */
 622:		if (root->flags & KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK) {
 623:			if ((file->f_mode & FMODE_WRITE) &&
 624:			    (!(inode->i_mode & S_IWUGO) || !has_write))
 625:				goto err_out;
 626:	
 627:			if ((file->f_mode & FMODE_READ) &&
 628:			    (!(inode->i_mode & S_IRUGO) || !has_read))
 629:				goto err_out;
 630:		}
 631:	
 632:		/* allocate a kernfs_open_file for the file */
 633:		error = -ENOMEM;
 634:		of = kzalloc_obj(struct kernfs_open_file);
 635:		if (!of)
 636:			goto err_out;
 637:	
 638:		/*
 639:		 * The following is done to give a different lockdep key to
 640:		 * @of->mutex for files which implement mmap.  This is a rather
 641:		 * crude way to avoid false positive lockdep warning around
 642:		 * mm->mmap_lock - mmap nests @of->mutex under mm->mmap_lock and
 643:		 * reading /sys/block/sda/trace/act_mask grabs sr_mutex, under
 644:		 * which mm->mmap_lock nests, while holding @of->mutex.  As each
 645:		 * open file has a separate mutex, it's okay as long as those don't
 646:		 * happen on the same file.  At this point, we can't easily give
 647:		 * each file a separate locking class.  Let's differentiate on
 648:		 * whether the file has mmap or not for now.
 649:		 *
]

39/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 10403
							output: 25
							thoughts: 371
						

Thoughts:
**Analyzing `kernfs_fop_open` and Related Security Considerations**

Okay, let's break this down. That `kernfs_fop_open` code snippet immediately caught my eye. Specifically, I'm thinking about the permission checks, especially concerning `inode->i_mode`. I need to understand what this means in the context of a sysfs file, particularly one with typical 0644 permissions. That `S_IWUGO` check seems off; `S_IWUSR` (write for the owner, 0200) *is* included in `S_IWUGO` (write for user, group and others, 0222). That feels like an immediate red flag.

My immediate follow-up question is always: Who's opening the file? And what checks *precede* this `kernfs_fop_open` call? My experience tells me there are generic VFS permission checks in play first, things like `generic_permission()`, `inode_permission()`, and of course DAC permissions, which are all critical for overall security context.

Then I need to expand my view. I'm wondering what user namespace the superblock is in. And, what uid/gid does the inode actually have? This is huge. User namespaces can radically alter the perceived permissions, so I need to understand that fully.

And there's `FS_USERNS_MOUNT_RESTRICTED`. That's another variable I need to thoroughly understand in this permission equation. I need to know how that interacts with the overall picture, and also `kobj_ns_current_may_mount`.

Furthermore, I have to dig into the initialization of sysfs inodes and how `inode_permission` functions within this specific framework. I have to trace how permissions are actually set and inherited.

So, first things first, let's launch a kernel-wide search for `FS_USERNS_MOUNT_RESTRICTED` to establish all the places it's relevant. I need the full picture here.



40/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:FS_USERNS_MOUNT_RESTRICTED]

Results:
map[Output:fs/namespace.c=1076=static void mnt_add_to_ns(struct mnt_namespace *ns, struct mount *mnt)
--
fs/namespace.c-1101-
fs/namespace.c:1102:	if ((mnt->mnt.mnt_sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED) &&
fs/namespace.c-1103-	    mnt->mnt.mnt_root == mnt->mnt.mnt_sb->s_root)
--
fs/namespace.c=6426=static bool mount_too_revealing(const struct super_block *sb, int *new_mnt_flags)
--
fs/namespace.c-6435-	/* Can this filesystem be too revealing? */
fs/namespace.c:6436:	if (!(sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED))
fs/namespace.c-6437-		return false;
--
fs/proc/root.c=369=static struct file_system_type proc_fs_type = {
--
fs/proc/root.c-373-	.kill_sb		= proc_kill_sb,
fs/proc/root.c:374:	.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED | FS_DISALLOW_NOTIFY_PERM,
fs/proc/root.c-375-};
--
fs/sysfs/mount.c=78=static struct file_system_type sysfs_fs_type = {
--
fs/sysfs/mount.c-81-	.kill_sb		= sysfs_kill_sb,
fs/sysfs/mount.c:82:	.fs_flags		= FS_USERNS_MOUNT | FS_USERNS_MOUNT_RESTRICTED,
fs/sysfs/mount.c-83-};
--
include/linux/fs.h=2286=struct file_system_type {
--
include/linux/fs.h-2297-#define FS_POWER_FREEZE		256	/* Always freeze on suspend/hibernate */
include/linux/fs.h:2298:#define FS_USERNS_MOUNT_RESTRICTED 512	/* Restrict mount in userns if not already visible */
include/linux/fs.h-2299-#define FS_USERNS_DELEGATABLE	1024	/* Can be mounted inside userns from outside */
--
kernel/acct.c=216=static int acct_on(const char __user *name)
--
kernel/acct.c-251-	/* Exclude procfs and sysfs. */
kernel/acct.c:252:	if (file_inode(file)->i_sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED)
kernel/acct.c-253-		return -EINVAL;
]

41/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 11984
							output: 24
							thoughts: 27
						

Thoughts:
Here's my take on those thoughts, tailored for an expert audience:

**Diving into `kobj_ns_current_may_mount`**

Okay, time to get my hands dirty. My initial thought is, "Right, let's take a look at `kobj_ns_current_may_mount`." Specifically, I need to understand its definition and, more importantly, *what it actually does*. It's likely involved in namespace checks related to mounting operations, given the function name. I'll need to trace its declaration – probably in the core kernel source somewhere related to object management or perhaps the VFS layer, depending on how they've structured things. My aim is to quickly grasp the logical flow and any potential side effects of this function. I'll be looking for where it's called, how its return value is used, and what context it operates within. This could be crucial for understanding some odd behavior I'm chasing down or simply for deepening my understanding of the kernel's security model. I'll start by grepping the source and then move on to reading the relevant code.



42/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:kobj_ns_current_may_mount]

Results:
map[Output:fs/sysfs/mount.c=41=static int sysfs_init_fs_context(struct fs_context *fc)
--
fs/sysfs/mount.c-46-	if (!(fc->sb_flags & SB_KERNMOUNT)) {
fs/sysfs/mount.c:47:		if (!kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET))
fs/sysfs/mount.c-48-			return -EPERM;
--
include/linux/kobject_ns.h=52=const struct kobj_ns_type_operations *kobj_ns_ops(const struct kobject *kobj);
include/linux/kobject_ns.h-53-
include/linux/kobject_ns.h:54:bool kobj_ns_current_may_mount(enum kobj_ns_type type);
include/linux/kobject_ns.h-55-struct ns_common *kobj_ns_grab_current(enum kobj_ns_type type);
--
lib/kobject.c=1069=const struct kobj_ns_type_operations *kobj_ns_ops(const struct kobject *kobj)
--
lib/kobject.c-1073-
lib/kobject.c:1074:bool kobj_ns_current_may_mount(enum kobj_ns_type type)
lib/kobject.c-1075-{
]

43/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 12636
							output: 35
							thoughts: 20
						

Thoughts:
Here's my summary, as if I were thinking these thoughts:

**Diving into the `kobject` Code**

Okay, time to get my hands dirty. I need to understand what's happening with these `kobject` instances. I'm going to jump into the `lib/kobject.c` file – that's where the core `kobject` functionality should reside. Specifically, I'm aiming for around line 1074. I'm hoping that specific section contains the critical elements I need for this particular issue. Let's see what gems we can find there.



44/4 2026/09/13 00:29 tool read-file
0m Args:
map[File:lib/kobject.c FirstLine:1070 LineCount:30]

Results:
map[Contents:1070:	{
1071:		return kobj_child_ns_ops(kobj->parent);
1072:	}
1073:	
1074:	bool kobj_ns_current_may_mount(enum kobj_ns_type type)
1075:	{
1076:		bool may_mount = true;
1077:	
1078:		spin_lock(&kobj_ns_type_lock);
1079:		if (kobj_ns_type_is_valid(type) && kobj_ns_ops_tbl[type])
1080:			may_mount = kobj_ns_ops_tbl[type]->current_may_mount();
1081:		spin_unlock(&kobj_ns_type_lock);
1082:	
1083:		return may_mount;
1084:	}
1085:	
1086:	struct ns_common *kobj_ns_grab_current(enum kobj_ns_type type)
1087:	{
1088:		struct ns_common *ns = NULL;
1089:	
1090:		spin_lock(&kobj_ns_type_lock);
1091:		if (kobj_ns_type_is_valid(type) && kobj_ns_ops_tbl[type])
1092:			ns = kobj_ns_ops_tbl[type]->grab_current_ns();
1093:		spin_unlock(&kobj_ns_type_lock);
1094:	
1095:		return ns;
1096:	}
1097:	EXPORT_SYMBOL_GPL(kobj_ns_grab_current);
1098:	
1099:	void kobj_ns_drop(enum kobj_ns_type type, struct ns_common *ns)
]

45/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 13318
							output: 22
							thoughts: 32
						

Thoughts:
Okay, let's dive into this. Here's how I'd approach this, thinking out loud, so to speak:

**Digging into Network Namespaces**

Alright, I need to figure out the origin of this `net_ns_type_operations` structure, or, more specifically, the registration for `KOBJ_NS_TYPE_NET`. Where is this thing defined? My first instinct is to trace back the code and figure out the module or subsystem that's responsible. I'm going to jump in and start looking for the definition. This is a pretty standard debugging practice, you know, finding the source. Let's start with where `KOBJ_NS_TYPE_NET` is used and see where it's registered. I'm assuming that it is used with the `net_ns_type_operations` that is probably the crucial data structure. Let's get to work!



46/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:KOBJ_NS_TYPE_NET]

Results:
map[Output:drivers/infiniband/ulp/srp/ib_srp.c=1039=static void srp_remove_target(struct srp_target_port *target)
--
drivers/infiniband/ulp/srp/ib_srp.c-1051-	srp_disconnect_target(target);
drivers/infiniband/ulp/srp/ib_srp.c:1052:	kobj_ns_drop(KOBJ_NS_TYPE_NET, to_ns_common(target->net));
drivers/infiniband/ulp/srp/ib_srp.c-1053-	for (i = 0; i < target->ch_count; i++) {
--
drivers/infiniband/ulp/srp/ib_srp.c=3701=static ssize_t add_target_store(struct device *dev,
--
drivers/infiniband/ulp/srp/ib_srp.c-3734-
drivers/infiniband/ulp/srp/ib_srp.c:3735:	target->net		= to_net_ns(kobj_ns_grab_current(KOBJ_NS_TYPE_NET));
drivers/infiniband/ulp/srp/ib_srp.c-3736-	target->io_class	= SRP_REV16A_IB_IO_CLASS;
--
drivers/infiniband/ulp/srp/ib_srp.c-3926-		if (target->state != SRP_TARGET_REMOVED)
drivers/infiniband/ulp/srp/ib_srp.c:3927:			kobj_ns_drop(KOBJ_NS_TYPE_NET, to_ns_common(target->net));
drivers/infiniband/ulp/srp/ib_srp.c-3928-		scsi_host_put(target->scsi_host);
--
fs/sysfs/mount.c=26=static void sysfs_fs_context_free(struct fs_context *fc)
--
fs/sysfs/mount.c-30-	if (kfc->ns_tag)
fs/sysfs/mount.c:31:		kobj_ns_drop(KOBJ_NS_TYPE_NET, kfc->ns_tag);
fs/sysfs/mount.c-32-	kernfs_free_fs_context(fc);
--
fs/sysfs/mount.c=41=static int sysfs_init_fs_context(struct fs_context *fc)
--
fs/sysfs/mount.c-46-	if (!(fc->sb_flags & SB_KERNMOUNT)) {
fs/sysfs/mount.c:47:		if (!kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET))
fs/sysfs/mount.c-48-			return -EPERM;
--
fs/sysfs/mount.c-54-
fs/sysfs/mount.c:55:	kfc->ns_tag = ns = kobj_ns_grab_current(KOBJ_NS_TYPE_NET);
fs/sysfs/mount.c-56-	kfc->root = sysfs_root;
--
fs/sysfs/mount.c=70=static void sysfs_kill_sb(struct super_block *sb)
--
fs/sysfs/mount.c-74-	kernfs_kill_sb(sb);
fs/sysfs/mount.c:75:	kobj_ns_drop(KOBJ_NS_TYPE_NET, ns);
fs/sysfs/mount.c-76-}
--
include/linux/kobject_ns.h=27=enum kobj_ns_type {
include/linux/kobject_ns.h-28-	KOBJ_NS_TYPE_NONE = 0,
include/linux/kobject_ns.h:29:	KOBJ_NS_TYPE_NET,
include/linux/kobject_ns.h-30-	KOBJ_NS_TYPES
--
lib/kobject_uevent.c=382=static int kobject_uevent_net_broadcast(struct kobject *kobj,
--
lib/kobject_uevent.c-405-	if (ops && ops->netlink_ns && kobj->ktype->namespace)
lib/kobject_uevent.c:406:		if (ops->type == KOBJ_NS_TYPE_NET)
lib/kobject_uevent.c-407-			ns = kobj->ktype->namespace(kobj);
--
net/core/net-sysfs.c=2187=const struct kobj_ns_type_operations net_ns_type_operations = {
net/core/net-sysfs.c:2188:	.type = KOBJ_NS_TYPE_NET,
net/core/net-sysfs.c-2189-	.current_may_mount = net_current_may_mount,
]

47/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 14814
							output: 21
							thoughts: 26
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Diving into net_current_may_mount**

Okay, so I'm thinking about the network subsystem, and I need to understand something specific. Let's start by digging into `net/core/net-sysfs.c`. My hunch is that `net_current_may_mount` is the key to whatever I'm investigating. I need to understand its role within the broader context of the network sysfs integration. Is it related to user namespace mounting permissions, or perhaps access control for creating or manipulating network interfaces in sysfs? Perhaps it dictates the criteria under which the net namespace is allowed to be mounted for operations? I want to see how it's used, how it's defined, and what conditions influence its return value. Time to fire up the editor and take a look at the source. Understanding this variable will likely unlock the answer to my original question about the internal workings of X subsystem.



48/4 2026/09/13 00:29 tool grepper
0m Args:
map[Expression:net_current_may_mount]

Results:
map[Output:net/core/net-sysfs.c=2139=static void remove_queue_kobjects(struct net_device *dev)
--
net/core/net-sysfs.c-2159-
net/core/net-sysfs.c:2160:static bool net_current_may_mount(void)
net/core/net-sysfs.c-2161-{
--
net/core/net-sysfs.c=2187=const struct kobj_ns_type_operations net_ns_type_operations = {
net/core/net-sysfs.c-2188-	.type = KOBJ_NS_TYPE_NET,
net/core/net-sysfs.c:2189:	.current_may_mount = net_current_may_mount,
net/core/net-sysfs.c-2190-	.grab_current_ns = net_grab_current_ns,
]

49/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 15315
							output: 39
							thoughts: 28
						

Thoughts:
Here's my summary, as if I were thinking these thoughts:

**Analyzing net/core/net-sysfs.c: A Deep Dive into Netlink Attributes**

Okay, time to get my hands dirty. Let's dig into `net/core/net-sysfs.c`, specifically lines 2155-2175. I'm guessing this section likely deals with the sysfs interfaces related to network configuration, probably focusing on attribute handling, given the file name and location. My gut says we'll see some structure definitions or function calls related to how network parameters are exposed and managed through the kernel's sysfs. I’m hoping to find details on how Netlink attributes are mapped or synchronized with the sysfs representation of network devices. Perhaps this section is involved in translating between internal kernel data structures and the user-space view. Let’s see if it's handling attribute reads, writes, or some form of validation. I'm especially interested in looking for any potential race conditions or locking mechanisms used, as concurrent access to network settings can get tricky. Alright, let’s get to reading and see what treasures this section holds.



50/4 2026/09/13 00:29 tool read-file
0m Args:
map[File:net/core/net-sysfs.c FirstLine:2155 LineCount:25]

Results:
map[Contents:2155:	#ifdef CONFIG_SYSFS
2156:		kset_unregister(dev->queues_kset);
2157:	#endif
2158:	}
2159:	
2160:	static bool net_current_may_mount(void)
2161:	{
2162:		struct net *net = current->nsproxy->net_ns;
2163:	
2164:		return ns_capable(net->user_ns, CAP_SYS_ADMIN);
2165:	}
2166:	
2167:	static struct ns_common *net_grab_current_ns(void)
2168:	{
2169:		struct net *net = current->nsproxy->net_ns;
2170:	#ifdef CONFIG_NET_NS
2171:		if (net)
2172:			refcount_inc(&net->passive);
2173:	#endif
2174:		return net ? to_ns_common(net) : NULL;
2175:	}
2176:	
2177:	static const struct ns_common *net_initial_ns(void)
2178:	{
2179:		return to_ns_common(&init_net);
]

51/4 2026/09/13 00:29 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 15979
							output: 25
							thoughts: 628
						

Thoughts:
**Analyzing Sysfs Mounting and Permissions**

Okay, let's break this down. I'm looking at `sysfs_init_fs_context` and immediately the check for `SB_KERNMOUNT` catches my eye. It's a kernel mount, and if not, we hit `kobj_ns_current_may_mount`. That calls `ns_capable` on the *current* network namespace's user namespace. Right, so if I *don't* have privileges, I need a valid network namespace to mount sysfs.

I'm following the logic. What happens if I create a user namespace but *not* a new network namespace? My `current->nsproxy->net_ns` will point to the host's `init_net`. And `init_net` is owned by `init_user_ns`. So the code calls `ns_capable(init_net.user_ns, CAP_SYS_ADMIN)`. Which means, an unprivileged user cannot mount sysfs without a new network namespace.

But that's not quite my question. My question is, "If an unprivileged user *does* mount sysfs (somehow), can they write to a 0644 file owned by root?" I need to assume that `sysfs` is mounted. The important thing is whether they *can* write, not whether they can mount.

So, let's think: I'm assuming the mount is successful. Now it’s about permissions and ownership. What are the rules? I need to understand *how* inodes and permissions are handled within `sysfs` and `kernfs`. I need to figure out how to find out who owns the files and their permissions.

Time to dive into the `kernfs` code and search for inode permission handling and related uid/gid logic. That's the key. I need to understand how the system *actually* enforces these permissions when writing to a sysfs file.



52/4 2026/09/13 00:30 tool grepper
0m Args:
map[Expression:inode_permission PathPrefix:fs/]

Results:
map[Output:fs/attr.c=372=int may_setattr(struct mnt_idmap *idmap, struct inode *inode,
--
fs/attr.c-390-		if (!inode_owner_or_capable(idmap, inode)) {
fs/attr.c:391:			error = inode_permission(idmap, inode, MAY_WRITE);
fs/attr.c-392-			if (error)
--
fs/bad_inode.c=86=static int bad_inode_readlink(struct dentry *dentry, char __user *buffer,
--
fs/bad_inode.c-91-
fs/bad_inode.c:92:static int bad_inode_permission(struct mnt_idmap *idmap,
fs/bad_inode.c-93-				struct inode *inode, int mask)
--
fs/bad_inode.c=163=static const struct inode_operations bad_inode_ops =
--
fs/bad_inode.c-174-	.readlink	= bad_inode_readlink,
fs/bad_inode.c:175:	.permission	= bad_inode_permission,
fs/bad_inode.c-176-	.getattr	= bad_inode_getattr,
--
fs/bpf_fs_kfuncs.c=103=static int bpf_xattr_read_permission(const char *name, struct inode *inode)
--
fs/bpf_fs_kfuncs.c-112-
fs/bpf_fs_kfuncs.c:113:	return inode_permission(&nop_mnt_idmap, inode, MAY_READ);
fs/bpf_fs_kfuncs.c-114-}
--
fs/bpf_fs_kfuncs.c=173=static int bpf_xattr_write_permission(const char *name, struct inode *inode)
--
fs/bpf_fs_kfuncs.c-181-
fs/bpf_fs_kfuncs.c:182:	return inode_permission(&nop_mnt_idmap, inode, MAY_WRITE);
fs/bpf_fs_kfuncs.c-183-}
--
fs/btrfs/ioctl.c=1739=static int btrfs_search_path_in_tree_user(struct mnt_idmap *idmap,
--
fs/btrfs/ioctl.c-1818-			/* Check the read+exec permission of this directory. */
fs/btrfs/ioctl.c:1819:			ret = inode_permission(idmap, &temp_inode->vfs_inode,
fs/btrfs/ioctl.c-1820-					       MAY_READ | MAY_EXEC);
--
fs/btrfs/ioctl.c=1877=static noinline int btrfs_ioctl_ino_lookup(struct btrfs_root *root,
--
fs/btrfs/ioctl.c-1919- *
fs/btrfs/ioctl.c:1920: *   1. Read + Exec permission will be checked using inode_permission() during
fs/btrfs/ioctl.c-1921- *      path construction. -EACCES will be returned in case of failure.
--
fs/btrfs/ioctl.c=2218=static noinline int btrfs_ioctl_snap_destroy(struct file *file,
--
fs/btrfs/ioctl.c-2398-
fs/btrfs/ioctl.c:2399:		ret = inode_permission(idmap, inode, MAY_WRITE | MAY_EXEC);
fs/btrfs/ioctl.c-2400-		if (ret)
--
fs/btrfs/ioctl.c=2432=static int btrfs_ioctl_defrag(struct file *file, void __user *argp)
--
fs/btrfs/ioctl.c-2462-		if (!capable(CAP_SYS_ADMIN) &&
fs/btrfs/ioctl.c:2463:		    inode_permission(&nop_mnt_idmap, inode, MAY_WRITE)) {
fs/btrfs/ioctl.c-2464-			ret = -EPERM;
--
fs/configfs/symlink.c=135=int configfs_symlink(struct mnt_idmap *idmap, struct inode *dir,
--
fs/configfs/symlink.c-192-	else
fs/configfs/symlink.c:193:		ret = inode_permission(&nop_mnt_idmap, dir,
fs/configfs/symlink.c-194-				       MAY_WRITE | MAY_EXEC);
--
fs/ecryptfs/inode.c=852=ecryptfs_permission(struct mnt_idmap *idmap, struct inode *inode,
--
fs/ecryptfs/inode.c-854-{
fs/ecryptfs/inode.c:855:	return inode_permission(&nop_mnt_idmap,
fs/ecryptfs/inode.c-856-				ecryptfs_inode_to_lower(inode), mask);
--
fs/exec.c=1336=void would_dump(struct linux_binprm *bprm, struct file *file)
--
fs/exec.c-1339-	struct mnt_idmap *idmap = file_mnt_idmap(file);
fs/exec.c:1340:	if (inode_permission(idmap, inode, MAY_READ) < 0) {
fs/exec.c-1341-		struct user_namespace *old, *user_ns;
--
fs/exec.c=1620=static void bprm_fill_uid(struct linux_binprm *bprm, struct file *file)
--
fs/exec.c-1648-	vfsgid = i_gid_into_vfsgid(idmap, inode);
fs/exec.c:1649:	err = inode_permission(idmap, inode, MAY_EXEC);
fs/exec.c-1650-	inode_unlock(inode);
--
fs/namei.c=565=EXPORT_SYMBOL(generic_permission);
--
fs/namei.c-567-/**
fs/namei.c:568: * do_inode_permission - UNIX permission checking
fs/namei.c-569- * @idmap:	idmap of the mount the inode was found from
--
fs/namei.c-577- */
fs/namei.c:578:static inline int do_inode_permission(struct mnt_idmap *idmap,
fs/namei.c-579-				      struct inode *inode, int mask)
--
fs/namei.c-600- *
fs/namei.c:601: * Note: lookup_inode_permission_may_exec() does not call here. If you add
fs/namei.c-602- * MAY_EXEC checks, adjust it.
--
fs/namei.c=604=static int sb_permission(struct super_block *sb, struct inode *inode, int mask)
--
fs/namei.c-616-/**
fs/namei.c:617: * inode_permission - Check for access rights to a given inode
fs/namei.c-618- * @idmap:	idmap of the mount the inode was found from
--
fs/namei.c-627- */
fs/namei.c:628:int inode_permission(struct mnt_idmap *idmap,
fs/namei.c-629-		     struct inode *inode, int mask)
--
fs/namei.c-652-
fs/namei.c:653:	retval = do_inode_permission(idmap, inode, mask);
fs/namei.c-654-	if (unlikely(retval))
--
fs/namei.c-656-
fs/namei.c:657:	retval = devcgroup_inode_permission(inode, mask);
fs/namei.c-658-	if (unlikely(retval))
--
fs/namei.c-660-
fs/namei.c:661:	return security_inode_permission(inode, mask);
fs/namei.c-662-}
fs/namei.c:663:EXPORT_SYMBOL(inode_permission);
fs/namei.c-664-
fs/namei.c-665-/*
fs/namei.c:666: * lookup_inode_permission_may_exec - Check traversal right for given inode
fs/namei.c-667- *
fs/namei.c-668- * This is a special case routine for may_lookup() making assumptions specific
fs/namei.c:669: * to path traversal. Use inode_permission() if you are doing something else.
fs/namei.c-670- *
fs/namei.c:671: * Work is shaved off compared to inode_permission() as follows:
fs/namei.c-672- * - we know for a fact there is no MAY_WRITE to worry about
--
fs/namei.c-682- */
fs/namei.c:683:static __always_inline int lookup_inode_permission_may_exec(struct mnt_idmap *idmap,
fs/namei.c-684-	struct inode *inode, int mask)
--
fs/namei.c-692-	if (unlikely(!(inode->i_opflags & (IOP_FASTPERM | IOP_FASTPERM_MAY_EXEC))))
fs/namei.c:693:		return inode_permission(idmap, inode, mask);
fs/namei.c-694-
fs/namei.c-695-	if (unlikely(((inode->i_mode & 0111) != 0111) || !no_acl_inode(inode)))
fs/namei.c:696:		return inode_permission(idmap, inode, mask);
fs/namei.c-697-
fs/namei.c:698:	return security_inode_permission(inode, mask);
fs/namei.c-699-}
--
fs/namei.c=1317=static bool safe_hardlink_source(struct mnt_idmap *idmap,
--
fs/namei.c-1334-	/* Hardlinking to unreadable or unwritable sources is dangerous. */
fs/namei.c:1335:	if (inode_permission(idmap, inode, MAY_READ | MAY_WRITE))
fs/namei.c-1336-		return false;
--
fs/namei.c=1955=static inline int may_lookup(struct mnt_idmap *idmap,
--
fs/namei.c-1960-	mask = nd->flags & LOOKUP_RCU ? MAY_NOT_BLOCK : 0;
fs/namei.c:1961:	err = lookup_inode_permission_may_exec(idmap, nd->inode, mask);
fs/namei.c-1962-	if (likely(!err))
--
fs/namei.c-1975-
fs/namei.c:1976:	return lookup_inode_permission_may_exec(idmap, nd->inode, 0);
fs/namei.c-1977-}
--
fs/namei.c=3114=static int lookup_one_common(struct mnt_idmap *idmap,
--
fs/namei.c-3120-		return err;
fs/namei.c:3121:	return inode_permission(idmap, base->d_inode, MAY_EXEC);
fs/namei.c-3122-}
--
fs/namei.c=3678=int may_delete_dentry(struct mnt_idmap *idmap, struct inode *dir,
--
fs/namei.c-3696-
fs/namei.c:3697:	error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
fs/namei.c-3698-	if (error)
--
fs/namei.c=3731=int may_create_dentry(struct mnt_idmap *idmap,
--
fs/namei.c-3741-
fs/namei.c:3742:	return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
fs/namei.c-3743-}
--
fs/namei.c=4231=static int may_open(struct mnt_idmap *idmap, const struct path *path,
--
fs/namei.c-4268-
fs/namei.c:4269:	error = inode_permission(idmap, inode, MAY_OPEN | acc_mode);
fs/namei.c-4270-	if (error)
--
fs/namei.c=4315=static int may_o_create(struct mnt_idmap *idmap,
--
fs/namei.c-4325-
fs/namei.c:4326:	error = inode_permission(idmap, dir->dentry->d_inode,
fs/namei.c-4327-				 MAY_WRITE | MAY_EXEC);
--
fs/namei.c=4866=int vfs_tmpfile(struct mnt_idmap *idmap,
--
fs/namei.c-4880-	/* we want directory to be writable */
fs/namei.c:4881:	error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
fs/namei.c-4882-	if (error)
--
fs/namei.c=6075=int vfs_rename(struct renamedata *rd)
--
fs/namei.c-6122-		if (is_dir) {
fs/namei.c:6123:			error = inode_permission(rd->mnt_idmap, source,
fs/namei.c-6124-						 MAY_WRITE);
--
fs/namei.c-6128-		if ((flags & RENAME_EXCHANGE) && new_is_dir) {
fs/namei.c:6129:			error = inode_permission(rd->mnt_idmap, target,
fs/namei.c-6130-						 MAY_WRITE);
--
fs/nfsd/nfsfh.c=29=static int nfsd_acceptable(void *expv, struct dentry *dentry)
--
fs/nfsd/nfsfh.c-43-		parent = dget_parent(tdentry);
fs/nfsd/nfsfh.c:44:		err = inode_permission(&nop_mnt_idmap,
fs/nfsd/nfsfh.c-45-				       d_inode(parent), MAY_EXEC);
--
fs/nfsd/vfs.c=2832=nfsd_permission(struct svc_cred *cred, struct svc_export *exp,
--
fs/nfsd/vfs.c-2891-	/* This assumes  NFSD_MAY_{READ,WRITE,EXEC} == MAY_{READ,WRITE,EXEC} */
fs/nfsd/vfs.c:2892:	err = inode_permission(&nop_mnt_idmap, inode,
fs/nfsd/vfs.c-2893-			       acc & (MAY_READ | MAY_WRITE | MAY_EXEC));
--
fs/nfsd/vfs.c-2898-	      (acc & (NFSD_MAY_OWNER_OVERRIDE | NFSD_MAY_READ_IF_EXEC))))
fs/nfsd/vfs.c:2899:		err = inode_permission(&nop_mnt_idmap, inode, MAY_EXEC);
fs/nfsd/vfs.c-2900-
--
fs/ocfs2/file.c=1352=int ocfs2_permission(struct mnt_idmap *idmap, struct inode *inode,
--
fs/ocfs2/file.c-1369-		 *  may_open()
fs/ocfs2/file.c:1370:		 *   inode_permission()
fs/ocfs2/file.c-1371-		 *    ocfs2_permission()
--
fs/ocfs2/refcounttree.c=4331=static inline int ocfs2_may_create(struct inode *dir, struct dentry *child)
--
fs/ocfs2/refcounttree.c-4336-		return -ENOENT;
fs/ocfs2/refcounttree.c:4337:	return inode_permission(&nop_mnt_idmap, dir, MAY_WRITE | MAY_EXEC);
fs/ocfs2/refcounttree.c-4338-}
--
fs/ocfs2/refcounttree.c=4348=static int ocfs2_vfs_reflink(struct dentry *old_dentry, struct inode *dir,
--
fs/ocfs2/refcounttree.c-4390-	if (!preserve) {
fs/ocfs2/refcounttree.c:4391:		error = inode_permission(&nop_mnt_idmap, inode, MAY_READ);
fs/ocfs2/refcounttree.c-4392-		if (error)
--
fs/open.c=73=int vfs_truncate(const struct path *path, loff_t length)
--
fs/open.c-87-	idmap = mnt_idmap(path->mnt);
fs/open.c:88:	error = inode_permission(idmap, inode, MAY_WRITE);
fs/open.c-89-	if (error)
--
fs/open.c=463=static int do_faccessat(int dfd, const char __user *filename, int mode, int flags)
--
fs/open.c-503-
fs/open.c:504:	res = inode_permission(mnt_idmap(path.mnt), inode, mode | MAY_ACCESS);
fs/open.c-505-	/* SuS v2 requires we report a read only fs too */
--
fs/overlayfs/file.c=28=static struct file *ovl_open_realfile(const struct file *file,
--
fs/overlayfs/file.c-43-		real_idmap = mnt_idmap(realpath->mnt);
fs/overlayfs/file.c:44:		err = inode_permission(real_idmap, realinode, MAY_OPEN | acc_mode);
fs/overlayfs/file.c-45-		if (err) {
--
fs/overlayfs/inode.c=306=int ovl_permission(struct mnt_idmap *idmap,
--
fs/overlayfs/inode.c-336-	with_ovl_creds(inode->i_sb)
fs/overlayfs/inode.c:337:		return inode_permission(mnt_idmap(realpath.mnt), realinode, mask);
fs/overlayfs/inode.c-338-}
--
fs/overlayfs/util.c=657=struct file *ovl_path_open(const struct path *path, int flags)
--
fs/overlayfs/util.c-676-
fs/overlayfs/util.c:677:	err = inode_permission(real_idmap, inode, acc_mode | MAY_OPEN);
fs/overlayfs/util.c-678-	if (err)
--
fs/remap_range.c=416=static bool may_dedupe_file(struct file *file)
--
fs/remap_range.c-426-		return true;
fs/remap_range.c:427:	if (!inode_permission(idmap, inode, MAY_WRITE))
fs/remap_range.c-428-		return true;
--
fs/smb/server/smb2pdu.c=3197=int smb2_open(struct ksmbd_work *work)
--
fs/smb/server/smb2pdu.c-3667-	} else if (!already_permitted) {
fs/smb/server/smb2pdu.c:3668:		/* FILE_READ_ATTRIBUTE is allowed without inode_permission,
fs/smb/server/smb2pdu.c-3669-		 * because execute(search) permission on a parent directory,
--
fs/smb/server/smb2pdu.c-3672-		if (daccess & ~(FILE_READ_ATTRIBUTES_LE | FILE_READ_CONTROL_LE)) {
fs/smb/server/smb2pdu.c:3673:			rc = inode_permission(idmap,
fs/smb/server/smb2pdu.c-3674-					      d_inode(path.dentry),
--
fs/smb/server/smb2pdu.c-3680-			    (req->CreateOptions & FILE_DELETE_ON_CLOSE_LE)) {
fs/smb/server/smb2pdu.c:3681:				rc = inode_permission(idmap,
fs/smb/server/smb2pdu.c-3682-						      d_inode(path.dentry->d_parent),
--
fs/smb/server/smb2pdu.c=4802=int smb2_query_dir(struct ksmbd_work *work)
--
fs/smb/server/smb2pdu.c-4855-	if (!(dir_fp->daccess & FILE_LIST_DIRECTORY_LE) ||
fs/smb/server/smb2pdu.c:4856:	    inode_permission(file_mnt_idmap(dir_fp->filp),
fs/smb/server/smb2pdu.c-4857-			     file_inode(dir_fp->filp),
--
fs/smb/server/vfs.c=118=void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap,
--
fs/smb/server/vfs.c-122-
fs/smb/server/vfs.c:123:	if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_WRITE))
fs/smb/server/vfs.c-124-		*daccess |= cpu_to_le32(WRITE_DAC | WRITE_OWNER | SYNCHRONIZE |
--
fs/smb/server/vfs.c-128-
fs/smb/server/vfs.c:129:	if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_READ))
fs/smb/server/vfs.c-130-		*daccess |= FILE_READ_DATA_LE | FILE_READ_EA_LE;
fs/smb/server/vfs.c-131-
fs/smb/server/vfs.c:132:	if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_EXEC))
fs/smb/server/vfs.c-133-		*daccess |= FILE_EXECUTE_LE;
fs/smb/server/vfs.c-134-
fs/smb/server/vfs.c:135:	if (!inode_permission(idmap, d_inode(dentry->d_parent), MAY_EXEC | MAY_WRITE))
fs/smb/server/vfs.c-136-		*daccess |= FILE_DELETE_LE;
--
fs/xattr.c=126=xattr_permission(struct mnt_idmap *idmap, struct inode *inode,
--
fs/xattr.c-177-
fs/xattr.c:178:	return inode_permission(idmap, inode, mask);
fs/xattr.c-179-}
]

53/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 23135
							output: 28
							thoughts: 35
						

Thoughts:
**Kernfs and its Inode Operations**

Okay, let's break this down. My immediate task is to understand the relationship between `kernfs` and `inode_operations`. Specifically, I need to figure out which specific `inode_operations` are employed within the `kernfs` file system. To do this systematically, I'll start by searching the `fs/kernfs/` directory within the kernel source code. That's the most logical place to begin looking for how kernfs handles its inodes. Let's see what the source code reveals. I know this is a key area for managing file system behavior, so a focused search is definitely the right approach here.



54/4 2026/09/13 00:30 tool grepper
0m Args:
map[Expression:struct inode_operations PathPrefix:fs/kernfs]

Results:
map[Output:fs/kernfs/dir.c=1329=static int kernfs_iop_rename(struct mnt_idmap *idmap,
--
fs/kernfs/dir.c-1359-
fs/kernfs/dir.c:1360:const struct inode_operations kernfs_dir_iops = {
fs/kernfs/dir.c-1361-	.lookup		= kernfs_iop_lookup,
--
fs/kernfs/inode.c-19-
fs/kernfs/inode.c:20:static const struct inode_operations kernfs_iops = {
fs/kernfs/inode.c-21-	.permission	= kernfs_iop_permission,
--
fs/kernfs/kernfs-internal.h=188=extern const struct file_operations kernfs_dir_fops;
fs/kernfs/kernfs-internal.h:189:extern const struct inode_operations kernfs_dir_iops;
fs/kernfs/kernfs-internal.h-190-
--
fs/kernfs/kernfs-internal.h=205=void kernfs_drain_open_files(struct kernfs_node *kn);
--
fs/kernfs/kernfs-internal.h-209- */
fs/kernfs/kernfs-internal.h:210:extern const struct inode_operations kernfs_symlink_iops;
fs/kernfs/kernfs-internal.h-211-
--
fs/kernfs/symlink.c=128=static const char *kernfs_iop_get_link(struct dentry *dentry,
--
fs/kernfs/symlink.c-148-
fs/kernfs/symlink.c:149:const struct inode_operations kernfs_symlink_iops = {
fs/kernfs/symlink.c-150-	.listxattr	= kernfs_iop_listxattr,
]

55/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 23827
							output: 34
							thoughts: 55
						

Thoughts:
**Diving into the Kernfs Inode Operations**

Okay, so I'm looking into the kernfs implementation and my focus is on how it handles inode operations. Specifically, I'm checking out `fs/kernfs/inode.c`. The first thing that catches my eye is this static structure, `kernfs_iops`. It looks like it's a `struct inode_operations`, and that it defines the core set of functions that govern inode behavior within kernfs. I see it defines the functions kernfs uses to access different inode functions. Let me have a deeper read. I'm especially interested in things like permission checking. Let me read the rest of the file and get a feel for how they've structured everything.



56/4 2026/09/13 00:30 tool read-file
0m Args:
map[File:fs/kernfs/inode.c FirstLine:1 LineCount:90]

Results:
map[Contents:   1:	// SPDX-License-Identifier: GPL-2.0-only
   2:	/*
   3:	 * fs/kernfs/inode.c - kernfs inode implementation
   4:	 *
   5:	 * Copyright (c) 2001-3 Patrick Mochel
   6:	 * Copyright (c) 2007 SUSE Linux Products GmbH
   7:	 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
   8:	 */
   9:	
  10:	#include <linux/pagemap.h>
  11:	#include <linux/backing-dev.h>
  12:	#include <linux/capability.h>
  13:	#include <linux/errno.h>
  14:	#include <linux/slab.h>
  15:	#include <linux/xattr.h>
  16:	#include <linux/security.h>
  17:	
  18:	#include "kernfs-internal.h"
  19:	
  20:	static const struct inode_operations kernfs_iops = {
  21:		.permission	= kernfs_iop_permission,
  22:		.setattr	= kernfs_iop_setattr,
  23:		.getattr	= kernfs_iop_getattr,
  24:		.listxattr	= kernfs_iop_listxattr,
  25:	};
  26:	
  27:	static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, bool alloc)
  28:	{
  29:		struct kernfs_iattrs *ret __free(kfree) = NULL;
  30:		struct kernfs_iattrs *attr;
  31:	
  32:		attr = READ_ONCE(kn->iattr);
  33:		if (attr || !alloc)
  34:			return attr;
  35:	
  36:		ret = kmem_cache_zalloc(kernfs_iattrs_cache, GFP_KERNEL);
  37:		if (!ret)
  38:			return NULL;
  39:	
  40:		INIT_LIST_HEAD_RCU(&ret->xattrs);
  41:		/* assign default attributes */
  42:		ret->ia_uid = GLOBAL_ROOT_UID;
  43:		ret->ia_gid = GLOBAL_ROOT_GID;
  44:	
  45:		ktime_get_real_ts64(&ret->ia_atime);
  46:		ret->ia_mtime = ret->ia_atime;
  47:		ret->ia_ctime = ret->ia_atime;
  48:	
  49:		simple_xattr_limits_init(&ret->xattr_limits);
  50:	
  51:		/* If someone raced us, recognize it. */
  52:		if (!try_cmpxchg(&kn->iattr, &attr, ret))
  53:			return READ_ONCE(kn->iattr);
  54:	
  55:		return no_free_ptr(ret);
  56:	}
  57:	
  58:	static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn)
  59:	{
  60:		return __kernfs_iattrs(kn, true);
  61:	}
  62:	
  63:	static struct kernfs_iattrs *kernfs_iattrs_noalloc(struct kernfs_node *kn)
  64:	{
  65:		return __kernfs_iattrs(kn, false);
  66:	}
  67:	
  68:	int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)
  69:	{
  70:		struct kernfs_iattrs *attrs;
  71:		unsigned int ia_valid = iattr->ia_valid;
  72:	
  73:		attrs = kernfs_iattrs(kn);
  74:		if (!attrs)
  75:			return -ENOMEM;
  76:	
  77:		if (ia_valid & ATTR_UID)
  78:			attrs->ia_uid = iattr->ia_uid;
  79:		if (ia_valid & ATTR_GID)
  80:			attrs->ia_gid = iattr->ia_gid;
  81:		if (ia_valid & ATTR_ATIME)
  82:			attrs->ia_atime = iattr->ia_atime;
  83:		if (ia_valid & ATTR_MTIME)
  84:			attrs->ia_mtime = iattr->ia_mtime;
  85:		if (ia_valid & ATTR_CTIME)
  86:			attrs->ia_ctime = iattr->ia_ctime;
  87:		if (ia_valid & ATTR_MODE)
  88:			kn->mode = iattr->ia_mode;
  89:		return 0;
  90:	}
]

57/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 25399
							output: 36
							thoughts: 17
						

Thoughts:
Okay, let's dive into the rest of `fs/kernfs/inode.c`. I need to get a better handle on how kernfs inodes function, specifically how they're managed and how they interact with the rest of the file system. My goal is to grasp the core concepts so I can confidently contribute to, or debug, kernfs-related code in the future. I'm looking for the key data structures, the crucial functions, and any particularly clever or unusual implementation details. I'll be paying close attention to things like inode allocation, deallocation, and the handling of various kernfs node types. I'm anticipating that I'll need to focus on how attributes are managed and how the underlying VFS calls are handled by kernfs. I expect to be able to identify any potential performance bottlenecks or subtle race conditions. It will be very useful to see how the inode is integrated into the kernfs hierarchy and how it interacts with the underlying kernel object.



58/4 2026/09/13 00:30 tool read-file
0m Args:
map[File:fs/kernfs/inode.c FirstLine:91 LineCount:100]

Results:
map[Contents:  91:	
  92:	/**
  93:	 * kernfs_setattr - set iattr on a node
  94:	 * @kn: target node
  95:	 * @iattr: iattr to set
  96:	 *
  97:	 * Return: %0 on success, -errno on failure.
  98:	 */
  99:	int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)
 100:	{
 101:		int ret;
 102:		struct kernfs_root *root = kernfs_root(kn);
 103:	
 104:		down_write(&root->kernfs_iattr_rwsem);
 105:		ret = __kernfs_setattr(kn, iattr);
 106:		up_write(&root->kernfs_iattr_rwsem);
 107:		return ret;
 108:	}
 109:	
 110:	int kernfs_iop_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
 111:			       struct iattr *iattr)
 112:	{
 113:		struct inode *inode = d_inode(dentry);
 114:		struct kernfs_node *kn = inode->i_private;
 115:		struct kernfs_root *root;
 116:		int error;
 117:	
 118:		if (!kn)
 119:			return -EINVAL;
 120:	
 121:		root = kernfs_root(kn);
 122:		down_write(&root->kernfs_iattr_rwsem);
 123:		error = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
 124:		if (error)
 125:			goto out;
 126:	
 127:		error = __kernfs_setattr(kn, iattr);
 128:		if (error)
 129:			goto out;
 130:	
 131:		/* this ignores size changes */
 132:		setattr_copy(&nop_mnt_idmap, inode, iattr);
 133:	
 134:	out:
 135:		up_write(&root->kernfs_iattr_rwsem);
 136:		return error;
 137:	}
 138:	
 139:	ssize_t kernfs_iop_listxattr(struct dentry *dentry, char *buf, size_t size)
 140:	{
 141:		struct kernfs_node *kn = kernfs_dentry_node(dentry);
 142:		struct kernfs_iattrs *attrs;
 143:	
 144:		attrs = kernfs_iattrs(kn);
 145:		if (!attrs)
 146:			return -ENOMEM;
 147:	
 148:		return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size);
 149:	}
 150:	
 151:	static inline void set_default_inode_attr(struct inode *inode, umode_t mode)
 152:	{
 153:		inode->i_mode = mode;
 154:		simple_inode_init_ts(inode);
 155:	}
 156:	
 157:	static inline void set_inode_attr(struct inode *inode,
 158:					  struct kernfs_iattrs *attrs)
 159:	{
 160:		inode->i_uid = attrs->ia_uid;
 161:		inode->i_gid = attrs->ia_gid;
 162:		inode_set_atime_to_ts(inode, attrs->ia_atime);
 163:		inode_set_mtime_to_ts(inode, attrs->ia_mtime);
 164:		inode_set_ctime_to_ts(inode, attrs->ia_ctime);
 165:	}
 166:	
 167:	static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode)
 168:	{
 169:		struct kernfs_iattrs *attrs;
 170:	
 171:		inode->i_mode = kn->mode;
 172:		attrs = kernfs_iattrs_noalloc(kn);
 173:		if (attrs)
 174:			/*
 175:			 * kernfs_node has non-default attributes get them from
 176:			 * persistent copy in kernfs_node.
 177:			 */
 178:			set_inode_attr(inode, attrs);
 179:	
 180:		if (kernfs_type(kn) == KERNFS_DIR && !(kn->flags & KERNFS_REMOVING))
 181:			set_nlink(inode, kn->dir.subdirs + 2);
 182:	}
 183:	
 184:	int kernfs_iop_getattr(struct mnt_idmap *idmap,
 185:			       const struct path *path, struct kstat *stat,
 186:			       u32 request_mask, unsigned int query_flags)
 187:	{
 188:		struct inode *inode = d_inode(path->dentry);
 189:		struct kernfs_node *kn = inode->i_private;
 190:		struct kernfs_root *root = kernfs_root(kn);
]

59/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27170
							output: 37
							thoughts: 27
						

Thoughts:
Here's my take on the remaining lines of `fs/kernfs/inode.c`, from line 191 onwards:

**Digging into kernfs Inode Management**

Okay, so I've been through the initial parts of this `kernfs` inode implementation. Now, let's get into the nitty-gritty of the later functions. I anticipate these are going to be critical for understanding how Kernfs interacts with the generic VFS layer, particularly concerning inode operations and, likely, attribute handling and cleanup. I expect to find details on things like how Kernfs handles permission checks, how it manages the lifecycle of the inodes themselves, and, importantly, what strategies are in place for memory allocation and deallocation within this context. The structure here is probably a key to optimizing resource usage and avoiding leaks. I’m thinking we're going to see a lot of reference counting and careful synchronization. I'm also betting there'll be hooks into the page cache for data or metadata access if any kernfs nodes can provide such, and I'm very curious to see how the code deals with the specific requirements of the different types of Kernfs nodes (files, directories, symlinks, etc.) I expect to see specific implementations for some of the more important file operations, or hooks into the generic implementations where possible. I'll need to examine where the core Kernfs inode structure is actually used in operations within the broader kernel.



60/4 2026/09/13 00:30 tool read-file
0m Args:
map[File:fs/kernfs/inode.c FirstLine:191 LineCount:100]

Results:
map[Contents: 191:	
 192:		down_read(&root->kernfs_iattr_rwsem);
 193:		kernfs_refresh_inode(kn, inode);
 194:		generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat);
 195:		up_read(&root->kernfs_iattr_rwsem);
 196:	
 197:		return 0;
 198:	}
 199:	
 200:	static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode)
 201:	{
 202:		kernfs_get(kn);
 203:		inode->i_private = kn;
 204:		inode->i_mapping->a_ops = &ram_aops;
 205:		inode->i_op = &kernfs_iops;
 206:		inode->i_generation = kernfs_gen(kn);
 207:	
 208:		set_default_inode_attr(inode, kn->mode);
 209:		kernfs_refresh_inode(kn, inode);
 210:	
 211:		/* initialize inode according to type */
 212:		switch (kernfs_type(kn)) {
 213:		case KERNFS_DIR:
 214:			inode->i_op = &kernfs_dir_iops;
 215:			inode->i_fop = &kernfs_dir_fops;
 216:			if (kn->flags & KERNFS_EMPTY_DIR)
 217:				make_empty_dir_inode(inode);
 218:			break;
 219:		case KERNFS_FILE:
 220:			inode->i_size = kn->attr.size;
 221:			inode->i_fop = &kernfs_file_fops;
 222:			break;
 223:		case KERNFS_LINK:
 224:			inode->i_op = &kernfs_symlink_iops;
 225:			break;
 226:		default:
 227:			BUG();
 228:		}
 229:	
 230:		unlock_new_inode(inode);
 231:	}
 232:	
 233:	/**
 234:	 *	kernfs_get_inode - get inode for kernfs_node
 235:	 *	@sb: super block
 236:	 *	@kn: kernfs_node to allocate inode for
 237:	 *
 238:	 *	Get inode for @kn.  If such inode doesn't exist, a new inode is
 239:	 *	allocated and basics are initialized.  New inode is returned
 240:	 *	locked.
 241:	 *
 242:	 *	Locking:
 243:	 *	Kernel thread context (may sleep).
 244:	 *
 245:	 *	Return:
 246:	 *	Pointer to allocated inode on success, %NULL on failure.
 247:	 */
 248:	struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn)
 249:	{
 250:		struct inode *inode;
 251:	
 252:		inode = iget_locked(sb, kernfs_ino(kn));
 253:		if (inode && (inode_state_read_once(inode) & I_NEW))
 254:			kernfs_init_inode(kn, inode);
 255:	
 256:		return inode;
 257:	}
 258:	
 259:	/*
 260:	 * The kernfs_node serves as both an inode and a directory entry for
 261:	 * kernfs.  To prevent the kernfs inode numbers from being freed
 262:	 * prematurely we take a reference to kernfs_node from the kernfs inode.  A
 263:	 * super_operations.evict_inode() implementation is needed to drop that
 264:	 * reference upon inode destruction.
 265:	 */
 266:	void kernfs_evict_inode(struct inode *inode)
 267:	{
 268:		struct kernfs_node *kn = inode->i_private;
 269:	
 270:		truncate_inode_pages_final(&inode->i_data);
 271:		clear_inode(inode);
 272:		kernfs_put(kn);
 273:	}
 274:	
 275:	int kernfs_iop_permission(struct mnt_idmap *idmap,
 276:				  struct inode *inode, int mask)
 277:	{
 278:		struct kernfs_node *kn;
 279:		struct kernfs_root *root;
 280:		int ret;
 281:	
 282:		if (mask & MAY_NOT_BLOCK)
 283:			return -ECHILD;
 284:	
 285:		kn = inode->i_private;
 286:		root = kernfs_root(kn);
 287:	
 288:		down_read(&root->kernfs_iattr_rwsem);
 289:		kernfs_refresh_inode(kn, inode);
 290:		ret = generic_permission(&nop_mnt_idmap, inode, mask);
]

61/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 29021
							output: 36
							thoughts: 25
						

Thoughts:
Okay, let's dive into this. Here's my take on those lines of code, presented as if they were my own immediate thoughts:

**Analyzing `fs/kernfs/inode.c` Lines 275-300**

Alright, time to get to it. Let's zero in on lines 275 through 300 of `fs/kernfs/inode.c`. Based on the context, this should be where a significant chunk of the `kernfs` inode lifecycle resides. I need to understand exactly what's happening within this segment. I'm going to start by quickly scanning the function calls within this range to get a feel for the control flow. Are we dealing with creation, deletion, attribute modifications, or perhaps something more complex like file system operations related to the inode's backing data?

First glance, I suspect this section contains the management of some data specific to kernfs inodes. I'll need to figure out the specific operations performed on kernfs inodes. I'm looking for the core logic, anything related to `inode` structs, and the associated data structures. I need to identify any specific `kernfs` data structures that are being manipulated within this window, and how the kernel interacts with them. What about any locks? Are there any obvious race conditions that could occur if the inode is accessed by multiple threads simultaneously? I want to make sure the implementation is robust, and the locking is efficient. I'm also looking for any calls to lower-level file system functions, or any interactions with the VFS layer. Ultimately, I need to form a clear mental model of the inode's role and how it's handled within this specific code block. This understanding is key to making informed decisions about optimization, debugging, or even just general understanding of the code.



62/4 2026/09/13 00:30 tool read-file
0m Args:
map[File:fs/kernfs/inode.c FirstLine:275 LineCount:35]

Results:
map[Contents: 275:	int kernfs_iop_permission(struct mnt_idmap *idmap,
 276:				  struct inode *inode, int mask)
 277:	{
 278:		struct kernfs_node *kn;
 279:		struct kernfs_root *root;
 280:		int ret;
 281:	
 282:		if (mask & MAY_NOT_BLOCK)
 283:			return -ECHILD;
 284:	
 285:		kn = inode->i_private;
 286:		root = kernfs_root(kn);
 287:	
 288:		down_read(&root->kernfs_iattr_rwsem);
 289:		kernfs_refresh_inode(kn, inode);
 290:		ret = generic_permission(&nop_mnt_idmap, inode, mask);
 291:		up_read(&root->kernfs_iattr_rwsem);
 292:	
 293:		return ret;
 294:	}
 295:	
 296:	int kernfs_xattr_get(struct kernfs_node *kn, const char *name,
 297:			     void *value, size_t size)
 298:	{
 299:		struct kernfs_iattrs *attrs = kernfs_iattrs_noalloc(kn);
 300:		struct simple_xattr_cache *cache = &kernfs_root(kn)->xa_cache;
 301:	
 302:		if (!attrs)
 303:			return -ENODATA;
 304:	
 305:		return simple_xattr_get(cache, &attrs->xattrs, name, value, size);
 306:	}
 307:	
 308:	int kernfs_xattr_set(struct kernfs_node *kn, const char *name,
 309:			     const void *value, size_t size, int flags)
]

63/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 30005
							output: 35
							thoughts: 103
						

Thoughts:
**Analyzing `kernfs_iop_permission` and Delving into `generic_permission`**

Okay, let's break down this `kernfs_iop_permission` function. It seems to be handling permissions, and the first thing it does is acquire a read semaphore, `root->kernfs_iattr_rwsem`. That's standard practice to protect attributes, good. Then, a refresh of the inode, using `kernfs_refresh_inode` happens. Interesting, that’s key for keeping the metadata consistent. The core logic I am after, I suspect, is the call to `generic_permission`. This is where the actual permission check happens, and it uses `&nop_mnt_idmap`, which implies no mapping for the permissions. Finally, the semaphore is released. So, the question is, how does `generic_permission` make the decision? Let me go look at its definition and see what's going on under the hood there. Let's see how the actual permission checks are implemented.



64/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/kernfs/inode.c Name:generic_permission]

Results:
map[SourceCode: 499:	/**
 500:	 * generic_permission -  check for access rights on a Posix-like filesystem
 501:	 * @idmap:	idmap of the mount the inode was found from
 502:	 * @inode:	inode to check access rights for
 503:	 * @mask:	right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC,
 504:	 *		%MAY_NOT_BLOCK ...)
 505:	 *
 506:	 * Used to check for read/write/execute permissions on a file.
 507:	 * We use "fsuid" for this, letting us set arbitrary permissions
 508:	 * for filesystem access without changing the "normal" uids which
 509:	 * are used for other things.
 510:	 *
 511:	 * generic_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk
 512:	 * request cannot be satisfied (eg. requires blocking or too much complexity).
 513:	 * It would then be called again in ref-walk mode.
 514:	 *
 515:	 * If the inode has been found through an idmapped mount the idmap of
 516:	 * the vfsmount must be passed through @idmap. This function will then take
 517:	 * care to map the inode according to @idmap before checking permissions.
 518:	 * On non-idmapped mounts or if permission checking is to be performed on the
 519:	 * raw inode simply pass @nop_mnt_idmap.
 520:	 */
 521:	int generic_permission(struct mnt_idmap *idmap, struct inode *inode,
 522:			       int mask)
 523:	{
 524:		int ret;
 525:	
 526:		/*
 527:		 * Do the basic permission checks.
 528:		 */
 529:		ret = acl_permission_check(idmap, inode, mask);
 530:		if (ret != -EACCES)
 531:			return ret;
 532:	
 533:		if (S_ISDIR(inode->i_mode)) {
 534:			/* DACs are overridable for directories */
 535:			if (!(mask & MAY_WRITE))
 536:				if (capable_wrt_inode_uidgid(idmap, inode,
 537:							     CAP_DAC_READ_SEARCH))
 538:					return 0;
 539:			if (capable_wrt_inode_uidgid(idmap, inode,
 540:						     CAP_DAC_OVERRIDE))
 541:				return 0;
 542:			return -EACCES;
 543:		}
 544:	
 545:		/*
 546:		 * Searching includes executable on directories, else just read.
 547:		 */
 548:		mask &= MAY_READ | MAY_WRITE | MAY_EXEC;
 549:		if (mask == MAY_READ)
 550:			if (capable_wrt_inode_uidgid(idmap, inode,
 551:						     CAP_DAC_READ_SEARCH))
 552:				return 0;
 553:		/*
 554:		 * Read/write DACs are always overridable.
 555:		 * Executable DACs are overridable when there is
 556:		 * at least one exec bit set.
 557:		 */
 558:		if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO))
 559:			if (capable_wrt_inode_uidgid(idmap, inode,
 560:						     CAP_DAC_OVERRIDE))
 561:				return 0;
 562:	
 563:		return -EACCES;
 564:	}
 SourceFile:fs/namei.c]

65/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 31434
							output: 35
							thoughts: 137
						

Thoughts:
**Analyzing the Generic Permission Check**

Alright, let's dive into this `generic_permission()` function. First, it looks like it's going through the standard permission checks with `acl_permission_check()`. It seems like the common access control list checks are done here, and if those fail with `-EACCES`, the function continues. The interesting part, though, is what follows. It's looking to see if the requested access `mask` *includes* execute permissions (`MAY_EXEC`). If it *does* include execute, and the inode's mode has execute bits set (`S_IXUGO`), or if the `MAY_EXEC` bit is *not* present (e.g., read only), then it proceeds to check a capability. This looks like a DAC (Discretionary Access Control) override check using `capable_wrt_inode_uidgid()` to see if the current process has `CAP_DAC_OVERRIDE`. If so, access is granted. So, the core of the logic here seems to be about granting execution based on permissions. It's a fairly standard setup, checking ACLs first, then falls back to more granular permissions, like potentially allowing overrides based on capabilities. Now, let's see what happens inside of `acl_permission_check()`...



66/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/namei.c Name:acl_permission_check]

Results:
map[SourceCode: 422:	/**
 423:	 * acl_permission_check - perform basic UNIX permission checking
 424:	 * @idmap:	idmap of the mount the inode was found from
 425:	 * @inode:	inode to check permissions on
 426:	 * @mask:	right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC ...)
 427:	 *
 428:	 * This function performs the basic UNIX permission checking. Since this
 429:	 * function may retrieve POSIX acls it needs to know whether it is called from a
 430:	 * blocking or non-blocking context and thus cares about the MAY_NOT_BLOCK bit.
 431:	 *
 432:	 * If the inode has been found through an idmapped mount the idmap of
 433:	 * the vfsmount must be passed through @idmap. This function will then take
 434:	 * care to map the inode according to @idmap before checking permissions.
 435:	 * On non-idmapped mounts or if permission checking is to be performed on the
 436:	 * raw inode simply pass @nop_mnt_idmap.
 437:	 */
 438:	static int acl_permission_check(struct mnt_idmap *idmap,
 439:					struct inode *inode, int mask)
 440:	{
 441:		unsigned int mode = inode->i_mode;
 442:		vfsuid_t vfsuid;
 443:	
 444:		/*
 445:		 * Common cheap case: everybody has the requested
 446:		 * rights, and there are no ACLs to check. No need
 447:		 * to do any owner/group checks in that case.
 448:		 *
 449:		 *  - 'mask&7' is the requested permission bit set
 450:		 *  - multiplying by 0111 spreads them out to all of ugo
 451:		 *  - '& ~mode' looks for missing inode permission bits
 452:		 *  - the '!' is for "no missing permissions"
 453:		 *
 454:		 * After that, we just need to check that there are no
 455:		 * ACL's on the inode - do the 'IS_POSIXACL()' check last
 456:		 * because it will dereference the ->i_sb pointer and we
 457:		 * want to avoid that if at all possible.
 458:		 */
 459:		if (!((mask & 7) * 0111 & ~mode)) {
 460:			if (no_acl_inode(inode))
 461:				return 0;
 462:			if (!IS_POSIXACL(inode))
 463:				return 0;
 464:		}
 465:	
 466:		/* Are we the owner? If so, ACL's don't matter */
 467:		vfsuid = i_uid_into_vfsuid(idmap, inode);
 468:		if (likely(vfsuid_eq_kuid(vfsuid, current_fsuid()))) {
 469:			mask &= 7;
 470:			mode >>= 6;
 471:			return (mask & ~mode) ? -EACCES : 0;
 472:		}
 473:	
 474:		/* Do we have ACL's? */
 475:		if (IS_POSIXACL(inode) && (mode & S_IRWXG)) {
 476:			int error = check_acl(idmap, inode, mask);
 477:			if (error != -EAGAIN)
 478:				return error;
 479:		}
 480:	
 481:		/* Only RWX matters for group/other mode bits */
 482:		mask &= 7;
 483:	
 484:		/*
 485:		 * Are the group permissions different from
 486:		 * the other permissions in the bits we care
 487:		 * about? Need to check group ownership if so.
 488:		 */
 489:		if (mask & (mode ^ (mode >> 3))) {
 490:			vfsgid_t vfsgid = i_gid_into_vfsgid(idmap, inode);
 491:			if (vfsgid_in_group_p(vfsgid))
 492:				mode >>= 3;
 493:		}
 494:	
 495:		/* Bits in 'mode' clear that we require? */
 496:		return (mask & ~mode) ? -EACCES : 0;
 497:	}
 SourceFile:fs/namei.c]

67/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 33160
							output: 39
							thoughts: 756
						

Thoughts:
**Analyzing `acl_permission_check` and User Namespaces**

Okay, let's break this down. I'm looking at `acl_permission_check` and immediately I'm thinking about user namespaces. The first thing that catches my eye is the check: `vfsuid = i_uid_into_vfsuid(idmap, inode); if (likely(vfsuid_eq_kuid(vfsuid, current_fsuid())))`. My mind immediately goes to the potential for confusion introduced by user namespace mappings.

I see `current_fsuid()`, and I know that returns a `kuid_t`. Ah, right, in a user namespace, an unprivileged user can map their external UID (say, 1000) to UID 0 *inside* the namespace. So their *internal* UID is 0. But what's `current_fsuid()` returning in the *kernel* context? It's going to be the *kernel's* view of their UID which is `current_cred()->fsuid`, and that's going to be the *unmapped* UID (e.g. 1000, assuming they mapped 1000 to 0). So, I need to understand `vfsuid` better, and how it relates to this mapping.

Aha! It looks like `vfsuid` comes from `kernfs_iop_permission`, which calls `generic_permission` with `&nop_mnt_idmap`. That's key. With `nop_mnt_idmap`, `vfsuid` is just `inode->i_uid`. And where does that come from? Let's check `fs/kernfs/inode.c`: it's either `GLOBAL_ROOT_UID` or whatever's set in `attrs->ia_uid`. `GLOBAL_ROOT_UID` is initialized to `KUIDT_INIT(0)`.

Okay, so we're comparing `GLOBAL_ROOT_UID` (0) with `current_fsuid()` (1000, the *kernel* view of the user's UID). Those are *not* equal. This is crucial because even if they map their UID to 0 *inside* the namespace, their *kernel* `kuid` (e.g., the UID from the parent namespace, or whatever they are mapping to) remains 1000 (unless they also gain the privileges needed to change it in the parent namespace), not `GLOBAL_ROOT_UID`.

Wait, can they map `GLOBAL_ROOT_UID`? No, no, they cannot. An unprivileged user can't map UID 0 (root) to the `GLOBAL_ROOT_UID`. They need `CAP_SETUID` (in the parent namespace) for that, which they won't have. So, the kernel `kuid` is still their real, unmapped, UID (1000), not `GLOBAL_ROOT_UID` (0). I need to remember this distinction between the *internal* and *external/kernel* UID in my analysis.

Now, let's think about `capable_wrt_inode_uidgid(idmap, inode, CAP_DAC_OVERRIDE)`. I'll need to look up the definition of that function to see how it interacts with all this.



68/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/namei.c Name:capable_wrt_inode_uidgid]

Results:
map[SourceCode: 463:	/**
 464:	 * capable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped
 465:	 * @idmap: idmap of the mount @inode was found from
 466:	 * @inode: The inode in question
 467:	 * @cap: The capability in question
 468:	 *
 469:	 * Return true if the current task has the given capability targeted at
 470:	 * its own user namespace and that the given inode's uid and gid are
 471:	 * mapped into the current user namespace.
 472:	 */
 473:	bool capable_wrt_inode_uidgid(struct mnt_idmap *idmap,
 474:				      const struct inode *inode, int cap)
 475:	{
 476:		struct user_namespace *ns = current_user_ns();
 477:	
 478:		return ns_capable(ns, cap) &&
 479:		       privileged_wrt_inode_uidgid(ns, idmap, inode);
 480:	}
 SourceFile:kernel/capability.c]

69/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 35002
							output: 38
							thoughts: 36
						

Thoughts:
Okay, here's my interpretation of those thoughts, speaking as an expert:

**Internal Audit - Kernel File System Permissions**

Alright, that's interesting. I see a `capable_wrt_inode_uidgid` function call. My brain immediately jumps to checking its counterpart, `privileged_wrt_inode_uidgid`. I need to understand the relationship between these two, specifically how they are used within the kernel's file system permission checks. I'm already anticipating the potential security implications. One is clearly about capability-based access, the other about privileged access, and understanding their interaction is crucial for spotting potential vulnerabilities or unexpected behavior. Time to delve into the code and see exactly how these functions are used.



70/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:kernel/capability.c Name:privileged_wrt_inode_uidgid]

Results:
map[SourceCode: 447:	/**
 448:	 * privileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode?
 449:	 * @ns: The user namespace in question
 450:	 * @idmap: idmap of the mount @inode was found from
 451:	 * @inode: The inode in question
 452:	 *
 453:	 * Return true if the inode uid and gid are within the namespace.
 454:	 */
 455:	bool privileged_wrt_inode_uidgid(struct user_namespace *ns,
 456:					 struct mnt_idmap *idmap,
 457:					 const struct inode *inode)
 458:	{
 459:		return vfsuid_has_mapping(ns, i_uid_into_vfsuid(idmap, inode)) &&
 460:		       vfsgid_has_mapping(ns, i_gid_into_vfsgid(idmap, inode));
 461:	}
 SourceFile:kernel/capability.c]

71/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 35519
							output: 33
							thoughts: 150
						

Thoughts:
**Examining the User Namespace UID/GID Mapping**

Okay, so I'm looking at this `privileged_wrt_inode_uidgid` function. Seems straightforward enough – checks if the user and group IDs have mappings within the current user namespace. But, wait a minute, the gears are turning... I need to consider a potential edge case.

I'm focusing in on the global root, UID 0 and GID 0. Is there a scenario where global root is actually *mapped* within an unprivileged user's namespace? My initial thought is that it shouldn't be, but I need to make certain. Can an unprivileged user even *create* a mapping for the root user? If they can't, then this function will always return false for root. If they *can*, the consequences are important for security!

Alright, it's time to dive into `user_namespace.c` and confirm exactly how UID/GID mappings behave when a new user namespace is created, especially focusing on what restrictions, if any, are placed on unprivileged users with regards to mapping the global root. I need to understand this fundamental aspect of user namespaces to ensure I grasp the implications of this function call in the broader context of privilege escalation and security.



72/4 2026/09/13 00:30 tool grepper
0m Args:
map[Expression:new_idmap_permitted PathPrefix:kernel/user_namespace.c]

Results:
map[Output:kernel/user_namespace.c=27=static DEFINE_MUTEX(userns_state_mutex);
kernel/user_namespace.c-28-
kernel/user_namespace.c:29:static bool new_idmap_permitted(const struct file *file,
kernel/user_namespace.c-30-				struct user_namespace *ns, int cap_setid,
--
kernel/user_namespace.c=932=static ssize_t map_write(struct file *file, const char __user *buf,
--
kernel/user_namespace.c-1055-	/* Validate the user is allowed to use user id's mapped to. */
kernel/user_namespace.c:1056:	if (!new_idmap_permitted(file, map_ns, cap_setid, &new_map))
kernel/user_namespace.c-1057-		goto out;
--
kernel/user_namespace.c=1154=ssize_t proc_projid_map_write(struct file *file, const char __user *buf,
--
kernel/user_namespace.c-1171-
kernel/user_namespace.c:1172:static bool new_idmap_permitted(const struct file *file,
kernel/user_namespace.c-1173-				struct user_namespace *ns, int cap_setid,
]

73/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 36309
							output: 36
							thoughts: 21
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Diving into `user_namespace.c`**

Okay, time to get my hands dirty. I'm thinking I need to refresh my memory on user namespaces and how they interact with the kernel, specifically around... well, the details I'm wrestling with right now. I'm going to jump into `kernel/user_namespace.c`. Line 1172... that's probably a good starting point to retrace the control flow I'm trying to track. I'm expecting that area to contain a key element relating to the interaction between the different user spaces, probably something to do with the permissions or ID mapping I've been tracing. Let's see what kind of context I find there. Hopefully, that will immediately offer up clues that will make the puzzle fall into place!



74/4 2026/09/13 00:30 tool read-file
0m Args:
map[File:kernel/user_namespace.c FirstLine:1172 LineCount:60]

Results:
map[Contents:1172:	static bool new_idmap_permitted(const struct file *file,
1173:					struct user_namespace *ns, int cap_setid,
1174:					struct uid_gid_map *new_map)
1175:	{
1176:		const struct cred *cred = file->f_cred;
1177:	
1178:		if (cap_setid == CAP_SETUID && !verify_root_map(file, ns, new_map))
1179:			return false;
1180:	
1181:		/* Don't allow mappings that would allow anything that wouldn't
1182:		 * be allowed without the establishment of unprivileged mappings.
1183:		 */
1184:		if ((new_map->nr_extents == 1) && (new_map->extent[0].count == 1) &&
1185:		    uid_eq(ns->owner, cred->euid)) {
1186:			u32 id = new_map->extent[0].lower_first;
1187:			if (cap_setid == CAP_SETUID) {
1188:				kuid_t uid = make_kuid(ns->parent, id);
1189:				if (uid_eq(uid, cred->euid))
1190:					return true;
1191:			} else if (cap_setid == CAP_SETGID) {
1192:				kgid_t gid = make_kgid(ns->parent, id);
1193:				if (!(ns->flags & USERNS_SETGROUPS_ALLOWED) &&
1194:				    gid_eq(gid, cred->egid))
1195:					return true;
1196:			}
1197:		}
1198:	
1199:		/* Allow anyone to set a mapping that doesn't require privilege */
1200:		if (!cap_valid(cap_setid))
1201:			return true;
1202:	
1203:		/* Allow the specified ids if we have the appropriate capability
1204:		 * (CAP_SETUID or CAP_SETGID) over the parent user namespace.
1205:		 * And the opener of the id file also has the appropriate capability.
1206:		 */
1207:		if (ns_capable(ns->parent, cap_setid) &&
1208:		    file_ns_capable(file, ns->parent, cap_setid))
1209:			return true;
1210:	
1211:		return false;
1212:	}
1213:	
1214:	int proc_setgroups_show(struct seq_file *seq, void *v)
1215:	{
1216:		struct user_namespace *ns = seq->private;
1217:		unsigned long userns_flags = READ_ONCE(ns->flags);
1218:	
1219:		seq_printf(seq, "%s\n",
1220:			   (userns_flags & USERNS_SETGROUPS_ALLOWED) ?
1221:			   "allow" : "deny");
1222:		return 0;
1223:	}
1224:	
1225:	ssize_t proc_setgroups_write(struct file *file, const char __user *buf,
1226:				     size_t count, loff_t *ppos)
1227:	{
1228:		struct seq_file *seq = file->private_data;
1229:		struct user_namespace *ns = seq->private;
1230:		char kbuf[8], *pos;
1231:		bool setgroups_allowed;
]

75/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 37545
							output: 38
							thoughts: 1109
						

Thoughts:
**Analyzing Sysfs Permissions in Unprivileged User Namespaces**

Okay, let's break this down systematically. I'm looking at how an unprivileged user, without `CAP_SETUID` or `CAP_SETGID` in their parent namespace, interacts with a sysfs file. The core question is: can they write to it?

First, I'm confirming that an unprivileged user *cannot* map the global root UID (0) into their own user namespace. `new_idmap_permitted` enforces that. The user can only map their *own* UID/GID, and even with `newuidmap`, subuids assigned via `/etc/subuid` never include 0. Therefore, UID 0 *is not* mapped inside the unprivileged user's namespace.

This immediately means that functions like `vfsuid_has_mapping(ns, i_uid_into_vfsuid(idmap, inode))` will return false when checking for UID 0 within the current user namespace. Consequently, `privileged_wrt_inode_uidgid` also returns false, and so does `capable_wrt_inode_uidgid(idmap, inode, CAP_DAC_OVERRIDE)`.

Now, the permission checks kick in. I'm focusing on what happens when the user isn't the owner or in the group of the sysfs file. Since the user's UID is, say, 1000 and the inode's UID is 0, the check against the owner fails. Similarly, the group check fails. This brings us to the "other" (world) bits in the file permissions.

The sysfs file has permissions `0644`. That means read-write for the owner, read-only for the group, and *read-only* for "other". When the unprivileged user attempts to write (`MAY_WRITE` is in the mask), the permission check `mask & ~mode` becomes true. This, in turn, leads to `acl_permission_check` returning `-EACCES` because write access is not granted to "other".

Next, `generic_permission()` is called. It checks if DAC override is possible via `capable_wrt_inode_uidgid(idmap, inode, CAP_DAC_OVERRIDE)`. But, since the inode's UID (0) *isn't* mapped,  `privileged_wrt_inode_uidgid()` returns false, and so does `capable_wrt_inode_uidgid()`. This confirms the lack of DAC override. As a result, `generic_permission()` also returns `-EACCES`.

Finally, and this is important, I need to understand what's the deal with `sb->s_user_ns`. When sysfs is mounted, what's its user namespace? Looking at `sysfs_init_fs_context`, `fc->global = true;` implies that `kernfs_get_tree` and other functions using this will apply in the context of the root user namespace. This reinforces the conclusion: an unprivileged user can't write to the sysfs file, because they're essentially interacting with file permissions associated with the *global* root, which is not mapped to them. This is the intended security model.



76/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/sysfs/mount.c Name:kernfs_get_tree]

Results:
map[SourceCode: 355:	/**
 356:	 * kernfs_get_tree - kernfs filesystem access/retrieval helper
 357:	 * @fc: The filesystem context.
 358:	 *
 359:	 * This is to be called from each kernfs user's fs_context->ops->get_tree()
 360:	 * implementation, which should set the specified ->@fs_type and ->@flags, and
 361:	 * specify the hierarchy and namespace tag to mount via ->@root and ->@ns,
 362:	 * respectively.
 363:	 *
 364:	 * Return: %0 on success, -errno on failure.
 365:	 */
 366:	int kernfs_get_tree(struct fs_context *fc)
 367:	{
 368:		struct kernfs_fs_context *kfc = fc->fs_private;
 369:		struct super_block *sb;
 370:		struct kernfs_super_info *info;
 371:		int error;
 372:	
 373:		info = kzalloc_obj(*info);
 374:		if (!info)
 375:			return -ENOMEM;
 376:	
 377:		info->root = kfc->root;
 378:		info->ns = kfc->ns_tag;
 379:		INIT_LIST_HEAD(&info->node);
 380:	
 381:		fc->s_fs_info = info;
 382:		sb = sget_fc(fc, kernfs_test_super, kernfs_set_super);
 383:		if (IS_ERR(sb))
 384:			return PTR_ERR(sb);
 385:	
 386:		if (!sb->s_root) {
 387:			struct kernfs_super_info *info = kernfs_info(sb);
 388:			struct kernfs_root *root = kfc->root;
 389:	
 390:			kfc->new_sb_created = true;
 391:	
 392:			error = kernfs_fill_super(sb, kfc);
 393:			if (error) {
 394:				deactivate_locked_super(sb);
 395:				return error;
 396:			}
 397:			sb->s_flags |= SB_ACTIVE;
 398:	
 399:			uuid_t uuid;
 400:			uuid_gen(&uuid);
 401:			super_set_uuid(sb, uuid.b, sizeof(uuid));
 402:	
 403:			down_write(&root->kernfs_supers_rwsem);
 404:			list_add(&info->node, &info->root->supers);
 405:			up_write(&root->kernfs_supers_rwsem);
 406:		}
 407:	
 408:		fc->root = dget(sb->s_root);
 409:		return 0;
 410:	}
 SourceFile:fs/kernfs/mount.c]

77/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 40253
							output: 27
							thoughts: 198
						

Thoughts:
**Analyzing User Namespace Interactions in `fs/sysfs/mount.c`**

Okay, let's dive into this code snippet in `fs/sysfs/mount.c`, specifically lines 60-65. I'm focusing on how user and network namespaces interact here, and this section is crucial. I see a conditional block that deals with a network namespace, `ns`. My initial thought is that if `ns` exists, we're dealing with a `net` namespace. The code retrieves this `net` namespace as `netns`. Now, if an unprivileged user crafts a user namespace *and* a network namespace, `netns->user_ns` is actually that very same unprivileged user's namespace!

The next line, `fc->user_ns = get_user_ns(netns->user_ns)`, is the interesting bit. We are grabbing a reference to that user's namespace. The subsequent question becomes: what happens with this `fc->user_ns` variable?

It looks like the `sget_fc` function needs closer inspection, and I suspect it leverages `fc->user_ns` internally. I'm seeing it right here! `sb->s_user_ns = get_user_ns(fc->user_ns);` This looks like the critical connection, where the user namespace associated with the mount is set on the superblock. It appears I need to refresh myself on `sget_fc`'s function!



78/4 2026/09/13 00:30 tool grepper
0m Args:
map[Expression:s_user_ns PathPrefix:fs/]

Results:
map[Output:fs/9p/acl.c=155=int v9fs_iop_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
--
fs/9p/acl.c-165-	if (acl) {
fs/9p/acl.c:166:		retval = posix_acl_valid(inode->i_sb->s_user_ns, acl);
fs/9p/acl.c-167-		if (retval)
--
fs/attr.c=94=static bool chown_ok(struct mnt_idmap *idmap,
--
fs/attr.c-103-	if (!vfsuid_valid(vfsuid) &&
fs/attr.c:104:	    ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN))
fs/attr.c-105-		return true;
--
fs/attr.c=121=static bool chgrp_ok(struct mnt_idmap *idmap,
--
fs/attr.c-134-	if (!vfsgid_valid(vfsgid) &&
fs/attr.c:135:	    ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN))
fs/attr.c-136-		return true;
--
fs/attr.c=427=int notify_change(struct mnt_idmap *idmap, struct dentry *dentry,
--
fs/attr.c-521-	if (ia_valid & ATTR_UID &&
fs/attr.c:522:	    !vfsuid_has_fsmapping(idmap, inode->i_sb->s_user_ns,
fs/attr.c-523-				  attr->ia_vfsuid))
--
fs/attr.c-525-	if (ia_valid & ATTR_GID &&
fs/attr.c:526:	    !vfsgid_has_fsmapping(idmap, inode->i_sb->s_user_ns,
fs/attr.c-527-				  attr->ia_vfsgid))
--
fs/binfmt_misc.c=1131=static struct binfmt_misc *i_binfmt_misc(struct inode *inode)
fs/binfmt_misc.c-1132-{
fs/binfmt_misc.c:1133:	return inode->i_sb->s_user_ns->binfmt_misc;
fs/binfmt_misc.c-1134-}
--
fs/binfmt_misc.c=1462=static ssize_t bm_register_write(struct file *file, const char __user *buffer,
--
fs/binfmt_misc.c-1473-	if (test_bit(MISC_FMT_BPF_BIT, &e->flags)) {
fs/binfmt_misc.c:1474:		e->bpf_ops = binfmt_misc_get_ops(sb->s_user_ns, e->bpf_ops_name);
fs/binfmt_misc.c-1475-		if (!e->bpf_ops) {
--
fs/binfmt_misc.c=1558=static int bm_fill_super(struct super_block *sb, struct fs_context *fc)
--
fs/binfmt_misc.c-1560-	int err;
fs/binfmt_misc.c:1561:	struct user_namespace *user_ns = sb->s_user_ns;
fs/binfmt_misc.c-1562-	struct binfmt_misc *misc;
--
fs/f2fs/recovery.c=242=static int recover_quota_data(struct inode *inode, struct folio *folio)
--
fs/f2fs/recovery.c-251-
fs/f2fs/recovery.c:252:	attr.ia_vfsuid = VFSUIDT_INIT(make_kuid(inode->i_sb->s_user_ns, i_uid));
fs/f2fs/recovery.c:253:	attr.ia_vfsgid = VFSGIDT_INIT(make_kgid(inode->i_sb->s_user_ns, i_gid));
fs/f2fs/recovery.c-254-
--
fs/fhandle.c=301=static inline int may_decode_fh(struct handle_to_path_ctx *ctx,
--
fs/fhandle.c-332-
fs/fhandle.c:333:	if (ns_capable(root->mnt->mnt_sb->s_user_ns, CAP_SYS_ADMIN))
fs/fhandle.c-334-		ctx->flags = HANDLE_CHECK_PERMS;
--
fs/fs_context.c=258=static struct fs_context *alloc_fs_context(struct file_system_type *fs_type,
--
fs/fs_context.c-285-	case FS_CONTEXT_FOR_SUBMOUNT:
fs/fs_context.c:286:		fc->user_ns = get_user_ns(reference->d_sb->s_user_ns);
fs/fs_context.c-287-		break;
--
fs/fs_context.c-289-		atomic_inc(&reference->d_sb->s_active);
fs/fs_context.c:290:		fc->user_ns = get_user_ns(reference->d_sb->s_user_ns);
fs/fs_context.c-291-		fc->root = dget(reference);
--
fs/fsopen.c=251=static int vfs_cmd_reconfigure(struct fs_context *fc)
--
fs/fsopen.c-261-	sb = fc->root->d_sb;
fs/fsopen.c:262:	if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN)) {
fs/fsopen.c-263-		fc->phase = FS_CONTEXT_FAILED;
--
fs/fuse/inode.c=1598=static void fuse_sb_defaults(struct super_block *sb)
--
fs/fuse/inode.c-1608-	sb->s_iflags |= SB_I_NO_DATA_INTEGRITY;
fs/fuse/inode.c:1609:	if (sb->s_user_ns != &init_user_ns)
fs/fuse/inode.c-1610-		sb->s_iflags |= SB_I_UNTRUSTED_MOUNTER;
--
fs/ioctl.c=385=static int ioctl_fsfreeze(struct file *filp)
--
fs/ioctl.c-388-
fs/ioctl.c:389:	if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN))
fs/ioctl.c-390-		return -EPERM;
--
fs/ioctl.c=402=static int ioctl_fsthaw(struct file *filp)
--
fs/ioctl.c-405-
fs/ioctl.c:406:	if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN))
fs/ioctl.c-407-		return -EPERM;
--
fs/namespace.c=1870=static int do_umount(struct mount *mnt, int flags)
--
fs/namespace.c-1932-		 */
fs/namespace.c:1933:		if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN))
fs/namespace.c-1934-			return -EPERM;
--
fs/namespace.c=2021=static int can_umount(const struct path *path, int flags)
--
fs/namespace.c-2033-		return -EINVAL;
fs/namespace.c:2034:	if (flags & MNT_FORCE && !ns_capable(sb->s_user_ns, CAP_SYS_ADMIN))
fs/namespace.c-2035-		return -EPERM;
--
fs/namespace.c=3378=static int do_remount(const struct path *path, int sb_flags,
--
fs/namespace.c-3408-		err = -EPERM;
fs/namespace.c:3409:		if (ns_capable(sb->s_user_ns, CAP_SYS_ADMIN)) {
fs/namespace.c-3410-			err = reconfigure_super(fc);
--
fs/namespace.c=4806=static int can_idmap_mount(const struct mount_kattr *kattr, struct mount *mnt)
--
fs/namespace.c-4808-	struct vfsmount *m = &mnt->mnt;
fs/namespace.c:4809:	struct user_namespace *fs_userns = m->mnt_sb->s_user_ns;
fs/namespace.c-4810-
--
fs/namespace.c-4817-	 */
fs/namespace.c:4818:	if (kattr->mnt_userns == m->mnt_sb->s_user_ns)
fs/namespace.c-4819-		return -EINVAL;
--
fs/namespace.c=6456=bool mnt_may_suid(struct vfsmount *mnt)
--
fs/namespace.c-6465-	return !(mnt->mnt_flags & MNT_NOSUID) && check_mnt(real_mount(mnt)) &&
fs/namespace.c:6466:	       current_in_userns(mnt->mnt_sb->s_user_ns);
fs/namespace.c-6467-}
--
fs/notify/fanotify/fanotify_user.c=1856=static int do_fanotify_mark(int fanotify_fd, unsigned int flags, __u64 mask,
--
fs/notify/fanotify/fanotify_user.c-2058-	} else if (obj_type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) {
fs/notify/fanotify/fanotify_user.c:2059:		user_ns = path.mnt->mnt_sb->s_user_ns;
fs/notify/fanotify/fanotify_user.c-2060-		obj = path.mnt;
fs/notify/fanotify/fanotify_user.c-2061-	} else if (obj_type == FSNOTIFY_OBJ_TYPE_SB) {
fs/notify/fanotify/fanotify_user.c:2062:		user_ns = path.mnt->mnt_sb->s_user_ns;
fs/notify/fanotify/fanotify_user.c-2063-		obj = path.mnt->mnt_sb;
--
fs/posix_acl.c=940=set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry,
--
fs/posix_acl.c-955-	if (acl) {
fs/posix_acl.c:956:		int ret = posix_acl_valid(inode->i_sb->s_user_ns, acl);
fs/posix_acl.c-957-		if (ret)
--
fs/quota/dquot.c=950=struct dquot *dqget(struct super_block *sb, struct kqid qid)
--
fs/quota/dquot.c-954-
fs/quota/dquot.c:955:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/dquot.c-956-		return ERR_PTR(-EINVAL);
--
fs/quota/dquot.c=2429=int dquot_load_quota_sb(struct super_block *sb, int type, int format_id,
--
fs/quota/dquot.c-2450-	/* Filesystems outside of init_user_ns not yet supported */
fs/quota/dquot.c:2451:	if (sb->s_user_ns != &init_user_ns) {
fs/quota/dquot.c-2452-		error = -EINVAL;
--
fs/quota/quota.c=201=static int quota_getquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-211-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:212:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-213-		return -EINVAL;
--
fs/quota/quota.c=237=static int quota_getnextquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-247-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:248:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-249-		return -EINVAL;
--
fs/quota/quota.c=287=static int quota_setquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-306-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:307:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-308-		return -EINVAL;
--
fs/quota/quota.c=624=static int quota_setxquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-635-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:636:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-637-		return -EINVAL;
fs/quota/quota.c-638-	/* Are we actually setting timer / warning limits for all users? */
fs/quota/quota.c:639:	if (from_kqid(sb->s_user_ns, qid) == 0 &&
fs/quota/quota.c-640-	    fdq.d_fieldmask & (FS_DQ_WARNS_MASK | FS_DQ_TIMER_MASK)) {
--
fs/quota/quota.c=705=static int quota_getxquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-715-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:716:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-717-		return -EINVAL;
--
fs/quota/quota.c=731=static int quota_getnextxquota(struct super_block *sb, int type, qid_t id,
--
fs/quota/quota.c-742-	qid = make_kqid(current_user_ns(), type, id);
fs/quota/quota.c:743:	if (!qid_has_mapping(sb->s_user_ns, qid))
fs/quota/quota.c-744-		return -EINVAL;
--
fs/super.c=293=static void destroy_super_work(struct work_struct *work)
--
fs/super.c-298-	security_sb_free(s);
fs/super.c:299:	put_user_ns(s->s_user_ns);
fs/super.c-300-	/* Only an unregistered entry is still owned by the superblock. */
--
fs/super.c=337=static struct super_block *alloc_super(struct file_system_type *type, int flags,
--
fs/super.c-346-
fs/super.c:347:	s->s_user_ns = get_user_ns(user_ns);
fs/super.c-348-	init_rwsem(&s->s_umount);
--
fs/super.c-377-	s->s_flags = flags;
fs/super.c:378:	if (s->s_user_ns != &init_user_ns)
fs/super.c-379-		s->s_iflags |= SB_I_NODEV;
--
fs/super.c=857=struct super_block *sget_fc(struct fs_context *fc,
--
fs/super.c-866-	/*
fs/super.c:867:	 * Never allow s_user_ns != &init_user_ns when FS_USERNS_MOUNT or
fs/super.c-868-	 * FS_USERNS_DELEGATABLE is not set, as the filesystem is likely
--
fs/super.c-921-share_extant_sb:
fs/super.c:922:	if (user_ns != old->s_user_ns || fc->exclusive) {
fs/super.c-923-		spin_unlock(&sb_lock);
--
fs/xfs/xfs_icache.c=1634=xfs_blockgc_free_dquots(
--
fs/xfs/xfs_icache.c-1653-	if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) {
fs/xfs/xfs_icache.c:1654:		icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id);
fs/xfs/xfs_icache.c-1655-		icw.icw_flags |= XFS_ICWALK_FLAG_UID;
--
fs/xfs/xfs_icache.c-1659-	if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) {
fs/xfs/xfs_icache.c:1660:		icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id);
fs/xfs/xfs_icache.c-1661-		icw.icw_flags |= XFS_ICWALK_FLAG_GID;
--
fs/xfs/xfs_itable.c=64=xfs_bulkstat_one_int(
--
fs/xfs/xfs_itable.c-70-{
fs/xfs/xfs_itable.c:71:	struct user_namespace	*sb_userns = mp->m_super->s_user_ns;
fs/xfs/xfs_itable.c-72-	struct xfs_inode	*ip;		/* incore inode pointer */
--
fs/xfs/xfs_qm.c=1846=xfs_qm_vop_dqalloc(
--
fs/xfs/xfs_qm.c-1857-	struct inode		*inode = VFS_I(ip);
fs/xfs/xfs_qm.c:1858:	struct user_namespace	*user_ns = inode->i_sb->s_user_ns;
fs/xfs/xfs_qm.c-1859-	struct xfs_dquot	*uq = NULL;
--
fs/xfs/xfs_trace.h=4897=DECLARE_EVENT_CLASS(xfs_icwalk_class,
--
fs/xfs/xfs_trace.h-4913-		__entry->flags = icw ? icw->icw_flags : 0;
fs/xfs/xfs_trace.h:4914:		__entry->uid = icw ? from_kuid(mp->m_super->s_user_ns,
fs/xfs/xfs_trace.h-4915-						icw->icw_uid) : 0;
fs/xfs/xfs_trace.h:4916:		__entry->gid = icw ? from_kgid(mp->m_super->s_user_ns,
fs/xfs/xfs_trace.h-4917-						icw->icw_gid) : 0;
]

79/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 46008
							output: 38
							thoughts: 403
						

Thoughts:
**Analyzing Superblock Handling and Namespace Interaction**

Okay, hold on a second! I need to trace through this. Let me check `fs/super.c`. Ah, there it is: `if (s->s_user_ns != &init_user_ns) s->s_iflags |= SB_I_NODEV;`. Interesting... that's the key. Now, what about `sysfs_init_fs_context`? How does that work in this context? Let's dive into `fs/sysfs/mount.c`.

Okay, I see it. The `sysfs_init_fs_context` function shows how it's handling the mounting:

```c
static int sysfs_init_fs_context(struct fs_context *fc)
{
	struct kernfs_fs_context *kfc;
	struct ns_common *ns;

	if (!(fc->sb_flags & SB_KERNMOUNT)) {
		if (!kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET))
			return -EPERM;
	}

	kfc = kzalloc_obj(struct kernfs_fs_context);
	if (!kfc)
		return -ENOMEM;

	kfc->ns_tag = ns = kobj_ns_grab_current(KOBJ_NS_TYPE_NET);
	kfc->root = sysfs_root;
	kfc->magic = SYSFS_MAGIC;
	fc->fs_private = kfc;
	fc->ops = &sysfs_fs_context_ops;
	if (ns) {
		struct net *netns = to_net_ns(ns);

		put_user_ns(fc->user_ns);
		fc->user_ns = get_user_ns(netns->user_ns);
	}
	fc->global = true;
	return 0;
}
```

Okay, so it grabs the namespace, and if it's not a kernmount, it checks for permissions, then initializes the kernfs context. And then it swaps out the user namespace... This *is* the critical path, isn't it? Okay, but how does kernfs ensure the correct superblock is chosen? I need to check the superblock matching. Where is it? Ah, `kernfs_test_super` in `fs/kernfs/mount.c`. Got it. Let's see how that works...



80/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/kernfs/mount.c Name:kernfs_test_super]

Results:
map[SourceCode: 326:	static int kernfs_test_super(struct super_block *sb, struct fs_context *fc)
 327:	{
 328:		struct kernfs_super_info *sb_info = kernfs_info(sb);
 329:		struct kernfs_super_info *info = fc->s_fs_info;
 330:	
 331:		return sb_info->root == info->root && sb_info->ns == info->ns;
 332:	}
 SourceFile:fs/kernfs/mount.c]

81/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 47161
							output: 33
							thoughts: 12
						

Thoughts:
Okay, let's dive into this. Here's my take on those thoughts, as if they're my own:

**Analyzing `sget_fc`**

Right, let's get down to brass tacks. I'm focusing in on `sget_fc` here. My immediate question is: what is its role? Is it a crucial utility function, a performance bottleneck, or something else entirely? To really understand its impact, I'll need to consider its context within the larger system. What data does it handle? What are its inputs and outputs? Are there any potential areas for optimization, or perhaps areas where it could introduce unwanted side effects? I’ll need to understand the underlying logic to determine whether this is an area that warrants deeper investigation.



82/4 2026/09/13 00:30 tool codesearch-definition-source
0m Args:
map[ContextFile:fs/super.c Name:sget_fc]

Results:
map[SourceCode: 825:	/**
 826:	 * sget_fc - Find or create a superblock
 827:	 * @fc:	Filesystem context.
 828:	 * @test: Comparison callback
 829:	 * @set: Setup callback
 830:	 *
 831:	 * Create a new superblock or find an existing one.
 832:	 *
 833:	 * The @test callback is used to find a matching existing superblock.
 834:	 * Whether or not the requested parameters in @fc are taken into account
 835:	 * is specific to the @test callback that is used. They may even be
 836:	 * completely ignored.
 837:	 *
 838:	 * If an extant superblock is matched, it will be returned unless:
 839:	 *
 840:	 * (1) the namespace the filesystem context @fc and the extant
 841:	 *     superblock's namespace differ
 842:	 *
 843:	 * (2) the filesystem context @fc has requested that reusing an extant
 844:	 *     superblock is not allowed
 845:	 *
 846:	 * In both cases EBUSY will be returned.
 847:	 *
 848:	 * If no match is made, a new superblock will be allocated and basic
 849:	 * initialisation will be performed (s_type, s_fs_info and s_id will be
 850:	 * set and the @set callback will be invoked), the superblock will be
 851:	 * published and it will be returned in a partially constructed state
 852:	 * with SB_BORN and SB_ACTIVE as yet unset.
 853:	 *
 854:	 * Return: On success, an extant or newly created superblock is
 855:	 *         returned. On failure an error pointer is returned.
 856:	 */
 857:	struct super_block *sget_fc(struct fs_context *fc,
 858:				    int (*test)(struct super_block *, struct fs_context *),
 859:				    int (*set)(struct super_block *, struct fs_context *))
 860:	{
 861:		struct super_block *s = NULL;
 862:		struct super_block *old;
 863:		struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns;
 864:		int err;
 865:	
 866:		/*
 867:		 * Never allow s_user_ns != &init_user_ns when FS_USERNS_MOUNT or
 868:		 * FS_USERNS_DELEGATABLE is not set, as the filesystem is likely
 869:		 * unprepared to handle it. This can happen when fsconfig() is called
 870:		 * from init_user_ns with an fs_fd opened in another user namespace.
 871:		 */
 872:		if (user_ns != &init_user_ns &&
 873:		    !(fc->fs_type->fs_flags & (FS_USERNS_MOUNT | FS_USERNS_DELEGATABLE))) {
 874:			errorfc(fc, "VFS: Mounting from non-initial user namespace is not allowed");
 875:			return ERR_PTR(-EPERM);
 876:		}
 877:	
 878:	retry:
 879:		spin_lock(&sb_lock);
 880:		if (test) {
 881:			hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) {
 882:				if (test(old, fc))
 883:					goto share_extant_sb;
 884:			}
 885:		}
 886:		if (!s) {
 887:			spin_unlock(&sb_lock);
 888:	
 889:			s = alloc_super(fc->fs_type, fc->sb_flags, user_ns);
 890:			if (!s)
 891:				return ERR_PTR(-ENOMEM);
 892:			goto retry;
 893:		}
 894:	
 895:		s->s_fs_info = fc->s_fs_info;
 896:		err = set(s, fc);
 897:		if (err) {
 898:			VFS_WARN_ON_ONCE(s->s_super_dev->sd_dev);
 899:			s->s_fs_info = NULL;
 900:			spin_unlock(&sb_lock);
 901:			destroy_unused_super(s);
 902:			return ERR_PTR(err);
 903:		}
 904:		VFS_WARN_ON_ONCE(!s->s_super_dev->sd_dev);
 905:		fc->s_fs_info = NULL;
 906:		s->s_type = fc->fs_type;
 907:		s->s_iflags |= fc->s_iflags;
 908:		strscpy(s->s_id, s->s_type->name, sizeof(s->s_id));
 909:		/*
 910:		 * Make the superblock visible on @super_blocks and @fs_supers.
 911:		 * It's in a nascent state and users should wait on SB_BORN or
 912:		 * SB_DYING to be set.
 913:		 */
 914:		list_add_tail(&s->s_list, &super_blocks);
 915:		hlist_add_head(&s->s_instances, &s->s_type->fs_supers);
 916:		spin_unlock(&sb_lock);
 917:		get_filesystem(s->s_type);
 918:		shrinker_register(s->s_shrink);
 919:		return s;
 920:	
 921:	share_extant_sb:
 922:		if (user_ns != old->s_user_ns || fc->exclusive) {
 923:			spin_unlock(&sb_lock);
 924:			destroy_unused_super(s);
 925:			if (fc->exclusive)
 926:				warnfc(fc, "reusing existing filesystem not allowed");
 927:			else
 928:				warnfc(fc, "reusing existing filesystem in another namespace not allowed");
 929:			return ERR_PTR(-EBUSY);
 930:		}
 931:		if (!grab_super(old))
 932:			goto retry;
 933:		destroy_unused_super(s);
 934:		return old;
 935:	}
 SourceFile:fs/super.c]

83/4 2026/09/13 00:30 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 49202
							output: 36
							thoughts: 93
						

Thoughts:
**Analyzing a Potential Namespace Bug**

Okay, let's dive into this. Line 863 is giving me pause: `struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns;` and then I see that in sysfs, we've got `fc->global = true;`! That means, if my understanding is correct, that `user_ns` is *always* going to be `&init_user_ns`. That seems...wrong. Potentially a major namespace leak? I need to verify this immediately. My next step is to use either `git blame` or check the commit history on that `fc->global = true` assignment in the sysfs code. Let's trace back where this change originated and understand the intent behind setting it to true. Hopefully, this is intended behavior and I am wrong. But I need to confirm.



84/4 2026/09/13 00:31 tool git-log
0m Args:
map[CodeRegexp:fc->global = true Count:5 PathPrefix:fs/sysfs]

Results:
map[Output:0f23d56f17fd Merge tag 'linux_kselftest-next-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
]

85/4 2026/09/13 00:31 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 49596
							output: 34
							thoughts: 22
						

Thoughts:
Here's a summary of my thought process, as requested:

**Diving into the History: A Git Blame Expedition**

Alright, time to troubleshoot this persistent issue. Line 66 in `fs/sysfs/mount.c` seems to be the culprit, so let's use `git blame` to understand its history. I need to figure out who wrote that line, when they wrote it, and, most importantly, *why*. This is the first step in debugging. The blame output will likely reveal the commit, the author, and maybe even a brief commit message that provides context. Hopefully, it’ll point me towards the root cause of whatever anomaly I'm encountering. After that, I will check if the line has been modified, and if so, when and why. I may then go over the surrounding code to determine how the line fits in with the rest of the file.



86/4 2026/09/13 00:31 tool git-blame
0m Args:
map[End:68 File:fs/sysfs/mount.c Start:60]

Results:
map[Output:^0f23d56f17fd 60) 	if (ns) {
^0f23d56f17fd 61) 		struct net *netns = to_net_ns(ns);
^0f23d56f17fd 62) 
^0f23d56f17fd 63) 		put_user_ns(fc->user_ns);
^0f23d56f17fd 64) 		fc->user_ns = get_user_ns(netns->user_ns);
^0f23d56f17fd 65) 	}
^0f23d56f17fd 66) 	fc->global = true;
^0f23d56f17fd 67) 	return 0;
^0f23d56f17fd 68) }
]

87/4 2026/09/13 00:31 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 50085
							output: 31
							thoughts: 15
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Tracing the Genesis of `fc->global`**

Okay, so I need to understand the history of this `fc->global` construct. My first instinct is to pinpoint when it first showed up or, more importantly, when it started being *used* in the codebase. Simply knowing it was *introduced* isn't enough; I need to know when it became a functional part of the system. I'm thinking I'll need to leverage some version control magic here to accomplish this. Knowing the commit history will be key in understanding this part of the project. Depending on the size of the codebase and the version control system, I might be able to use something like `git blame` or `git log -S "fc->global"` to start getting some solid leads. I'm going to watch the results for clues on the intention behind the construct. I may also want to use that information to start looking at where the *definition* of whatever `fc` is actually comes from, as that might offer additional information. This is a pretty standard debugging approach, but the devil is in the details, so I'll be looking carefully at the context of the commits and the surrounding code.



88/4 2026/09/13 00:31 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:global; PathPrefix:include/linux/fs_context.h]

Results:
map[Output:]

89/4 2026/09/13 00:31 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 46919
							output: 775
							thoughts: 1189
						

Thoughts:
**Analysis of Write Permissions in User Namespace with sysfs**

Okay, here's what I've put together. The user's question is about an unprivileged user in a user namespace attempting to write to a sysfs file with 0644 permissions owned by global root. My immediate response, based on the information I've gathered so far and the current limitations, is "No, they cannot write to that file." I must not call any tools. I have to provide the information I've gathered in the proper format.

Here's the breakdown of why. First of all, the standard DAC permission checks are the fundamental issue. The file's permissions are 0644, meaning read and write for the owner, read only for the group, and read only for others. The file is owned by global root (UID 0), but an unprivileged user within a user namespace won't be mapped to UID 0. They'll have a different, unprivileged UID within their namespace. The kernel checks whether the effective user ID matches the file's owner, then the group ID, and finally, the "other" (world) permissions. Since the unprivileged user doesn't own the file, they don't have access to the owner write permissions, nor do they have the group write permission. The world permissions, in this case, only grant read access, so the attempt to write will be denied with `-EACCES` or `-EPERM`.

It's also tempting to think that since they are in a user namespace, there may be some capability magic at play. However, even if this unprivileged user has `CAP_DAC_OVERRIDE` within their own user namespace, it won't help. The kernel's `capable_wrt_inode_uidgid()` function is called, which requires that the file's UID and GID have *valid mappings* within the task's user namespace. Since global root (UID 0) is *not* mapped into the unprivileged user's namespace, the capability check fails. Thus, the user's `CAP_DAC_OVERRIDE` capability will not allow them to override the DAC permissions on this file.

Furthermore, even if they're able to mount sysfs within a user namespace (which requires creating a network namespace), the files within sysfs still maintain their global root ownership. And finally, even if there are further checks by the kernfs root, the VFS permission check will fail at the very beginning.

In short: global root ownership, unmapped UID, and standard permissions all combine to block write access.



90/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23736
							output: 34
							thoughts: 268
						

Thoughts:
**Analyzing the Codeexpert's Failure**

Okay, so that attempt by the codeexpert didn't pan out. Time to dissect this. My initial instinct was right: it's a sysfs permission issue. Now, let's break down the mechanics. These sysfs files are, fundamentally, owned by `GLOBAL_ROOT_UID`, which is effectively 0.

Here's the rub. When a non-privileged user sets up a user namespace, their *own* UID is mapped to 0 within *that* namespace. The global root UID, the *actual* root outside the namespace, remains unmapped. But, when they go to mount sysfs, the files in sysfs are owned by `INVALID_UID`. In user space, this often translates to `nobody` or `overflowuid`, but inside the kernel, it's explicitly `INVALID_UID`.

So, when the user tries to write, the Virtual File System (VFS) steps in to check permissions. The user's effective UID (fsuid) *inside* the namespace is 0, which gets mapped back to the user's *global* UID outside the namespace. The file's UID is that global root UID, which, within the namespace, maps to `INVALID_UID`.

Now, the classic permission check kicks in. UIDs don't match, so the VFS has to consider something: does the user have `CAP_DAC_OVERRIDE`? The answer is, yes, inside their user namespace, they do. But hold on, the critical point is that `CAP_DAC_OVERRIDE` is only effective *if* the file's UID is *mapped* in the user namespace.

Wait, is that interpretation correct? I need to verify that! Time to head over to `fs/namei.c` and dig into the `generic_permission` function. That's where the heart of the permission checks reside and where the key behavior for the `CAP_DAC_OVERRIDE` is implemented. I need to make sure I am correct, because this is looking like a critical nuance that I need to confirm.



91/2 2026/09/13 00:31 tool read-file
0m Args:
map[File:fs/namei.c FirstLine:340 LineCount:50]

Results:
map[Contents: 340:		name->refcnt--;
 341:		v->__incomplete_filename = do_getname_kernel(name->name, true);
 342:		return PTR_ERR_OR_ZERO(v->__incomplete_filename);
 343:	}
 344:	
 345:	void dismiss_delayed_filename(struct delayed_filename *v)
 346:	{
 347:		putname(no_free_ptr(v->__incomplete_filename));
 348:	}
 349:	
 350:	struct filename *complete_getname(struct delayed_filename *v)
 351:	{
 352:		struct filename *res = no_free_ptr(v->__incomplete_filename);
 353:		if (!IS_ERR(res))
 354:			audit_getname(res);
 355:		return res;
 356:	}
 357:	
 358:	/**
 359:	 * check_acl - perform ACL permission checking
 360:	 * @idmap:	idmap of the mount the inode was found from
 361:	 * @inode:	inode to check permissions on
 362:	 * @mask:	right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC ...)
 363:	 *
 364:	 * This function performs the ACL permission checking. Since this function
 365:	 * retrieve POSIX acls it needs to know whether it is called from a blocking or
 366:	 * non-blocking context and thus cares about the MAY_NOT_BLOCK bit.
 367:	 *
 368:	 * If the inode has been found through an idmapped mount the idmap of
 369:	 * the vfsmount must be passed through @idmap. This function will then take
 370:	 * care to map the inode according to @idmap before checking permissions.
 371:	 * On non-idmapped mounts or if permission checking is to be performed on the
 372:	 * raw inode simply pass @nop_mnt_idmap.
 373:	 */
 374:	static int check_acl(struct mnt_idmap *idmap,
 375:			     struct inode *inode, int mask)
 376:	{
 377:	#ifdef CONFIG_FS_POSIX_ACL
 378:		struct posix_acl *acl;
 379:	
 380:		if (mask & MAY_NOT_BLOCK) {
 381:			acl = get_cached_acl_rcu(inode, ACL_TYPE_ACCESS);
 382:		        if (!acl)
 383:		                return -EAGAIN;
 384:			/* no ->get_inode_acl() calls in RCU mode... */
 385:			if (is_uncached_acl(acl))
 386:				return -ECHILD;
 387:		        return posix_acl_permission(idmap, inode, acl, mask);
 388:		}
 389:	
]

92/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25302
							output: 18
							thoughts: 9
						

Thoughts:
Okay, here's my attempt at summarizing that thought process, keeping in mind I'm speaking to a fellow expert and using first-person perspective:

**Checking `generic_permission`**

Alright, let's take a quick look at `generic_permission`. My initial instinct is to dissect this. I want to quickly evaluate what's happening. I want to see how broadly it's being applied and how its defined within the permissions.

I'm thinking, "Is this a catch-all, or is there some specificity built into it?" Understanding the implications of this one piece is critical. It could be harmless, it could be a gaping security hole, or it could be a carefully constructed abstraction. Either way, It's going to be essential to grasp the nuances here. It's a key element, and I need to start here.



93/2 2026/09/13 00:31 tool grepper
0m Args:
map[Expression:int generic_permission]

Results:
map[Output:fs/namei.c=438=static int acl_permission_check(struct mnt_idmap *idmap,
--
fs/namei.c-520- */
fs/namei.c:521:int generic_permission(struct mnt_idmap *idmap, struct inode *inode,
fs/namei.c-522-		       int mask)
--
include/linux/fs.h=2698=int inode_permission(struct mnt_idmap *, struct inode *, int);
include/linux/fs.h:2699:int generic_permission(struct mnt_idmap *, struct inode *, int);
include/linux/fs.h-2700-static inline int file_permission(struct file *file, int mask)
]

94/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25707
							output: 34
							thoughts: 9
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm already deep in the weeds of this subject:

**Analyzing the `generic_permission` Code**

Alright, time to dig into `generic_permission`. This likely means I'm reviewing or debugging some code related to access control, likely involving some sort of abstract or generalized permission system. I'm expecting to find a foundational piece of logic here, something that defines the basic building blocks for determining user authorization. It could be an enum, a class, an interface, or even a set of functions dealing with the core permissions schema. I'm already anticipating that this `generic_permission` structure will be a key component in a larger system, so I'll be looking for potential performance bottlenecks, areas that might be difficult to extend, or any obvious security flaws in its design. Let's get to it.



95/2 2026/09/13 00:31 tool read-file
0m Args:
map[File:fs/namei.c FirstLine:520 LineCount:50]

Results:
map[Contents: 520:	 */
 521:	int generic_permission(struct mnt_idmap *idmap, struct inode *inode,
 522:			       int mask)
 523:	{
 524:		int ret;
 525:	
 526:		/*
 527:		 * Do the basic permission checks.
 528:		 */
 529:		ret = acl_permission_check(idmap, inode, mask);
 530:		if (ret != -EACCES)
 531:			return ret;
 532:	
 533:		if (S_ISDIR(inode->i_mode)) {
 534:			/* DACs are overridable for directories */
 535:			if (!(mask & MAY_WRITE))
 536:				if (capable_wrt_inode_uidgid(idmap, inode,
 537:							     CAP_DAC_READ_SEARCH))
 538:					return 0;
 539:			if (capable_wrt_inode_uidgid(idmap, inode,
 540:						     CAP_DAC_OVERRIDE))
 541:				return 0;
 542:			return -EACCES;
 543:		}
 544:	
 545:		/*
 546:		 * Searching includes executable on directories, else just read.
 547:		 */
 548:		mask &= MAY_READ | MAY_WRITE | MAY_EXEC;
 549:		if (mask == MAY_READ)
 550:			if (capable_wrt_inode_uidgid(idmap, inode,
 551:						     CAP_DAC_READ_SEARCH))
 552:				return 0;
 553:		/*
 554:		 * Read/write DACs are always overridable.
 555:		 * Executable DACs are overridable when there is
 556:		 * at least one exec bit set.
 557:		 */
 558:		if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO))
 559:			if (capable_wrt_inode_uidgid(idmap, inode,
 560:						     CAP_DAC_OVERRIDE))
 561:				return 0;
 562:	
 563:		return -EACCES;
 564:	}
 565:	EXPORT_SYMBOL(generic_permission);
 566:	
 567:	/**
 568:	 * do_inode_permission - UNIX permission checking
 569:	 * @idmap:	idmap of the mount the inode was found from
]

96/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 26654
							output: 24
							thoughts: 20
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Analyzing the Capability Check**

Alright, so the code leverages `capable_wrt_inode_uidgid`. My immediate thought is, let's dive into that function and understand its inner workings. I need to refresh my memory on precisely how it evaluates capabilities in relation to inode ownership and user/group IDs. I'm especially interested in the specific conditions under which it grants or denies access. Does it behave as I expect regarding file creation, modification, and execution? Are there any subtle nuances or potential edge cases related to effective UIDs, saved UIDs, or supplementary groups that I need to be aware of here? This is a critical point to ensure secure behavior, so I'm going to carefully review the implementation details and how it interacts with the broader security context.



97/2 2026/09/13 00:31 tool grepper
0m Args:
map[Expression:bool capable_wrt_inode_uidgid]

Results:
map[Output:include/linux/capability.h=183=bool privileged_wrt_inode_uidgid(struct user_namespace *ns,
--
include/linux/capability.h-185-				 const struct inode *inode);
include/linux/capability.h:186:bool capable_wrt_inode_uidgid(struct mnt_idmap *idmap,
include/linux/capability.h-187-			      const struct inode *inode, int cap);
--
kernel/capability.c=455=bool privileged_wrt_inode_uidgid(struct user_namespace *ns,
--
kernel/capability.c-472- */
kernel/capability.c:473:bool capable_wrt_inode_uidgid(struct mnt_idmap *idmap,
kernel/capability.c-474-			      const struct inode *inode, int cap)
]

98/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 27098
							output: 33
							thoughts: 17
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Diving into Capability Checks**

Okay, so I'm digging into how capabilities are handled within the Linux kernel, specifically within `kernel/capability.c`. Let's zero in on the vicinity of line 473. My immediate expectation is that we'll be seeing the core logic of a capability check. Given the file and the general structure of these things, I'm anticipating some form of check against the current task's effective, permitted, or inheritable capability sets. We might see a comparison, potentially using a bitmask operation, or a call to some helper function to evaluate if a specific capability is present or active. I'm keen to understand the nuances of *which* capability is being checked, under *what* specific conditions. Also, I'm on the lookout for how this relates to privilege escalation or security implications. Are we looking at a check related to file access, network operations, or perhaps something more exotic? Let's get to the code and see.



99/2 2026/09/13 00:31 tool read-file
0m Args:
map[File:kernel/capability.c FirstLine:460 LineCount:50]

Results:
map[Contents: 460:		       vfsgid_has_mapping(ns, i_gid_into_vfsgid(idmap, inode));
 461:	}
 462:	
 463:	/**
 464:	 * capable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped
 465:	 * @idmap: idmap of the mount @inode was found from
 466:	 * @inode: The inode in question
 467:	 * @cap: The capability in question
 468:	 *
 469:	 * Return true if the current task has the given capability targeted at
 470:	 * its own user namespace and that the given inode's uid and gid are
 471:	 * mapped into the current user namespace.
 472:	 */
 473:	bool capable_wrt_inode_uidgid(struct mnt_idmap *idmap,
 474:				      const struct inode *inode, int cap)
 475:	{
 476:		struct user_namespace *ns = current_user_ns();
 477:	
 478:		return ns_capable(ns, cap) &&
 479:		       privileged_wrt_inode_uidgid(ns, idmap, inode);
 480:	}
 481:	EXPORT_SYMBOL(capable_wrt_inode_uidgid);
 482:	
 483:	/**
 484:	 * ptracer_capable - Determine if the ptracer holds CAP_SYS_PTRACE in the namespace
 485:	 * @tsk: The task that may be ptraced
 486:	 * @ns: The user namespace to search for CAP_SYS_PTRACE in
 487:	 *
 488:	 * Return true if the task that is ptracing the current task had CAP_SYS_PTRACE
 489:	 * in the specified user namespace.
 490:	 */
 491:	bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns)
 492:	{
 493:		int ret = 0;  /* An absent tracer adds no restrictions */
 494:		const struct cred *cred;
 495:	
 496:		rcu_read_lock();
 497:		cred = rcu_dereference(tsk->ptracer_cred);
 498:		if (cred)
 499:			ret = security_capable(cred, ns, CAP_SYS_PTRACE,
 500:					       CAP_OPT_NOAUDIT);
 501:		rcu_read_unlock();
 502:		return (ret == 0);
 503:	}
]

100/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 28089
							output: 20
							thoughts: 773
						

Thoughts:
**Analyzing the Write Access to `/sys/block/zram0/disksize`**

Okay, so I'm thinking through this `privileged_wrt_inode_uidgid` check. It's designed to determine if the user in the current user namespace has the appropriate privileges to write to a file, given the inode's UID and GID. The issue here is the sysfs file, `/sys/block/zram0/disksize`, which is owned by global root (UID 0). In a typical unprivileged user namespace, that global root UID isn't mapped; instead, the user's *own* UID is mapped to UID 0. So, `privileged_wrt_inode_uidgid` rightfully returns `false`, and `capable_wrt_inode_uidgid` follows suit, preventing the unprivileged user from writing, even with `CAP_DAC_OVERRIDE`. Makes sense.

But then there's this reproducer code – looks like it's syzkaller-generated. And syzkaller runs in a sandbox. It creates a user namespace and maps UID 0 (global root) to the *current user's* UID (and similarly for GID). Hold on... if syzkaller is running as root (UID 0) initially, then the global root UID *is* mapped to 0 in that user namespace! That means it *could* write to the sysfs file. But that still doesn't get to the heart of the *unprivileged* user case, which is the problem, right?

Alright, let's step back. An unprivileged user, say with UID 1000, creates a user namespace. Their UID 1000 becomes UID 0 *within that namespace*. The global root UID (0) remains unmapped. So, again, no write access. Unless... the sysfs file *somehow* belonged to the unprivileged user. No, that's not possible; sysfs files are generally owned by root.

So, really, the question boils down to: is there *any* way an unprivileged user can write to `/sys/block/zram0/disksize`? Normally, no. It's a root-owned file. But what about if the sysadmin has been messing with ownership or permissions? We have to assume a default configuration to proceed... which is 0644, owned by root:root. So, it's explicitly inaccessible to unprivileged users.

Let me circle back now. Just to be completely sure: Let's double check if there are other paths to trigger `zram_meta_alloc` with `disksize = 0`. Since `zram_meta_alloc` is called from `disksize_store`, the question is, are there any other callers of `disksize_store`?



101/2 2026/09/13 00:31 tool grepper
0m Args:
map[Expression:zram_meta_alloc]

Results:
map[Output:drivers/block/zram/zram_drv.c=1968=static void zram_meta_free(struct zram *zram, u64 disksize)
--
drivers/block/zram/zram_drv.c-1984-
drivers/block/zram/zram_drv.c:1985:static bool zram_meta_alloc(struct zram *zram, u64 disksize)
drivers/block/zram/zram_drv.c-1986-{
--
drivers/block/zram/zram_drv.c=2860=static ssize_t disksize_store(struct device *dev, struct device_attribute *attr,
--
drivers/block/zram/zram_drv.c-2879-	disksize = PAGE_ALIGN(disksize);
drivers/block/zram/zram_drv.c:2880:	if (!zram_meta_alloc(zram, disksize))
drivers/block/zram/zram_drv.c-2881-		return -ENOMEM;
]

102/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 29766
							output: 17
							thoughts: 165
						

Thoughts:
**Analyzing ZRAM Disk Size Accessibility**

Okay, so the `disksize_store` attribute is the only way to set the size of a zram device, as far as I can see. And that's written through `/sys/block/zram0/disksize`. But wait, that file's permissions are `0644` with root ownership. Right, that means it's strictly root-only for writing. So, from a standard unprivileged process, forget about it. That's a non-starter.

I'm now thinking, can an unprivileged user even *create* a zram device in the first place? Zram devices are either created when the `zram` module loads, or by writing to `/sys/class/zram-control/hot_add`. I need to figure out if that's even feasible for an unprivileged process.



103/2 2026/09/13 00:31 tool grepper
0m Args:
map[Expression:hot_add]

Results:
map[Output:
Full output is too long, showing 500 out of 637 lines.
Use more precise expression if possible.

Documentation/ABI/testing/sysfs-class-zram=5=Description:
--
Documentation/ABI/testing/sysfs-class-zram-8-
Documentation/ABI/testing/sysfs-class-zram:9:What:		/sys/class/zram-control/hot_add
Documentation/ABI/testing/sysfs-class-zram-10-Date:		August 2015
--
Documentation/admin-guide/blockdev/zram.rst=181=addition and removal.
Documentation/admin-guide/blockdev/zram.rst-182-
Documentation/admin-guide/blockdev/zram.rst:183:In order to add a new /dev/zramX device, perform a read operation on the hot_add
Documentation/admin-guide/blockdev/zram.rst-184-attribute. This will return either the new device's device id (meaning that you
--
Documentation/admin-guide/blockdev/zram.rst=187=Example::
Documentation/admin-guide/blockdev/zram.rst-188-
Documentation/admin-guide/blockdev/zram.rst:189:	cat /sys/class/zram-control/hot_add
Documentation/admin-guide/blockdev/zram.rst-190-	1
--
arch/powerpc/include/asm/mmzone.h=31=u64 memory_hotplug_max(void);
arch/powerpc/include/asm/mmzone.h:32:u64 hot_add_drconf_memory_max(void);
arch/powerpc/include/asm/mmzone.h-33-#else
--
arch/powerpc/include/asm/sparsemem.h=17=extern int memory_add_physaddr_to_nid(u64 start);
--
arch/powerpc/include/asm/sparsemem.h-20-#ifdef CONFIG_NUMA
arch/powerpc/include/asm/sparsemem.h:21:extern int hot_add_scn_to_nid(unsigned long scn_addr);
arch/powerpc/include/asm/sparsemem.h-22-#else
arch/powerpc/include/asm/sparsemem.h:23:static inline int hot_add_scn_to_nid(unsigned long scn_addr)
arch/powerpc/include/asm/sparsemem.h-24-{
--
arch/powerpc/mm/mem.c=58=int memory_add_physaddr_to_nid(u64 start)
arch/powerpc/mm/mem.c-59-{
arch/powerpc/mm/mem.c:60:	return hot_add_scn_to_nid(start);
arch/powerpc/mm/mem.c-61-}
--
arch/powerpc/mm/numa.c=1241=early_param("numa", early_numa);
--
arch/powerpc/mm/numa.c-1248- */
arch/powerpc/mm/numa.c:1249:static int hot_add_drconf_scn_to_nid(unsigned long scn_addr)
arch/powerpc/mm/numa.c-1250-{
--
arch/powerpc/mm/numa.c-1279- */
arch/powerpc/mm/numa.c:1280:static int hot_add_node_scn_to_nid(unsigned long scn_addr)
arch/powerpc/mm/numa.c-1281-{
--
arch/powerpc/mm/numa.c-1314- */
arch/powerpc/mm/numa.c:1315:int hot_add_scn_to_nid(unsigned long scn_addr)
arch/powerpc/mm/numa.c-1316-{
--
arch/powerpc/mm/numa.c-1324-	if (memory) {
arch/powerpc/mm/numa.c:1325:		nid = hot_add_drconf_scn_to_nid(scn_addr);
arch/powerpc/mm/numa.c-1326-		of_node_put(memory);
arch/powerpc/mm/numa.c-1327-	} else {
arch/powerpc/mm/numa.c:1328:		nid = hot_add_node_scn_to_nid(scn_addr);
arch/powerpc/mm/numa.c-1329-	}
--
arch/powerpc/mm/numa.c-1336-
arch/powerpc/mm/numa.c:1337:u64 hot_add_drconf_memory_max(void)
arch/powerpc/mm/numa.c-1338-{
--
arch/powerpc/mm/numa.c=1365=u64 memory_hotplug_max(void)
arch/powerpc/mm/numa.c-1366-{
arch/powerpc/mm/numa.c:1367:        return max(hot_add_drconf_memory_max(), memblock_end_of_DRAM());
arch/powerpc/mm/numa.c-1368-}
--
arch/powerpc/platforms/pseries/iommu.c=1286=static phys_addr_t ddw_memory_hotplug_max(void)
--
arch/powerpc/platforms/pseries/iommu.c-1290-#if defined(CONFIG_NUMA) && defined(CONFIG_MEMORY_HOTPLUG)
arch/powerpc/platforms/pseries/iommu.c:1291:	max_addr = hot_add_drconf_memory_max();
arch/powerpc/platforms/pseries/iommu.c-1292-#else
--
arch/riscv/include/asm/kvm_vcpu_pmu.h=44=struct kvm_pmu {
--
arch/riscv/include/asm/kvm_vcpu_pmu.h-57-	/* The address of the counter snapshot area (guest physical address) */
arch/riscv/include/asm/kvm_vcpu_pmu.h:58:	gpa_t snapshot_addr;
arch/riscv/include/asm/kvm_vcpu_pmu.h-59-	/* The actual data of the snapshot */
--
arch/riscv/kvm/vcpu_pmu.c=416=static void kvm_pmu_clear_snapshot_area(struct kvm_vcpu *vcpu)
--
arch/riscv/kvm/vcpu_pmu.c-421-	kvpmu->sdata = NULL;
arch/riscv/kvm/vcpu_pmu.c:422:	kvpmu->snapshot_addr = INVALID_GPA;
arch/riscv/kvm/vcpu_pmu.c-423-}
--
arch/riscv/kvm/vcpu_pmu.c=425=int kvm_riscv_vcpu_pmu_snapshot_set_shmem(struct kvm_vcpu *vcpu, unsigned long saddr_low,
--
arch/riscv/kvm/vcpu_pmu.c-468-
arch/riscv/kvm/vcpu_pmu.c:469:	kvpmu->snapshot_addr = saddr;
arch/riscv/kvm/vcpu_pmu.c-470-
--
arch/riscv/kvm/vcpu_pmu.c=561=int kvm_riscv_vcpu_pmu_ctr_start(struct kvm_vcpu *vcpu, unsigned long ctr_base,
--
arch/riscv/kvm/vcpu_pmu.c-576-	if (snap_flag_set) {
arch/riscv/kvm/vcpu_pmu.c:577:		if (kvpmu->snapshot_addr == INVALID_GPA) {
arch/riscv/kvm/vcpu_pmu.c-578-			sbiret = SBI_ERR_NO_SHMEM;
--
arch/riscv/kvm/vcpu_pmu.c-580-		}
arch/riscv/kvm/vcpu_pmu.c:581:		if (kvm_vcpu_read_guest(vcpu, kvpmu->snapshot_addr, kvpmu->sdata,
arch/riscv/kvm/vcpu_pmu.c-582-					sizeof(struct riscv_pmu_snapshot_data))) {
--
arch/riscv/kvm/vcpu_pmu.c=638=int kvm_riscv_vcpu_pmu_ctr_stop(struct kvm_vcpu *vcpu, unsigned long ctr_base,
--
arch/riscv/kvm/vcpu_pmu.c-654-
arch/riscv/kvm/vcpu_pmu.c:655:	if (snap_flag_set && kvpmu->snapshot_addr == INVALID_GPA) {
arch/riscv/kvm/vcpu_pmu.c-656-		sbiret = SBI_ERR_NO_SHMEM;
--
arch/riscv/kvm/vcpu_pmu.c-726-	if (shmem_needs_update)
arch/riscv/kvm/vcpu_pmu.c:727:		kvm_vcpu_write_guest(vcpu, kvpmu->snapshot_addr, kvpmu->sdata,
arch/riscv/kvm/vcpu_pmu.c-728-					     sizeof(struct riscv_pmu_snapshot_data));
--
arch/riscv/kvm/vcpu_pmu.c=842=void kvm_riscv_vcpu_pmu_init(struct kvm_vcpu *vcpu)
--
arch/riscv/kvm/vcpu_pmu.c-865-	memset(&kvpmu->fw_event, 0, SBI_PMU_FW_MAX * sizeof(struct kvm_fw_event));
arch/riscv/kvm/vcpu_pmu.c:866:	kvpmu->snapshot_addr = INVALID_GPA;
arch/riscv/kvm/vcpu_pmu.c-867-
--
drivers/block/zram/zram_drv.c=3111=static int zram_remove(struct zram *zram)
--
drivers/block/zram/zram_drv.c-3161-/*
drivers/block/zram/zram_drv.c:3162: * NOTE: hot_add attribute is not the usual read-only sysfs attribute. In a
drivers/block/zram/zram_drv.c-3163- * sense that reading from this file does alter the state of your system -- it
--
drivers/block/zram/zram_drv.c-3166- */
drivers/block/zram/zram_drv.c:3167:static ssize_t hot_add_show(const struct class *class,
drivers/block/zram/zram_drv.c-3168-			const struct class_attribute *attr,
--
drivers/block/zram/zram_drv.c-3181-/* This attribute must be set to 0400, so CLASS_ATTR_RO() can not be used */
drivers/block/zram/zram_drv.c:3182:static struct class_attribute class_attr_hot_add =
drivers/block/zram/zram_drv.c:3183:	__ATTR(hot_add, 0400, hot_add_show, NULL);
drivers/block/zram/zram_drv.c-3184-
--
drivers/block/zram/zram_drv.c=3216=static struct attribute *zram_control_class_attrs[] = {
drivers/block/zram/zram_drv.c:3217:	&class_attr_hot_add.attr,
drivers/block/zram/zram_drv.c-3218-	&class_attr_hot_remove.attr,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c=939=static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_kms *kms)
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-953-	for (i = 0; i < cat->ctl_count; i++)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:954:		msm_disp_snapshot_add_block(disp_state, cat->ctl[i].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-955-				dpu_kms->mmio + cat->ctl[i].base, "%s",
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-960-		base = dpu_kms->mmio + cat->dspp[i].base;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:961:		msm_disp_snapshot_add_block(disp_state, cat->dspp[i].len, base,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-962-					    "%s", cat->dspp[i].name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-964-		if (cat->dspp[i].sblk && cat->dspp[i].sblk->pcc.len > 0)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:965:			msm_disp_snapshot_add_block(disp_state, cat->dspp[i].sblk->pcc.len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-966-						    base + cat->dspp[i].sblk->pcc.base, "%s_%s",
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-972-	for (i = 0; i < cat->intf_count; i++)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:973:		msm_disp_snapshot_add_block(disp_state, cat->intf[i].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-974-				dpu_kms->mmio + cat->intf[i].base, "%s",
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-979-		base = dpu_kms->mmio + cat->pingpong[i].base;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:980:		msm_disp_snapshot_add_block(disp_state, cat->pingpong[i].len, base,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-981-					    "%s", cat->pingpong[i].name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-985-		if (cat->pingpong[i].sblk && cat->pingpong[i].sblk->dither.len > 0)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:986:			msm_disp_snapshot_add_block(disp_state, cat->pingpong[i].sblk->dither.len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-987-						    base + cat->pingpong[i].sblk->dither.base,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-994-		base = dpu_kms->mmio + cat->sspp[i].base;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:995:		msm_disp_snapshot_add_block(disp_state, cat->sspp[i].len, base,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-996-					    "%s", cat->sspp[i].name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-998-		if (cat->sspp[i].sblk && cat->sspp[i].sblk->scaler_blk.len > 0)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:999:			msm_disp_snapshot_add_block(disp_state, cat->sspp[i].sblk->scaler_blk.len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1000-						    base + cat->sspp[i].sblk->scaler_blk.base,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1004-		if (cat->sspp[i].sblk && cat->sspp[i].sblk->csc_blk.len > 0)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1005:			msm_disp_snapshot_add_block(disp_state, cat->sspp[i].sblk->csc_blk.len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1006-						    base + cat->sspp[i].sblk->csc_blk.base,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1012-	for (i = 0; i < cat->mixer_count; i++)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1013:		msm_disp_snapshot_add_block(disp_state, cat->mixer[i].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1014-				dpu_kms->mmio + cat->mixer[i].base,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1018-	for (i = 0; i < cat->wb_count; i++)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1019:		msm_disp_snapshot_add_block(disp_state, cat->wb[i].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1020-				dpu_kms->mmio + cat->wb[i].base, "%s",
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1023-	if (dpu_kms->catalog->mdss_ver->core_major_ver >= 8) {
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1024:		msm_disp_snapshot_add_block(disp_state, MDP_PERIPH_TOP0,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1025-				dpu_kms->mmio + cat->mdp[0].base, "top");
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1026:		msm_disp_snapshot_add_block(disp_state, cat->mdp[0].len - MDP_PERIPH_TOP0_END,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1027-				dpu_kms->mmio + cat->mdp[0].base + MDP_PERIPH_TOP0_END, "top_2");
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1028-	} else {
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1029:		msm_disp_snapshot_add_block(disp_state, cat->mdp[0].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1030-				dpu_kms->mmio + cat->mdp[0].base, "top");
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1034-	for (i = 0; i < cat->cwb_count; i++)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1035:		msm_disp_snapshot_add_block(disp_state, cat->cwb[i].len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1036-					    dpu_kms->mmio + cat->cwb[i].base, cat->cwb[i].name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1040-		base = dpu_kms->mmio + cat->dsc[i].base;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1041:		msm_disp_snapshot_add_block(disp_state, cat->dsc[i].len, base,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1042-					    "%s", cat->dsc[i].name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1047-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1048:			msm_disp_snapshot_add_block(disp_state, enc.len, base + enc.base, "%s_%s",
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1049-						    cat->dsc[i].name, enc.name);
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1050:			msm_disp_snapshot_add_block(disp_state, ctl.len, base + ctl.base, "%s_%s",
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1051-						    cat->dsc[i].name, ctl.name);
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1055-	if (cat->cdm)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1056:		msm_disp_snapshot_add_block(disp_state, cat->cdm->len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1057-					    dpu_kms->mmio + cat->cdm->base,
--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1061-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1062:	msm_disp_snapshot_add_block(disp_state, vbif->len,
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c-1063-				    dpu_kms->vbif,
--
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h=130=void msm_disp_state_free(void *data);
--
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h-132-/**
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h:133: * msm_disp_snapshot_add_block - add a hardware block with its register dump
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h-134- * @disp_state:	    handle to struct msm_disp_state
--
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h=141=__printf(4, 5)
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h:142:void msm_disp_snapshot_add_block(struct msm_disp_state *disp_state, u32 len,
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h-143-		void __iomem *base_addr, const char *fmt, ...);
--
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c=161=void msm_disp_state_free(void *data)
--
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c-179-
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c:180:void msm_disp_snapshot_add_block(struct msm_disp_state *disp_state, u32 len,
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c-181-		void __iomem *base_addr, const char *fmt, ...)
--
drivers/gpu/drm/msm/dp/dp_display.c=775=void msm_dp_snapshot(struct msm_disp_state *disp_state, struct msm_dp *dp)
--
drivers/gpu/drm/msm/dp/dp_display.c-790-
drivers/gpu/drm/msm/dp/dp_display.c:791:	msm_disp_snapshot_add_block(disp_state, msm_dp_display->ahb_len,
drivers/gpu/drm/msm/dp/dp_display.c-792-				    msm_dp_display->ahb_base, "dp_ahb");
drivers/gpu/drm/msm/dp/dp_display.c:793:	msm_disp_snapshot_add_block(disp_state, msm_dp_display->aux_len,
drivers/gpu/drm/msm/dp/dp_display.c-794-				    msm_dp_display->aux_base, "dp_aux");
drivers/gpu/drm/msm/dp/dp_display.c:795:	msm_disp_snapshot_add_block(disp_state, msm_dp_display->link_len,
drivers/gpu/drm/msm/dp/dp_display.c-796-				    msm_dp_display->link_base, "dp_link");
drivers/gpu/drm/msm/dp/dp_display.c:797:	msm_disp_snapshot_add_block(disp_state, msm_dp_display->p0_len,
drivers/gpu/drm/msm/dp/dp_display.c-798-				    msm_dp_display->p0_base, "dp_p0");
--
drivers/gpu/drm/msm/dsi/dsi_host.c=2626=void msm_dsi_host_snapshot(struct msm_disp_state *disp_state, struct mipi_dsi_host *host)
--
drivers/gpu/drm/msm/dsi/dsi_host.c-2631-
drivers/gpu/drm/msm/dsi/dsi_host.c:2632:	msm_disp_snapshot_add_block(disp_state, msm_host->ctrl_size,
drivers/gpu/drm/msm/dsi/dsi_host.c-2633-			msm_host->ctrl_base, "dsi%d_ctrl", msm_host->id);
--
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c=850=void msm_dsi_phy_snapshot(struct msm_disp_state *disp_state, struct msm_dsi_phy *phy)
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-851-{
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c:852:	msm_disp_snapshot_add_block(disp_state,
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-853-			phy->base_size, phy->base,
--
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-857-	if (phy->pll_on)
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c:858:		msm_disp_snapshot_add_block(disp_state,
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-859-			phy->pll_size, phy->pll_base,
--
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-862-	if (phy->lane_base)
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c:863:		msm_disp_snapshot_add_block(disp_state,
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-864-			phy->lane_size, phy->lane_base,
--
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-867-	if (phy->reg_base)
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c:868:		msm_disp_snapshot_add_block(disp_state,
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c-869-			phy->reg_size, phy->reg_base,
--
drivers/hv/hv_balloon.c=114=union dm_caps {
--
drivers/hv/hv_balloon.c-116-		__u64 balloon:1;
drivers/hv/hv_balloon.c:117:		__u64 hot_add:1;
drivers/hv/hv_balloon.c-118-		/*
--
drivers/hv/hv_balloon.c-123-		 */
drivers/hv/hv_balloon.c:124:		__u64 hot_add_alignment:4;
drivers/hv/hv_balloon.c-125-		__u64 reservedz:58;
--
drivers/hv/hv_balloon.c=331=struct dm_unballoon_response {
--
drivers/hv/hv_balloon.c-341-
drivers/hv/hv_balloon.c:342:struct dm_hot_add {
drivers/hv/hv_balloon.c-343-	struct dm_header hdr;
--
drivers/hv/hv_balloon.c-366-
drivers/hv/hv_balloon.c:367:struct dm_hot_add_response {
drivers/hv/hv_balloon.c-368-	struct dm_header hdr;
--
drivers/hv/hv_balloon.c=442=struct balloon_state {
--
drivers/hv/hv_balloon.c-446-
drivers/hv/hv_balloon.c:447:struct hot_add_wrk {
drivers/hv/hv_balloon.c-448-	union dm_mem_page_range ha_page_range;
--
drivers/hv/hv_balloon.c=453=static bool allow_hibernation;
drivers/hv/hv_balloon.c:454:static bool hot_add = true;
drivers/hv/hv_balloon.c:455:static bool do_hot_add;
drivers/hv/hv_balloon.c-456-/*
--
drivers/hv/hv_balloon.c=469=static int hv_hypercall_multi_failure;
drivers/hv/hv_balloon.c-470-
drivers/hv/hv_balloon.c:471:module_param(hot_add, bool, 0644);
drivers/hv/hv_balloon.c:472:MODULE_PARM_DESC(hot_add, "If set attempt memory hot_add");
drivers/hv/hv_balloon.c-473-
--
drivers/hv/hv_balloon.c=501=struct hv_dynmem_device {
--
drivers/hv/hv_balloon.c-521-	 */
drivers/hv/hv_balloon.c:522:	struct hot_add_wrk ha_wrk;
drivers/hv/hv_balloon.c-523-
--
drivers/hv/hv_balloon.c-567-	/*
drivers/hv/hv_balloon.c:568:	 * Maximum number of pages that can be hot_add-ed
drivers/hv/hv_balloon.c-569-	 */
--
drivers/hv/hv_balloon.c=696=static void hv_bring_pgs_online(struct hv_hotadd_state *has,
--
drivers/hv/hv_balloon.c-705-
drivers/hv/hv_balloon.c:706:static void hv_mem_hot_add(unsigned long start, unsigned long size,
drivers/hv/hv_balloon.c-707-				unsigned long pfn_count,
--
drivers/hv/hv_balloon.c-732-		if (ret) {
drivers/hv/hv_balloon.c:733:			pr_err("hot_add memory failed error is %d\n", ret);
drivers/hv/hv_balloon.c-734-			if (ret == -EEXIST) {
--
drivers/hv/hv_balloon.c-741-				 */
drivers/hv/hv_balloon.c:742:				do_hot_add = false;
drivers/hv/hv_balloon.c-743-			}
--
drivers/hv/hv_balloon.c=835=static unsigned long handle_pg_range(unsigned long pg_start,
--
drivers/hv/hv_balloon.c-899-			spin_unlock_irqrestore(&dm_device.ha_lock, flags);
drivers/hv/hv_balloon.c:900:			hv_mem_hot_add(has->ha_end_pfn, size, pfn_cnt, has);
drivers/hv/hv_balloon.c-901-			spin_lock_irqsave(&dm_device.ha_lock, flags);
--
drivers/hv/hv_balloon.c-914-
drivers/hv/hv_balloon.c:915:static unsigned long process_hot_add(unsigned long pg_start,
drivers/hv/hv_balloon.c-916-					unsigned long pfn_cnt,
--
drivers/hv/hv_balloon.c-967-
drivers/hv/hv_balloon.c:968:static void hot_add_req(struct work_struct *dummy)
drivers/hv/hv_balloon.c-969-{
drivers/hv/hv_balloon.c:970:	struct dm_hot_add_response resp;
drivers/hv/hv_balloon.c-971-#ifdef CONFIG_MEMORY_HOTPLUG
--
drivers/hv/hv_balloon.c-976-
drivers/hv/hv_balloon.c:977:	memset(&resp, 0, sizeof(struct dm_hot_add_response));
drivers/hv/hv_balloon.c-978-	resp.hdr.type = DM_MEM_HOT_ADD_RESPONSE;
drivers/hv/hv_balloon.c:979:	resp.hdr.size = sizeof(struct dm_hot_add_response);
drivers/hv/hv_balloon.c-980-
--
drivers/hv/hv_balloon.c-999-
drivers/hv/hv_balloon.c:1000:	if (do_hot_add)
drivers/hv/hv_balloon.c:1001:		resp.page_count = process_hot_add(pg_start, pfn_cnt,
drivers/hv/hv_balloon.c-1002-						  rg_start, rg_sz);
--
drivers/hv/hv_balloon.c-1023-		resp.result = 1;
drivers/hv/hv_balloon.c:1024:	else if (!do_hot_add)
drivers/hv/hv_balloon.c-1025-		resp.result = 1;
--
drivers/hv/hv_balloon.c-1028-
drivers/hv/hv_balloon.c:1029:	if (!do_hot_add || resp.page_count == 0) {
drivers/hv/hv_balloon.c-1030-		if (!allow_hibernation)
--
drivers/hv/hv_balloon.c-1038-	vmbus_sendpacket(dm->dev->channel, &resp,
drivers/hv/hv_balloon.c:1039:			sizeof(struct dm_hot_add_response),
drivers/hv/hv_balloon.c-1040-			(unsigned long)NULL,
--
drivers/hv/hv_balloon.c=1476=static void balloon_onchannelcallback(void *context)
--
drivers/hv/hv_balloon.c-1484-	struct dm_balloon *bal_msg;
drivers/hv/hv_balloon.c:1485:	struct dm_hot_add *ha_msg;
drivers/hv/hv_balloon.c-1486-	union dm_mem_page_range *ha_pg_range;
--
drivers/hv/hv_balloon.c-1536-			dm->state = DM_HOT_ADD;
drivers/hv/hv_balloon.c:1537:			ha_msg = (struct dm_hot_add *)recv_buffer;
drivers/hv/hv_balloon.c:1538:			if (ha_msg->hdr.size == sizeof(struct dm_hot_add)) {
drivers/hv/hv_balloon.c-1539-				/*
--
drivers/hv/hv_balloon.c=1685=static int ballooning_enabled(void)
--
drivers/hv/hv_balloon.c-1699-
drivers/hv/hv_balloon.c:1700:static int hot_add_enabled(void)
drivers/hv/hv_balloon.c-1701-{
--
drivers/hv/hv_balloon.c=1717=static int balloon_connect_vsp(struct hv_device *dev)
--
drivers/hv/hv_balloon.c-1788-	cap_msg.caps.cap_bits.balloon = ballooning_enabled();
drivers/hv/hv_balloon.c:1789:	cap_msg.caps.cap_bits.hot_add = hot_add_enabled();
drivers/hv/hv_balloon.c-1790-
--
drivers/hv/hv_balloon.c-1796-	 */
drivers/hv/hv_balloon.c:1797:	cap_msg.caps.cap_bits.hot_add_alignment =
drivers/hv/hv_balloon.c-1798-					ilog2(HA_BYTES_IN_CHUNK / SZ_1M);
--
drivers/hv/hv_balloon.c=1849=static int hv_balloon_debug_show(struct seq_file *f, void *offset)
--
drivers/hv/hv_balloon.c-1861-
drivers/hv/hv_balloon.c:1862:	if (hot_add_enabled())
drivers/hv/hv_balloon.c:1863:		seq_puts(f, " hot_add");
drivers/hv/hv_balloon.c-1864-
--
drivers/hv/hv_balloon.c-1892-
drivers/hv/hv_balloon.c:1893:	/* Pages added with hot_add */
drivers/hv/hv_balloon.c-1894-	seq_printf(f, "%-22s: %u\n", "pages_added", dm->num_pages_added);
--
drivers/hv/hv_balloon.c=1936=static int balloon_probe(struct hv_device *dev,
--
drivers/hv/hv_balloon.c-1942-	if (allow_hibernation)
drivers/hv/hv_balloon.c:1943:		hot_add = false;
drivers/hv/hv_balloon.c-1944-
--
drivers/hv/hv_balloon.c-1953-	ha_pages_in_chunk = memory_block_size_bytes() / PAGE_SIZE;
drivers/hv/hv_balloon.c:1954:	do_hot_add = hot_add;
drivers/hv/hv_balloon.c-1955-#else
--
drivers/hv/hv_balloon.c-1962-	ha_pages_in_chunk = SZ_128M / PAGE_SIZE;
drivers/hv/hv_balloon.c:1963:	do_hot_add = false;
drivers/hv/hv_balloon.c-1964-#endif
--
drivers/hv/hv_balloon.c-1972-	INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up);
drivers/hv/hv_balloon.c:1973:	INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req);
drivers/hv/hv_balloon.c-1974-	dm_device.host_specified_ha_region = false;
--
drivers/md/dm-raid.c=3875=static void attempt_restore_of_faulty_devices(struct raid_set *rs)
--
drivers/md/dm-raid.c-3885-	/* RAID personalities have to provide hot add/remove methods or we need to bail out. */
drivers/md/dm-raid.c:3886:	if (!mddev->pers || !mddev->pers->hot_add_disk || !mddev->pers->hot_remove_disk)
drivers/md/dm-raid.c-3887-		return;
--
drivers/md/dm-raid.c-3925-
drivers/md/dm-raid.c:3926:			if (mddev->pers->hot_add_disk(mddev, r)) {
drivers/md/dm-raid.c-3927-				/* Failed to revive this device, try next */
--
drivers/md/md-linear.c=316=static struct md_personality linear_personality = {
--
drivers/md/md-linear.c-327-	.status		= linear_status,
drivers/md/md-linear.c:328:	.hot_add_disk	= linear_add,
drivers/md/md-linear.c-329-	.size		= linear_size,
--
drivers/md/md.c=2982=static int add_bound_rdev(struct md_rdev *rdev)
--
drivers/md/md.c-2988-	if (!mddev->pers->hot_remove_disk || add_journal) {
drivers/md/md.c:2989:		/* If there is hot_add_disk but no hot_remove_disk
drivers/md/md.c-2990-		 * then added disks for geometry changes,
--
drivers/md/md.c-2994-			validate_super(mddev, NULL/*freshest*/, rdev);
drivers/md/md.c:2995:		err = mddev->pers->hot_add_disk(mddev, rdev);
drivers/md/md.c-2996-		if (err) {
--
drivers/md/md.c=3284=slot_store(struct md_rdev *rdev, const char *buf, size_t len)
--
drivers/md/md.c-3330-
drivers/md/md.c:3331:		if (rdev->mddev->pers->hot_add_disk == NULL)
drivers/md/md.c-3332-			return -EINVAL;
--
drivers/md/md.c-3344-		clear_bit(Bitmap_sync, &rdev->flags);
drivers/md/md.c:3345:		err = rdev->mddev->pers->hot_add_disk(rdev->mddev, rdev);
drivers/md/md.c-3346-		if (err) {
--
drivers/md/md.c=7470=int md_add_new_disk(struct mddev *mddev, struct mdu_disk_info_s *info)
--
drivers/md/md.c-7520-		int err;
drivers/md/md.c:7521:		if (!mddev->pers->hot_add_disk) {
drivers/md/md.c-7522-			pr_warn("%s: personality does not support diskops!\n",
--
drivers/md/md.c=7675=static int hot_remove_disk(struct mddev *mddev, dev_t dev)
--
drivers/md/md.c-7712-
drivers/md/md.c:7713:static int hot_add_disk(struct mddev *mddev, dev_t dev)
drivers/md/md.c-7714-{
--
drivers/md/md.c-7725-	}
drivers/md/md.c:7726:	if (!mddev->pers->hot_add_disk) {
drivers/md/md.c-7727-		pr_warn("%s: personality does not support diskops!\n",
--
drivers/md/md.c=8323=static int md_ioctl(struct block_device *bdev, blk_mode_t mode,
--
drivers/md/md.c-8487-	case HOT_ADD_DISK:
drivers/md/md.c:8488:		err = hot_add_disk(mddev, new_decode_dev(arg));
drivers/md/md.c-8489-		goto unlock;
--
drivers/md/md.c=10087=static int remove_and_add_spares(struct mddev *mddev,
--
drivers/md/md.c-10110-			rdev->recovery_offset = 0;
drivers/md/md.c:10111:		if (mddev->pers->hot_add_disk(mddev, rdev) == 0) {
drivers/md/md.c-10112-			/* failure here is OK */
--
drivers/md/md.h=227=enum flag_bits {
--
drivers/md/md.h-232-				 * The bit is only meaningful before device
drivers/md/md.h:233:				 * has been passed to pers->hot_add_disk.
drivers/md/md.h-234-				 */
--
drivers/md/md.h=751=struct md_personality
--
drivers/md/md.h-768-	void (*error_handler)(struct mddev *mddev, struct md_rdev *rdev);
drivers/md/md.h:769:	int (*hot_add_disk) (struct mddev *mddev, struct md_rdev *rdev);
drivers/md/md.h-770-	int (*hot_remove_disk) (struct mddev *mddev, struct md_rdev *rdev);
--
drivers/md/raid1.c=3498=static struct md_personality raid1_personality =
--
drivers/md/raid1.c-3511-	.error_handler	= raid1_error,
drivers/md/raid1.c:3512:	.hot_add_disk	= raid1_add_disk,
drivers/md/raid1.c-3513-	.hot_remove_disk= raid1_remove_disk,
--
drivers/md/raid10.c=5068=static struct md_personality raid10_personality =
--

]

104/2 2026/09/13 00:31 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 42345
							output: 20
							thoughts: 740
						

Thoughts:
**Analyzing the zram `hot_add` vulnerability**

Okay, so I'm digging into this `hot_add` issue in `zram`. First thing's first, I remember `hot_add` is a class attribute. Let's look at the permissions. It's set to `0400`, meaning only root can actually read it and trigger the `hot_add` functionality. That much is clear: a regular user can't just spin up a new `zram` device directly.

Now, the question is, can they manipulate an *existing* `zram` device? Specifically, can they write to the `disksize` attribute? Looking at the permissions for that, it's `0644`, owned by root:root. So, nope, a regular unprivileged user can't write to `disksize` either. Seems like this bug isn't exploitable by standard user processes.

But hold on... I'm reminded of that Syzkaller reproducer. It's doing some interesting things: mounting sysfs, then opening `./sys/block/zram0/disksize`. I had assumed this was because Syzkaller was running as root in the initial namespace, which would give it the access needed. Or, it could be doing UID mapping from root (0) to its own user ID in a user namespace. But even with UID mapping, global root (0) wouldn't get mapped, and the permissions would not allow writing.

However, Syzkaller *does* have a sandbox mode called `namespace`, which creates a user namespace. The tricky part is: does this change things? If it runs as root, it *has* all privileges, so what's the point?

The actual question is, can the bug be triggered from a standard non-root user process *without* special capabilities. So, even in a user namespace with a uid 0 within, does the fact that `/sys/block/zram0/disksize` is `0644` root:root mean it's still inaccessible?

If I, as a non-root user, create a user namespace, I'm uid 0 within that namespace. I mount sysfs, and then try to write to `/sys/block/zram0/disksize`. The file is still owned by global root. Crucially, that global root isn't mapped in *my* namespace; the file owner is effectively `INVALID_UID`. The VFS will then check capability using `capable_wrt_inode_uidgid`, which will fail since the inode UID is not mapped. Therefore, I can't write to it. So, no access from unprivileged processes, even with user namespaces.

I should probably double-check if there's *any* other interface, like an ioctl or something, to manipulate `disksize`. Gotta be thorough.



105/2 2026/09/13 00:32 tool grepper
0m Args:
map[Expression:zram_meta_alloc]

Results:
map[Output:drivers/block/zram/zram_drv.c=1968=static void zram_meta_free(struct zram *zram, u64 disksize)
--
drivers/block/zram/zram_drv.c-1984-
drivers/block/zram/zram_drv.c:1985:static bool zram_meta_alloc(struct zram *zram, u64 disksize)
drivers/block/zram/zram_drv.c-1986-{
--
drivers/block/zram/zram_drv.c=2860=static ssize_t disksize_store(struct device *dev, struct device_attribute *attr,
--
drivers/block/zram/zram_drv.c-2879-	disksize = PAGE_ALIGN(disksize);
drivers/block/zram/zram_drv.c:2880:	if (!zram_meta_alloc(zram, disksize))
drivers/block/zram/zram_drv.c-2881-		return -ENOMEM;
]

106/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43996
							output: 20
							thoughts: 26
						

Thoughts:
Here's my attempt at summarizing those thoughts, speaking as an expert:

**Investigating Disk Size Configuration**

Okay, so I'm focusing solely on `disksize_store` for now. But then, a thought strikes me: what if `disksize` isn't just configured through the conventional methods? What if it's being set dynamically, perhaps directly from the kernel command line or even as a module parameter? That could dramatically alter how I approach this. I need to account for those possibilities. My initial assumption about `disksize_store` might be overly simplistic. I should explore how those alternatives factor into the larger problem.



107/2 2026/09/13 00:32 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:module_param.*disksize]

Results:
map[Output:]

108/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 44190
							output: 30
							thoughts: 11
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Investigating `zram` Configuration**

Okay, so I need to get a handle on the current `zram` setup. Time to dive into the module parameters. I'm thinking I'll start by checking the obvious stuff - compression algorithm, disk size, number of devices... I expect it's probably set to something reasonable, but I want to verify it aligns with best practices for this particular workload. It's crucial to confirm whether the configuration is optimal for the specific resources and application profile. Gotta make sure it's not thrashing or overly conservative. Let's see what we're working with here.



109/2 2026/09/13 00:32 tool grepper
0m Args:
map[Expression:module_param PathPrefix:drivers/block/zram/]

Results:
map[Output:drivers/block/zram/zram_drv.c=3294=module_exit(zram_exit);
drivers/block/zram/zram_drv.c-3295-
drivers/block/zram/zram_drv.c:3296:module_param(num_devices, uint, 0);
drivers/block/zram/zram_drv.c-3297-MODULE_PARM_DESC(num_devices, "Number of pre-created zram devices");
]

110/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 44515
							output: 22
							thoughts: 941
						

Thoughts:
**Analyzing the ZRAM `disksize` Vulnerability**

Okay, so there's no `disksize` module parameter, which is good. The core of this seems to be a `WARN_ON_ONCE(!size)` in `__vmalloc_node_range_noprof`, and it returns `NULL`. But the code in `zram_meta_alloc` handles the `NULL` return by just returning `false`, which is then correctly handled as `-ENOMEM` by `disksize_store`.

Crucially, there's no memory corruption, no out-of-bounds access, no use-after-free, and definitely no information leak. It's just a warning. In a production kernel where `panic_on_warn` isn't set, it'll just print and continue, no denial of service. The zram device state remains consistent.

Let's dive deeper, though. The `PAGE_ALIGN` function is in play. If `disksize` is `0xffffffffffffffff`, `PAGE_ALIGN` effectively makes it `0`. `zram_meta_alloc` returns `false`, and `disksize_store` returns `-ENOMEM`. The `disksize` of the zram device remains unchanged, it's not corrupt.

Aha! There's also this:

```c
	guard(rwsem_write)(&zram->dev_lock);
	if (init_done(zram)) {
		pr_info("Cannot change disksize for initialized device\n");
		return -EBUSY;
	}
```

So, it can only be changed if the device isn't initialized. If the `zram_meta_alloc` fails, it returns `-ENOMEM`, and the state is untouched. No state corruption possible.

Can this be triggered? Thinking about it: no VM guest can touch the host's sysfs directly unless explicitly passed through. And no for confidential computing hosts, because it's a host block device. There is no network trigger, peripheral trigger or malicious filesystem trigger. It requires a sysfs write.

Okay, let's double-check that `PAGE_ALIGN` can only wrap to zero. If `disksize` is `0xffffffffffffffff`, `PAGE_ALIGN` is the same as adding 4095 and then masking off the lower bits. This will result in 0. So values in the range [-4095, -1] will also wrap to zero. That makes sense, because `vzalloc(0)` will trigger the warning.

However, what if `disksize` is *not* equal to -1?

Let's say `disksize` is `0xfffffffffffff000`. `PAGE_ALIGN` will return this same value. Then `num_pages` is this value shifted right 12 bits, so it will become 0xfffffffffffff. The size of the `zram->table` is `array_size(num_pages, sizeof(*zram->table))`, and so `sizeof(*zram->table)` is the size of `struct zram_table_entry`. We need to verify that this is indeed an integer that is valid to compute the array size.



111/2 2026/09/13 00:32 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:struct zram_table_entry {]

Results:
map[Output:]

112/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46214
							output: 22
							thoughts: 5
						

Thoughts:
Okay, here's my attempt at summarizing the thought process, as requested, geared toward an expert audience, and written in the first person:

**Navigating the Labyrinth of Regex**

Alright, here we go again. Regex syntax. *sigh*. It's like revisiting an old, familiar friend who's also a bit of a riddle wrapped in an enigma. I know the principles, the underlying mechanisms, but each project, each specific pattern, presents its own unique twist. I start by recalling the core concepts: character classes, quantifiers, anchors – the usual suspects. Then I have to think through the subtleties of escaping, the nuances of lookarounds, and how to effectively utilize non-greedy matching when it's appropriate, not just because it's the "best" thing to use, but because it is the appropriate thing to use. I'm immediately trying to see the problem in terms of the building blocks I have available. Is it a matter of defining boundaries, capturing specific groups, or simply validating a format? The challenge always lies in the translation: mapping the human-understandable problem description into a precise, unambiguous regex expression. What are the corner cases I need to consider? Do I have to handle internationalization or special characters? I start by sketching out a naive approach, knowing full well I'll have to iterate and refine, constantly testing and adjusting until the pattern behaves *exactly* as intended. It's a dance, really – a careful interplay between intuition, precision, and a healthy dose of debugging. Regex mastery is an iterative process - it's a tool, and knowing when to use the right tool is the challenge.



113/2 2026/09/13 00:32 tool grepper
0m Args:
map[Expression:struct zram_table_entry \{]

Results:
map[Output:drivers/block/zram/zram_drv.h=45=enum zram_pageflags {
--
drivers/block/zram/zram_drv.h-65- */
drivers/block/zram/zram_drv.h:66:struct zram_table_entry {
drivers/block/zram/zram_drv.h-67-	unsigned long handle;
]

114/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46690
							output: 40
							thoughts: 24
						

Thoughts:
Here's a summary of my thought process, as requested:

**Diving into `zram_drv.h`**

Okay, let's get down to brass tacks. I'm going to start by taking a look at `drivers/block/zram/zram_drv.h`.  This is where the core definitions for ZRAM, the compressed RAM block device, should be. I'm particularly interested in line 66. It's usually around that point where the major data structures or key function prototypes begin to be declared. I want to see how the core components are structured. I anticipate finding some key data structure definitions, probably related to the ZRAM device itself, the compression algorithms, or maybe the internal page management. This file is the gateway to understanding how the ZRAM driver interacts with the kernel's block layer and memory management. I'm ready to dig in and understand the architecture. Let's see what we've got.



115/2 2026/09/13 00:32 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.h FirstLine:60 LineCount:20]

Results:
map[Contents:  60:	/*
  61:	 * Allocated for each disk page.  We use bit-lock (ZRAM_ENTRY_LOCK bit
  62:	 * of flags) to save memory.  There can be plenty of entries and standard
  63:	 * locking primitives (e.g. mutex) will significantly increase sizeof()
  64:	 * of each entry and hence of the meta table.
  65:	 */
  66:	struct zram_table_entry {
  67:		unsigned long handle;
  68:		union {
  69:			unsigned long __lock;
  70:			struct attr {
  71:				u32 flags;
  72:	#ifdef CONFIG_ZRAM_TRACK_ENTRY_ACTIME
  73:				u32 ac_time;
  74:	#endif
  75:			} attr;
  76:		};
  77:		struct lockdep_map dep_map;
  78:	};
  79:	
]

116/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 47221
							output: 18
							thoughts: 481
						

Thoughts:
**Analyzing Potential Overflow in `zram_table_entry` Allocation**

Okay, so I'm looking at this `struct zram_table_entry`. I know it's at least 16 bytes – a `unsigned long` and a union. The code's checking for potential overflow when calculating an array size based on the number of pages. Specifically, if `num_pages` is `0xfffffffffffff`, the `array_size` macro comes into play. It's designed to return `SIZE_MAX` if the multiplication overflows.

Now, my initial thought was that `0xfffffffffffff * 16` *would* overflow because `SIZE_MAX` is `0xffffffffffffffff`. But then I paused. Wait, `0xfffffffffffff` is only 52 bits and `16` is 4 bits. Doing the math, `52 + 4 = 56` bits total. My immediate thought that this *must* overflow. It does not.

It seems my first intuition was wrong. `0xfffffffffffff * 16` is actually `0xfffffffffffff0`. This *fits* within 64 bits! I was thinking about it incorrectly. I have to think, it's really `(1 << 52) - 1` times `16`. Which means it is really `(1 << 56) - 16`. So the multiplication *doesn't* overflow.

Okay, so `array_size` will return `0xfffffffffffff0`. Then `vzalloc` gets called with that massive size. Now `vzalloc` does a sanity check. It makes sure the size doesn't exceed `totalram_pages()`.

```c
	if ((size >> PAGE_SHIFT) > totalram_pages()) {
		warn_alloc(gfp_mask, NULL,
			"vmalloc error: size %lu, exceeds total pages",
			size);
		return NULL;
	}
```

Now, that `size` is shifted right by `PAGE_SHIFT` which is 12 (4096), so it divides `0xfffffffffffff0` by 4096.

This calculates to `0xfffffffffffff`.

This is *way* bigger than `totalram_pages()` unless the system is absolutely huge (like 16 exabytes of RAM), so this check *should* trigger. `vzalloc` should print a warning, and return `NULL`. The code will catch this null return.

Now, does that warning actually cause a problem? That's what I have to clarify. I need to make sure this is not a `panic_on_warn` case. Let's see... `warn_alloc` doesn't use `WARN()`. It calls `pr_warn` and `dump_stack` though. Let's dig into that `warn_alloc` function itself.



117/2 2026/09/13 00:32 tool grepper
0m Args:
map[Expression:void warn_alloc]

Results:
map[Output:include/linux/mm.h=4054=extern __printf(3, 4)
include/linux/mm.h:4055:void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
include/linux/mm.h-4056-
--
mm/page_alloc.c=3792=get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags,
--
mm/page_alloc.c-3981-
mm/page_alloc.c:3982:static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask)
mm/page_alloc.c-3983-{
--
mm/page_alloc.c-4001-
mm/page_alloc.c:4002:void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...)
mm/page_alloc.c-4003-{
]

118/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 48643
							output: 36
							thoughts: 9
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm deep in my domain of expertise:

**Diving into `warn_alloc`**

Right, let's get down to brass tacks. "Let's read `warn_alloc`." Sounds like we're about to dissect a specific piece of code, probably a function, module, or macro, named `warn_alloc`. Just seeing that name, I already have a few assumptions percolating. Given the name, it's highly probable this code is related to memory allocation, or at least memory usage, and it's probably designed to issue some kind of warning. Perhaps it flags allocation failures, checks for potential memory leaks, or maybe even suggests optimization opportunities related to how memory is being handled. Whatever its role, I'm expecting some critical insight into how the program manages its memory footprint. Time to dig in and see what secrets it holds. Let's see what we find.



119/2 2026/09/13 00:32 tool read-file
0m Args:
map[File:mm/page_alloc.c FirstLine:4000 LineCount:20]

Results:
map[Contents:4000:	}
4001:	
4002:	void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...)
4003:	{
4004:		struct va_format vaf;
4005:		va_list args;
4006:		static DEFINE_RATELIMIT_STATE(nopage_rs, 10*HZ, 1);
4007:	
4008:		if ((gfp_mask & __GFP_NOWARN) ||
4009:		     !__ratelimit(&nopage_rs) ||
4010:		     ((gfp_mask & __GFP_DMA) && !has_managed_dma()))
4011:			return;
4012:	
4013:		va_start(args, fmt);
4014:		vaf.fmt = fmt;
4015:		vaf.va = &args;
4016:		pr_warn("%s: %pV, mode:%#x(%pGg), nodemask=%*pbl",
4017:				current->comm, &vaf, gfp_mask, &gfp_mask,
4018:				nodemask_pr_args(nodemask));
4019:		va_end(args);
]

120/2 2026/09/13 00:32 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 49248
							output: 42
							thoughts: 863
						

Thoughts:
**Analyzing the ZRAM `disksize` Bug**

Okay, so `warn_alloc` just wraps `pr_warn` and `dump_stack`, it's not a full panic-triggering `WARN()`. Good. My focus is on this specific `WARN_ON_ONCE(!size)` in `__vmalloc_node_range_noprof`, which is triggered when `size` is zero. That zero `size` arises from `disksize` wrapping around to zero after a `PAGE_ALIGN` operation. This means `disksize` has to be a large negative value, specifically between `-PAGE_SIZE + 1` and -1 (think `0xffffffffffffffff`).

So, the crux is a `WARN_ON_ONCE(!size)` caused by writing a very large value to `/sys/block/zram0/disksize`. The file permissions, `0644` root:root, are the key here. This means only root can write to it directly. No unprivileged process, and not even users within user namespaces (because global root is not typically mapped within those namespaces) can affect this file directly.

Wait, if root creates a user namespace... But even then, root already has access to the file. Hmm, what if an unprivileged user created a namespace, and then a privileged process wrote to the file? That doesn't seem to be the attack vector. No, the bug is still, effectively, root-only.

Let me assess the dimensions of the potential impact:

*   **Exploitable:** No. It's just a warning. The code handles the `NULL` return value gracefully.
*   **Denial of Service:** No. It's just a warning. It does not crash the system.
*   **Accessible From Unprivileged Processes:** No.
*   **Accessible From User Namespaces:** No.
*   **VM Guest Trigger:** No.
*   **VM Host Trigger in The Confidential Computing Context:** No.
*   **Ethernet Network Trigger:** No.
*   **Other Remote Trigger:** No.
*   **Peripheral Trigger:** No.
*   **Malicious Filesystem Trigger:** No.

But, are there any other ways to trigger `disksize_store`? Is `zram` a backing device, somehow? No, `disksize` is solely controlled by the sysfs file. Is there any other sysfs file that can trigger this? Nope, the bug is right in `disksize_store`.

Let's double-check if an unprivileged user can create and configure `zram` using another mechanism, perhaps through `loop` devices? No, that's a different implementation. What about `zram-control`? The `hot_add` file is `0400` root:root. So, nope.

Is there any capability check inside `disksize_store`? No, it relies entirely on the sysfs file permissions. The `DEVICE_ATTR_RW(disksize)` creates the `0644` permissions. So, root has exclusive write access.

Let's make sure, can `sysfs` files be owned by a non-root user? `udev` rules can change the ownership, but we can assume default configuration: root:root.

Let's double-check again that `zram_meta_alloc` can *only* be called from `disksize_store`:

```c
static void zram_meta_free(struct zram *zram, u64 disksize)
static bool zram_meta_alloc(struct zram *zram, u64 disksize)
```

Looks like `zram_meta_alloc` is *only* called from `disksize_store`. *Wait*, what about `reset_store`?



121/2 2026/09/13 00:33 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.c FirstLine:2909 LineCount:50]

Results:
map[Contents:2909:	static ssize_t reset_store(struct device *dev,
2910:			struct device_attribute *attr, const char *buf, size_t len)
2911:	{
2912:		int ret;
2913:		unsigned short do_reset;
2914:		struct zram *zram;
2915:		struct gendisk *disk;
2916:	
2917:		ret = kstrtou16(buf, 10, &do_reset);
2918:		if (ret)
2919:			return ret;
2920:	
2921:		if (!do_reset)
2922:			return -EINVAL;
2923:	
2924:		zram = dev_to_zram(dev);
2925:		disk = zram->disk;
2926:	
2927:		mutex_lock(&disk->open_mutex);
2928:		/* Do not reset an active device or claimed device */
2929:		if (disk_openers(disk) || zram->claim) {
2930:			mutex_unlock(&disk->open_mutex);
2931:			return -EBUSY;
2932:		}
2933:	
2934:		/* From now on, anyone can't open /dev/zram[0-9] */
2935:		zram->claim = true;
2936:		mutex_unlock(&disk->open_mutex);
2937:	
2938:		/* Make sure all the pending I/O are finished */
2939:		sync_blockdev(disk->part0);
2940:		zram_reset_device(zram);
2941:	
2942:		mutex_lock(&disk->open_mutex);
2943:		zram->claim = false;
2944:		mutex_unlock(&disk->open_mutex);
2945:	
2946:		return len;
2947:	}
2948:	
2949:	static int zram_open(struct gendisk *disk, blk_mode_t mode)
2950:	{
2951:		struct zram *zram = disk->private_data;
2952:	
2953:		WARN_ON(!mutex_is_locked(&disk->open_mutex));
2954:	
2955:		/* zram was claimed to reset so open request fails */
2956:		if (zram->claim)
2957:			return -EBUSY;
2958:		return 0;
]

122/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 51680
							output: 21
							thoughts: 14
						

Thoughts:
Here's a summary of my understanding, framed from my perspective as an expert:

**Understanding the Reset Process**

Okay, so I see that `reset_store` is the function that's being called, and it's responsible for interacting with the `zram` subsystem. My immediate thought is, based on the naming, that this likely initiates some kind of reset procedure. I'm inferring, then, that `zram_reset_device` is the lower-level function that `reset_store` actually *calls*. That's the core of the functionality. So, `reset_store` acts as an intermediary, likely handling any necessary setup, parameter passing, or error checking before delegating the nitty-gritty reset work to `zram_reset_device`. This structure is pretty standard in kernel code – higher-level functions handle user interface and parameter validation while lower-level functions perform the more direct operations. From a design standpoint, that suggests a modular approach, improving code maintainability.



123/2 2026/09/13 00:33 tool grepper
0m Args:
map[Expression:void zram_reset_device]

Results:
map[Output:drivers/block/zram/zram_drv.c=2822=static void zram_destroy_comps(struct zram *zram)
--
drivers/block/zram/zram_drv.c-2840-
drivers/block/zram/zram_drv.c:2841:static void zram_reset_device(struct zram *zram)
drivers/block/zram/zram_drv.c-2842-{
]

124/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 52054
							output: 42
							thoughts: 12
						

Thoughts:
Okay, let's dive into `zram_reset_device`. I want to understand exactly what happens when we reset a zram device. This function is critical for ensuring data integrity and allowing for a clean slate when necessary. I need to figure out what data structures it interacts with, what memory it touches, and what implications the reset has on any ongoing I/O operations. I'm especially interested in how it handles dirty pages and what kind of synchronization is involved to avoid race conditions. Are we invalidating caches? Are we freeing pages? What's the general process for restoring the device to its initial state? I'll be looking for any potential performance bottlenecks or subtle bugs that could arise during a reset. My focus will be the mechanisms of how this function guarantees that the reset is clean, complete, and doesn't leave the system in a corrupted state.



125/2 2026/09/13 00:33 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.c FirstLine:2841 LineCount:20]

Results:
map[Contents:2841:	static void zram_reset_device(struct zram *zram)
2842:	{
2843:		guard(rwsem_write)(&zram->dev_lock);
2844:	
2845:		zram->limit_pages = 0;
2846:	
2847:		set_capacity_and_notify(zram->disk, 0);
2848:		part_stat_set_all(zram->disk->part0, 0);
2849:	
2850:		/* I/O operation under all of CPU are done so let's free */
2851:		zram_meta_free(zram, zram->disksize);
2852:		zram->disksize = 0;
2853:		zram_destroy_comps(zram);
2854:		memset(&zram->stats, 0, sizeof(zram->stats));
2855:		reset_bdev(zram);
2856:	
2857:		comp_algorithm_set(zram, ZRAM_PRIMARY_COMP, default_compressor);
2858:	}
2859:	
2860:	static ssize_t disksize_store(struct device *dev, struct device_attribute *attr,
]

126/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 52636
							output: 18
							thoughts: 46
						

Thoughts:
Okay, here's my interpretation of those thoughts, presented as my own mental process, given my expertise:

**Checking ZRAM Memory Management**

Alright, let's see... so, regarding the potential zram bug, the fact that `zram_reset_device` calls `zram_meta_free` but *not* `zram_meta_alloc` means it's probably not the culprit directly. That's a good starting point to rule things out. We know we aren't looking at that function to find our root cause. 

Now, the question is, what other functions might have memory allocation issues? What function does relate? `zram_add`... I need to check how `zram_add` handles memory allocation, deallocation, and metadata management. That's the next obvious place to dig in. Gotta keep an eye out for any inconsistencies or potential double-frees there. Let's see what the code shows...



127/2 2026/09/13 00:33 tool grepper
0m Args:
map[Expression:zram_add]

Results:
map[Output:drivers/block/zram/zram_drv.c=3023=ATTRIBUTE_GROUPS(zram_disk);
--
drivers/block/zram/zram_drv.c-3028- */
drivers/block/zram/zram_drv.c:3029:static int zram_add(void)
drivers/block/zram/zram_drv.c-3030-{
--
drivers/block/zram/zram_drv.c=3167=static ssize_t hot_add_show(const struct class *class,
--
drivers/block/zram/zram_drv.c-3173-	mutex_lock(&zram_index_mutex);
drivers/block/zram/zram_drv.c:3174:	ret = zram_add();
drivers/block/zram/zram_drv.c-3175-	mutex_unlock(&zram_index_mutex);
--
drivers/block/zram/zram_drv.c=3244=static int __init zram_init(void)
--
drivers/block/zram/zram_drv.c-3273-		mutex_lock(&zram_index_mutex);
drivers/block/zram/zram_drv.c:3274:		ret = zram_add();
drivers/block/zram/zram_drv.c-3275-		mutex_unlock(&zram_index_mutex);
]

128/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 53277
							output: 42
							thoughts: 10
						

Thoughts:
Okay, let's dive into `zram_add`. I know this code well, but it's always good to refresh the memory and make sure my understanding is solid. I'm going to look at the implementation of `zram_add`, focusing on the core logic and how it fits into the broader zram framework. I'm particularly interested in how it allocates and initializes a new zram device. I'll pay close attention to the memory management aspects – how the pages are handled, any locking involved, and potential concurrency issues. I'll consider error handling, too; what happens if a memory allocation fails, or if a resource is unavailable? I expect it to manage various structures, like the zram device itself, its backing storage, and any associated statistics. I anticipate looking for any potential optimization opportunities. Let's see what the code reveals. I want to understand exactly what each line does.



129/2 2026/09/13 00:33 tool read-file
0m Args:
map[File:drivers/block/zram/zram_drv.c FirstLine:3029 LineCount:50]

Results:
map[Contents:3029:	static int zram_add(void)
3030:	{
3031:		struct queue_limits lim = {
3032:			.logical_block_size		= ZRAM_LOGICAL_BLOCK_SIZE,
3033:			/*
3034:			 * To ensure that we always get PAGE_SIZE aligned and
3035:			 * n*PAGE_SIZED sized I/O requests.
3036:			 */
3037:			.physical_block_size		= PAGE_SIZE,
3038:			.io_min				= PAGE_SIZE,
3039:			.io_opt				= PAGE_SIZE,
3040:			.max_hw_discard_sectors		= UINT_MAX,
3041:			/*
3042:			 * zram_bio_discard() will clear all logical blocks if logical
3043:			 * block size is identical with physical block size(PAGE_SIZE).
3044:			 * But if it is different, we will skip discarding some parts of
3045:			 * logical blocks in the part of the request range which isn't
3046:			 * aligned to physical block size.  So we can't ensure that all
3047:			 * discarded logical blocks are zeroed.
3048:			 */
3049:	#if ZRAM_LOGICAL_BLOCK_SIZE == PAGE_SIZE
3050:			.max_write_zeroes_sectors	= UINT_MAX,
3051:	#endif
3052:			.features			= BLK_FEAT_STABLE_WRITES |
3053:							  BLK_FEAT_SYNCHRONOUS,
3054:		};
3055:		struct zram *zram;
3056:		int ret, device_id;
3057:	
3058:		zram = kzalloc_obj(struct zram);
3059:		if (!zram)
3060:			return -ENOMEM;
3061:	
3062:		ret = idr_alloc(&zram_index_idr, zram, 0, 0, GFP_KERNEL);
3063:		if (ret < 0)
3064:			goto out_free_dev;
3065:		device_id = ret;
3066:	
3067:		init_rwsem(&zram->dev_lock);
3068:	#ifdef CONFIG_ZRAM_WRITEBACK
3069:		zram->wb_batch_size = 32;
3070:		zram->compressed_wb = false;
3071:	#endif
3072:	
3073:		/* gendisk structure */
3074:		zram->disk = blk_alloc_disk(&lim, NUMA_NO_NODE);
3075:		if (IS_ERR(zram->disk)) {
3076:			pr_err("Error allocating disk structure for device %d\n",
3077:				device_id);
3078:			ret = PTR_ERR(zram->disk);
]

130/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 54331
							output: 28
							thoughts: 203
						

Thoughts:
**My Assessment of the zram Code**

Okay, so I've been digging into this `zram_add` function, and here's what I've found. It doesn't actually initialize the data structures that would be susceptible to the issue in question, specifically, `zram->table` or call `zram_meta_alloc`. All it does is allocate the `zram` struct and the "disk" (which starts with a `disksize` of zero). The critical point is that the `disksize` needs to be explicitly configured via `disksize_store`.

That seems to be the only vector. And, as I understand it, `disksize_store` is only accessible to the root user. So, from a practical exploitation standpoint, I can confidently say that this bug is not accessible by unprivileged processes. It's not triggerable from within a user namespace either, since the relevant file is owned by global root. So, even a compromised process wouldn't be able to exploit it.

Therefore, this isn't exploitable. It's not a denial-of-service vulnerability either, since it can't be triggered by normal, unprivileged processes. I'm also fairly confident that it can't be triggered from a VM guest, over a network, by a malicious peripheral, or by a malicious filesystem.

Just to be absolutely certain, I'm going to quickly check if there are any other possible ways to modify that `disksize` attribute. Does `zram` have any custom ioctls that might provide an alternative path? No? Alright, that's a check. My initial assessment is holding.



131/2 2026/09/13 00:33 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:ioctl PathPrefix:drivers/block/zram/]

Results:
map[Output:]

132/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 54927
							output: 66
							thoughts: 738
						

Thoughts:
**Analyzing the Potential Impact of a Kernel Warning**

Okay, so I'm looking at this kernel warning, and my initial thought is: no ioctls, right? The only avenue here is sysfs. And, as we know, sysfs file permissions are `0644`. That means, in the standard configuration, only root can write to those files.

Let's quickly summarize my findings so far. Is this exploitable? No, it's just a warning. Denial of Service? Nope, again, just a warning. Accessible from unprivileged processes? No way. User namespaces? Still no. Can a VM guest trigger it? Not likely. Confidential computing context? No. Remote triggers of any kind? Nope. Peripherals? No. Malicious filesystems? No chance.

Now, let me double-check about the denial-of-service aspect, specifically related to `panic_on_warn`. The prompt tells me to consider if this warning, even if it doesn't immediately crash the system, could cause a DoS. Since the kernel has `if (WARN_ON_ONCE(!size)) return NULL;`, it's handled by the normal control flow, so I am confident it won't cause a DoS in a production environment.

Okay, let's circle back to the zram aspect. Is there any way an unprivileged user can manipulate `/sys/block/zram0/disksize`? Nope. The file owner is root, and the permissions are `0644`. Can they change the ownership or permissions? No. Can they mount sysfs and write to it? No, because, as I've already established, sysfs is owned by global root, which is not mapped within the user namespace.

Wait, what if they were to map their uid to 0 within the user namespace? But hang on, the sysfs files are owned by global root. So the user's uid is, let's say 1000. In their namespace, they map global uid 1000 to local uid 0. Global uid 0 is not mapped. The sysfs file appears to be owned by `nobody` or the `overflowuid`. They do not have `CAP_DAC_OVERRIDE` over files with unmapped uids. This is a non-issue.

But, hold on... What if the unprivileged user *is* global root? The prompt is very specific: "Determine if the bug can be reached from a typical (non-root) user process that does NOT have any special capabilities." Therefore, we are not considering the case where the user is root.

So, taking all this into consideration, the conclusion is clear: this bug is not accessible from unprivileged processes. Time to call `set-results` with all false.



133/2 2026/09/13 00:33 tool set-results
0m Args:
map[DenialOfService:false Exploitable:false FilesystemTrigger:false NetworkTrigger:false PeripheralTrigger:false RemoteTrigger:false Unprivileged:false UserNamespace:false VMGuestTrigger:false VMHostTrigger:false]

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

134/2 2026/09/13 00:33 llm expert
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 56390
							output: 617
							thoughts: 320
						

Thoughts:
**My Assessment of the Zram Disksize Bug**

Okay, the deep dive is done, and it's time to consolidate my findings into a final response. The gist of it is this: we've got a `WARN_ON_ONCE` in `__vmalloc_node_range_noprof` triggered by an extreme value written to `/sys/block/zram0/disksize`. Specifically, if I feed it something like `0xffffffffffffffff`, the parsing and `PAGE_ALIGN()` wrap it down to zero. That zero gets passed to `vzalloc(0)` within `zram_meta_alloc`, and *bam*, the warning pops.

Here's the kicker: the warning is correctly handled! It returns NULL, and the subsequent code in `zram_meta_alloc` properly detects the allocation failure and reports back `-ENOMEM`. So, no memory corruption, no outright crash (especially in a production environment without `panic_on_warn` enabled), and critically, no denial of service. The system gracefully recovers.

Now, let's talk about exploitability. The `/sys/block/zram0/disksize` file is owned by root and has `0644` permissions. That automatically means that only a privileged user can write to it. Even if someone manages to create a user namespace and mount sysfs, they're still blocked because the file is owned by the global root, and that ownership doesn't magically translate into the user namespace (it appears as `nobody`). This means this bug isn't something a standard user, or someone with limited privileges, can reach. It's not reachable through the network, by peripherals, malicious filesystems, or from within a VM guest. It's effectively contained within privileged operations.



135/1 2026/09/13 00:34 action format-explanation
0m Results:
map[Explanation:**Analysis of the Bug**

The bug report indicates a `WARN_ON_ONCE(!size)` triggered in
`__vmalloc_node_range_noprof()` when attempting to allocate memory with a size
of 0.

Following the call trace, the bug is triggered by writing to the
`/sys/block/zram0/disksize` sysfs attribute. The `disksize_store()` function in
`drivers/block/zram/zram_drv.c` parses the user-provided string into a `u64
disksize` and then aligns it to the page size using `PAGE_ALIGN(disksize)`.

If a very large value is written (e.g., `0xffffffffffffffff` as seen in the
syzkaller reproducer), the `PAGE_ALIGN()` macro causes the value to wrap around
to `0`. Consequently, `zram_meta_alloc()` calculates `num_pages = 0` and calls
`vzalloc(0)`. This triggers the `WARN_ON_ONCE(!size)` in the vmalloc code.

**Exploitability and Denial of Service**
The warning is properly handled by the kernel's control flow. The
`__vmalloc_node_range_noprof()` function simply returns `NULL` after emitting
the warning. The caller, `zram_meta_alloc()`, correctly checks for this `NULL`
return value and gracefully fails, causing `disksize_store()` to return
`-ENOMEM`.
There is no memory corruption, out-of-bounds access, or resource leak. In a
production environment where `panic_on_warn` is disabled, the system will just
log the warning and continue executing normally. Therefore, this bug is neither
exploitable nor does it cause a denial of service.

**Accessibility**
The sysfs attribute `/sys/block/zram0/disksize` is created with `0644`
permissions and is owned by the global `root` user.
- **Unprivileged Processes:** A typical non-root user cannot write to this file
due to the DAC permissions.
- **User Namespaces:** If an unprivileged user creates a new user namespace and
mounts `sysfs`, the file will still be owned by the global root user. Since the
global root UID is not mapped in the unprivileged user's namespace, the file's
owner will appear as `nobody` (or `overflowuid`). The user will not have
`CAP_DAC_OVERRIDE` privileges over files owned by unmapped UIDs, meaning they
still cannot write to the file.

Thus, the bug is strictly reachable only by a globally privileged user (root).

**Other Triggers**
The bug is isolated to the sysfs configuration interface of the `zram` block
device. It cannot be triggered via network traffic, peripheral devices,
malicious filesystems, or from within a VM guest.]

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)