ID Workflow Result Correct Bug Created Started Finished Revision
f9d8f8f3 repro-c Reproduced: ✅ ❓ WARNING: zero-size vmalloc in trace_suspend_resume 2026/09/14 21:11 2026/09/15 00:35 2026/09/15 01:17 81a27d1a
Agent: prod-syz-agent-0
External Bug ID: ---

Inputs:
BaseBranch master
BaseCommit RC
BaseRepository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
BugTitle WARNING: zero-size vmalloc in trace_suspend_resume
CrashLogID 5322555759525888
CrashReportID 6193863158398976
KernelCommit 0f23d56f17fdfc7db69d51f64c8b91bbab947aa9
KernelConfig
Show (282200 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="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=109600
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=220102
CONFIG_RUSTC_LLVM_MAJOR_VERSION=22
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY=y
CONFIG_RUSTC_HAS_SPAN_FILE=y
CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y
CONFIG_RUSTC_HAS_FILE_WITH_NUL=y
CONFIG_RUSTC_HAS_FILE_AS_C_STR=y
CONFIG_PAHOLE_VERSION=130
CONFIG_CONSTRUCTORS=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

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

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

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

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

CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y

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

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

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

CONFIG_CPU_ISOLATION=y

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

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

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

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

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

CONFIG_SYSTEM_DATA_VERIFICATION=y
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y

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

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

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

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

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

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

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

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

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

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

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

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

CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options

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

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

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

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

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

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

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

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

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

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

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

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
# end of Executable file formats

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

#
# Zsmalloc allocator options
#

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# IPVS SH scheduler
#
CONFIG_IP_VS_SH_TAB_BITS=8

#
# IPVS MH scheduler
#
CONFIG_IP_VS_MH_TAB_INDEX=12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Firmware Drivers
#

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# CONFIG_CAN_DEBUG_DEVICES is not set

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

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

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

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

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

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

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

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

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

#
# SPI Multiplexer support
#
# CONFIG_SPI_MUX is not set

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# Watchdog Pretimeout Governors
#

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

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

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

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

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

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

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set

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

CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_DVB_CORE=y

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

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

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

#
# Media drivers
#

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

#
# Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y

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

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

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

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

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

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

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

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

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

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

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

# CONFIG_VIDEO_CAMERA_LENS is not set

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

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

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

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

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

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

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

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

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

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

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

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

CONFIG_MEDIA_TUNER=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_E4000 is not set
# CONFIG_MEDIA_TUNER_FC0011 is not set
# CONFIG_MEDIA_TUNER_FC0012 is not set
# CONFIG_MEDIA_TUNER_FC0013 is not set
# CONFIG_MEDIA_TUNER_FC2580 is not set
# CONFIG_MEDIA_TUNER_IT913X is not set
# CONFIG_MEDIA_TUNER_M88RS6000T is not set
# CONFIG_MEDIA_TUNER_MAX2165 is not set
# CONFIG_MEDIA_TUNER_MC44S803 is not set
CONFIG_MEDIA_TUNER_MSI001=y
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2063 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# CONFIG_MEDIA_TUNER_MT2131 is not set
# CONFIG_MEDIA_TUNER_MT2266 is not set
# CONFIG_MEDIA_TUNER_MXL301RF is not set
# CONFIG_MEDIA_TUNER_MXL5005S is not set
# CONFIG_MEDIA_TUNER_MXL5007T is not set
# CONFIG_MEDIA_TUNER_QM1D1B0004 is not set
# CONFIG_MEDIA_TUNER_QM1D1C0042 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_R820T is not set
# CONFIG_MEDIA_TUNER_SI2157 is not set
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18250 is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# CONFIG_MEDIA_TUNER_TEA5761 is not set
# CONFIG_MEDIA_TUNER_TEA5767 is not set
# CONFIG_MEDIA_TUNER_TUA9001 is not set
# CONFIG_MEDIA_TUNER_XC2028 is not set
# CONFIG_MEDIA_TUNER_XC4000 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# end of Customize TV tuners

#
# Customise DVB Frontends
#

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

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

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_CX24116 is not set
# CONFIG_DVB_CX24117 is not set
# CONFIG_DVB_CX24120 is not set
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_DS3000 is not set
# CONFIG_DVB_MB86A16 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_SI21XX is not set
# CONFIG_DVB_STB6000 is not set
# CONFIG_DVB_STV0288 is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_STV0900 is not set
# CONFIG_DVB_STV6110 is not set
# CONFIG_DVB_TDA10071 is not set
# CONFIG_DVB_TDA10086 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA8261 is not set
# CONFIG_DVB_TDA826X is not set
# CONFIG_DVB_TS2020 is not set
# CONFIG_DVB_TUA6100 is not set
# CONFIG_DVB_TUNER_CX24113 is not set
# CONFIG_DVB_TUNER_ITD1000 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_ZL10036 is not set
# CONFIG_DVB_ZL10039 is not set

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_AF9013=y
CONFIG_DVB_AS102_FE=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_CXD2820R is not set
# CONFIG_DVB_CXD2841ER is not set
CONFIG_DVB_DIB3000MB=y
CONFIG_DVB_DIB3000MC=y
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set
# CONFIG_DVB_DIB9000 is not set
# CONFIG_DVB_DRXD is not set
CONFIG_DVB_EC100=y
CONFIG_DVB_GP8PSK_FE=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_NXT6000 is not set
CONFIG_DVB_RTL2830=y
CONFIG_DVB_RTL2832=y
CONFIG_DVB_RTL2832_SDR=y
# CONFIG_DVB_S5H1432 is not set
# CONFIG_DVB_SI2168 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_STV0367 is not set
# CONFIG_DVB_TDA10048 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_ZD1301_DEMOD is not set
CONFIG_DVB_ZL10353=y
# CONFIG_DVB_CXD2880 is not set

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# Apple
#
# end of Apple

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

#
# Au1x
#
# end of Au1x

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

#
# Cirrus Logic
#
# end of Cirrus Logic

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

#
# Freescale
#

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

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

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

#
# JZ4740
#
# end of JZ4740

#
# Kirkwood
#
# end of Kirkwood

#
# Loongson
#
# end of Loongson

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

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

#
# PXA
#
# end of PXA

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

#
# ST SPEAr
#
# end of ST SPEAr

#
# Spreadtrum
#
# end of Spreadtrum

#
# STMicroelectronics STM32
#
# end of STMicroelectronics STM32

#
# Tegra
#
# end of Tegra

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

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

# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

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

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

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

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

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

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

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

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

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

CONFIG_SURFACE_HID_CORE=y

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

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

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

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

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

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

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

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

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

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

#
# Platform Glue Layer
#

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# Flash and Torch LED drivers
#

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# IIO staging drivers
#

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

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

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

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

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

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

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

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

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

# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set

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

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

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

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

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

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

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

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

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

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

CONFIG_SOUNDWIRE=y

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

#
# SOC (System On Chip) specific Drivers
#

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

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

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

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

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

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

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

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

#
# PM Domains
#

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

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

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

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

# CONFIG_PM_DEVFREQ is not set
CONFIG_EXTCON=y

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# Frequency Synthesizers DDS/PLL
#

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

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

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

#
# Health Sensors
#

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# CONFIG_NTB is not set
# CONFIG_PWM is not set

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

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

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

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

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

# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#
# No trust source selected!
#
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_USER_DECRYPTED_DATA is not set
CONFIG_KEY_DH_OPERATIONS=y
CONFIG_KEY_NOTIFICATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_PROC_MEM_ALWAYS_FORCE is not set
CONFIG_PROC_MEM_FORCE_PTRACE=y
# CONFIG_PROC_MEM_NO_FORCE is not set
CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_INFINIBAND=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set
CONFIG_LSM_MMAP_MIN_ADDR=65536
# CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
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_LANDLOCK_LOG=y
# CONFIG_SECURITY_IPE is not set
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
CONFIG_INTEGRITY_TRUSTED_KEYRING=y
CONFIG_INTEGRITY_AUDIT=y
CONFIG_IMA=y
CONFIG_IMA_MEASURE_PCR_IDX=10
CONFIG_IMA_LSM_RULES=y
CONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not set
CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"
# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set
CONFIG_IMA_DEFAULT_HASH_SHA256=y
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set
# CONFIG_IMA_DEFAULT_HASH_WP512 is not set
CONFIG_IMA_DEFAULT_HASH="sha256"
CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y
CONFIG_IMA_APPRAISE=y
# CONFIG_IMA_ARCH_POLICY is not set
# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set
# CONFIG_IMA_APPRAISE_BOOTPARAM is not set
CONFIG_IMA_APPRAISE_MODSIG=y
# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_BLACKLIST_KEYRING is not set
# CONFIG_IMA_LOAD_X509 is not set
CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=y
CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=y
# CONFIG_IMA_DISABLE_HTABLE is not set
# CONFIG_IMA_STAGING is not set
# CONFIG_IMA_INIT_LATE_SYNC is not set
CONFIG_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
CONFIG_DEFAULT_SECURITY_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_ACOMP=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_SELFTESTS is not set
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_PCRYPT=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_KRB5ENC=y
# CONFIG_CRYPTO_BENCHMARK is not set
CONFIG_CRYPTO_ENGINE=y
# end of Crypto core or helper

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

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

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

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

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

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

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

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

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

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

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

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

CONFIG_CRYPTO_KRB5=y
# CONFIG_CRYPTO_KRB5_SELFTESTS is not set
CONFIG_BINARY_PRINTF=y

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

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

CONFIG_FIRMWARE_TABLE=y
CONFIG_UNION_FIND=y

#
# Kernel hacking
#

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

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_BTF is not set
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# 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_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_OBJTOOL=y
# CONFIG_OBJTOOL_WERROR is not set
CONFIG_NOINSTR_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# end of Compile-time checks and compiler options

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

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

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

# CONFIG_DEBUG_SHIRQ is not set

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

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

CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_ATOMIC is not set

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

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

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

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

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

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

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

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

CONFIG_IO_URING_ZCRX=y
CONFIG_IO_URING_BPF=y
KernelConfigManager ci-qemu-upstream
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 amd64
TargetOS linux

Outputs:
Reproduced ✅
EquivalenceAnalysis
The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly.
OtherCrashReports
ReproC
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
ReproducedBugTitle
WARNING: zero-size vmalloc in disksize_store
ReproducedCrashReport
zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>

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/15 00:35 flow repro-c
42m Results:
map[EquivalenceAnalysis:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. OtherCrashReports:<nil> ReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
 Reproduced:true ReproducedBugTitle:WARNING: zero-size vmalloc in disksize_store ReproducedCrashReport:zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>
]

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

2/1 2026/09/15 00:35 action kernel-builder
14m Results:
map[KernelObj:/app/workdir/cache/build/126d09bcaf5aa93094baf499714dc11481d1592f]

3/1 2026/09/15 00:49 action codesearch-prepare
9m Results:
map[Index:codesearch-index]

4/1 2026/09/15 00:58 agent initial-researcher
13m Model:
deep-reasoning

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to analyze a Linux kernel bug description and propose a strategy to reproduce it
with a minimal, standalone C program for the strictly defensive purpose of verifying a bugfix.

=== TOOL SELECTION GUIDELINES ===
- When looking up C function or struct definitions, prefer codesearch-definition-source
  and codesearch-struct-layout first.
- Fall back to read-file or grepper only if symbol lookup fails or when inspecting macros,
  headers, or non-C files.

=== CRITICAL PROHIBITIONS ===
- Do NOT propose an exploit. Focus solely on minimal technical reproduction of the bug state.
- Do NOT write long explanations. Keep your analysis and strategy proposal concise.
- Do NOT assume that the target bug has already been fixed just because a git commit title
  or description mentions a similar bug or fix. Commit messages often reference related issues
  or partial fixes. Proceed with proposing a reproduction strategy regardless of historical fix commits.
Prefer calling several tools at the same time to save round-trips.

Prompt:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

Reply:
An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

### Minimal C Reproducer

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                perror("write reset");
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```

5/2 2026/09/15 00:58 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 4999
							output: 43
							thoughts: 430
						

Thoughts:
**Analyzing the "Zero-Size vmalloc" Warning in zram**

I've encountered a bug report detailing a "WARNING: zero-size vmalloc in trace_suspend_resume." My initial analysis of the provided stack trace points directly to the `vmalloc` subsystem and its potential interaction with the zram driver. Specifically, the warning itself, `WARN_ON_ONCE(!size)` within `__vmalloc_node_range_noprof` at `mm/vmalloc.c:4037`, indicates that a `vmalloc` call was attempted with a size of zero. This is, of course, an erroneous condition.

Tracing the execution path backward from the warning, I see that the immediate caller of the problematic `vmalloc` function is `vzalloc_noprof`, which in turn is called by `zram_meta_alloc` within the zram driver (`drivers/block/zram/zram_drv.c:1990`). This `zram_meta_alloc` function is ultimately invoked by `disksize_store`, also within the zram driver (`drivers/block/zram/zram_drv.c:2880`), which is then exposed through `dev_attr_store` in the generic device attribute handling (`drivers/base/core.c:2505`).

My next step is to dive into the source code of `zram_meta_alloc` and `disksize_store` to understand *how* they are arriving at a zero-size allocation request. I need to examine the logic that determines the size for the `vmalloc` call and identify the scenario that leads to this zero value. This might involve looking at how parameters are passed, if any calculations result in zero, or if there's a conditional path that bypasses a proper size determination.


6/2 2026/09/15 00:58 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:zram_meta_alloc]

Results:
map[SourceCode: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:	}
 SourceFile:drivers/block/zram/zram_drv.c]

7/2 2026/09/15 00:58 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 5842
							output: 41
							thoughts: 74
						

Thoughts:
**A Deep Dive into the `array_size` Warning: Tracing the Root Cause**

Ah, I've stumbled upon a rather perplexing `array_size` warning, and my internal diagnostics are immediately flagging it as a potential issue. My immediate thought process is to dissect the expression that's triggering this warning: `array_size(num_pages, sizeof(*zram->table))`. The core of this problem, as I see it, lies in the fact that this expression is evaluating to zero. This immediately leads me to investigate the components of that `array_size` call, and the first operand, `num_pages`, is the prime suspect.

My next step is to trace the origin of `num_pages`. The code clearly states: `num_pages = disksize >> PAGE_SHIFT;`. This bitwise right shift operation is crucial. It tells me that `num_pages` is derived from `disksize` by effectively dividing it by a power of two, specifically `2^PAGE_SHIFT`. Now, the critical insight here is understanding the implications of this division. If the value of `disksize` is *smaller* than `PAGE_SIZE` (which is `2^PAGE_SHIFT`), then the result of this division, `num_pages`, will inevitably be zero.

This is the eureka moment. A zero `num_pages` directly feeds into the `array_size` function, leading to that warning. So, my focus now sharpens on the source of `disksize`. I need to understand how `disksize` is being populated. Therefore, my next logical investigative step is to examine the `disksize_store` function. This is where I anticipate finding the logic that determines the value of `disksize` and, consequently, why it might be falling below `PAGE_SIZE` and triggering this entire chain of events. The root cause, I suspect, lies in the scenario where the disk size is so small that it doesn't even encompass a single page, thus invalidating the intent of the `array_size` calculation for the `zram->table`.


8/2 2026/09/15 00:58 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:disksize_store]

Results:
map[SourceCode: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:	}
 SourceFile:drivers/block/zram/zram_drv.c]

9/2 2026/09/15 00:58 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 6676
							output: 19
							thoughts: 195
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN` and Potential Overflow**

As I was reviewing the code, a specific line caught my attention: `disksize = PAGE_ALIGN(disksize);`. Immediately, a concern sprang to mind: what if `disksize` is an exceptionally large value, close to the maximum representable by `u64`? My understanding is that `PAGE_ALIGN(addr)` is essentially equivalent to `ALIGN(addr, PAGE_SIZE)`, which in turn relies on the `__ALIGN_KERNEL_MASK` macro.

Let's trace that macro definition. `ALIGN(x, a)` uses `__ALIGN_KERNEL((x), (a))`. This then expands to `__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)`. The core of the alignment logic lies in `__ALIGN_KERNEL_MASK(x, mask) = (((x) + (mask)) & ~(mask))`.

Now, I started to consider the edge case. If `disksize` is a value extremely close to `U64_MAX`, for instance, something like `0xfffffffffffff000` (or any value that, when `PAGE_SIZE - 1` is added to it, would wrap around the maximum `u64` value), the addition `(x) + (mask)` could result in an overflow. Because the operation is a bitwise AND with `~(mask)`, this overflowed value, when ANDed, might unexpectedly result in 0. This is a critical vulnerability, as it would incorrectly report a massive disk size as zero. This is why I need to double-check the precise definition and behavior of `PAGE_ALIGN` in this specific context to ensure it handles such extreme values gracefully and doesn't lead to unintended data loss or incorrect calculations.


10/2 2026/09/15 00:58 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-
]

11/2 2026/09/15 00:58 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7683
							output: 41
							thoughts: 343
						

Thoughts:
**The Nuances of Page Alignment and Zero-Sized Allocations**

My thought process here is a deep dive into potential edge cases surrounding memory allocation, specifically focusing on page alignment and how a maximum disk size might interact with it. I started by recognizing the equivalence of `PAGE_ALIGN(addr)` and `ALIGN(addr, PAGE_SIZE)`. This is a fundamental understanding, but it's the subsequent interaction with a maximum value for `disksize` that captured my attention.

I hypothesized that if `disksize` were set to `U64_MAX` (the absolute maximum for a 64-bit unsigned integer), the expression `disksize + PAGE_SIZE - 1` would lead to an overflow. My initial instinct was that this overflow would result in a value of 0.

Then, I paused and considered the data type: `disksize` is indeed `u64`. This reinforced my concern about overflow. I then walked through a concrete example to solidify the overflow behavior. Assuming `PAGE_SIZE` is 4096 (which is `0xfff` in hexadecimal), and `disksize` is a value very close to `U64_MAX`, say `0xfffffffffffff001`. When I add `PAGE_SIZE - 1` (which is 4095 or `0xfff`), the calculation `0xfffffffffffff001 + 0xfff` indeed results in `0x10000000000000000`. As expected for a `u64`, this value overflows and wraps around to 0.

The subsequent operation is a bitwise AND with the complement of `PAGE_SIZE - 1` (i.e., `& ~(4095)`). With the result of the addition being 0, `0 & ~0xfff` evaluates to 0. This means `disksize` effectively becomes 0.

This zeroed `disksize` then propagates into a call to `zram_meta_alloc(zram, 0)`. Inside this function, `num_pages` is calculated as `0 >> PAGE_SHIFT`, which correctly evaluates to 0. The critical part comes with the allocation: `zram->table = vzalloc(array_size(0, sizeof(*zram->table)));`. Since the first argument to `array_size` is 0, the entire `array_size` call returns 0.

Therefore, `vzalloc(0)` is invoked. My understanding is that `vzalloc(0)` internally calls `vzalloc_noprof(0)`, which in turn calls `__vmalloc_node_range_noprof(0, ...)`. Crucially, within `__vmalloc_node_range_noprof`, there's a check: `WARN_ON_ONCE(!size)`. Since the `size` being passed is 0, this condition `!size` becomes true, and a warning is issued.

My final step was to confirm this behavior. I wanted to be absolutely sure that calling `vzalloc(0)` indeed triggers a warning, as this scenario, stemming from a maximum disk size interacting with page alignment, could lead to unexpected behavior or instability if not handled correctly.


12/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:mm/vmalloc.c Name:__vmalloc_node_range_noprof]

Results:
map[SourceCode:3990:	/**
3991:	 * __vmalloc_node_range - allocate virtually contiguous memory
3992:	 * @size:		  allocation size
3993:	 * @align:		  desired alignment
3994:	 * @start:		  vm area range start
3995:	 * @end:		  vm area range end
3996:	 * @gfp_mask:		  flags for the page level allocator
3997:	 * @prot:		  protection mask for the allocated pages
3998:	 * @vm_flags:		  additional vm area flags (e.g. %VM_NO_GUARD)
3999:	 * @node:		  node to use for allocation or NUMA_NO_NODE
4000:	 * @caller:		  caller's return address
4001:	 *
4002:	 * Allocate enough pages to cover @size from the page level
4003:	 * allocator with @gfp_mask flags and map them into contiguous
4004:	 * virtual range with protection @prot.
4005:	 *
4006:	 * Supported GFP classes: %GFP_KERNEL, %GFP_ATOMIC, %GFP_NOWAIT,
4007:	 * %__GFP_RETRY_MAYFAIL, %__GFP_NORETRY, %GFP_NOFS and %GFP_NOIO.
4008:	 * Zone modifiers are not supported.
4009:	 * Please note %GFP_ATOMIC and %GFP_NOWAIT are supported only
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:	
4060:			align = max(original_align, 1UL << shift);
4061:		}
4062:	
4063:	again:
4064:		area = __get_vm_area_node(size, align, shift, VM_ALLOC |
4065:					  VM_UNINITIALIZED | vm_flags, start, end, node,
4066:					  gfp_mask & ~__GFP_SKIP_KASAN, caller);
4067:		if (!area) {
4068:			bool nofail = gfp_mask & __GFP_NOFAIL;
4069:			warn_alloc(gfp_mask, NULL,
4070:				"vmalloc error: size %lu, vm_struct allocation failed%s",
4071:				size, (nofail) ? ". Retrying." : "");
4072:			if (nofail) {
4073:				schedule_timeout_uninterruptible(1);
4074:				goto again;
4075:			}
4076:			goto fail;
4077:		}
4078:	
4079:		/*
4080:		 * Prepare arguments for __vmalloc_area_node() and
4081:		 * kasan_unpoison_vmalloc().
4082:		 */
4083:		if (pgprot_val(prot) == pgprot_val(PAGE_KERNEL)) {
4084:			if (kasan_hw_tags_enabled() && !skip_vmalloc_kasan) {
4085:				/*
4086:				 * Modify protection bits to allow tagging.
4087:				 * This must be done before mapping.
4088:				 */
4089:				prot = arch_vmap_pgprot_tagged(prot);
4090:	
4091:				/*
4092:				 * Skip page_alloc poisoning and zeroing for physical
4093:				 * pages backing VM_ALLOC mapping. Memory is instead
4094:				 * poisoned and zeroed by kasan_unpoison_vmalloc().
4095:				 */
4096:				gfp_mask |= __GFP_SKIP_KASAN | __GFP_SKIP_ZERO;
4097:			}
4098:	
4099:			/* Take note that the mapping is PAGE_KERNEL. */
4100:			kasan_flags |= KASAN_VMALLOC_PROT_NORMAL;
4101:		}
4102:	
4103:		/* Allocate physical pages and map them into vmalloc space. */
4104:		ret = __vmalloc_area_node(area, gfp_mask, prot, shift, node);
4105:		if (!ret)
4106:			goto fail;
4107:	
4108:		/*
4109:		 * Mark the pages as accessible, now that they are mapped.
4110:		 * The condition for setting KASAN_VMALLOC_INIT should complement the
4111:		 * one in post_alloc_hook() with regards to the __GFP_SKIP_ZERO check
4112:		 * to make sure that memory is initialized under the same conditions.
4113:		 * Tag-based KASAN modes only assign tags to normal non-executable
4114:		 * allocations, see __kasan_unpoison_vmalloc().
4115:		 */
4116:		kasan_flags |= KASAN_VMALLOC_VM_ALLOC;
4117:		if (!want_init_on_free() && want_init_on_alloc(gfp_mask) &&
4118:		    (gfp_mask & __GFP_SKIP_ZERO))
4119:			kasan_flags |= KASAN_VMALLOC_INIT;
4120:		/* KASAN_VMALLOC_PROT_NORMAL already set if required. */
4121:		if (!skip_vmalloc_kasan)
4122:			area->addr = kasan_unpoison_vmalloc(area->addr, size, kasan_flags);
4123:	
4124:		/*
4125:		 * In this function, newly allocated vm_struct has VM_UNINITIALIZED
4126:		 * flag. It means that vm_struct is not fully initialized.
4127:		 * Now, it is fully initialized, so remove this flag here.
4128:		 */
4129:		clear_vm_uninitialized_flag(area);
4130:	
4131:		if (!(vm_flags & VM_DEFER_KMEMLEAK))
4132:			kmemleak_vmalloc(area, PAGE_ALIGN(size), gfp_mask);
4133:	
4134:		return area->addr;
4135:	
4136:	fail:
4137:		if (shift > PAGE_SHIFT) {
4138:			shift = PAGE_SHIFT;
4139:			align = original_align;
4140:			goto again;
4141:		}
4142:	
4143:		return NULL;
4144:	}
 SourceFile:mm/vmalloc.c]

13/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 10599
							output: 32
							thoughts: 546
						

Thoughts:
**The Root of the zram Disksize Bug**

Okay, so I've been digging into this zram issue, and I think I've finally pinned down the core problem. It all stems from how the `disksize_store` function handles user input for the `disksize` parameter. The critical point is that `PAGE_ALIGN(disksize)` can, under specific circumstances, result in a value that overflows to zero, or the initial `disksize` itself is so small that `disksize >> PAGE_SHIFT` evaluates to zero.

Let me walk through my thought process:

Initially, I noted that `WARN_ON_ONCE(!size)` is located at line 4037. This warning is triggered when the `size` variable evaluates to zero. My immediate suspicion was that this `size` variable was somehow being incorrectly calculated from the `disksize` provided by the user.

Then, I examined the `disksize_store` function itself. It begins by parsing the input buffer `buf` using `memparse` into a `disksize` variable. The code explicitly checks `if (!disksize) return -EINVAL;`. This means if `memparse` itself returns 0, the function correctly bails out with an invalid argument error. This seemed to cover the case where the user directly inputs a "0".

However, this check doesn't account for a more subtle overflow. I started considering edge cases. For instance, if `PAGE_SIZE` is 4096, and the user provides a `disksize` of 4095, `PAGE_ALIGN(4095)` correctly results in 4096. Then, `zram_meta_alloc(zram, 4096)` is called. Inside `zram_meta_alloc`, `num_pages` is calculated as `4096 >> PAGE_SHIFT` (which is 12 on many architectures), so `num_pages` becomes 1. Subsequently, `array_size(1, sizeof(*zram->table))` is computed. On a 64-bit system, this yields 8 bytes, and on a 32-bit system, it's 4 bytes. `vzalloc` is then called with these non-zero sizes, which is perfectly fine.

The real problem emerges when `disksize` is a very large value, specifically one that causes `PAGE_ALIGN(disksize)` to wrap around and become zero. I'm thinking of a value like `0xfffffffffffff001`. When `PAGE_ALIGN` is applied to this, the result is 0. Consequently, `zram_meta_alloc(zram, 0)` is invoked. Inside `zram_meta_alloc`, `num_pages` would be calculated as `0 >> PAGE_SHIFT`, which is 0. Then `array_size(0, sizeof(*zram->table))` would be 0. Finally, `vzalloc(0)` is called, and *this* is what triggers the `WARN_ON_ONCE(!size)` warning because the allocated size is indeed zero.

So, the bug isn't that `disksize_store` *always* passes zero, but rather that it can pass a `disksize` that, after `PAGE_ALIGN`, results in a zero size being passed to `zram_meta_alloc`, which then leads to the warning.

I've been double-checking my understanding of `memparse`'s behavior. `memparse` is designed to parse a string representation of a size, including suffixes like 'K', 'M', 'G', into an `unsigned long long`. If a user were to write the string `"0xfffffffffffff001"` to `/sys/block/zram0/disksize` (or the equivalent path), `memparse` would indeed parse it into that large `unsigned long long` value. If the underlying parsing mechanism, which uses `simple_strtoull`, handles negative interpretations or specific hex representations that result in that overflow-inducing value when `PAGE_ALIGN` is applied, then we're in business. It's worth investigating the exact behavior of `memparse` with such extreme inputs, especially if it has any implicit handling of what might be considered "negative" values in an `unsigned long long` context, or if specific very large hexadecimal strings can lead to the `PAGE_ALIGN` overflow I'm seeing.


14/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:lib/cmdline.c Name:memparse]

Results:
map[SourceCode: 153:	unsigned long long memparse(const char *ptr, char **retptr)
 154:	{
 155:		char *endptr;	/* local pointer to end of parsed string */
 156:		unsigned long long ret = simple_strtoull(ptr, &endptr, 0);
 157:		unsigned int shl = 0;
 158:	
 159:		/* Consume valid suffix even in case of overflow. */
 160:		switch (*endptr) {
 161:		case 'E':
 162:		case 'e':
 163:			shl += 10;
 164:			fallthrough;
 165:		case 'P':
 166:		case 'p':
 167:			shl += 10;
 168:			fallthrough;
 169:		case 'T':
 170:		case 't':
 171:			shl += 10;
 172:			fallthrough;
 173:		case 'G':
 174:		case 'g':
 175:			shl += 10;
 176:			fallthrough;
 177:		case 'M':
 178:		case 'm':
 179:			shl += 10;
 180:			fallthrough;
 181:		case 'K':
 182:		case 'k':
 183:			shl += 10;
 184:			fallthrough;
 185:		default:
 186:			break;
 187:		}
 188:	
 189:		if (shl && likely(ptr != endptr)) {
 190:			/* Have valid suffix with preceding number. */
 191:			if (unlikely(check_shl_overflow(ret, shl, &ret)))
 192:				ret = ULLONG_MAX;
 193:			endptr++;
 194:		}
 195:	
 196:		if (retptr)
 197:			*retptr = endptr;
 198:	
 199:		return ret;
 200:	}
 SourceFile:lib/cmdline.c]

15/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 11782
							output: 42
							thoughts: 315
						

Thoughts:
**The Curious Case of `PAGE_ALIGN(-1)` and the Accompanying `vzalloc(0)` Warning**

My investigation into a peculiar warning message, specifically `vzalloc(0)`, has led me down an interesting path of understanding how certain integer manipulations and system interfaces interact.

It all started when I observed that passing `-1` to the `simple_strtoull` function results in its interpretation as `ULLONG_MAX`, which is, of course, `0xffffffffffffffff` in hexadecimal. This value, when subjected to `PAGE_ALIGN`, is transformed. My internal calculation process goes like this: `PAGE_ALIGN(0xffffffffffffffff)` is equivalent to `(0xffffffffffffffff + 4095) & ~4095`. Let's break that down:

First, `0xffffffffffffffff + 4095` evaluates to `4094` (or `0xffe` in hex).
Then, applying the bitwise AND with the bitwise NOT of `4095` (`~4095`) yields `0`.
Therefore, I concluded that `PAGE_ALIGN(-1)` ultimately evaluates to `0`.

This result then directly leads to a call to `zram_meta_alloc(zram, 0)`. Within that function, the calculation for `num_pages` becomes `0 >> 12`, which is simply `0`. It's this subsequent call to `vzalloc(0)` that triggers the warning I'm trying to understand.

Now, the crucial question becomes: how can I reliably reproduce this scenario? My immediate thought is to write `-1` to the `/sys/block/zram0/disksize` interface. However, this presupposes that the `zram` module is already loaded or available. I recall a bug report mentioning that in its context, "Modules linked in:" was empty, implying it was either built-in or no modules were loaded at all. This raises the possibility that `zram` might be compiled directly into the kernel.

To confirm its presence and to ensure I can create a `zram` device if one doesn't exist, I need to check if `/sys/block/zram0/disksize` is accessible. If it's not, my plan is to leverage the `/sys/class/zram-control/hot_add` interface to dynamically create a `zram` device. My next step will be to consult the `zram` documentation or source code to understand the specifics of how `hot_add` operates, which will guide me in setting up the necessary environment for my reproduction attempt.


16/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:hot_add_show]

Results:
map[SourceCode:3161:	/*
3162:	 * NOTE: hot_add attribute is not the usual read-only sysfs attribute. In a
3163:	 * sense that reading from this file does alter the state of your system -- it
3164:	 * creates a new un-initialized zram device and returns back this device's
3165:	 * device_id (or an error code if it fails to create a new device).
3166:	 */
3167:	static ssize_t hot_add_show(const struct class *class,
3168:				const struct class_attribute *attr,
3169:				char *buf)
3170:	{
3171:		int ret;
3172:	
3173:		mutex_lock(&zram_index_mutex);
3174:		ret = zram_add();
3175:		mutex_unlock(&zram_index_mutex);
3176:	
3177:		if (ret < 0)
3178:			return ret;
3179:		return sysfs_emit(buf, "%d\n", ret);
3180:	}
 SourceFile:drivers/block/zram/zram_drv.c]

17/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12455
							output: 41
							thoughts: 69
						

Thoughts:
**A Deep Dive into ZRAM Device Initialization**

My investigation into ZRAM device management has brought me to a crucial point: understanding how new devices are brought online. I've observed that reading from `/sys/class/zram-control/hot_add` is the mechanism by which a new zram device is instantiated, and it conveniently returns the identifier for this newly created device.

However, my understanding is that this "hot add" functionality isn't the *primary* way devices are usually created. My current thinking is that if the `num_devices` module parameter for the zram kernel module isn't explicitly set to 0, a `zram0` device is typically established by default. This default behavior simplifies initial setup and ensures a baseline ZRAM configuration is available from the outset.

To fully grasp this initialization process, my next logical step is to examine the `zram_init` function within the kernel source. I'm keen to trace the execution flow there to see precisely how these default devices are registered and how the `num_devices` parameter influences this early setup. This will allow me to connect the dots between the module loading, the default device creation, and the more dynamic "hot add" capability.


18/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:zram_init]

Results:
map[SourceCode:3244:	static int __init zram_init(void)
3245:	{
3246:		struct zram_table_entry zram_te;
3247:		int ret;
3248:	
3249:		BUILD_BUG_ON(__NR_ZRAM_PAGEFLAGS > sizeof(zram_te.attr.flags) * 8);
3250:	
3251:		ret = cpuhp_setup_state_multi(CPUHP_ZCOMP_PREPARE, "block/zram:prepare",
3252:					      zcomp_cpu_up_prepare, zcomp_cpu_dead);
3253:		if (ret < 0)
3254:			return ret;
3255:	
3256:		ret = class_register(&zram_control_class);
3257:		if (ret) {
3258:			pr_err("Unable to register zram-control class\n");
3259:			cpuhp_remove_multi_state(CPUHP_ZCOMP_PREPARE);
3260:			return ret;
3261:		}
3262:	
3263:		zram_debugfs_create();
3264:		zram_major = register_blkdev(0, "zram");
3265:		if (zram_major <= 0) {
3266:			pr_err("Unable to get major number\n");
3267:			class_unregister(&zram_control_class);
3268:			cpuhp_remove_multi_state(CPUHP_ZCOMP_PREPARE);
3269:			return -EBUSY;
3270:		}
3271:	
3272:		while (num_devices != 0) {
3273:			mutex_lock(&zram_index_mutex);
3274:			ret = zram_add();
3275:			mutex_unlock(&zram_index_mutex);
3276:			if (ret < 0)
3277:				goto out_error;
3278:			num_devices--;
3279:		}
3280:	
3281:		return 0;
3282:	
3283:	out_error:
3284:		destroy_devices();
3285:		return ret;
3286:	}
 SourceFile:drivers/block/zram/zram_drv.c]

19/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13209
							output: 36
							thoughts: 18
						

Thoughts:
**My Thought Process on Device Count**

Ah, yes, I see now. The `num_devices` parameter is indeed being utilized within this context. My immediate next step, therefore, is to confirm its default initialization. This is crucial for understanding the baseline behavior of the system or algorithm in scenarios where this parameter isn't explicitly overridden. Knowing the default value helps me assess any potential implications of not specifying it, and also provides a reference point for when I *do* choose to set it explicitly.


20/2 2026/09/15 00:59 tool grepper
0m Args:
map[Expression:num_devices PathPrefix:drivers/block/zram/zram_drv.c]

Results:
map[Output:drivers/block/zram/zram_drv.c=45=static const char *default_compressor = CONFIG_ZRAM_DEF_COMP;
--
drivers/block/zram/zram_drv.c-49-/* Module params (documentation at end) */
drivers/block/zram/zram_drv.c:50:static unsigned int num_devices = 1;
drivers/block/zram/zram_drv.c-51-/*
--
drivers/block/zram/zram_drv.c=3244=static int __init zram_init(void)
--
drivers/block/zram/zram_drv.c-3271-
drivers/block/zram/zram_drv.c:3272:	while (num_devices != 0) {
drivers/block/zram/zram_drv.c-3273-		mutex_lock(&zram_index_mutex);
--
drivers/block/zram/zram_drv.c-3277-			goto out_error;
drivers/block/zram/zram_drv.c:3278:		num_devices--;
drivers/block/zram/zram_drv.c-3279-	}
--
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");
drivers/block/zram/zram_drv.c-3298-
]

21/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13709
							output: 32
							thoughts: 193
						

Thoughts:
**My Thought Process Regarding `zram0` and the `disksize` Bug**

Alright, so it seems like `zram0` is set up by default, which is standard. My immediate thought is about how to trigger this specific bug we're looking at. The simplest path, as described, is writing `-1` to `/sys/block/zram0/disksize`. That’s the direct exploit vector.

But then, my mind naturally drifts to the underlying mechanisms. I start questioning if there are other scenarios, beyond a direct `-1` write, that could lead to the same problematic state. Specifically, I'm wondering if `PAGE_ALIGN(disksize)` could evaluate to zero under any other circumstances. This is crucial because a zero value there is likely the root cause of the issue.

I recall that `memparse` is the function responsible for interpreting the input to `disksize`. If `disksize` is explicitly set to 0, `memparse` will return 0. Consequently, `disksize_store` (which handles the actual update) would return `-EINVAL`, indicating an invalid argument. So, a direct `0` write wouldn't trigger the bug in the way we're seeing it; it would be rejected early.

Then, I consider the range of values. If `disksize` is between 1 and 4095 bytes, `PAGE_ALIGN(disksize)` will result in 4096. That's a valid, non-zero alignment.

However, the interesting edge case emerges when we consider the maximum possible value for a `u64`. If `disksize` is set to `0xffffffffffffffff` (which is `ULLONG_MAX`), then `PAGE_ALIGN` would indeed evaluate to 0. This is the critical insight.

This immediately brings me back to the `-1` input. Since `disksize` is a `u64`, when we write `-1` to it, the kernel's interpretation, via `memparse`, is likely to treat that as `ULLONG_MAX`. My next step, then, is to explicitly verify this behavior: can `memparse` actually parse a signed `-1` as `ULLONG_MAX`? This confirmation is the final piece of the puzzle in understanding how the `-1` write leads to the `PAGE_ALIGN(disksize)` becoming zero and triggering the bug.


22/2 2026/09/15 00:59 tool grepper
0m Args:
map[Expression:simple_strtoull PathPrefix:lib/kstrtox.c]

Results:
map[Output:lib/kstrtox.c=103=static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res)
--
lib/kstrtox.c-135- * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
lib/kstrtox.c:136: * Preferred over simple_strtoull(). Return code must be checked.
lib/kstrtox.c-137- */
]

23/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14043
							output: 31
							thoughts: 29
						

Thoughts:
**My Thought Process:**

Ah, I'm trying to recall the exact location of `simple_strtoull`. My initial thought immediately goes to its likely origins within the kernel's string conversion utilities. I'm pretty sure it's either in `lib/vsprintf.c`, given its relation to string formatting, or potentially in `lib/kstrtox.c`, which seems like a more specialized home for robust string-to-numeric conversions. I need to confirm which of these is the actual source.


24/2 2026/09/15 00:59 tool grepper
0m Args:
map[Expression:simple_strtoull PathPrefix:lib/vsprintf.c]

Results:
map[Output:lib/vsprintf.c=79=static unsigned long long simple_strntoull(const char *startp, char **endp, unsigned int base, size_t max_chars)
--
lib/vsprintf.c-103-/**
lib/vsprintf.c:104: * simple_strtoull - convert a string to an unsigned long long
lib/vsprintf.c-105- * @cp: The start of the string
--
lib/vsprintf.c=111=noinline
lib/vsprintf.c:112:unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base)
lib/vsprintf.c-113-{
--
lib/vsprintf.c-115-}
lib/vsprintf.c:116:EXPORT_SYMBOL(simple_strtoull);
lib/vsprintf.c-117-
--
lib/vsprintf.c=126=unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base)
lib/vsprintf.c-127-{
lib/vsprintf.c:128:	return simple_strtoull(cp, endp, base);
lib/vsprintf.c-129-}
]

25/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14404
							output: 36
							thoughts: 12
						

Thoughts:
**My Thought Process Regarding `simple_strntoull`**

Right, first things first, I need to get a handle on this `simple_strntoull` function. My immediate thought is to dive straight into its implementation. I want to understand precisely what it's doing under the hood. I'm not just looking for a surface-level explanation; I need to see the nitty-gritty details. How does it handle the conversion from a string to an unsigned long long? What are the edge cases it's designed to catch, or perhaps, *not* catch? I'll be scrutinizing the logic for potential pitfalls. Is it robust? Does it correctly parse different number bases? What about overflow conditions? I want to be sure it's performing as expected and that there are no hidden gotchas that could lead to unexpected behavior or security vulnerabilities. This initial examination is critical for me to build confidence in its reliability and understand its limitations.


26/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:lib/vsprintf.c Name:simple_strntoull]

Results:
map[SourceCode:  78:	noinline
  79:	static unsigned long long simple_strntoull(const char *startp, char **endp, unsigned int base, size_t max_chars)
  80:	{
  81:		const char *cp;
  82:		unsigned long long result = 0ULL;
  83:		size_t prefix_chars;
  84:		unsigned int rv;
  85:	
  86:		cp = _parse_integer_fixup_radix(startp, &base);
  87:		prefix_chars = cp - startp;
  88:		if (prefix_chars < max_chars) {
  89:			rv = _parse_integer_limit(cp, base, &result, max_chars - prefix_chars);
  90:			/* FIXME */
  91:			cp += (rv & ~KSTRTOX_OVERFLOW);
  92:		} else {
  93:			/* Field too short for prefix + digit, skip over without converting */
  94:			cp = startp + max_chars;
  95:		}
  96:	
  97:		if (endp)
  98:			*endp = (char *)cp;
  99:	
 100:		return result;
 101:	}
 SourceFile:lib/vsprintf.c]

27/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14793
							output: 41
							thoughts: 69
						

Thoughts:
**My Realization about `simple_strtoull` and Negative Numbers**

So, I was just working with `simple_strtoull` and had a sudden moment of clarity – a crucial realization that I need to flag. It hit me that this function, as it stands, *does not handle negative signs*.

My initial assumption, perhaps a naive one, was that it would gracefully deal with inputs like "-1". But then I paused, thinking about the internal mechanics. If I pass "-1" to `simple_strtoull`, my internal model predicts that `_parse_integer_fixup_radix` will encounter that leading hyphen. My understanding is that `_parse_integer_fixup_radix` is designed to see that "-" and immediately recognize it as *not* a numerical digit, thus aborting the parsing process for that particular number. The consequence of this, as I see it, is that it will return `0`. This is a significant divergence from expected behavior for signed integer parsing. I'm going to double-check the specifics of `_parse_integer_fixup_radix` to confirm this behavior, but the initial thought is quite clear: this is a critical limitation if signed integer interpretation is a requirement.


28/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:lib/kstrtox.c Name:_parse_integer_fixup_radix]

Results:
map[SourceCode:  25:	noinline
  26:	const char *_parse_integer_fixup_radix(const char *s, unsigned int *base)
  27:	{
  28:		if (*base == 0) {
  29:			if (s[0] == '0') {
  30:				if (_tolower(s[1]) == 'x' && isxdigit(s[2]))
  31:					*base = 16;
  32:				else
  33:					*base = 8;
  34:			} else
  35:				*base = 10;
  36:		}
  37:		if (*base == 16 && s[0] == '0' && _tolower(s[1]) == 'x')
  38:			s += 2;
  39:		return s;
  40:	}
 SourceFile:lib/kstrtox.c]

29/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15136
							output: 37
							thoughts: 54
						

Thoughts:
**My Thought Process Regarding Integer Parsing**

It seems I've encountered a subtle issue in the `_parse_integer_fixup_radix` function. My initial assumption was that it would correctly handle negative numbers by skipping the leading minus sign. However, upon closer examination, it's clear that this function does not perform that specific skip. My realization stems from the fact that `isxdigit('-')` evaluates to `false` when the input string `s` begins with a hyphen. Consequently, the subsequent call to `_parse_integer_limit` will, in its attempt to parse the integer, incorrectly try to interpret that leading minus sign as part of the hexadecimal digits themselves, which is not the desired behavior. This indicates a need to adjust the logic to account for the negative sign *before* attempting to parse the digits.


30/2 2026/09/15 00:59 tool codesearch-definition-source
0m Args:
map[ContextFile:lib/kstrtox.c Name:_parse_integer_limit]

Results:
map[SourceCode:  42:	/**
  43:	 * _parse_integer_limit - Convert integer string representation to an integer
  44:	 * @s: Integer string representation
  45:	 * @base: Radix
  46:	 * @p: Where to store result
  47:	 * @max_chars: Maximum amount of characters to convert
  48:	 *
  49:	 * Convert non-negative integer string representation in explicitly given
  50:	 * radix to an integer. If overflow occurs, value at @p is set to ULLONG_MAX.
  51:	 *
  52:	 * This function is the workhorse of other string conversion functions and it
  53:	 * is discouraged to use it explicitly. Consider kstrto*() family instead.
  54:	 *
  55:	 * Return: Number of characters consumed, maybe ORed with overflow bit
  56:	 */
  57:	noinline
  58:	unsigned int _parse_integer_limit(const char *s, unsigned int base, unsigned long long *p,
  59:					  size_t max_chars)
  60:	{
  61:		unsigned int rv, overflow = 0;
  62:		unsigned long long res;
  63:	
  64:		res = 0;
  65:		for (rv = 0; rv < max_chars; rv++, s++) {
  66:			unsigned int c = *s;
  67:			unsigned int lc = _tolower(c);
  68:			unsigned int val;
  69:	
  70:			if ('0' <= c && c <= '9')
  71:				val = c - '0';
  72:			else if ('a' <= lc && lc <= 'f')
  73:				val = lc - 'a' + 10;
  74:			else
  75:				break;
  76:	
  77:			if (val >= base)
  78:				break;
  79:			/*
  80:			 * Check for overflow only if we are within range of
  81:			 * it in the max base we support (16)
  82:			 */
  83:			if (unlikely(res & (~0ull << 60))) {
  84:				if (check_mul_overflow(res, base, &res) ||
  85:				    check_add_overflow(res, val, &res)) {
  86:					res = ULLONG_MAX;
  87:					overflow = KSTRTOX_OVERFLOW;
  88:				}
  89:			} else {
  90:				res = res * base + val;
  91:			}
  92:		}
  93:		*p = res;
  94:		return rv | overflow;
  95:	}
 SourceFile:lib/kstrtox.c]

31/2 2026/09/15 00:59 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15955
							output: 48
							thoughts: 669
						

Thoughts:
**My Thought Process Regarding memparse and PAGE_ALIGN Vulnerability**

Initially, I was exploring the behavior of the `memparse` function, particularly concerning negative input values. My first thought was that passing `-1` might be a way to trigger some edge case or failure. I reasoned that `_parse_integer_limit` would likely break at the leading hyphen and return `0`. Consequently, `memparse` would then also return `0`.

However, upon closer inspection of the `memparse` implementation, I noticed the core logic uses `simple_strtoull(ptr, &endptr, 0)`. If `ptr` is indeed `"-1"`, `simple_strtoull` would parse this as `0`, and `endptr` would point back to the beginning of the string (`ptr`). This reinforces my initial conclusion that `memparse` would return `0` for `"-1"`, meaning this specific input wouldn't lead to the desired overflow condition.

My objective then shifted to finding an input that *would* cause an overflow when passed to `PAGE_ALIGN`. I hypothesized that I needed a string representing a value that, after `PAGE_ALIGN` is applied, results in a problematic value, likely `0`. I started by considering a large, near-`U64_MAX` value. I picked `18446744073709547521`, which I identified as `0xfffffffffffff001`, or `U64_MAX - 4094`. I then wondered if `memparse` could even parse this large number.

My next thought was about `memparse`'s support for suffixes. I realized that if the input is a valid number string, `memparse` would correctly parse it. This led me to consider the absolute maximum value, `U64_MAX` itself, which is `18446744073709551615`.

I then focused on the `PAGE_ALIGN` macro: `(x + PAGE_SIZE - 1) & PAGE_MASK`. With `PAGE_SIZE` typically being `4096`, `PAGE_MASK` is `~4095`. When `x` is `U64_MAX`, the expression `x + PAGE_SIZE - 1` becomes `U64_MAX + 4095`. This addition overflows, wrapping around to `4094`. Subsequently, `4094 & ~4095` evaluates to `0`. So, `PAGE_ALIGN(U64_MAX)` results in `0`. This is exactly the kind of behavior I was looking for – an input that `memparse` can handle, but which `PAGE_ALIGN` collapses to zero.

I also considered hexadecimal input. If I were to pass `0xffffffffffffffff` (which is also `U64_MAX`), `memparse`'s use of `simple_strtoull` with `base=0` means it would correctly interpret this as a hexadecimal value. Applying `PAGE_ALIGN` to `0xffffffffffffffff` would, as we've just established, also result in `0`.

At this point, I felt confident that I had identified a path to a potential vulnerability. The next logical step, for me, would be to construct a small code snippet to reproduce this behavior and confirm my understanding.


32/2 2026/09/15 01:00 tool codeexpert
5m Args:
map[Question:What is the value of PAGE_ALIGN(0xffffffffffffffffULL) in the Linux kernel on a 64-bit architecture with 4KB pages?]

Results:
map[Answer:The value of `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit architecture with 4KB pages is `0` (or `0ULL`).

### Explanation and Derivation:

1. **Macro Definitions:**
   In `include/linux/mm.h`:
   ```c
   #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
   ```
   In `include/vdso/align.h`:
   ```c
   #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
   ```
   In `include/uapi/linux/const.h`:
   ```c
   #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
   #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
   ```

2. **Parameter Values:**
   - On a 64-bit architecture with 4KB pages, `PAGE_SIZE` is `4096` (`0x1000`).
   - `x = 0xffffffffffffffffULL` (which has type `unsigned long long`, a 64-bit unsigned integer with value $2^{64} - 1$).

3. **Step-by-Step Evaluation:**
   - **Mask calculation:**
     $$\text{mask} = (\_\_\text{typeof}\_\_(x))(PAGE\_SIZE) - 1 = 4096\text{ULL} - 1 = 4095\text{ULL} = \text{0x0000000000000FFF}\text{ULL}$$
   - **Addition (wrap-around):**
     In C, arithmetic on unsigned types wraps modulo $2^N$ (here $2^{64}$):
     $$(x) + (\text{mask}) = \text{0xFFFFFFFFFFFFFFFF}\text{ULL} + \text{0xFFF}\text{ULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\text{ULL} = \text{0x0000000000000FFE}\text{ULL} \pmod{2^{64}}$$
   - **Bitwise negation of mask:**
     $$\sim\text{mask} = \sim\text{0x0000000000000FFF}\text{ULL} = \text{0xFFFFFFFFFFFFF000}\text{ULL}$$
   - **Bitwise AND:**
     $$((x) + (\text{mask})) \ \& \ \sim(\text{mask}) = \text{0x0000000000000FFE}\text{ULL} \ \& \ \text{0xFFFFFFFFFFFFF000}\text{ULL} = 0$$

Because bits 12 through 63 of `0x0FFE` are 0, and bits 0 through 11 of `~mask` are 0, the result of the bitwise AND is `0`.]

33/3 2026/09/15 01:00 agent codeexpert
5m Model:
core

Results:
map[Answer:The value of `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit architecture with 4KB pages is `0` (or `0ULL`).

### Explanation and Derivation:

1. **Macro Definitions:**
   In `include/linux/mm.h`:
   ```c
   #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
   ```
   In `include/vdso/align.h`:
   ```c
   #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
   ```
   In `include/uapi/linux/const.h`:
   ```c
   #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
   #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
   ```

2. **Parameter Values:**
   - On a 64-bit architecture with 4KB pages, `PAGE_SIZE` is `4096` (`0x1000`).
   - `x = 0xffffffffffffffffULL` (which has type `unsigned long long`, a 64-bit unsigned integer with value $2^{64} - 1$).

3. **Step-by-Step Evaluation:**
   - **Mask calculation:**
     $$\text{mask} = (\_\_\text{typeof}\_\_(x))(PAGE\_SIZE) - 1 = 4096\text{ULL} - 1 = 4095\text{ULL} = \text{0x0000000000000FFF}\text{ULL}$$
   - **Addition (wrap-around):**
     In C, arithmetic on unsigned types wraps modulo $2^N$ (here $2^{64}$):
     $$(x) + (\text{mask}) = \text{0xFFFFFFFFFFFFFFFF}\text{ULL} + \text{0xFFF}\text{ULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\text{ULL} = \text{0x0000000000000FFE}\text{ULL} \pmod{2^{64}}$$
   - **Bitwise negation of mask:**
     $$\sim\text{mask} = \sim\text{0x0000000000000FFF}\text{ULL} = \text{0xFFFFFFFFFFFFF000}\text{ULL}$$
   - **Bitwise AND:**
     $$((x) + (\text{mask})) \ \& \ \sim(\text{mask}) = \text{0x0000000000000FFE}\text{ULL} \ \& \ \text{0xFFFFFFFFFFFFF000}\text{ULL} = 0$$

Because bits 12 through 63 of `0x0FFE` are 0, and bits 0 through 11 of `~mask` are 0, the result of the bitwise AND is `0`.]

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

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.

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:
What is the value of PAGE_ALIGN(0xffffffffffffffffULL) in the Linux kernel on a 64-bit architecture with 4KB pages?

34/4 2026/09/15 01:00 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 2428
							output: 20
							thoughts: 76
						

Thoughts:
**My Thought Process on Determining `PAGE_ALIGN(0xffffffffffffffffULL)`**

Ah, an excellent question concerning memory alignment within the Linux kernel. The user is asking for the specific value of `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit architecture with 4KB pages. This is a precise inquiry that requires a methodical approach to unpack the kernel's definition and its application.

My immediate thought is to consult the source code. The `PAGE_ALIGN` macro is fundamental for memory management, and its definition will be readily available. I'll need to locate its definition to understand its underlying logic. My preferred tool for this is `grepper`, a powerful and efficient tool for searching through codebases. I will initiate a search for the exact string `#define PAGE_ALIGN`. This should pinpoint the relevant macro definition within the kernel's header files.

Once I have the definition, I will need to analyze it in the context of the provided input, `0xffffffffffffffffULL`, and the specified architecture (64-bit) and page size (4KB). I expect the `PAGE_ALIGN` macro to involve some form of bitwise operations, likely a mask or a shift, to ensure that a given address is rounded up to the next page boundary. The `ULL` suffix clearly indicates this is an unsigned long long literal, which is appropriate for 64-bit addresses.

My anticipation is that the macro will perform an operation that effectively zeroes out the lower bits of the address, corresponding to the offset within a page, and then adds the page size if there's any non-zero remainder in those lower bits. Given the 4KB page size, this translates to aligning to addresses that are multiples of 4096. On a 64-bit system, this is handled with 64-bit arithmetic.

So, my plan is:
1.  Use `grepper` to find `#define PAGE_ALIGN`.
2.  Examine the definition of `PAGE_ALIGN`.
3.  Apply the macro's logic to `0xffffffffffffffffULL`, considering the 4KB page size and 64-bit architecture.
4.  Derive the final value.

This systematic approach ensures that I am not just providing an answer, but demonstrating the precise steps and understanding required to arrive at that answer from the kernel's perspective.


35/4 2026/09/15 01:00 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/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-
--
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/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-
]

36/4 2026/09/15 01:00 llm codeexpert
1m Model:
gemini-3.8-flash

Tokens:
							input: 3066
							output: 35
							thoughts: 29
						

Thoughts:
**A Deep Dive into Kernel Memory Alignment**

My current train of thought is focused on understanding memory alignment within the Linux kernel, specifically how the `ALIGN` macro operates. To achieve this, I'm directing my attention to the `include/linux/mm.h` header file, a central location for memory management definitions. I'm particularly interested in the implementation details surrounding line 224 of this file, as I anticipate that's where the `ALIGN` macro is defined or its primary usage is illustrated. My goal is to dissect this macro, understand its underlying mechanics, and how it contributes to efficient memory allocation and access in the kernel.


37/4 2026/09/15 01:01 tool read-file
0m Args:
map[File:include/linux/mm.h FirstLine:220 LineCount:20]

Results:
map[Contents: 220:	}
 221:	#endif
 222:	
 223:	/* to align the pointer to the (next) page boundary */
 224:	#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
 225:	
 226:	/* to align the pointer to the (prev) page boundary */
 227:	#define PAGE_ALIGN_DOWN(addr) ALIGN_DOWN(addr, PAGE_SIZE)
 228:	
 229:	/* test whether an address (unsigned long or pointer) is aligned to PAGE_SIZE */
 230:	#define PAGE_ALIGNED(addr)	IS_ALIGNED((unsigned long)(addr), PAGE_SIZE)
 231:	
 232:	/**
 233:	 * folio_page_idx - Return the number of a page in a folio.
 234:	 * @folio: The folio.
 235:	 * @page: The folio page.
 236:	 *
 237:	 * This function expects that the page is actually part of the folio.
 238:	 * The returned number is relative to the start of the folio.
 239:	 */
]

38/4 2026/09/15 01:01 llm codeexpert
1m Model:
gemini-3.8-flash

Tokens:
							input: 3438
							output: 19
							thoughts: 39
						

Thoughts:
**My Thought Process on Locating the `ALIGN` Macro**

My primary objective here is to pinpoint the precise definition of the `ALIGN` macro within the Linux kernel source code. Given its likely purpose of handling memory alignment, I'd expect it to reside in a header file related to fundamental kernel operations or memory management.

Therefore, my initial strategy is to systematically search the most probable locations. I'll begin by looking in `include/linux/align.h`, as its name strongly suggests it's the dedicated home for alignment-related definitions. If that doesn't yield the desired result, my next logical step is to broaden the search to `include/linux/kernel.h`, a more general header file that often contains essential core definitions for the kernel.

To efficiently execute this search, I'll employ a common and powerful tool for code exploration: `grep`. Specifically, I will use the command `grep -r '#define ALIGN('` to recursively search through the specified directories. The `-r` flag is crucial here, as it ensures that the search penetrates into subdirectories within `include/linux/`. The pattern `#define ALIGN(` is a robust way to identify the macro definition itself, as this is the standard C preprocessor syntax for defining a macro named `ALIGN`. This approach should reliably uncover the macro's definition, wherever it might be located within these key header files.


39/4 2026/09/15 01:02 tool grepper
0m Args:
map[Expression:#define ALIGN\(]

Results:
map[Output:include/vdso/align.h-7-/* @a is a power of 2 value */
include/vdso/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
include/vdso/align.h-9-#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
scripts/dtc/dtc.h=94=static inline bool strends(const char *str, const char *suffix)
--
scripts/dtc/dtc.h-104-
scripts/dtc/dtc.h:105:#define ALIGN(x, a)	(((x) + (a) - 1) & ~((a) - 1))
scripts/dtc/dtc.h-106-
--
tools/firmware/ihex2fw.c-25-#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/firmware/ihex2fw.c:26:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/firmware/ihex2fw.c-27-
--
tools/hv/vmbus_bufring.c-30-#define VMBUS_RQST_ERROR	0xFFFFFFFFFFFFFFFF
tools/hv/vmbus_bufring.c:31:#define ALIGN(val, align)	((typeof(val))((val) & (~((typeof(val))((align) - 1)))))
tools/hv/vmbus_bufring.c-32-
--
tools/include/linux/align.h-7-
tools/include/linux/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
tools/include/linux/align.h-9-#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-34-#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/testing/scatterlist/linux/mm.h:35:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/testing/scatterlist/linux/mm.h-36-#define ALIGN_DOWN(x, a)		__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
tools/testing/selftests/bpf/trace_helpers.h-19-#define __ALIGN_MASK(x, mask)	(((x)+(mask))&~(mask))
tools/testing/selftests/bpf/trace_helpers.h:20:#define ALIGN(x, a)		__ALIGN_MASK(x, (typeof(x))(a)-1)
tools/testing/selftests/bpf/trace_helpers.h-21-
--
tools/testing/selftests/mm/hmm-tests.c=50=enum {
--
tools/testing/selftests/mm/hmm-tests.c-63-
tools/testing/selftests/mm/hmm-tests.c:64:#define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1)))
tools/testing/selftests/mm/hmm-tests.c-65-/* Just the flags we need, copied from mm.h: */
--
tools/testing/selftests/mm/migration.c-23-#define MAX_RETRIES	100
tools/testing/selftests/mm/migration.c:24:#define ALIGN(x, a)	(((x) + (a - 1)) & (~((a) - 1)))
tools/testing/selftests/mm/migration.c-25-
--
tools/virtio/ringtest/ptr_ring.c-17-#define likely(x)    (__builtin_expect(!!(x), 1))
tools/virtio/ringtest/ptr_ring.c:18:#define ALIGN(x, a) (((x) + (a) - 1) / (a) * (a))
tools/virtio/ringtest/ptr_ring.c-19-#define SIZE_MAX        (~(size_t)0)
]

40/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 4585
							output: 34
							thoughts: 29
						

Thoughts:
**My Thought Process**

My immediate impulse is to delve into the specifics of memory alignment, a critical concern in performance-sensitive code. To do so, I need to understand the fundamental building blocks of alignment within this particular codebase. Therefore, my next logical step is to examine the header file `include/vdso/align.h`. Within this file, I anticipate finding the definitions for macros like `ALIGN` and `__ALIGN_KERNEL`. My objective is to grasp precisely how these macros are implemented and what guarantees or behaviors they provide regarding memory alignment. This will likely involve looking at the underlying C or assembly constructs used to achieve the desired alignment and considering their implications for memory access patterns and potential performance optimizations or pitfalls.


41/4 2026/09/15 01:02 tool read-file
0m Args:
map[File:include/vdso/align.h FirstLine:1 LineCount:30]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef __VDSO_ALIGN_H
   3:	#define __VDSO_ALIGN_H
   4:	
   5:	#include <vdso/const.h>
   6:	
   7:	/* @a is a power of 2 value */
   8:	#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
   9:	#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
  10:	#define __ALIGN_MASK(x, mask)	__ALIGN_KERNEL_MASK((x), (mask))
  11:	#define PTR_ALIGN(p, a)		((typeof(p))ALIGN((unsigned long)(p), (a)))
  12:	#define PTR_ALIGN_DOWN(p, a)	((typeof(p))ALIGN_DOWN((unsigned long)(p), (a)))
  13:	#define IS_ALIGNED(x, a)		(((x) & ((typeof(x))(a) - 1)) == 0)
  14:	
  15:	#endif	/* __VDSO_ALIGN_H */
]

42/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 4951
							output: 20
							thoughts: 35
						

Thoughts:
**My Thought Process on Locating `__ALIGN_KERNEL`**

Okay, so I need to figure out where this `__ALIGN_KERNEL` macro is actually defined. My first instinct is to check the usual suspects for kernel-related constants and definitions. I'm thinking it's likely to be in one of the core include files. Specifically, I'm leaning towards `include/uapi/linux/const.h` because that's a common place for these kinds of fundamental, user-accessible constants.

However, if it's not there, or if I want to be absolutely certain and potentially find it if it's been moved or is defined in a less obvious spot, the most robust approach is to just `grep` for it. A quick `grep -r "__ALIGN_KERNEL" .` (or targeting the `include` directory specifically) will scan all the source files in the kernel tree and pinpoint every occurrence, including its definition. That way, I can be sure I've found the definitive location, no matter where it might reside in the vast kernel source.


43/4 2026/09/15 01:02 tool grepper
0m Args:
map[Expression:#define __ALIGN_KERNEL]

Results:
map[Output:include/uapi/linux/const.h-47-
include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
include/uapi/linux/const.h-50-
--
tools/firmware/ihex2fw.c-23-
tools/firmware/ihex2fw.c:24:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/firmware/ihex2fw.c:25:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/firmware/ihex2fw.c-26-#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
--
tools/include/uapi/linux/const.h-47-
tools/include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
tools/include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/include/uapi/linux/const.h-50-
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-32-
tools/testing/scatterlist/linux/mm.h:33:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/testing/scatterlist/linux/mm.h:34:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/testing/scatterlist/linux/mm.h-35-#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
]

44/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5559
							output: 31
							thoughts: 215
						

Thoughts:
**My Thought Process Regarding Kernel Page Alignment and Size Definitions**

Alright, so my initial instinct when encountering a piece of code like `include/uapi/linux/const.h` and seeing the `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK` macros is to delve deeper into how alignment is actually handled within the kernel. I'm not just going to accept these definitions at face value; I need to understand their practical application and how they relate to fundamental kernel concepts.

My first thought is to immediately inspect `__ALIGN_KERNEL_MASK`. The way it operates, `((x) + (mask)) & ~(mask)`, is a classic bitwise trick for alignment. It adds the mask (which is `a-1` in `__ALIGN_KERNEL`) to the value `x`, and then masks out the lower bits that don't align with the desired boundary. This is a standard and efficient way to achieve alignment.

However, the real meat of understanding page alignment in the kernel, for me, lies in how `PAGE_SIZE` and related definitions are established. So, my next step is to proactively investigate the definition of `PAGE_SIZE` itself. I need to see how this crucial constant is derived. I'm specifically thinking about a common scenario: a 64-bit architecture with 4KB pages. In this context, I'd expect `PAGE_SIZE` to resolve to `(1UL << PAGE_SHIFT)`, which, for a 12-bit shift (4096 bytes), would indeed be `(1 << 12)` or `0x1000`.

But that's just one example. The kernel is designed to be portable. Therefore, my investigation wouldn't stop there. I'd immediately broaden my search to understand how `PAGE_SHIFT` and `PAGE_SIZE` are defined across different architectures. This means looking for definitions in architecture-specific headers, such as `arch/x86/include/asm/page_types.h`, as well as the generic fallback in `include/asm-generic/page.h`. This cross-architecture analysis is critical to grasp the underlying principles and ensure that the alignment mechanisms I'm observing are not just specific to one platform but are part of a well-defined, system-wide approach to memory management. I'm essentially trying to map the abstract alignment macros to the concrete reality of how pages are structured and sized in memory on various hardware.


45/4 2026/09/15 01:02 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:#define PAGE_SIZE PathPrefix:arch/x86/]

Results:
map[Output:]

46/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5803
							output: 36
							thoughts: 14
						

Thoughts:
**My Thought Process for Locating PAGE_SIZE in arch/x86**

Alright, so the objective is to pin down the definition of `PAGE_SIZE` within the `arch/x86` directory. This is a fundamental concept in memory management, so I expect it to be fairly central, likely within core memory-related headers.

My initial instinct is to look for a header file that explicitly deals with page-level abstractions or architecture-specific memory definitions. Given that `PAGE_SIZE` is a constant representing the size of a memory page, it's almost certainly going to be a macro or a constant defined at compile time.

I'll start by navigating into the `arch/x86` directory. Within that, I'll be looking for common places where such constants are defined. These often include:

*   **`include/asm/`**: This is the primary directory for architecture-specific headers. I'd expect to find files related to memory, paging, or general architecture definitions here.
*   **`include/asm/page.h`**: This seems like a highly probable candidate. The name itself strongly suggests it would contain page-related definitions, including `PAGE_SIZE`.
*   **`include/asm/memory.h`**: Another strong contender. This file would likely define various memory-related constants and structures.
*   **`include/linux/mm.h` or `include/linux/page.h`**: While these are general kernel headers, they might *include* architecture-specific definitions. However, since the request is specifically for `arch/x86`, I'll prioritize looking within that directory first. If I can't find it directly, I might then look at how these general headers pull in architecture specifics.
*   **`include/linux/ Kconfig` or `arch/x86/Kconfig`**: Although less likely for a direct definition, configuration files might mention or influence the definition of `PAGE_SIZE` indirectly, especially if it can vary based on CPU features or build options. But this is a secondary check.

My primary search strategy will be to:

1.  **Enter `arch/x86/include/asm/`**: This is the most likely location.
2.  **Look for `page.h` and `memory.h` first**: I'll `grep` for `PAGE_SIZE` within these files. If it's defined there, I'm done.
3.  **If not found, expand the search**: I'll then `grep` for `PAGE_SIZE` recursively within the `arch/x86/include/asm/` directory. This might uncover it in a less obvious but still relevant header.
4.  **Consider general kernel headers**: If the direct search within `arch/x86` fails to yield a result, I'll broaden my search to `include/linux/` and see how `PAGE_SIZE` is typically included or defined in a more generic context, and then trace back how that incorporates `arch/x86` specifics.

Given the nature of the Linux kernel, `PAGE_SIZE` is a fundamental architectural constant, and `arch/x86/include/asm/page.h` is the canonical place where I would expect to find it. So, my primary focus and highest probability guess points to that specific file.


47/4 2026/09/15 01:02 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:PAGE_SIZE\b PathPrefix:arch/x86/include/asm/page]

Results:
map[Output:]

48/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5851
							output: 27
							thoughts: 22
						

49/4 2026/09/15 01:02 tool grepper
0m Args:
map[Expression:#define PAGE_SIZE PathPrefix:include/]

Results:
map[Output:include/vdso/page.h-14-
include/vdso/page.h:15:#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)
include/vdso/page.h-16-
]

50/4 2026/09/15 01:02 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5954
							output: 31
							thoughts: 27
						

Thoughts:
**My Thought Process**

My initial inclination is to investigate the kernel's memory management structures, specifically around page definitions, as this is where fundamental memory unit sizes and layouts are typically established. To do this, I'll be looking in the `arch/x86/include/uapi/asm/` directory, as this is the standard location for architecture-specific user-space accessible headers. Within this, I anticipate finding a file like `page_types.h` or something similarly named that defines the basic properties of memory pages for the x86 architecture. My aim is to pinpoint where the page size itself is defined or referenced, as this will be a crucial piece of information for understanding memory alignment and access patterns.


51/4 2026/09/15 01:03 tool grepper
0m Args:
map[Expression:PAGE_SHIFT PathPrefix:arch/x86/include/]

Results:
map[Output:arch/x86/include/asm/acpi.h=251=static inline int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info,
--
arch/x86/include/asm/acpi.h-257-
arch/x86/include/asm/acpi.h:258:#define ACPI_TABLE_UPGRADE_MAX_PHYS (max_low_pfn_mapped << PAGE_SHIFT)
arch/x86/include/asm/acpi.h-259-
--
arch/x86/include/asm/boot.h-12-#else
arch/x86/include/asm/boot.h:13:# define MIN_KERNEL_ALIGN_LG2	(PAGE_SHIFT + THREAD_SIZE_ORDER)
arch/x86/include/asm/boot.h-14-#endif
--
arch/x86/include/asm/dma.h-73-/* 16MB ISA DMA zone */
arch/x86/include/asm/dma.h:74:#define MAX_DMA_PFN   ((16UL * 1024 * 1024) >> PAGE_SHIFT)
arch/x86/include/asm/dma.h-75-
arch/x86/include/asm/dma.h-76-/* 4GB broken PCI/AGP hardware bus master zone */
arch/x86/include/asm/dma.h:77:#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
arch/x86/include/asm/dma.h-78-
--
arch/x86/include/asm/dma.h-83-/* Compat define for old dma zone */
arch/x86/include/asm/dma.h:84:#define MAX_DMA_ADDRESS ((unsigned long)__va(MAX_DMA_PFN << PAGE_SHIFT))
arch/x86/include/asm/dma.h-85-#endif
--
arch/x86/include/asm/fixmap.h=81=enum fixed_addresses {
--
arch/x86/include/asm/fixmap.h-85-#ifdef CONFIG_X86_VSYSCALL_EMULATION
arch/x86/include/asm/fixmap.h:86:	VSYSCALL_PAGE = (FIXADDR_TOP - VSYSCALL_ADDR) >> PAGE_SHIFT,
arch/x86/include/asm/fixmap.h-87-#endif
--
arch/x86/include/asm/fixmap.h=148=extern void reserve_top_address(unsigned long reserve);
arch/x86/include/asm/fixmap.h-149-
arch/x86/include/asm/fixmap.h:150:#define FIXADDR_SIZE		(__end_of_permanent_fixed_addresses << PAGE_SHIFT)
arch/x86/include/asm/fixmap.h-151-#define FIXADDR_START		(FIXADDR_TOP - FIXADDR_SIZE)
arch/x86/include/asm/fixmap.h:152:#define FIXADDR_TOT_SIZE	(__end_of_fixed_addresses << PAGE_SHIFT)
arch/x86/include/asm/fixmap.h-153-#define FIXADDR_TOT_START	(FIXADDR_TOP - FIXADDR_TOT_SIZE)
--
arch/x86/include/asm/highmem.h=31=extern unsigned long highstart_pfn, highend_pfn;
--
arch/x86/include/asm/highmem.h-56-#define LAST_PKMAP_MASK (LAST_PKMAP-1)
arch/x86/include/asm/highmem.h:57:#define PKMAP_NR(virt)  ((virt-PKMAP_BASE) >> PAGE_SHIFT)
arch/x86/include/asm/highmem.h:58:#define PKMAP_ADDR(nr)  (PKMAP_BASE + ((nr) << PAGE_SHIFT))
arch/x86/include/asm/highmem.h-59-
--
arch/x86/include/asm/kmsan.h=63=static inline bool kmsan_virt_addr_valid(void *addr)
--
arch/x86/include/asm/kmsan.h-93-	preempt_disable();
arch/x86/include/asm/kmsan.h:94:	ret = pfn_valid(x >> PAGE_SHIFT);
arch/x86/include/asm/kmsan.h-95-	preempt_enable_no_resched();
--
arch/x86/include/asm/kvm_host.h-158-#define KVM_HPAGE_GFN_SHIFT(x)	(((x) - 1) * 9)
arch/x86/include/asm/kvm_host.h:159:#define KVM_HPAGE_SHIFT(x)	(PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
arch/x86/include/asm/kvm_host.h:160:#define KVM_HPAGE_SIZE(x)	(1UL << KVM_HPAGE_SHIFT(x))
arch/x86/include/asm/kvm_host.h-161-#define KVM_HPAGE_MASK(x)	(~(KVM_HPAGE_SIZE(x) - 1))
--
arch/x86/include/asm/page.h=25=static inline void copy_user_page(void *to, void *from, unsigned long vaddr,
--
arch/x86/include/asm/page.h-61- */
arch/x86/include/asm/page.h:62:#define virt_to_page(kaddr)	pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
arch/x86/include/asm/page.h-63-extern bool __virt_addr_valid(unsigned long kaddr);
--
arch/x86/include/asm/page.h=66=static __always_inline void *pfn_to_kaddr(unsigned long pfn)
arch/x86/include/asm/page.h-67-{
arch/x86/include/asm/page.h:68:	return __va(pfn << PAGE_SHIFT);
arch/x86/include/asm/page.h-69-}
--
arch/x86/include/asm/page_types.h-19-
arch/x86/include/asm/page_types.h:20:#define HPAGE_SHIFT		PMD_SHIFT
arch/x86/include/asm/page_types.h:21:#define HPAGE_SIZE		(_AC(1,UL) << HPAGE_SHIFT)
arch/x86/include/asm/page_types.h-22-#define HPAGE_MASK		(~(HPAGE_SIZE - 1))
arch/x86/include/asm/page_types.h:23:#define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
arch/x86/include/asm/page_types.h-24-
--
arch/x86/include/asm/page_types.h=58=static inline phys_addr_t get_max_mapped(void)
arch/x86/include/asm/page_types.h-59-{
arch/x86/include/asm/page_types.h:60:	return (phys_addr_t)max_pfn_mapped << PAGE_SHIFT;
arch/x86/include/asm/page_types.h-61-}
--
arch/x86/include/asm/pgalloc.h=62=static inline void pmd_populate_kernel(struct mm_struct *mm,
--
arch/x86/include/asm/pgalloc.h-64-{
arch/x86/include/asm/pgalloc.h:65:	paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-66-	set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE));
--
arch/x86/include/asm/pgalloc.h=69=static inline void pmd_populate_kernel_safe(struct mm_struct *mm,
--
arch/x86/include/asm/pgalloc.h-71-{
arch/x86/include/asm/pgalloc.h:72:	paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-73-	set_pmd_safe(pmd, __pmd(__pa(pte) | _PAGE_TABLE));
--
arch/x86/include/asm/pgalloc.h=76=static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd,
--
arch/x86/include/asm/pgalloc.h-81-	paravirt_alloc_pte(mm, pfn);
arch/x86/include/asm/pgalloc.h:82:	set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT) | _PAGE_TABLE));
arch/x86/include/asm/pgalloc.h-83-}
--
arch/x86/include/asm/pgalloc.h=97=static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
arch/x86/include/asm/pgalloc.h-98-{
arch/x86/include/asm/pgalloc.h:99:	paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-100-	set_pud(pud, __pud(_PAGE_TABLE | __pa(pmd)));
--
arch/x86/include/asm/pgalloc.h=103=static inline void pud_populate_safe(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)
arch/x86/include/asm/pgalloc.h-104-{
arch/x86/include/asm/pgalloc.h:105:	paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-106-	set_pud_safe(pud, __pud(_PAGE_TABLE | __pa(pmd)));
--
arch/x86/include/asm/pgalloc.h=111=static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud)
arch/x86/include/asm/pgalloc.h-112-{
arch/x86/include/asm/pgalloc.h:113:	paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-114-	set_p4d(p4d, __p4d(_PAGE_TABLE | __pa(pud)));
--
arch/x86/include/asm/pgalloc.h=117=static inline void p4d_populate_safe(struct mm_struct *mm, p4d_t *p4d, pud_t *pud)
arch/x86/include/asm/pgalloc.h-118-{
arch/x86/include/asm/pgalloc.h:119:	paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-120-	set_p4d_safe(p4d, __p4d(_PAGE_TABLE | __pa(pud)));
--
arch/x86/include/asm/pgalloc.h=132=static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
--
arch/x86/include/asm/pgalloc.h-135-		return;
arch/x86/include/asm/pgalloc.h:136:	paravirt_alloc_p4d(mm, __pa(p4d) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-137-	set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(p4d)));
--
arch/x86/include/asm/pgalloc.h=140=static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
--
arch/x86/include/asm/pgalloc.h-143-		return;
arch/x86/include/asm/pgalloc.h:144:	paravirt_alloc_p4d(mm, __pa(p4d) >> PAGE_SHIFT);
arch/x86/include/asm/pgalloc.h-145-	set_pgd_safe(pgd, __pgd(_PAGE_TABLE | __pa(p4d)));
--
arch/x86/include/asm/pgtable.h=252=static inline u64 protnone_mask(u64 val);
arch/x86/include/asm/pgtable.h-253-
arch/x86/include/asm/pgtable.h:254:#define PFN_PTE_SHIFT	PAGE_SHIFT
arch/x86/include/asm/pgtable.h-255-
arch/x86/include/asm/pgtable.h=256=static inline unsigned long pte_pfn(pte_t pte)
--
arch/x86/include/asm/pgtable.h-259-	pfn ^= protnone_mask(pfn);
arch/x86/include/asm/pgtable.h:260:	return (pfn & PTE_PFN_MASK) >> PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-261-}
--
arch/x86/include/asm/pgtable.h=263=static inline unsigned long pmd_pfn(pmd_t pmd)
--
arch/x86/include/asm/pgtable.h-266-	pfn ^= protnone_mask(pfn);
arch/x86/include/asm/pgtable.h:267:	return (pfn & pmd_pfn_mask(pmd)) >> PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-268-}
--
arch/x86/include/asm/pgtable.h=271=static inline unsigned long pud_pfn(pud_t pud)
--
arch/x86/include/asm/pgtable.h-274-	pfn ^= protnone_mask(pfn);
arch/x86/include/asm/pgtable.h:275:	return (pfn & pud_pfn_mask(pud)) >> PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-276-}
--
arch/x86/include/asm/pgtable.h=278=static inline unsigned long p4d_pfn(p4d_t p4d)
arch/x86/include/asm/pgtable.h-279-{
arch/x86/include/asm/pgtable.h:280:	return (p4d_val(p4d) & p4d_pfn_mask(p4d)) >> PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-281-}
--
arch/x86/include/asm/pgtable.h=283=static inline unsigned long pgd_pfn(pgd_t pgd)
arch/x86/include/asm/pgtable.h-284-{
arch/x86/include/asm/pgtable.h:285:	return (pgd_val(pgd) & PTE_PFN_MASK) >> PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-286-}
--
arch/x86/include/asm/pgtable.h=730=static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h-731-{
arch/x86/include/asm/pgtable.h:732:	phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-733-	/* This bit combination is used to mark shadow stacks */
--
arch/x86/include/asm/pgtable.h=741=static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h-742-{
arch/x86/include/asm/pgtable.h:743:	phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-744-	pfn ^= protnone_mask(pgprot_val(pgprot));
--
arch/x86/include/asm/pgtable.h=749=static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h-750-{
arch/x86/include/asm/pgtable.h:751:	phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT;
arch/x86/include/asm/pgtable.h-752-	pfn ^= protnone_mask(pgprot_val(pgprot));
--
arch/x86/include/asm/pgtable.h=1031=static inline unsigned long pages_to_mb(unsigned long npg)
arch/x86/include/asm/pgtable.h-1032-{
arch/x86/include/asm/pgtable.h:1033:	return npg >> (20 - PAGE_SHIFT);
arch/x86/include/asm/pgtable.h-1034-}
--
arch/x86/include/asm/pgtable.h=1404=static inline bool pgdp_maps_userspace(void *__ptr)
--
arch/x86/include/asm/pgtable.h-1417- */
arch/x86/include/asm/pgtable.h:1418:#define PTI_PGTABLE_SWITCH_BIT	PAGE_SHIFT
arch/x86/include/asm/pgtable.h-1419-
--
arch/x86/include/asm/pgtable.h=1483=static inline int page_level_shift(enum pg_level level)
arch/x86/include/asm/pgtable.h-1484-{
arch/x86/include/asm/pgtable.h:1485:	return (PAGE_SHIFT - PTE_SHIFT) + level * PTE_SHIFT;
arch/x86/include/asm/pgtable.h-1486-}
--
arch/x86/include/asm/pgtable_32.h=42=do {						\
--
arch/x86/include/asm/pgtable_32.h-71- */
arch/x86/include/asm/pgtable_32.h:72:#define LOWMEM_PAGES ((((_ULL(2)<<31) - __PAGE_OFFSET) >> PAGE_SHIFT))
arch/x86/include/asm/pgtable_32.h-73-
--
arch/x86/include/asm/processor.h=230=static inline unsigned long long l1tf_pfn_limit(void)
arch/x86/include/asm/processor.h-231-{
arch/x86/include/asm/processor.h:232:	return BIT_ULL(boot_cpu_data.x86_cache_bits - 1 - PAGE_SHIFT);
arch/x86/include/asm/processor.h-233-}
--
arch/x86/include/asm/tlbflush.h=325=static inline bool mm_in_asid_transition(struct mm_struct *mm) { return false; }
--
arch/x86/include/asm/tlbflush.h-334-				? huge_page_shift(hstate_vma(vma))	\
arch/x86/include/asm/tlbflush.h:335:				: PAGE_SHIFT, true)
arch/x86/include/asm/tlbflush.h-336-
--
arch/x86/include/asm/tlbflush.h=343=static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long a)
arch/x86/include/asm/tlbflush.h-344-{
arch/x86/include/asm/tlbflush.h:345:	flush_tlb_mm_range(vma->vm_mm, a, a + PAGE_SIZE, PAGE_SHIFT, false);
arch/x86/include/asm/tlbflush.h-346-}
--
arch/x86/include/asm/vga.h-24-	if (IS_ENABLED(CONFIG_AMD_MEM_ENCRYPT))			\
arch/x86/include/asm/vga.h:25:		set_memory_decrypted(start, (s) >> PAGE_SHIFT);	\
arch/x86/include/asm/vga.h-26-								\
--
arch/x86/include/asm/xen/page.h=298=static inline unsigned long virt_to_pfn(const void *v)
--
arch/x86/include/asm/xen/page.h-302-#define virt_to_mfn(v)		(pfn_to_mfn(virt_to_pfn(v)))
arch/x86/include/asm/xen/page.h:303:#define mfn_to_virt(m)		(__va(mfn_to_pfn(m) << PAGE_SHIFT))
arch/x86/include/asm/xen/page.h-304-
--
arch/x86/include/asm/xen/page.h-306-#define virt_to_gfn(v)		(pfn_to_gfn(virt_to_pfn(v)))
arch/x86/include/asm/xen/page.h:307:#define gfn_to_virt(g)		(__va(gfn_to_pfn(g) << PAGE_SHIFT))
arch/x86/include/asm/xen/page.h-308-
arch/x86/include/asm/xen/page.h=309=static inline unsigned long pte_mfn(pte_t pte)
arch/x86/include/asm/xen/page.h-310-{
arch/x86/include/asm/xen/page.h:311:	return (pte.pte & XEN_PTE_MFN_MASK) >> PAGE_SHIFT;
arch/x86/include/asm/xen/page.h-312-}
--
arch/x86/include/asm/xen/page.h=314=static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot)
--
arch/x86/include/asm/xen/page.h-317-
arch/x86/include/asm/xen/page.h:318:	pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) |
arch/x86/include/asm/xen/page.h-319-			massage_pgprot(pgprot);
]

52/4 2026/09/15 01:03 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 12051
							output: 41
							thoughts: 36
						

Thoughts:
**My Thought Process Regarding PAGE_SHIFT on x86**

I need to understand how memory pages are structured specifically for the x86 architecture. My immediate thought is to locate the definition of `PAGE_SHIFT`. Given my expertise, I know this value is fundamental to memory management, dictating the size of a page, and therefore is likely to be found within architecture-specific header files. My current focus is x86, so I'm instinctively looking for a file that reflects this. The naming convention `page_types.h` within an `asm` (assembler/architecture-specific) subdirectory, especially under `arch/x86`, strongly suggests this is precisely where I'll find the relevant definition. This file is the logical place to house type definitions and constants related to page structures for the x86 architecture.


53/4 2026/09/15 01:03 tool read-file
0m Args:
map[File:arch/x86/include/asm/page_types.h FirstLine:1 LineCount:25]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef _ASM_X86_PAGE_DEFS_H
   3:	#define _ASM_X86_PAGE_DEFS_H
   4:	
   5:	#include <linux/const.h>
   6:	#include <linux/types.h>
   7:	#include <linux/mem_encrypt.h>
   8:	
   9:	#include <vdso/page.h>
  10:	
  11:	#define __VIRTUAL_MASK		((1UL << __VIRTUAL_MASK_SHIFT) - 1)
  12:	
  13:	/* Cast P*D_MASK to a signed type so that it is sign-extended if
  14:	   virtual addresses are 32-bits but physical addresses are larger
  15:	   (ie, 32-bit PAE). */
  16:	#define PHYSICAL_PAGE_MASK	(((signed long)PAGE_MASK) & __PHYSICAL_MASK)
  17:	#define PHYSICAL_PMD_PAGE_MASK	(((signed long)PMD_MASK) & __PHYSICAL_MASK)
  18:	#define PHYSICAL_PUD_PAGE_MASK	(((signed long)PUD_MASK) & __PHYSICAL_MASK)
  19:	
  20:	#define HPAGE_SHIFT		PMD_SHIFT
  21:	#define HPAGE_SIZE		(_AC(1,UL) << HPAGE_SHIFT)
  22:	#define HPAGE_MASK		(~(HPAGE_SIZE - 1))
  23:	#define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
  24:	
  25:	#define HUGE_MAX_HSTATE 2
]

54/4 2026/09/15 01:03 llm codeexpert
1m Model:
gemini-3.8-flash

Tokens:
							input: 12575
							output: 34
							thoughts: 12
						

Thoughts:
**My Thought Process**

Ah, so I'm being asked to dive into `include/vdso/page.h`. My immediate instinct is to understand the fundamental building blocks of how the kernel exposes information, particularly page-related details, to userspace without the overhead of a system call. This header file is likely to contain definitions and structures that describe pages of memory, probably in a way that's optimized for read-only access from userland. I'm expecting to find things like page sizes, flags, or perhaps even pointers to vital kernel data structures that are safe and efficient for userspace to query. The "vdso" prefix strongly suggests Virtual Dynamically Shared Object, which reinforces my belief that this is about kernel-userspace communication for performance. So, I'll be looking for constants, type definitions, and potentially some inline functions that represent the kernel's view of memory pages, exposed in a secure and accessible manner. I'm keen to see what specific page properties are deemed important enough for this direct exposure and how they are encoded.


55/4 2026/09/15 01:04 tool read-file
0m Args:
map[File:include/vdso/page.h FirstLine:1 LineCount:25]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef __VDSO_PAGE_H
   3:	#define __VDSO_PAGE_H
   4:	
   5:	#include <uapi/linux/const.h>
   6:	
   7:	/*
   8:	 * PAGE_SHIFT determines the page size.
   9:	 *
  10:	 * Note: This definition is required because PAGE_SHIFT is used
  11:	 * in several places throughout the codebase.
  12:	 */
  13:	#define PAGE_SHIFT      CONFIG_PAGE_SHIFT
  14:	
  15:	#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)
  16:	
  17:	#if !defined(CONFIG_64BIT)
  18:	/*
  19:	 * Applies only to 32-bit architectures.
  20:	 *
  21:	 * Subtle: (1 << CONFIG_PAGE_SHIFT) is an int, not an unsigned long.
  22:	 * So if we assign PAGE_MASK to a larger type it gets extended the
  23:	 * way we want (i.e. with 1s in the high bits) while masking a
  24:	 * 64-bit value such as phys_addr_t.
  25:	 */
]

56/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 12964
							output: 35
							thoughts: 22
						

Thoughts:
**My Thought Process Regarding `include/vdso/page.h` Lines 20-40**

Alright, so my immediate inclination is to dive into the source code, specifically lines 20 through 40 of `include/vdso/page.h`. I’m keenly interested in understanding the specifics of the virtual dynamic shared object (vDSO) page management as laid out in this particular section. Given my expertise, I'm not just looking for a superficial overview; I want to grasp the underlying mechanisms, the data structures, and any potential performance implications or architectural decisions being made here.

I anticipate that this section will likely define key structures or constants related to how the kernel exposes certain system information or functionalities directly to userspace via the vDSO. This could involve things like time-related data (e.g., `gettimeofday`, `clock_gettime` implementations), CPU-specific information, or even rudimentary system call stubs that are optimized to run in user context.

My expectation is to find definitions of structs that will represent the data residents of the vDSO page. I'll be scrutinizing the member variables of these structs to understand what pieces of information are being made accessible. Are we talking about raw counters, timestamps, flags, or pointers to more complex data? The granularity of this data is important for my understanding of how applications will interact with it.

Furthermore, I'll be looking for any constants or macros that might define memory layouts, offsets, or synchronization primitives if applicable. The vDSO page is a shared resource, so understanding how its contents are organized and potentially protected (even if read-only for the most part) is crucial. I’ll be asking myself: are there any implicit assumptions about memory alignment or cache line sizes that are being leveraged here?

I’ll also be considering the context of how these definitions will be used by both the kernel when populating the vDSO page, and by userspace applications when accessing it. Are there any potential race conditions or atomicity concerns that these definitions might implicitly or explicitly address? The goal is to ensure safe and efficient access from the userland perspective.

Finally, I’ll be keeping an eye out for any hints about the specific ABI that this vDSO page adheres to, even if those details are elaborated elsewhere. The definitions here are the bedrock upon which that ABI is built, and understanding them will give me significant insight into the system's design for privileged operations. My primary aim is to build a clear mental model of the vDSO's memory footprint and the data it exposes as defined in these lines.


57/4 2026/09/15 01:04 tool read-file
0m Args:
map[File:include/vdso/page.h FirstLine:20 LineCount:20]

Results:
map[Contents:  20:	 *
  21:	 * Subtle: (1 << CONFIG_PAGE_SHIFT) is an int, not an unsigned long.
  22:	 * So if we assign PAGE_MASK to a larger type it gets extended the
  23:	 * way we want (i.e. with 1s in the high bits) while masking a
  24:	 * 64-bit value such as phys_addr_t.
  25:	 */
  26:	#define PAGE_MASK	(~((1 << CONFIG_PAGE_SHIFT) - 1))
  27:	#else
  28:	#define PAGE_MASK	(~(PAGE_SIZE - 1))
  29:	#endif
  30:	
  31:	#endif	/* __VDSO_PAGE_H */
]

58/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 13216
							output: 37
							thoughts: 43
						

Thoughts:
**A Deep Dive into Kernel Alignment Macros**

My current focus is on understanding the intricacies of kernel memory alignment, specifically how the `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK` macros are implemented. To achieve this, I'm directing my attention to the `include/uapi/linux/const.h` file, and I'll be examining the definitions of these macros in the vicinity of line 48. My goal is to dissect their underlying logic and the precise mechanisms they employ to ensure proper memory alignment within the Linux kernel. This exploration is crucial for grasping the fundamental principles of how the kernel manages memory for optimal performance and stability, a topic I hold in high regard given my expertise.


59/4 2026/09/15 01:04 tool read-file
0m Args:
map[File:include/uapi/linux/const.h FirstLine:20 LineCount:40]

Results:
map[Contents:  20:	#define __AC(X,Y)	(X##Y)
  21:	#define _AC(X,Y)	__AC(X,Y)
  22:	#define _AT(T,X)	((T)(X))
  23:	#endif
  24:	
  25:	#define _UL(x)		(_AC(x, UL))
  26:	#define _ULL(x)		(_AC(x, ULL))
  27:	
  28:	#define _BITUL(x)	(_UL(1) << (x))
  29:	#define _BITULL(x)	(_ULL(1) << (x))
  30:	
  31:	#if !defined(__ASSEMBLY__)
  32:	/*
  33:	 * Missing asm support
  34:	 *
  35:	 * __BIT128() would not work in the asm code, as it shifts an
  36:	 * 'unsigned __int128' data type as direct representation of
  37:	 * 128 bit constants is not supported in the gcc compiler, as
  38:	 * they get silently truncated.
  39:	 *
  40:	 * TODO: Please revisit this implementation when gcc compiler
  41:	 * starts representing 128 bit constants directly like long
  42:	 * and unsigned long etc. Subsequently drop the comment for
  43:	 * GENMASK_U128() which would then start supporting asm code.
  44:	 */
  45:	#define _BIT128(x)	((unsigned __int128)(1) << (x))
  46:	#endif
  47:	
  48:	#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
  49:	#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
  50:	
  51:	#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
  52:	
  53:	/*
  54:	 * Divide positive or negative dividend by positive or negative divisor
  55:	 * and round to closest integer. Result is undefined for negative
  56:	 * divisors if the dividend variable type is unsigned and for negative
  57:	 * dividends if the divisor variable type is unsigned.
  58:	 */
  59:	#define __KERNEL_DIV_ROUND_CLOSEST(x, divisor)		\
]

60/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 13951
							output: 17
							thoughts: 1263
						

Thoughts:
**A Deep Dive into PAGE_ALIGN on the Edge of 64-bit Addresses**

My thought process here is one of meticulous unpacking and validation, driven by the need to precisely understand the behavior of a fundamental kernel macro, `PAGE_ALIGN`, when presented with an extreme input value, specifically `0xffffffffffffffffULL`, on a 64-bit architecture with 4KB pages. It's a scenario that pushes the boundaries of typical usage and demands a rigorous, step-by-step analysis.

Initially, I'm focused on the core definition of `PAGE_ALIGN(addr)`. I know it's an alias for `ALIGN(addr, PAGE_SIZE)`. My immediate next step is to find the definition of `ALIGN(x, a)`. This leads me to `ALIGN(x, a)` which, in turn, delegates to `__ALIGN_KERNEL((x), (a))`. This is where the actual bit manipulation starts to come into play.

The critical part is `__ALIGN_KERNEL_MASK(x, mask)`, defined as `(((x) + (mask)) & ~(mask))`. This is the heart of the calculation. I need to correctly determine the values of `x` and `mask` for my specific input.

*   **`x`**: This is straightforward. It's the input address, `0xffffffffffffffffULL`.
*   **`a`**: This is `PAGE_SIZE`. Given the problem statement, `PAGE_SIZE` is 4KB, which is 4096 in decimal, or `0x1000` in hexadecimal.
*   **`mask`**: This is derived from `(__typeof__(x))(a) - 1`. Here, `x` is an `unsigned long long` (a 64-bit unsigned integer on a 64-bit architecture). So, `__typeof__(x)` is `unsigned long long`. Therefore, `mask` becomes `(unsigned long long)(4096) - 1`. This evaluates to `4096ULL - 1`, which is `4095ULL`, or `0xfffULL`.

Now, I can substitute these values into the `__ALIGN_KERNEL_MASK` macro:

`(((0xffffffffffffffffULL) + (0xfffULL)) & ~(0xfffULL))`

This is where the first potential pitfall arises: unsigned integer arithmetic. I need to remember that operations on unsigned integers wrap around modulo $2^N$, where $N$ is the number of bits. In this case, $N=64$.

Let's analyze `(x) + (mask)`:
`0xffffffffffffffffULL` represents $2^{64} - 1$.
Adding `0xfffULL` (which is 4095) to this:
$(2^{64} - 1) + 4095 = 2^{64} + 4094$.
When this is performed modulo $2^{64}$, the result is `4094ULL`, or `0xffeULL`. This is a crucial step, as a simple mental addition might not immediately account for the wraparound.

Next, I need to calculate `~(mask)`:
`mask` is `0xfffULL` (which is `0x0000000000000fffULL`).
The bitwise NOT of `0xfffULL` is `0xfffffffffffff000ULL`. This effectively zeroes out the lower 12 bits and sets all higher bits to 1.

Finally, I perform the bitwise AND:
`((x) + (mask)) & ~(mask)`
This becomes:
`0x0000000000000ffeULL & 0xfffffffffffff000ULL`

Looking at the binary representations:
`0xffeULL` has the lower 12 bits as `1111 1111 1110` and all higher bits as `0`.
`~0xfffULL` has the lower 12 bits as `0000 0000 0000` and all higher bits as `1`.

When I perform the bitwise AND:
The lower 12 bits of `0xffeULL` (which are `1111 1111 1110`) are ANDed with the lower 12 bits of `~0xfffULL` (which are all `0`s). This results in `0`.
The higher bits of `0xffeULL` (which are all `0`s) are ANDed with the higher bits of `~0xfffULL` (which are all `1`s). This also results in `0`.

Therefore, the entire expression evaluates to `0ULL`.

At this point, I pause to consider if there are any other interpretations or edge cases. I'm questioning my own calculation and thinking about the nature of `PAGE_ALIGN`. Is it possible that `PAGE_ALIGN` behaves differently near the absolute maximum value of an address? Could there be alternative definitions for `PAGE_ALIGN` itself, or perhaps special handling for such extreme inputs in certain kernel versions or architectures? My next logical step is to confirm this by searching the entire kernel source tree for other definitions of `PAGE_ALIGN` to ensure no context-specific overrides or nuances are missed. This thoroughness is essential when dealing with low-level C macros and their precise arithmetic behavior, especially at the limits of data types.


61/4 2026/09/15 01:04 tool grepper
0m Args:
map[Expression:PAGE_ALIGN]

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

arch/alpha/kernel/core_irongate.c=202=albacore_init_arch(void)
--
arch/alpha/kernel/core_irongate.c-234-			size = initrd_end - initrd_start;
arch/alpha/kernel/core_irongate.c:235:			memblock_free((void *)initrd_start, PAGE_ALIGN(size));
arch/alpha/kernel/core_irongate.c-236-			if (!move_initrd(pci_mem))
--
arch/alpha/kernel/core_irongate.c=312=irongate_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_irongate.c-356-	last = addr + size - 1;
arch/alpha/kernel/core_irongate.c:357:	size = PAGE_ALIGN(last) - addr;
arch/alpha/kernel/core_irongate.c-358-
--
arch/alpha/kernel/core_marvel.c=681=marvel_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_marvel.c-732-		baddr &= PAGE_MASK;
arch/alpha/kernel/core_marvel.c:733:		size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/core_marvel.c-734-
--
arch/alpha/kernel/core_titan.c=455=titan_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_titan.c-506-		baddr &= PAGE_MASK;
arch/alpha/kernel/core_titan.c:507:		size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/core_titan.c-508-
--
arch/alpha/kernel/osf_sys.c=177=SYSCALL_DEFINE6(osf_mmap, unsigned long, addr, unsigned long, len,
--
arch/alpha/kernel/osf_sys.c-187-#endif
arch/alpha/kernel/osf_sys.c:188:	if ((off + PAGE_ALIGN(len)) < off)
arch/alpha/kernel/osf_sys.c-189-		goto out;
--
arch/alpha/kernel/osf_sys.c=1216=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/alpha/kernel/osf_sys.c-1238-	if (addr) {
arch/alpha/kernel/osf_sys.c:1239:		addr = arch_get_unmapped_area_1 (PAGE_ALIGN(addr), len, limit);
arch/alpha/kernel/osf_sys.c-1240-		if (addr != (unsigned long) -ENOMEM)
--
arch/alpha/kernel/osf_sys.c-1244-	/* Next, try allocating at TASK_UNMAPPED_BASE.  */
arch/alpha/kernel/osf_sys.c:1245:	addr = arch_get_unmapped_area_1 (PAGE_ALIGN(TASK_UNMAPPED_BASE),
arch/alpha/kernel/osf_sys.c-1246-					 len, limit);
--
arch/alpha/kernel/setup.c=266=move_initrd(unsigned long mem_limit)
--
arch/alpha/kernel/setup.c-271-	size = initrd_end - initrd_start;
arch/alpha/kernel/setup.c:272:	start = memblock_alloc(PAGE_ALIGN(size), PAGE_SIZE);
arch/alpha/kernel/setup.c-273-	if (!start || __pa(start) + size > mem_limit) {
--
arch/arc/mm/mmap.c=25=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/arc/mm/mmap.c-46-	if (addr) {
arch/arc/mm/mmap.c:47:		addr = PAGE_ALIGN(addr);
arch/arc/mm/mmap.c-48-
--
arch/arm/include/asm/cacheflush.h=225=vivt_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end)
--
arch/arm/include/asm/cacheflush.h-229-	if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm)))
arch/arm/include/asm/cacheflush.h:230:		__cpuc_flush_user_range(start & PAGE_MASK, PAGE_ALIGN(end),
arch/arm/include/asm/cacheflush.h-231-					vma->vm_flags);
--
arch/arm/kernel/process.c=349=static unsigned long sigpage_addr(const struct mm_struct *mm,
--
arch/arm/kernel/process.c-357-
arch/arm/kernel/process.c:358:	first = PAGE_ALIGN(mm->start_stack);
arch/arm/kernel/process.c-359-
--
arch/arm/kernel/setup.c=760=int __init arm_add_memory(u64 start, u64 size)
--
arch/arm/kernel/setup.c-767-	 */
arch/arm/kernel/setup.c:768:	aligned_start = PAGE_ALIGN(start);
arch/arm/kernel/setup.c-769-	if (aligned_start > start + size)
--
arch/arm/mach-omap1/sram-init.c=59=void *omap_sram_push(void *funcp, unsigned long size)
--
arch/arm/mach-omap1/sram-init.c-70-	base = (unsigned long)sram & PAGE_MASK;
arch/arm/mach-omap1/sram-init.c:71:	pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mach-omap1/sram-init.c-72-
--
arch/arm/mach-omap1/sram-init.c=89=static void __init omap_detect_and_map_sram(void)
--
arch/arm/mach-omap1/sram-init.c-123-	base = (unsigned long)omap_sram_base;
arch/arm/mach-omap1/sram-init.c:124:	pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap1/sram-init.c-125-
--
arch/arm/mach-omap2/sram.c=81=void *omap_sram_push(void *funcp, unsigned long size)
--
arch/arm/mach-omap2/sram.c-92-	base = (unsigned long)sram & PAGE_MASK;
arch/arm/mach-omap2/sram.c:93:	pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c-94-
--
arch/arm/mach-omap2/sram.c=180=static void __init omap2_map_sram(void)
--
arch/arm/mach-omap2/sram.c-216-	base = (unsigned long)omap_sram_base;
arch/arm/mach-omap2/sram.c:217:	pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c-218-
--
arch/arm/mm/cache-l2x0.c=1357=static unsigned long aurora_range_end(unsigned long start, unsigned long end)
--
arch/arm/mm/cache-l2x0.c-1369-	 */
arch/arm/mm/cache-l2x0.c:1370:	if (end > PAGE_ALIGN(start+1))
arch/arm/mm/cache-l2x0.c:1371:		end = PAGE_ALIGN(start+1);
arch/arm/mm/cache-l2x0.c-1372-
--
arch/arm/mm/dma-mapping.c=533=static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
--
arch/arm/mm/dma-mapping.c-543-		.dev = dev,
arch/arm/mm/dma-mapping.c:544:		.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c-545-		.gfp = gfp,
--
arch/arm/mm/dma-mapping.c=605=static void __arm_dma_free(struct device *dev, size_t size, void *cpu_addr,
--
arch/arm/mm/dma-mapping.c-612-		.dev = dev,
arch/arm/mm/dma-mapping.c:613:		.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c-614-		.cpu_addr = cpu_addr,
--
arch/arm/mm/dma-mapping.c=754=static inline dma_addr_t __alloc_iova(struct dma_iommu_mapping *mapping,
--
arch/arm/mm/dma-mapping.c-767-
arch/arm/mm/dma-mapping.c:768:	count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-769-	align = (1 << order) - 1;
--
arch/arm/mm/dma-mapping.c=960=__iommu_create_mapping(struct device *dev, struct page **pages, size_t size,
--
arch/arm/mm/dma-mapping.c-963-	struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev);
arch/arm/mm/dma-mapping.c:964:	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-965-	dma_addr_t dma_addr, iova;
--
arch/arm/mm/dma-mapping.c=1000=static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size)
--
arch/arm/mm/dma-mapping.c-1007-	 */
arch/arm/mm/dma-mapping.c:1008:	size = PAGE_ALIGN((iova & ~PAGE_MASK) + size);
arch/arm/mm/dma-mapping.c-1009-	iova &= PAGE_MASK;
--
arch/arm/mm/dma-mapping.c=1073=static void *arm_iommu_alloc_attrs(struct device *dev, size_t size,
--
arch/arm/mm/dma-mapping.c-1081-	*handle = DMA_MAPPING_ERROR;
arch/arm/mm/dma-mapping.c:1082:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1083-
--
arch/arm/mm/dma-mapping.c=1113=static int arm_iommu_mmap_attrs(struct device *dev, struct vm_area_struct *vma,
--
arch/arm/mm/dma-mapping.c-1117-	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
arch/arm/mm/dma-mapping.c:1118:	unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-1119-	int err;
--
arch/arm/mm/dma-mapping.c=1141=static void arm_iommu_free_attrs(struct device *dev, size_t size, void *cpu_addr,
--
arch/arm/mm/dma-mapping.c-1145-	struct page **pages;
arch/arm/mm/dma-mapping.c:1146:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1147-
--
arch/arm/mm/dma-mapping.c=1166=static int arm_iommu_get_sgtable(struct device *dev, struct sg_table *sgt,
--
arch/arm/mm/dma-mapping.c-1169-{
arch/arm/mm/dma-mapping.c:1170:	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-1171-	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
--
arch/arm/mm/dma-mapping.c=1183=static int __map_sg_chunk(struct device *dev, struct scatterlist *sg,
--
arch/arm/mm/dma-mapping.c-1193-
arch/arm/mm/dma-mapping.c:1194:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1195-	*handle = DMA_MAPPING_ERROR;
--
arch/arm/mm/dma-mapping.c-1202-		phys_addr_t phys = page_to_phys(sg_page(s));
arch/arm/mm/dma-mapping.c:1203:		unsigned int len = PAGE_ALIGN(s->offset + s->length);
arch/arm/mm/dma-mapping.c-1204-
--
arch/arm/mm/dma-mapping.c=1365=static dma_addr_t arm_iommu_map_phys(struct device *dev, phys_addr_t phys,
--
arch/arm/mm/dma-mapping.c-1368-	struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev);
arch/arm/mm/dma-mapping.c:1369:	int len = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm/mm/dma-mapping.c-1370-	phys_addr_t addr = phys & PAGE_MASK;
--
arch/arm/mm/dma-mapping.c=1404=static void arm_iommu_unmap_phys(struct device *dev, dma_addr_t handle,
--
arch/arm/mm/dma-mapping.c-1409-	int offset = handle & ~PAGE_MASK;
arch/arm/mm/dma-mapping.c:1410:	int len = PAGE_ALIGN(size + offset);
arch/arm/mm/dma-mapping.c-1411-
--
arch/arm/mm/init.c=423=void free_initrd_mem(unsigned long start, unsigned long end)
--
arch/arm/mm/init.c-429-
arch/arm/mm/init.c:430:	poison_init_mem((void *)start, PAGE_ALIGN(end) - start);
arch/arm/mm/init.c-431-	free_reserved_area((void *)start, (void *)end, -1, "initrd");
--
arch/arm/mm/ioremap.c=274=static void __iomem * __arm_ioremap_pfn_caller(unsigned long pfn,
--
arch/arm/mm/ioremap.c-297-	 */
arch/arm/mm/ioremap.c:298:	size = PAGE_ALIGN(offset + size);
arch/arm/mm/ioremap.c-299-
--
arch/arm/mm/ioremap.c=434=void __arm_iomem_set_ro(void __iomem *ptr, size_t size)
arch/arm/mm/ioremap.c-435-{
arch/arm/mm/ioremap.c:436:	set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE);
arch/arm/mm/ioremap.c-437-}
--
arch/arm/mm/kasan_init.c=195=static int __init create_mapping(void *start, void *end)
--
arch/arm/mm/kasan_init.c-205-	kasan_pgd_populate((unsigned long)shadow_start & PAGE_MASK,
arch/arm/mm/kasan_init.c:206:			   PAGE_ALIGN((unsigned long)shadow_end), false);
arch/arm/mm/kasan_init.c-207-	return 0;
--
arch/arm/mm/mmap.c=30=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/arm/mm/mmap.c-63-		else
arch/arm/mm/mmap.c:64:			addr = PAGE_ALIGN(addr);
arch/arm/mm/mmap.c-65-
--
arch/arm/mm/mmap.c=81=arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
--
arch/arm/mm/mmap.c-114-		else
arch/arm/mm/mmap.c:115:			addr = PAGE_ALIGN(addr);
arch/arm/mm/mmap.c-116-		vma = find_vma(mm, addr);
--
arch/arm/mm/mmu.c=858=static void __init create_36bit_mapping(struct mm_struct *mm,
--
arch/arm/mm/mmu.c-868-	phys = __pfn_to_phys(md->pfn);
arch/arm/mm/mmu.c:869:	length = PAGE_ALIGN(md->length);
arch/arm/mm/mmu.c-870-
--
arch/arm/mm/mmu.c=920=static void __init __create_mapping(struct mm_struct *mm, struct map_desc *md,
--
arch/arm/mm/mmu.c-942-	phys = __pfn_to_phys(md->pfn);
arch/arm/mm/mmu.c:943:	length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/mmu.c-944-
--
arch/arm/mm/mmu.c=1009=void __init iotable_init(struct map_desc *io_desc, int nr)
--
arch/arm/mm/mmu.c-1024-		vm->addr = (void *)(md->virtual & PAGE_MASK);
arch/arm/mm/mmu.c:1025:		vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/mmu.c-1026-		vm->phys_addr = __pfn_to_phys(md->pfn);
--
arch/arm/mm/pageattr.c=54=static int change_memory_common(unsigned long addr, int numpages,
--
arch/arm/mm/pageattr.c-57-	unsigned long start = addr & PAGE_MASK;
arch/arm/mm/pageattr.c:58:	unsigned long end = PAGE_ALIGN(addr) + numpages * PAGE_SIZE;
arch/arm/mm/pageattr.c-59-	unsigned long size = end - start;
--
arch/arm64/include/asm/kvm_pkvm.h=101=static inline unsigned long hyp_vm_table_pages(void)
arch/arm64/include/asm/kvm_pkvm.h-102-{
arch/arm64/include/asm/kvm_pkvm.h:103:	return PAGE_ALIGN(KVM_MAX_PVMS * sizeof(void *)) >> PAGE_SHIFT;
arch/arm64/include/asm/kvm_pkvm.h-104-}
--
arch/arm64/include/asm/processor.h-81-#define STACK_TOP_MAX		TASK_SIZE_64
arch/arm64/include/asm/processor.h:82:#define TASK_UNMAPPED_BASE	(PAGE_ALIGN(TASK_SIZE / 4))
arch/arm64/include/asm/processor.h-83-#else
arch/arm64/include/asm/processor.h-84-#define STACK_TOP_MAX		DEFAULT_MAP_WINDOW_64
arch/arm64/include/asm/processor.h:85:#define TASK_UNMAPPED_BASE	(PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
arch/arm64/include/asm/processor.h-86-#endif /* CONFIG_ARM64_FORCE_52BIT */
--
arch/arm64/kernel/efi.c=21=static bool region_is_misaligned(const efi_memory_desc_t *md)
--
arch/arm64/kernel/efi.c-24-		return false;
arch/arm64/kernel/efi.c:25:	return !PAGE_ALIGNED(md->phys_addr) ||
arch/arm64/kernel/efi.c:26:	       !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT);
arch/arm64/kernel/efi.c-27-}
--
arch/arm64/kernel/pi/map_range.c=29=void __init map_range(phys_addr_t *pte, u64 start, u64 end, phys_addr_t pa,
--
arch/arm64/kernel/pi/map_range.c-51-	while (start < end) {
arch/arm64/kernel/pi/map_range.c:52:		u64 next = min((start | lmask) + 1, PAGE_ALIGN(end));
arch/arm64/kernel/pi/map_range.c-53-
--
arch/arm64/kvm/hyp/nvhe/ffa.c=233=static void do_ffa_rxtx_map(struct arm_smccc_1_2_regs *res,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-246-
arch/arm64/kvm/hyp/nvhe/ffa.c:247:	if (!PAGE_ALIGNED(tx) || !PAGE_ALIGNED(rx)) {
arch/arm64/kvm/hyp/nvhe/ffa.c-248-		ret = FFA_RET_INVALID_PARAMETERS;
--
arch/arm64/kvm/hyp/nvhe/ffa.c=345=static u32 __ffa_host_share_ranges(struct ffa_mem_region_addr_range *ranges,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-354-
arch/arm64/kvm/hyp/nvhe/ffa.c:355:		if (!PAGE_ALIGNED(sz | range->address))
arch/arm64/kvm/hyp/nvhe/ffa.c-356-			break;
--
arch/arm64/kvm/hyp/nvhe/ffa.c=365=static u32 __ffa_host_unshare_ranges(struct ffa_mem_region_addr_range *ranges,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-374-
arch/arm64/kvm/hyp/nvhe/ffa.c:375:		if (!PAGE_ALIGNED(sz | range->address))
arch/arm64/kvm/hyp/nvhe/ffa.c-376-			break;
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=234=static void __apply_guest_page(void *va, size_t size,
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-238-	va = PTR_ALIGN_DOWN(va, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:239:	size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-240-
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=1157=int hyp_pin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1159-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1160:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1161-	u64 phys = __hyp_pa(start);
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=1193=void hyp_unpin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1195-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1196:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1197-	struct hyp_page *p;
--
arch/arm64/kvm/hyp/nvhe/mm.c=47=static int __pkvm_alloc_private_va_range(unsigned long start, size_t size)
--
arch/arm64/kvm/hyp/nvhe/mm.c-56-	/* The allocated size is always a multiple of PAGE_SIZE */
arch/arm64/kvm/hyp/nvhe/mm.c:57:	cur = start + PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/mm.c-58-
--
arch/arm64/kvm/hyp/nvhe/mm.c=93=int __pkvm_create_private_mapping(phys_addr_t phys, size_t size,
--
arch/arm64/kvm/hyp/nvhe/mm.c-99-
arch/arm64/kvm/hyp/nvhe/mm.c:100:	size = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm64/kvm/hyp/nvhe/mm.c-101-	err = pkvm_alloc_private_va_range(size, &addr);
--
arch/arm64/kvm/hyp/nvhe/mm.c=113=int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot)
--
arch/arm64/kvm/hyp/nvhe/mm.c-122-	start = start & PAGE_MASK;
arch/arm64/kvm/hyp/nvhe/mm.c:123:	end = PAGE_ALIGN(end);
arch/arm64/kvm/hyp/nvhe/mm.c-124-
--
arch/arm64/kvm/hyp/nvhe/mm.c=149=int hyp_back_vmemmap(phys_addr_t back)
--
arch/arm64/kvm/hyp/nvhe/mm.c-164-		end = hyp_memory[i].base + hyp_memory[i].size;
arch/arm64/kvm/hyp/nvhe/mm.c:165:		end = PAGE_ALIGN((u64)hyp_phys_to_page(end));
arch/arm64/kvm/hyp/nvhe/mm.c-166-		if (start >= end)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=647=static void *map_donated_memory_noclear(unsigned long host_va, size_t size)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-650-
arch/arm64/kvm/hyp/nvhe/pkvm.c:651:	if (!PAGE_ALIGNED(va))
arch/arm64/kvm/hyp/nvhe/pkvm.c-652-		return NULL;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-654-	if (__pkvm_host_donate_hyp(hyp_virt_to_pfn(va),
arch/arm64/kvm/hyp/nvhe/pkvm.c:655:				   PAGE_ALIGN(size) >> PAGE_SHIFT))
arch/arm64/kvm/hyp/nvhe/pkvm.c-656-		return NULL;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=671=static void __unmap_donated_memory(void *va, size_t size)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-674-	WARN_ON(__pkvm_hyp_donate_host(hyp_virt_to_pfn(va),
arch/arm64/kvm/hyp/nvhe/pkvm.c:675:				       PAGE_ALIGN(size) >> PAGE_SHIFT));
arch/arm64/kvm/hyp/nvhe/pkvm.c-676-}
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=936=teardown_donated_memory(struct kvm_hyp_memcache *mc, void *addr, size_t size)
arch/arm64/kvm/hyp/nvhe/pkvm.c-937-{
arch/arm64/kvm/hyp/nvhe/pkvm.c:938:	size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/pkvm.c-939-	memset(addr, 0, size);
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=1077=static bool pkvm_memshare_call(u64 *ret, struct kvm_vcpu *vcpu, u64 *exit_code)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-1081-
arch/arm64/kvm/hyp/nvhe/pkvm.c:1082:	if (!PAGE_ALIGNED(ipa))
arch/arm64/kvm/hyp/nvhe/pkvm.c-1083-		goto out_guest;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=1105=static void pkvm_memunshare_call(u64 *ret, struct kvm_vcpu *vcpu)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-1109-
arch/arm64/kvm/hyp/nvhe/pkvm.c:1110:	if (!PAGE_ALIGNED(ipa))
arch/arm64/kvm/hyp/nvhe/pkvm.c-1111-		return;
--
arch/arm64/kvm/hyp/nvhe/setup.c=75=static int pkvm_create_host_sve_mappings(void)
--
arch/arm64/kvm/hyp/nvhe/setup.c-87-		start = kern_hyp_va(sve_regs);
arch/arm64/kvm/hyp/nvhe/setup.c:88:		end = start + PAGE_ALIGN(pkvm_host_sve_state_size());
arch/arm64/kvm/hyp/nvhe/setup.c-89-		ret = pkvm_create_mappings(start, end, PAGE_HYP);
--
arch/arm64/kvm/hyp/nvhe/setup.c=97=static int recreate_hyp_mappings(phys_addr_t phys, unsigned long size,
--
arch/arm64/kvm/hyp/nvhe/setup.c-147-		start = (void *)kern_hyp_va(per_cpu_base[i]);
arch/arm64/kvm/hyp/nvhe/setup.c:148:		end = start + PAGE_ALIGN(hyp_percpu_size);
arch/arm64/kvm/hyp/nvhe/setup.c-149-		ret = pkvm_create_mappings(start, end, PAGE_HYP);
--
arch/arm64/kvm/hyp/nvhe/setup.c=344=int __pkvm_init(phys_addr_t phys, unsigned long size, unsigned long *per_cpu_base, u32 hyp_va_bits)
--
arch/arm64/kvm/hyp/nvhe/setup.c-352-
arch/arm64/kvm/hyp/nvhe/setup.c:353:	if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size))
arch/arm64/kvm/hyp/nvhe/setup.c-354-		return -EINVAL;
--
arch/arm64/kvm/hyp/nvhe/trace.c=46=static int __admit_host_mem(void *start, u64 size)
arch/arm64/kvm/hyp/nvhe/trace.c-47-{
arch/arm64/kvm/hyp/nvhe/trace.c:48:	if (!PAGE_ALIGNED(start) || !PAGE_ALIGNED(size) || !size)
arch/arm64/kvm/hyp/nvhe/trace.c-49-		return -EINVAL;
--
arch/arm64/kvm/hyp/pgtable.c=263=int kvm_pgtable_walk(struct kvm_pgtable *pgt, u64 addr, u64 size,
--
arch/arm64/kvm/hyp/pgtable.c-268-		.addr	= ALIGN_DOWN(addr, PAGE_SIZE),
arch/arm64/kvm/hyp/pgtable.c:269:		.end	= PAGE_ALIGN(walk_data.addr + size),
arch/arm64/kvm/hyp/pgtable.c-270-		.walker	= walker,
--
arch/arm64/kvm/hyp_trace.c=152=static int hyp_trace_buffer_alloc_bpages_backing(struct hyp_trace_buffer *trace_buffer, size_t size)
arch/arm64/kvm/hyp_trace.c-153-{
arch/arm64/kvm/hyp_trace.c:154:	int nr_bpages = (PAGE_ALIGN(size) / PAGE_SIZE) + 1;
arch/arm64/kvm/hyp_trace.c-155-	size_t backing_size;
--
arch/arm64/kvm/hyp_trace.c-158-
arch/arm64/kvm/hyp_trace.c:159:	backing_size = PAGE_ALIGN(sizeof(struct simple_buffer_page) * nr_bpages *
arch/arm64/kvm/hyp_trace.c-160-				  num_possible_cpus());
--
arch/arm64/kvm/hyp_trace.c=229=static struct trace_buffer_desc *hyp_trace_load(unsigned long size, void *priv)
--
arch/arm64/kvm/hyp_trace.c-243-
arch/arm64/kvm/hyp_trace.c:244:	desc_size = PAGE_ALIGN(desc_size);
arch/arm64/kvm/hyp_trace.c-245-	if (!desc_size)
--
arch/arm64/kvm/mmu.c=544=int kvm_share_hyp(void *from, void *to)
--
arch/arm64/kvm/mmu.c-564-	start = ALIGN_DOWN(__pa(from), PAGE_SIZE);
arch/arm64/kvm/mmu.c:565:	end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c-566-	for (cur = start; cur < end; cur += PAGE_SIZE) {
--
arch/arm64/kvm/mmu.c=590=void kvm_unshare_hyp(void *from, void *to)
--
arch/arm64/kvm/mmu.c-598-	start = ALIGN_DOWN(__pa(from), PAGE_SIZE);
arch/arm64/kvm/mmu.c:599:	end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c-600-	for (cur = start; cur < end; cur += PAGE_SIZE) {
--
arch/arm64/kvm/mmu.c=621=int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot)
--
arch/arm64/kvm/mmu.c-634-	start = start & PAGE_MASK;
arch/arm64/kvm/mmu.c:635:	end = PAGE_ALIGN(end);
arch/arm64/kvm/mmu.c-636-
--
arch/arm64/kvm/mmu.c=650=static int __hyp_alloc_private_va_range(unsigned long base)
--
arch/arm64/kvm/mmu.c-653-
arch/arm64/kvm/mmu.c:654:	if (!PAGE_ALIGNED(base))
arch/arm64/kvm/mmu.c-655-		return -EINVAL;
--
arch/arm64/kvm/mmu.c=680=int hyp_alloc_private_va_range(size_t size, unsigned long *haddr)
--
arch/arm64/kvm/mmu.c-695-	 */
arch/arm64/kvm/mmu.c:696:	size = PAGE_ALIGN(size);
arch/arm64/kvm/mmu.c-697-	base = io_map_base - size;
--
arch/arm64/kvm/mmu.c=708=static int __create_hyp_private_mapping(phys_addr_t phys_addr, size_t size,
--
arch/arm64/kvm/mmu.c-724-
arch/arm64/kvm/mmu.c:725:	size = PAGE_ALIGN(size + offset_in_page(phys_addr));
arch/arm64/kvm/mmu.c-726-	ret = hyp_alloc_private_va_range(size, &addr);
--
arch/arm64/kvm/pkvm.c=107=static int __pkvm_create_hyp_vcpu(struct kvm_vcpu *vcpu)
arch/arm64/kvm/pkvm.c-108-{
arch/arm64/kvm/pkvm.c:109:	size_t hyp_vcpu_sz = PAGE_ALIGN(PKVM_HYP_VCPU_SIZE);
arch/arm64/kvm/pkvm.c-110-	pkvm_handle_t handle = vcpu->kvm->arch.pkvm.handle;
--
arch/arm64/kvm/pkvm.c=139=static int __pkvm_create_hyp_vm(struct kvm *kvm)
--
arch/arm64/kvm/pkvm.c-159-	/* Allocate memory to donate to hyp for vm and vcpu pointers. */
arch/arm64/kvm/pkvm.c:160:	hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE,
arch/arm64/kvm/pkvm.c-161-					size_mul(sizeof(void *),
--
arch/arm64/kvm/vgic/vgic-v2.c=479=int vgic_v2_probe(const struct gic_kvm_info *info)
--
arch/arm64/kvm/vgic/vgic-v2.c-493-
arch/arm64/kvm/vgic/vgic-v2.c:494:	if (!PAGE_ALIGNED(info->vcpu.start) ||
arch/arm64/kvm/vgic/vgic-v2.c:495:	    !PAGE_ALIGNED(resource_size(&info->vcpu))) {
arch/arm64/kvm/vgic/vgic-v2.c-496-		kvm_info("GICV region size/alignment is unsafe, using trapping (reduced performance)\n");
--
arch/arm64/kvm/vgic/vgic-v3.c=906=int vgic_v3_probe(const struct gic_kvm_info *info)
--
arch/arm64/kvm/vgic/vgic-v3.c-937-		pr_warn(FW_BUG "CPU interface incapable of MMIO access\n");
arch/arm64/kvm/vgic/vgic-v3.c:938:	} else if (!PAGE_ALIGNED(info->vcpu.start)) {
arch/arm64/kvm/vgic/vgic-v3.c-939-		pr_warn("GICV physical address 0x%llx not page aligned\n",
--
arch/arm64/mm/gcs.c=18=static unsigned long gcs_size(unsigned long size)
--
arch/arm64/mm/gcs.c-20-	if (size)
arch/arm64/mm/gcs.c:21:		return PAGE_ALIGN(size);
arch/arm64/mm/gcs.c-22-
arch/arm64/mm/gcs.c-23-	/* Allocate RLIMIT_STACK/2 with limits of PAGE_SIZE..2G */
arch/arm64/mm/gcs.c:24:	size = PAGE_ALIGN(min_t(unsigned long long,
arch/arm64/mm/gcs.c-25-				rlimit(RLIMIT_STACK) / 2, SZ_2G));
--
arch/arm64/mm/gcs.c=59=SYSCALL_DEFINE3(map_shadow_stack, unsigned long, addr, unsigned long, size, unsigned int, flags)
--
arch/arm64/mm/gcs.c-72-
arch/arm64/mm/gcs.c:73:	if (!PAGE_ALIGNED(addr))
arch/arm64/mm/gcs.c-74-		return -EINVAL;
--
arch/arm64/mm/gcs.c-83-	 */
arch/arm64/mm/gcs.c:84:	alloc_size = PAGE_ALIGN(size);
arch/arm64/mm/gcs.c-85-	if (alloc_size < size)
--
arch/arm64/mm/init.c=193=void __init arm64_memblock_init(void)
--
arch/arm64/mm/init.c-263-		phys_addr_t base = phys_initrd_start & PAGE_MASK;
arch/arm64/mm/init.c:264:		resource_size_t size = PAGE_ALIGN(phys_initrd_start + phys_initrd_size) - base;
arch/arm64/mm/init.c-265-
--
arch/arm64/mm/kasan_init.c=228=static void __init kasan_map_populate(unsigned long start, unsigned long end,
--
arch/arm64/mm/kasan_init.c-230-{
arch/arm64/mm/kasan_init.c:231:	kasan_pgd_populate(start & PAGE_MASK, PAGE_ALIGN(end), node, false);
arch/arm64/mm/kasan_init.c-232-}
--
arch/arm64/mm/kasan_init.c=300=static void __init kasan_init_shadow(void)
--
arch/arm64/mm/kasan_init.c-309-	kimg_shadow_start = (u64)kasan_mem_to_shadow(KERNEL_START) & PAGE_MASK;
arch/arm64/mm/kasan_init.c:310:	kimg_shadow_end = PAGE_ALIGN((u64)kasan_mem_to_shadow(KERNEL_END));
arch/arm64/mm/kasan_init.c-311-
--
arch/arm64/mm/mem_encrypt.c=34=int set_memory_encrypted(unsigned long addr, int numpages)
arch/arm64/mm/mem_encrypt.c-35-{
arch/arm64/mm/mem_encrypt.c:36:	if (likely(!crypt_ops) || WARN_ON(!PAGE_ALIGNED(addr)))
arch/arm64/mm/mem_encrypt.c-37-		return 0;
--

]

62/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 26896
							output: 29
							thoughts: 87
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN`**

Alright, let's dive into this. My initial instinct is to understand the definition and scope of `PAGE_ALIGN`. I know that this macro is crucial for memory management, specifically for aligning addresses to page boundaries, so its definition is a good starting point. I've located its primary definition in `include/linux/mm.h`, where it's straightforwardly defined using `ALIGN(addr, PAGE_SIZE)`. This tells me it's essentially a convenience macro that leverages the more general `ALIGN` macro, ensuring that an address is pushed up to the next page boundary.

However, as an expert, I know that simple definitions can sometimes be misleading if they aren't the *only* definitions or if there are context-specific overrides. My mind immediately jumps to asking: "Is this the only place `PAGE_ALIGN` is defined within the `include/` directory?" This is a critical step to ensure I have a complete understanding. A macro, especially one as fundamental as `PAGE_ALIGN`, might have specialized definitions in different architectural headers or specific subsystems to cater to unique hardware requirements or memory models. Therefore, my next logical step is to perform a comprehensive search. I'll use `grepper` (or a similar powerful tool like `grep -r` with appropriate flags) to scour the entire `include/` hierarchy. This exhaustive search will reveal if there are any other instances of `PAGE_ALIGN` being defined, and if so, I'll need to examine those definitions to understand their context and how they relate to or differ from the one in `mm.h`. This will ensure I'm not missing any subtle but important variations in its behavior or usage across the kernel.


63/4 2026/09/15 01:04 tool grepper
0m Args:
map[Expression:#define PAGE_ALIGN\b PathPrefix:include/]

Results:
map[Output: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-
]

64/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27106
							output: 29
							thoughts: 17
						

Thoughts:
**My Thought Process:**

Right, so my next step here is to conduct a thorough search for any instances of `PAGE_ALIGN`. I'm not just going to stick to the obvious places; I need to be absolutely meticulous. That means I'll be diving into the `arch/*/include/` directories. The asterisk there is key – I need to cover *all* architectures, not just the one I might be currently focused on. It's a broad sweep to ensure I haven't missed any architecture-specific definitions or overrides that might be relevant. I'm looking for this specific macro because it's a strong indicator of how memory alignment is being handled, and I need to understand the full landscape of its usage across the system's include files.


65/4 2026/09/15 01:04 tool grepper
0m Args:
map[Expression:#define PAGE_ALIGN\b PathPrefix:arch/]

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-
]

66/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27223
							output: 28
							thoughts: 140
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN` and its Dependencies**

Okay, so my initial observation is that `PAGE_ALIGN` seems to have a remarkably constrained definition. I've identified that it's *exclusively* defined within `include/linux/mm.h` in the main kernel tree, with a very specific exception for some PowerPC bootloader code which is likely an artifact of that particular architecture's startup process. This is a strong indicator that its usage and scope are intended to be tightly controlled and related directly to memory management.

Looking at the definition in `include/linux/mm.h`, it's quite straightforward:

```c
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
```

This tells me that `PAGE_ALIGN` is essentially a specialized application of a more general `ALIGN` macro, specifically aligning an address (`addr`) to the `PAGE_SIZE`.

The next logical step in my investigation is to understand the `ALIGN` macro itself. Where is *that* defined? My check reveals it's located in `include/vdso/align.h`:

```c
#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
```

This shows that `ALIGN` is itself a wrapper, delegating the actual alignment logic to an internal kernel macro, `__ALIGN_KERNEL`. This suggests a layering of abstractions, where `ALIGN` provides a kernel-level interface for alignment, and `__ALIGN_KERNEL` handles the underlying implementation details.

To confirm that `vdso/align.h` is indeed the primary, or perhaps only, source for `ALIGN` within the kernel's include hierarchy, I'd typically employ a tool like `grepper` (or similar search utilities) to systematically scan all files under `include/`. My objective here is to definitively ascertain if `ALIGN` has any other definitions scattered throughout the include paths. This is a crucial step to ensure I'm not missing some alternative implementation or a fallback definition that could alter my understanding of how alignment is handled in different contexts. The results of that `grepper` search would then either solidify my current understanding or necessitate a deeper dive if other definitions were found.


67/4 2026/09/15 01:04 tool grepper
0m Args:
map[Expression:#define ALIGN\b PathPrefix:include/]

Results:
map[Output:include/linux/linkage.h-106-#ifndef LINKER_SCRIPT
include/linux/linkage.h:107:#define ALIGN __ALIGN
include/linux/linkage.h-108-#define ALIGN_STR __ALIGN_STR
--
include/vdso/align.h-7-/* @a is a power of 2 value */
include/vdso/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
include/vdso/align.h-9-#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
]

68/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27545
							output: 28
							thoughts: 30
						

Thoughts:
**My Thought Process**

Alright, so I'm looking at this kernel code, and I need to understand how certain memory alignments are handled. My immediate instinct is to find the source of these alignment definitions. I know the Linux kernel has a pretty well-established structure for headers, and `include/linux/` is where I'd expect to find foundational definitions like these. So, my first step is to verify if `include/linux/align.h` is actually a file that exists within the kernel source tree. I need to confirm its presence to proceed with understanding the alignment mechanisms.


69/4 2026/09/15 01:04 tool grepper
0m Args:
map[Expression:ALIGN PathPrefix:include/linux/align.h]

Results:
map[Output:include/linux/align.h-1-/* SPDX-License-Identifier: GPL-2.0 */
include/linux/align.h:2:#ifndef _LINUX_ALIGN_H
include/linux/align.h:3:#define _LINUX_ALIGN_H
include/linux/align.h-4-
--
include/linux/align.h-6-
include/linux/align.h:7:#endif	/* _LINUX_ALIGN_H */
]

70/4 2026/09/15 01:04 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27707
							output: 33
							thoughts: 13
						

Thoughts:
**My Thought Process on `include/linux/align.h`**

Alright, I need to get a handle on how memory alignment is managed within the Linux kernel. My first step is to dive into the `include/linux/align.h` header file. I anticipate this file will be crucial for understanding the fundamental definitions and macros related to alignment, likely defining things like the size of cache lines, padding strategies, and perhaps some basic alignment helpers. I'm expecting to find low-level details here, the kind of bedrock definitions that other parts of the kernel will build upon. My goal is to grasp the core principles of how the kernel ensures data is placed in memory in a way that optimizes performance and avoids potential hardware issues related to misaligned access. I'll be looking for the core building blocks, the definitions that underpin the more complex alignment logic found elsewhere in the codebase.


71/4 2026/09/15 01:05 tool read-file
0m Args:
map[File:include/linux/align.h FirstLine:1 LineCount:10]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef _LINUX_ALIGN_H
   3:	#define _LINUX_ALIGN_H
   4:	
   5:	#include <vdso/align.h>
   6:	
   7:	#endif	/* _LINUX_ALIGN_H */
]

72/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 27838
							output: 34
							thoughts: 57
						

Thoughts:
**My Thought Process on Kernel Alignment and Constants**

Alright, let's trace this dependency chain. I'm starting to look at how alignment is handled within the kernel, and it seems the primary header for this is `include/linux/align.h`. My first observation is that `include/linux/align.h` itself pulls in `<vdso/align.h>`. This tells me that the core alignment definitions, or at least a significant part of them, are being offloaded to the Virtual Dynamic Shared Object (vDSO) space. This makes sense, as some alignment-related operations might be suitable for user-space execution or need to be accessible from there without the full kernel context.

Following that thread, I've now identified that `include/vdso/align.h`, in turn, includes `<vdso/const.h>`. This is a logical progression; alignment often relies on specific constant values – perhaps for alignment boundaries, sizes, or flags. So, to fully understand the alignment mechanisms defined in `vdso/align.h`, my next step is clearly to examine the contents of `vdso/const.h`. That's where I expect to find the foundational numeric or symbolic constants that underpin the alignment logic.


73/4 2026/09/15 01:05 tool read-file
0m Args:
map[File:include/vdso/const.h FirstLine:1 LineCount:15]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef __VDSO_CONST_H
   3:	#define __VDSO_CONST_H
   4:	
   5:	#include <uapi/linux/const.h>
   6:	
   7:	#define UL(x)		(_UL(x))
   8:	#define ULL(x)		(_ULL(x))
   9:	
  10:	#endif /* __VDSO_CONST_H */
]

74/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 28056
							output: 19
							thoughts: 1019
						

Thoughts:
**My Thought Process on `PAGE_ALIGN(0xffffffffffffffffULL)`**

Alright, so the core of this problem is to figure out what `PAGE_ALIGN(0xffffffffffffffffULL)` evaluates to on a 64-bit Linux system with 4KB pages. The prompt helpfully provides the definition of `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK` from `uapi/linux/const.h`.

First, I need to establish the components. The input `x` is `0xffffffffffffffffULL`. The crucial part here is `ULL`, which signifies `unsigned long long`. On any standard 64-bit Linux architecture (like x86-64, arm64, etc.), `unsigned long long` is indeed 64 bits wide. So, `x` represents the maximum possible value for a 64-bit unsigned integer, which is $2^{64}-1$.

Next, I need to determine the `mask` used in the `__ALIGN_KERNEL` macro. This is defined as `(__typeof__(x))(a) - 1`, where `a` is `PAGE_SIZE`. The prompt specifies a 64-bit architecture with 4KB pages. So, `PAGE_SIZE` is 4096.
The expression `(__typeof__(x))(PAGE_SIZE)` means we cast `PAGE_SIZE` (4096) to the type of `x`, which is `unsigned long long`. So, this becomes `4096ULL`.
Subtracting 1 gives us `4095ULL`. In hexadecimal, this is `0xfffULL`. This is my `mask`.

Now, I can plug these into the `__ALIGN_KERNEL_MASK` macro: `(((x) + (mask)) & ~(mask))`.

Let's break down `(x) + (mask)`:
This is `0xffffffffffffffffULL + 0xfffULL`.
The C standard dictates how unsigned arithmetic works: it's modulo the number that is one greater than the maximum representable value. For `unsigned long long` (64 bits), the modulus is $2^{64}$.
So, $(2^{64}-1) + 4095 = 2^{64} + 4094$.
When taken modulo $2^{64}$, this simplifies to $4094$.
In hexadecimal, $4094$ is `0x0000000000000FFEULL`.

Next, I need to compute `~mask`. My `mask` is `0x0000000000000FFFULL`.
The bitwise NOT of this is `0xFFFFFFFFFFFFF000ULL`.

Finally, the bitwise AND operation: `((x) + (mask)) & ~(mask)`
This becomes `0x0000000000000FFEULL & 0xFFFFFFFFFFFFF000ULL`.
Let's look at the bits:
`0x0000000000000FFEULL` has its lower 12 bits set as `1111 1111 1110` (bits 0 through 11 are involved, with bit 0 being 0, and bits 1-11 being 1).
`0xFFFFFFFFFFFFF000ULL` has its lower 12 bits set as `0000 0000 0000` (bits 0 through 11 are all 0).
When I perform a bitwise AND between these two values, any bit that is 0 in either operand becomes 0 in the result. Since the lower 12 bits of `~mask` are all 0, and the higher bits of `(x) + (mask)` are all 0, the result of the AND operation is `0x0000000000000000ULL`, which is simply `0`.

Now, I pause and consider if there's any subtlety I've missed. The context is the Linux kernel. Kernel developers are meticulous. Is there any specific discussion or known issue regarding `PAGE_ALIGN` with such an extreme input, perhaps related to overflow handling that's more nuanced than the standard C behavior, or specific architectural quirks? I'd be inclined to search the kernel's git commit logs or code comments for mentions of `PAGE_ALIGN` in conjunction with "overflow" or extremely large values to see if there's any historical context or rationale for specific behaviors. For instance, certain older architectures or specific compiler flags might have led to different interpretations, though with modern C and typical kernel builds, the standard unsigned arithmetic behavior should prevail. But it's always good practice to verify such assumptions in a domain as critical as kernel development.


75/4 2026/09/15 01:05 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:PAGE_ALIGN.*overflow]

Results:
map[Output:]

76/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 29096
							output: 21
							thoughts: 20
						

Thoughts:
**My Thought Process on `PAGE_ALIGN`**

Alright, so my primary concern here is to rigorously examine the behavior of `PAGE_ALIGN`, specifically whether it could ever evaluate to zero. As an expert in this domain, I understand the critical implications of such a scenario. If `PAGE_ALIGN` were to yield zero, it could indicate a fundamental issue with memory alignment logic, potentially leading to severe performance degradation or even system instability due to unaligned memory accesses. Therefore, my focus is to trace the definition and usage of `PAGE_ALIGN` within the codebase (which I'm assuming is accessible to me in this context) to identify any code paths that might result in this zero value. I'm looking for potential edge cases, logical errors in its calculation, or perhaps a misunderstanding of its intended purpose. This isn't a trivial check; it's a deep dive into the foundational aspects of memory management as implemented here.


77/4 2026/09/15 01:05 tool grepper
0m Args:
map[Expression:PAGE_ALIGN.*== 0]

Results:
map[Output:drivers/gpu/drm/drm_dumb_buffers.c=194=int drm_mode_create_dumb(struct drm_device *dev,
--
drivers/gpu/drm/drm_dumb_buffers.c-216-	size = args->height * stride;
drivers/gpu/drm/drm_dumb_buffers.c:217:	if (PAGE_ALIGN(size) == 0)
drivers/gpu/drm/drm_dumb_buffers.c-218-		return -EINVAL;
]

78/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 29259
							output: 41
							thoughts: 59
						

Thoughts:
**My Thought Process Regarding `drm_dumb_buffers.c`**

Alright, so my attention has been drawn to `drivers/gpu/drm/drm_dumb_buffers.c`, and I'm immediately struck by a specific conditional statement: `if (PAGE_ALIGN(size) == 0)`. My immediate instinct is to delve deeper into the context surrounding this line, specifically around line 217. I want to understand precisely *why* this check exists and what scenario it's designed to guard against. Is it an edge case related to zero-sized buffers, or perhaps something more nuanced about how `PAGE_ALIGN` behaves with small or zero inputs? Understanding the intended behavior and potential implications of this `PAGE_ALIGN` check is key to comprehending the overall logic of `drm_dumb_buffers.c` and ensuring its robustness.


79/4 2026/09/15 01:05 tool read-file
0m Args:
map[File:drivers/gpu/drm/drm_dumb_buffers.c FirstLine:205 LineCount:25]

Results:
map[Contents: 205:		/* overflow checks for 32bit size calculations */
 206:		if (args->bpp > U32_MAX - 8)
 207:			return -EINVAL;
 208:		cpp = DIV_ROUND_UP(args->bpp, 8);
 209:		if (cpp > U32_MAX / args->width)
 210:			return -EINVAL;
 211:		stride = cpp * args->width;
 212:		if (args->height > U32_MAX / stride)
 213:			return -EINVAL;
 214:	
 215:		/* test for wrap-around */
 216:		size = args->height * stride;
 217:		if (PAGE_ALIGN(size) == 0)
 218:			return -EINVAL;
 219:	
 220:		/*
 221:		 * handle, pitch and size are output parameters. Zero them out to
 222:		 * prevent drivers from accidentally using uninitialized data. Since
 223:		 * not all existing userspace is clearing these fields properly we
 224:		 * cannot reject IOCTL with garbage in them.
 225:		 */
 226:		args->handle = 0;
 227:		args->pitch = 0;
 228:		args->size = 0;
 229:	
]

80/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 29727
							output: 19
							thoughts: 52
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN` Wrap-Around**

Right, so I'm looking at this snippet:

```c
/* test for wrap-around */
size = args->height * stride;
if (PAGE_ALIGN(size) == 0)
    return -EINVAL;
```

The comment `/* test for wrap-around */` immediately flags something potentially tricky. I know that `PAGE_ALIGN` is a macro, and its behavior, especially with very large numbers that might overflow or wrap around the integer limits, can be a source of subtle bugs. My immediate concern here is how `args->height * stride` could interact with `PAGE_ALIGN` to produce a result of zero.

The most likely scenario for `PAGE_ALIGN(x)` to evaluate to zero, *given the context of checking for wrap-around*, is if the calculation of `size = args->height * stride` itself results in an overflow that wraps around to zero. If `size` becomes zero due to such an overflow, then `PAGE_ALIGN(0)` would naturally be zero, triggering this `return -EINVAL`.

Therefore, my thinking is that this check is specifically there to catch the case where the multiplication `args->height * stride` overflows in such a way that it becomes zero *after* wrapping. This is a defensive programming measure to prevent subsequent operations from proceeding with what would effectively be a zero-sized allocation or buffer, which is likely invalid.

To confirm this hypothesis and ensure I'm covering all bases, my next logical step would be to:

**Look at other instances where `PAGE_ALIGN` wrap-around is checked.**

This is crucial. By examining how `PAGE_ALIGN`'s potential wrap-around is handled elsewhere in the codebase (or in related code if this is a library or framework), I can:

*   **See if this pattern is consistent:** Is this a standard way of handling potential `PAGE_ALIGN` wrap-around issues?
*   **Identify the specific overflow conditions:** Are there common scenarios or data ranges that lead to this wrap-around?
*   **Understand the expected behavior:** What are the implications of `PAGE_ALIGN(size)` being zero in other contexts? Is it always an error, or are there edge cases?
*   **Discover alternative checks:** Are there other, perhaps more robust, ways this is handled to prevent or detect overflow *before* it reaches the `PAGE_ALIGN` macro? For example, are there explicit checks for `SIZE_MAX` or similar limits before the multiplication?

In essence, I'm using this specific instance as a starting point to build a more comprehensive understanding of how this particular piece of code, and the underlying macro it uses, is designed to behave under extreme input conditions. I want to ensure that this check is sufficient, or if there are other related checks I should be aware of or potentially add.


81/4 2026/09/15 01:05 tool grepper
0m Args:
map[Expression:PAGE_ALIGN.*<]

Results:
map[Output:arch/alpha/kernel/osf_sys.c=177=SYSCALL_DEFINE6(osf_mmap, unsigned long, addr, unsigned long, len,
--
arch/alpha/kernel/osf_sys.c-187-#endif
arch/alpha/kernel/osf_sys.c:188:	if ((off + PAGE_ALIGN(len)) < off)
arch/alpha/kernel/osf_sys.c-189-		goto out;
--
arch/arm64/kernel/efi.c=21=static bool region_is_misaligned(const efi_memory_desc_t *md)
--
arch/arm64/kernel/efi.c-25-	return !PAGE_ALIGNED(md->phys_addr) ||
arch/arm64/kernel/efi.c:26:	       !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT);
arch/arm64/kernel/efi.c-27-}
--
arch/riscv/include/asm/processor.h-52-#ifdef CONFIG_64BIT
arch/riscv/include/asm/processor.h:53:#define TASK_UNMAPPED_BASE	PAGE_ALIGN((UL(1) << MMAP_MIN_VA_BITS) / 3)
arch/riscv/include/asm/processor.h-54-#else
--
arch/sparc/kernel/sys_sparc_64.c=472=SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
--
arch/sparc/kernel/sys_sparc_64.c-477-
arch/sparc/kernel/sys_sparc_64.c:478:	if ((off + PAGE_ALIGN(len)) < off)
arch/sparc/kernel/sys_sparc_64.c-479-		goto out;
--
drivers/accel/habanalabs/common/memory.c=2373=int hl_pin_host_memory(struct hl_device *hdev, u64 addr, u64 size,
--
drivers/accel/habanalabs/common/memory.c-2389-	if (((addr + size) < addr) ||
drivers/accel/habanalabs/common/memory.c:2390:			PAGE_ALIGN(addr + size) < (addr + size)) {
drivers/accel/habanalabs/common/memory.c-2391-		dev_err(hdev->dev,
--
drivers/firmware/efi/memattr.c=90=static bool entry_is_valid(const efi_memory_desc_t *in, efi_memory_desc_t *out)
--
drivers/firmware/efi/memattr.c-105-	    (!PAGE_ALIGNED(in->phys_addr) ||
drivers/firmware/efi/memattr.c:106:	     !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) {
drivers/firmware/efi/memattr.c-107-		/*
--
drivers/infiniband/core/umem.c=162=static struct ib_umem *__ib_umem_get_va(struct ib_device *device,
--
drivers/infiniband/core/umem.c-183-	if (((addr + size) < addr) ||
drivers/infiniband/core/umem.c:184:	    PAGE_ALIGN(addr + size) < (addr + size))
drivers/infiniband/core/umem.c-185-		return ERR_PTR(-EINVAL);
--
drivers/infiniband/hw/usnic/usnic_uiom.c=84=static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable,
--
drivers/infiniband/hw/usnic/usnic_uiom.c-105-	 */
drivers/infiniband/hw/usnic/usnic_uiom.c:106:	if (((addr + size) < addr) || PAGE_ALIGN(addr + size) < (addr + size))
drivers/infiniband/hw/usnic/usnic_uiom.c-107-		return -EINVAL;
--
drivers/nvdimm/pmem.c=242=__weak long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff,
--
drivers/nvdimm/pmem.c-270-		actual_nr = PHYS_PFN(
drivers/nvdimm/pmem.c:271:			PAGE_ALIGN((first_bad - sector) << SECTOR_SHIFT));
drivers/nvdimm/pmem.c-272-		dev_dbg(pmem->bb.dev, "start sector(%llu), nr_pages(%ld), first_bad(%llu), actual_nr(%ld)\n",
--
include/uapi/drm/drm.h=317=struct drm_buf_desc {
--
include/uapi/drm/drm.h-322-	enum {
include/uapi/drm/drm.h:323:		_DRM_PAGE_ALIGN = 0x01,	/**< Align on page boundaries for DMA */
include/uapi/drm/drm.h-324-		_DRM_AGP_BUFFER = 0x02,	/**< Buffer is in AGP space */
--
kernel/dma/swiotlb.c=257=void __init swiotlb_update_mem_attributes(void)
--
kernel/dma/swiotlb.c-263-		return;
kernel/dma/swiotlb.c:264:	bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT);
kernel/dma/swiotlb.c-265-	set_memory_decrypted((unsigned long)mem->vaddr, bytes >> PAGE_SHIFT);
--
kernel/dma/swiotlb.c=317=static void __init *swiotlb_memblock_alloc(unsigned long nslabs,
--
kernel/dma/swiotlb.c-320-{
kernel/dma/swiotlb.c:321:	size_t bytes = PAGE_ALIGN(nslabs << IO_TLB_SHIFT);
kernel/dma/swiotlb.c-322-	void *tlb;
--
mm/util.c=608=unsigned long vm_mmap(struct file *file, unsigned long addr,
--
mm/util.c-611-{
mm/util.c:612:	if (unlikely(offset + PAGE_ALIGN(len) < offset))
mm/util.c-613-		return -EINVAL;
--
net/core/skbuff.c=6759=struct sk_buff *alloc_skb_with_frags(unsigned long header_len,
--
net/core/skbuff.c-6781-			goto failure;
net/core/skbuff.c:6782:		while (order && PAGE_ALIGN(data_len) < (PAGE_SIZE << order))
net/core/skbuff.c-6783-			order--;
--
net/rds/rdma.c=172=static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args,
--
net/rds/rdma.c-201-	if (((args->vec.addr + args->vec.bytes) < args->vec.addr) ||
net/rds/rdma.c:202:	    PAGE_ALIGN(args->vec.addr + args->vec.bytes) <
net/rds/rdma.c-203-		    (args->vec.addr + args->vec.bytes)) {
--
sound/pci/bt87x.c=211=static int snd_bt87x_create_risc(struct snd_bt87x *chip, struct snd_pcm_substream *substream,
--
sound/pci/bt87x.c-218-		if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &chip->pci->dev,
sound/pci/bt87x.c:219:					PAGE_ALIGN(MAX_RISC_SIZE), &chip->dma_risc) < 0)
sound/pci/bt87x.c-220-			return -ENOMEM;
--
tools/perf/trace/beauty/include/uapi/drm/drm.h=317=struct drm_buf_desc {
--
tools/perf/trace/beauty/include/uapi/drm/drm.h-322-	enum {
tools/perf/trace/beauty/include/uapi/drm/drm.h:323:		_DRM_PAGE_ALIGN = 0x01,	/**< Align on page boundaries for DMA */
tools/perf/trace/beauty/include/uapi/drm/drm.h-324-		_DRM_AGP_BUFFER = 0x02,	/**< Buffer is in AGP space */
]

82/4 2026/09/15 01:05 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 32065
							output: 748
							thoughts: 1791
						

Thoughts:
**The Kernel's Arithmetic and My Concerns**

I've been poring over some kernel code lately, specifically looking at how memory addresses and sizes are handled, and frankly, I'm a bit uneasy about what I'm seeing. I've noticed a pattern: several different parts of the kernel, including drivers for Habana Labs, InfiniBand, and even graphics (DRM), are using a specific check for address wrap-around and page alignment. It's this condition: `((addr + size) < addr) || PAGE_ALIGN(addr + size) < (addr + size)`. This pattern, or a close variant, appears in `drivers/accel/habanalabs/common/memory.c`, `drivers/infiniband/core/umem.c`, `drivers/infiniband/hw/usnic/usnic_uiom.c`, `net/rds/rdma.c`, and `drivers/gpu/drm/drm_dumb_buffers.c`.

My primary concern stems from the interaction of this check with `PAGE_ALIGN` and potentially overflowing `unsigned long long` values on a 64-bit system. The core issue, as I see it, is that if `addr + size` falls into the last page of the address space, specifically when `addr + size` is greater than `~PAGE_MASK` (which on a 64-bit system with 4KB pages would be a value like `0xffffffffffffffffULL`), `PAGE_ALIGN(addr + size)` can wrap around to `0`. This is because `PAGE_ALIGN` is essentially an `ALIGN` operation, and `ALIGN(x, a)` is typically implemented as `((x + a - 1) & ~(a - 1))`.

To be absolutely certain, I decided to walk through the arithmetic precisely for a key edge case: **What is the value of `PAGE_ALIGN(0xffffffffffffffffULL)` in the Linux kernel on a 64-bit architecture with 4KB pages?**

Here's how I broke it down, step by step:

1.  **`PAGE_ALIGN(addr)` Definition:** I know `PAGE_ALIGN(addr)` is defined as `ALIGN(addr, PAGE_SIZE)` in `include/linux/mm.h`.

2.  **Architecture and Page Size:** On a 64-bit architecture with 4KB pages, `PAGE_SIZE` is `4096` (or `0x1000`). The input value I'm testing is `0xffffffffffffffffULL`, which is the maximum value for a 64-bit unsigned integer (`ULLONG_MAX` or $2^{64}-1$).

3.  **`ALIGN(x, a)` Definition:** The `ALIGN` macro is defined as `__ALIGN_KERNEL((x), (a))`.

4.  **`__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK`:** These macros, found in `include/uapi/linux/const.h`, resolve to `__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)` and `__ALIGN_KERNEL_MASK(x, mask)` respectively, where `__ALIGN_KERNEL_MASK(x, mask)` is `(((x) + (mask)) & ~(mask))`.

5.  **Substituting Values:**
    *   My input `x` is `0xffffffffffffffffULL`.
    *   My alignment value `a` (PAGE_SIZE) is `4096` (or `0x1000`).

6.  **Calculating `mask`:**
    *   The `mask` is calculated as `(unsigned long long)(a) - 1`.
    *   So, `mask = (unsigned long long)4096 - 1 = 4095ULL`, which is `0x0000000000000FFFULL`.

7.  **Calculating `(x) + (mask)`:**
    *   This is `0xffffffffffffffffULL + 0xfffULL`.
    *   Since `unsigned long long` wraps around modulo $2^{64}$, the addition results in `0x10000000000000FFEULL`.
    *   Truncated to 64 bits, this becomes `0x0000000000000FFEULL` (or `4094ULL`).

8.  **Calculating `~(mask)`:**
    *   The bitwise NOT of the mask `0x0000000000000FFFULL` is `0xFFFFFFFFFFFFF000ULL`.

9.  **Calculating `(((x) + (mask)) & ~(mask))`:**
    *   This is `0x0000000000000FFEULL & 0xFFFFFFFFFFFFF000ULL`.
    *   Because the first operand has its higher 52 bits set to zero and the second operand has its lower 12 bits set to zero, the bitwise AND results in `0x0ULL`, which is `0`.

Therefore, my detailed analysis confirms that `PAGE_ALIGN(0xffffffffffffffffULL)` evaluates to `0` on a 64-bit Linux system with 4KB pages.

I've also verified that `unsigned long long` is indeed guaranteed to be 64-bit on 64-bit Linux architectures (specifically in the LP64 data model where `long`, `long long`, and pointers are all 8 bytes). I've also checked operator precedence and confirmed that the macro expansion `(((x) + (mask)) & ~(mask))` correctly evaluates `(x + mask)` first, then performs the bitwise AND with the inverted mask. My further tests, where `x` was already page-aligned or just slightly above it, also indicated that this behavior consistently leads to `0` for values in the highest page.

This result is precisely what the original code appears to be guarding against. If `size` is large enough to cause `addr + size` to wrap around past the end of the address space, the `PAGE_ALIGN` check, as demonstrated, can yield `0`. This suggests that the check `PAGE_ALIGN(addr + size) < (addr + size)` is indeed intended to catch these wrap-around scenarios when `PAGE_ALIGN` itself doesn't immediately reveal the overflow via `(addr + size) < addr`. The fact that `PAGE_ALIGN` can return `0` in such extreme cases is a crucial detail that needs to be understood when interpreting these checks.


83/4 2026/09/15 01:06 tool set-results
0m Args:
map[Answer:The value of `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit architecture with 4KB pages is `0` (or `0ULL`).

### Explanation and Derivation:

1. **Macro Definitions:**
   In `include/linux/mm.h`:
   ```c
   #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
   ```
   In `include/vdso/align.h`:
   ```c
   #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
   ```
   In `include/uapi/linux/const.h`:
   ```c
   #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
   #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
   ```

2. **Parameter Values:**
   - On a 64-bit architecture with 4KB pages, `PAGE_SIZE` is `4096` (`0x1000`).
   - `x = 0xffffffffffffffffULL` (which has type `unsigned long long`, a 64-bit unsigned integer with value $2^{64} - 1$).

3. **Step-by-Step Evaluation:**
   - **Mask calculation:**
     $$\text{mask} = (\_\_\text{typeof}\_\_(x))(PAGE\_SIZE) - 1 = 4096\text{ULL} - 1 = 4095\text{ULL} = \text{0x0000000000000FFF}\text{ULL}$$
   - **Addition (wrap-around):**
     In C, arithmetic on unsigned types wraps modulo $2^N$ (here $2^{64}$):
     $$(x) + (\text{mask}) = \text{0xFFFFFFFFFFFFFFFF}\text{ULL} + \text{0xFFF}\text{ULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\text{ULL} = \text{0x0000000000000FFE}\text{ULL} \pmod{2^{64}}$$
   - **Bitwise negation of mask:**
     $$\sim\text{mask} = \sim\text{0x0000000000000FFF}\text{ULL} = \text{0xFFFFFFFFFFFFF000}\text{ULL}$$
   - **Bitwise AND:**
     $$((x) + (\text{mask})) \ \& \ \sim(\text{mask}) = \text{0x0000000000000FFE}\text{ULL} \ \& \ \text{0xFFFFFFFFFFFFF000}\text{ULL} = 0$$

Because bits 12 through 63 of `0x0FFE` are 0, and bits 0 through 11 of `~mask` are 0, the result of the bitwise AND is `0`.]

Results:
map[Answer:The value of `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit architecture with 4KB pages is `0` (or `0ULL`).

### Explanation and Derivation:

1. **Macro Definitions:**
   In `include/linux/mm.h`:
   ```c
   #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
   ```
   In `include/vdso/align.h`:
   ```c
   #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
   ```
   In `include/uapi/linux/const.h`:
   ```c
   #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
   #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
   ```

2. **Parameter Values:**
   - On a 64-bit architecture with 4KB pages, `PAGE_SIZE` is `4096` (`0x1000`).
   - `x = 0xffffffffffffffffULL` (which has type `unsigned long long`, a 64-bit unsigned integer with value $2^{64} - 1$).

3. **Step-by-Step Evaluation:**
   - **Mask calculation:**
     $$\text{mask} = (\_\_\text{typeof}\_\_(x))(PAGE\_SIZE) - 1 = 4096\text{ULL} - 1 = 4095\text{ULL} = \text{0x0000000000000FFF}\text{ULL}$$
   - **Addition (wrap-around):**
     In C, arithmetic on unsigned types wraps modulo $2^N$ (here $2^{64}$):
     $$(x) + (\text{mask}) = \text{0xFFFFFFFFFFFFFFFF}\text{ULL} + \text{0xFFF}\text{ULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\text{ULL} = \text{0x0000000000000FFE}\text{ULL} \pmod{2^{64}}$$
   - **Bitwise negation of mask:**
     $$\sim\text{mask} = \sim\text{0x0000000000000FFF}\text{ULL} = \text{0xFFFFFFFFFFFFF000}\text{ULL}$$
   - **Bitwise AND:**
     $$((x) + (\text{mask})) \ \& \ \sim(\text{mask}) = \text{0x0000000000000FFE}\text{ULL} \ \& \ \text{0xFFFFFFFFFFFFF000}\text{ULL} = 0$$

Because bits 12 through 63 of `0x0FFE` are 0, and bits 0 through 11 of `~mask` are 0, the result of the bitwise AND is `0`.]

84/2 2026/09/15 01:06 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17405
							output: 42
							thoughts: 362
						

Thoughts:
**My Thought Process Regarding `zram` Device Initialization and `disksize` Manipulation**

Ah, this is interesting. I've just realized that writing the maximum possible unsigned long long value (`0xffffffffffffffffULL`) to `/sys/block/zram0/disksize` actually results in `disksize` being set to zero. My reasoning goes like this: `PAGE_ALIGN(0xffffffffffffffffULL)` correctly evaluates to zero. When this zero value is then used to calculate the number of pages (`num_pages = 0 >> PAGE_SHIFT`), it remains zero. Consequently, the memory allocation call `vzalloc(array_size(0, sizeof(*zram->table)))` becomes `vzalloc(0)`. This, in turn, triggers a `WARN_ON_ONCE(!size)` warning within the `__vmalloc_node_range_nprof` function, indicating an attempt to allocate zero bytes.

However, a crucial point then occurred to me: what if the `zram0` device is *already* initialized? I recalled that the code explicitly checks for this condition:

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

If `zram0` is initialized, then attempting to change `disksize` is prevented, and the operation returns `-EBUSY`. But this brings up the default state. A newly created `zram` device, I understand, is *not* initialized until `disksize` is successfully set. So, in the absence of prior initialization, this `disksize` check would pass.

If the device *is* initialized, I know there are ways to reset it. I could write `1` to `/sys/block/zram0/reset`. Alternatively, a simpler path might be to just create a brand new `zram` device altogether. This can be achieved by reading from `/sys/class/zram-control/hot_add`. I need to investigate the `hot_add` mechanism further to fully understand its implications and how it interacts with device initialization.


85/2 2026/09/15 01:06 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:hot_add_show]

Results:
map[SourceCode:3161:	/*
3162:	 * NOTE: hot_add attribute is not the usual read-only sysfs attribute. In a
3163:	 * sense that reading from this file does alter the state of your system -- it
3164:	 * creates a new un-initialized zram device and returns back this device's
3165:	 * device_id (or an error code if it fails to create a new device).
3166:	 */
3167:	static ssize_t hot_add_show(const struct class *class,
3168:				const struct class_attribute *attr,
3169:				char *buf)
3170:	{
3171:		int ret;
3172:	
3173:		mutex_lock(&zram_index_mutex);
3174:		ret = zram_add();
3175:		mutex_unlock(&zram_index_mutex);
3176:	
3177:		if (ret < 0)
3178:			return ret;
3179:		return sysfs_emit(buf, "%d\n", ret);
3180:	}
 SourceFile:drivers/block/zram/zram_drv.c]

86/2 2026/09/15 01:06 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 18125
							output: 40
							thoughts: 1334
						

Thoughts:
**My Thought Process on ZRAM Disk Size Configuration**

Alright, so the core task is to figure out how to set the maximum possible disk size for a zram device. My initial thought is to look at the `zram-control` interface. I know I can read from `/sys/class/zram-control/hot_add` to get a new zram device ID, let's call it `X`. This seems like a clean way to ensure I'm working with a fresh, uninitialized device.

Once I have the device ID `X`, the next step is to configure its size. The obvious place to look is `/sys/block/zramX/disksize`. The question is, what value do I write there to achieve the maximum size? My first instinct is to try writing `0xffffffffffffffff`.

Now, I need to be sure about how the kernel parses this value. I recall that the `memparse` function is used internally by the kernel for parsing these sizes. A crucial detail for me is whether `memparse` handles hexadecimal prefixes. I remember `simple_strtoull` being involved, and I know that with `base=0`, it's designed to autodetect prefixes like `0x`. Let me quickly confirm this by looking at the `memparse` source:

```c
unsigned long long memparse(const char *ptr, char **retptr)
{
	char *endptr;	/* local pointer to end of parsed string */
	unsigned long long ret = simple_strtoull(ptr, &endptr, 0);
```
Yes, indeed. `base=0` is the key here. It tells `simple_strtoull` to interpret the input string with a base determined by its prefix, so `0x` will correctly be parsed as hexadecimal. This confirms that `0xffffffffffffffff` is a valid and intended way to specify the maximum value.

A related thought is whether I could just write `-1`. Intuitively, that *should* mean the maximum value. However, I need to be careful about how `simple_strtoull` handles negative signs. I remember `simple_strtoull` doesn't handle negative numbers gracefully; it stops parsing at the `-` sign. Let's dig a bit deeper. If I pass `-1` to `memparse`, `simple_strtoull` will see the `-`, and according to its implementation (which uses `_parse_integer` and `_parse_integer_limit`), it will likely return 0 or an error because `-` isn't a valid digit in any base.

To be absolutely sure, let's trace the logic:
- If I pass `-1` to `memparse`, `simple_strtoull` gets `-1`. The underlying `_parse_integer_fixup_radix` might interpret the `-` and then `_parse_integer_limit` would see the `-` as a non-digit, ultimately returning 0. So, `memparse("-1")` would result in 0.
- Conversely, if I pass `18446744073709551615` (which is `U64_MAX` in decimal), `_parse_integer_limit` will correctly parse it as the maximum unsigned 64-bit integer.
- Similarly, `0xffffffffffffffff` will have its `0x` prefix detected, the base set to 16, and `ffffffffffffffff` will be parsed as `U64_MAX`.

So, my conclusion is that to set the maximum size, I *must* use `0xffffffffffffffff` or its decimal equivalent, `18446744073709551615`. Writing `-1` simply won't work as intended.

Now, I'm thinking about potential edge cases and errors. What if the `disksize` value leads to a zero size after some internal kernel calculations? The `disksize_store` function is where the actual writing happens. I know it checks the parsed `disksize`. If it's zero, it returns `-EINVAL`.

```c
	disksize = memparse(buf, NULL);
	if (!disksize)
		return -EINVAL;
```
This means the `disksize` value *before* any alignment or other processing must be non-zero.

What about `PAGE_ALIGN`? The kernel often aligns memory allocations. If `disksize` is very large, it could potentially wrap around `PAGE_ALIGN`. Let's consider what happens if I write `4095`. `PAGE_ALIGN(4095)` results in `4096`. Then `num_pages = 4096 >> 12` which is 1. This is fine. If I write `1`, `PAGE_ALIGN(1)` is still `4096`, and `num_pages` is 1. Again, no problem.

The critical point is when `PAGE_ALIGN(disksize)` could become 0. This only happens if `disksize` is so large that it overflows `PAGE_ALIGN`, effectively wrapping around to 0. This occurs for values in the range `[U64_MAX - PAGE_SIZE + 2, U64_MAX]`. For instance, `U64_MAX` itself will cause `PAGE_ALIGN` to become 0. This is an interesting edge case, but writing `0xffffffffffffffff` is precisely intended to set the *maximum* valid size, which is `U64_MAX` in this context, not cause an overflow to zero. The kernel's internal `PAGE_ALIGN` function is likely designed to handle the maximum `unsigned long long` correctly, not to overflow it in a way that leads to a zero size. If it did, that would be a bug in the kernel's `PAGE_ALIGN` or zram size validation. My assumption is that `U64_MAX` is correctly handled as the maximum possible size.

To test all this, I'll draft a simple C program. It will:
1. Open `/sys/class/zram-control/hot_add` to get a new zram device ID.
2. Construct the path to the `disksize` file for that device.
3. Open the `disksize` file for writing.
4. Write the string `0xffffffffffffffff` to it.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = 0;

    // Try to create a new zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    } else {
        // Fallback: if hot_add fails, try zram0
        // This might need a reset if zram0 is already initialized.
        // For now, assume hot_add works or we'd handle reset separately.
        // A more robust solution would check /sys/block/zram0/disksize first.
        // But since hot_add is the primary target, we'll stick with it for this thought.
        fprintf(stderr, "Could not open /sys/class/zram-control/hot_add, falling back to zram0 (not fully implemented in this snippet).\n");
        // For the purpose of this thought, we'll assume zram_id=0 if hot_add fails
        // and proceed, though a real implementation would be more careful.
        // zram_id = 0; // This would be the fallback logic
        return 1; // Exit if hot_add is essential and fails
    }

    // Write to disksize
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    // Write 0xffffffffffffffff
    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
    }

    close(fd);
    printf("Successfully wrote '%s' to /sys/block/zram%d/disksize\n", val, zram_id);
    return 0;
}
```

Finally, I consider the case where `zram0` might already be initialized. If I try to write to `disksize` of an initialized `zram0`, I'd get `-EBUSY`. However, my strategy of using `hot_add` explicitly creates a *new*, uninitialized zram device. So, this conflict is avoided by using `hot_add`. If `hot_add` *itself* were to fail (e.g., older kernel without it, though it's been around for a while), a more comprehensive approach would be to check `zram0`, and if it's already initialized, use `/sys/block/zram0/reset` to reset it before setting the disk size. But for this specific thought process, focusing on `hot_add` as the primary mechanism is sound.


87/2 2026/09/15 01:06 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/block/zram/zram_drv.c Name:reset_store]

Results:
map[SourceCode: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:	}
 SourceFile:drivers/block/zram/zram_drv.c]

88/2 2026/09/15 01:06 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20052
							output: 81
							thoughts: 3444
						

Thoughts:
**The Core of the Issue: A Subtle Overflow Leading to a Zero-Sized Allocation**

My current train of thought is focused on understanding and reproducing a specific kernel bug. The central piece of this bug, as I see it, lies in how the kernel handles the `disksize` attribute for zram devices, particularly when an extremely large value is provided.

Here’s how my reasoning unfolds:

1.  **The `hot_add` Mechanism:** I first established that writing to `/sys/class/zram-control/hot_add` is the standard way to dynamically create new zram devices. The kernel's `sysfs_emit` function, as I've confirmed, returns the newly assigned zram device ID as a string, which `atoi` can readily parse. This is a robust way to get a fresh device to work with.

2.  **Fallback to `zram0`:** I also recognized that `hot_add` might not always be successful or available in certain configurations. Therefore, a crucial part of my reproducer logic is to fall back to the default `zram0` device. If `zram0` is already in use or initialized, I need to ensure it's reset. Writing `1` to `/sys/block/zram0/reset` is the established method for this, clearing its state and making it ready for re-initialization.

3.  **The `disksize` Vulnerability:** The real crux of the problem lies in the `disksize_store` function. The bug report points directly to a `WARN_ON_ONCE(!size)` within `__vmalloc_node_range_noprof`, which is called indirectly through `zram_meta_alloc` and `vzalloc_noprof`. This warning signals a critical issue: an attempt to allocate zero bytes.

4.  **The Overflow Trigger:** My investigation revealed that the `disksize` attribute, when set to a value like `0xffffffffffffffff`, is the key. The `memparse` function correctly interprets this as the maximum `u64` value. The problem arises *after* this parsing, during the `PAGE_ALIGN(disksize)` operation.

5.  **`PAGE_ALIGN` Behavior:** This is where the magic (or rather, the bug) happens. On a system where `PAGE_SIZE` is, say, 4096 bytes, the `PAGE_ALIGN` macro essentially performs `ALIGN(disksize, PAGE_SIZE)`. When `disksize` is `0xffffffffffffffff`, adding `PAGE_SIZE - 1` (4095) to it results in an arithmetic overflow for a `u64`. The result of this overflow, due to how integer arithmetic wraps around, becomes `0`.

6.  **The Chain Reaction:** With `disksize` effectively becoming `0` after `PAGE_ALIGN`, the `zram_meta_alloc` function is called with a `disksize` of `0`. This translates to `num_pages = 0` (since `num_pages = disksize >> PAGE_SHIFT`). Consequently, `vzalloc(0)` is invoked.

7.  **The Warning and Graceful Failure:** The `vzalloc` function, in turn, calls `__vmalloc_node_range_noprof`. This function has a safeguard: `WARN_ON_ONCE(!size)`. Since `size` is `0` at this point, the warning is triggered. Importantly, `vzalloc(0)` returns `NULL`, and the subsequent checks in `zram_meta_alloc` and `disksize_store` lead to an `-ENOMEM` error being returned to the user. The kernel doesn't crash violently but logs this warning, which is exactly what the bug report highlights.

8.  **Confirming `memparse`:** I've double-checked that `memparse` can indeed parse `0xffffffffffffffff` correctly because it uses `simple_strtoull` with a base of `0`, which correctly handles the `0x` prefix and interprets it as a hexadecimal number.

In essence, I'm constructing a reproducer that deliberately feeds an oversized value to `disksize`. This value, through a combination of `memparse` and `PAGE_ALIGN`'s overflow behavior, gets reduced to zero, leading to a zero-sized allocation attempt and the observed kernel warning. The logic seems solid, and the steps are clearly laid out in the C code I've drafted.


89/2 2026/09/15 01:06 tool codeexpert
5m Args:
map[Question:On a 32-bit Linux kernel, if `x` is of type `u64` (unsigned long long), what is the type and value of `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL`? Does it evaluate to a 64-bit 0?]

Results:
map[Answer:On a 32-bit Linux kernel, if `x` is of type `u64` (i.e. `unsigned long long`) with value `0xffffffffffffffffULL`, the expression `PAGE_ALIGN(x)` has:

- **Type:** `u64` (`unsigned long long`)
- **Value:** `0` (`0ULL`)
- **Does it evaluate to a 64-bit 0?** **Yes**, it evaluates to a 64-bit unsigned zero (`0ULL`).

### Detailed Explanation:

1. **Macro Definitions:**
   - In `include/linux/mm.h`:
     ```c
     #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
     ```
   - In `include/vdso/align.h`:
     ```c
     #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
     ```
   - In `include/uapi/linux/const.h`:
     ```c
     #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
     #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
     ```

2. **Type Preservation via `__typeof__(x)`:**
   - Although `PAGE_SIZE` is defined as `(_AC(1,UL) << CONFIG_PAGE_SHIFT)` (which is of type `unsigned long`, a 32-bit unsigned type on a 32-bit architecture), `__ALIGN_KERNEL` explicitly casts the alignment to `__typeof__(x)`:
     ```c
     mask = (__typeof__(x))(PAGE_SIZE) - 1
     ```
   - Because `x` is `u64` (`unsigned long long`), `mask` is computed as `(u64)PAGE_SIZE - 1`, resulting in a `u64` value (for a 4KB page, `0x0000000000000fffULL`).

3. **Evaluation and Arithmetic Wraparound:**
   - **`x + mask`:**
     Both operands are `u64`. In C, unsigned arithmetic is evaluated modulo $2^{64}$.
     $$\text{0xffffffffffffffffULL} + \text{0x0000000000000fffULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\ (\text{0x0ffeULL})$$
   - **`~mask`:**
     Bitwise NOT on `mask` (of type `u64`) produces `~0x0000000000000fffULL = 0xfffffffffffff000ULL` (also of type `u64`).
   - **`&` (Bitwise AND):**
     $$\text{0x0000000000000ffeULL} \ \& \ \text{0xfffffffffffff000ULL} = \text{0x0000000000000000ULL}$$

All operands in the expression are of type `u64`, so no truncation to a 32-bit integer occurs, and the result is a 64-bit zero (`0ULL`) of type `u64`.]

90/3 2026/09/15 01:06 agent codeexpert
5m Model:
core

Results:
map[Answer:On a 32-bit Linux kernel, if `x` is of type `u64` (i.e. `unsigned long long`) with value `0xffffffffffffffffULL`, the expression `PAGE_ALIGN(x)` has:

- **Type:** `u64` (`unsigned long long`)
- **Value:** `0` (`0ULL`)
- **Does it evaluate to a 64-bit 0?** **Yes**, it evaluates to a 64-bit unsigned zero (`0ULL`).

### Detailed Explanation:

1. **Macro Definitions:**
   - In `include/linux/mm.h`:
     ```c
     #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
     ```
   - In `include/vdso/align.h`:
     ```c
     #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
     ```
   - In `include/uapi/linux/const.h`:
     ```c
     #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
     #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
     ```

2. **Type Preservation via `__typeof__(x)`:**
   - Although `PAGE_SIZE` is defined as `(_AC(1,UL) << CONFIG_PAGE_SHIFT)` (which is of type `unsigned long`, a 32-bit unsigned type on a 32-bit architecture), `__ALIGN_KERNEL` explicitly casts the alignment to `__typeof__(x)`:
     ```c
     mask = (__typeof__(x))(PAGE_SIZE) - 1
     ```
   - Because `x` is `u64` (`unsigned long long`), `mask` is computed as `(u64)PAGE_SIZE - 1`, resulting in a `u64` value (for a 4KB page, `0x0000000000000fffULL`).

3. **Evaluation and Arithmetic Wraparound:**
   - **`x + mask`:**
     Both operands are `u64`. In C, unsigned arithmetic is evaluated modulo $2^{64}$.
     $$\text{0xffffffffffffffffULL} + \text{0x0000000000000fffULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\ (\text{0x0ffeULL})$$
   - **`~mask`:**
     Bitwise NOT on `mask` (of type `u64`) produces `~0x0000000000000fffULL = 0xfffffffffffff000ULL` (also of type `u64`).
   - **`&` (Bitwise AND):**
     $$\text{0x0000000000000ffeULL} \ \& \ \text{0xfffffffffffff000ULL} = \text{0x0000000000000000ULL}$$

All operands in the expression are of type `u64`, so no truncation to a 32-bit integer occurs, and the result is a 64-bit zero (`0ULL`) of type `u64`.]

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

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.

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:
On a 32-bit Linux kernel, if `x` is of type `u64` (unsigned long long), what is the type and value of `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL`? Does it evaluate to a 64-bit 0?

91/4 2026/09/15 01:06 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 2461
							output: 20
							thoughts: 135
						

Thoughts:
**My Thought Process Regarding PAGE_ALIGN on a 32-bit Kernel**

My immediate reaction to this question is to delve into the specifics of the `PAGE_ALIGN` macro as it exists within the Linux kernel. Given the context of a 32-bit kernel and a 64-bit variable `x` initialized to its maximum unsigned value (`0xffffffffffffffffULL`), I anticipate potential issues with type promotion, casting, and the inherent limitations of a 32-bit architecture when handling 64-bit operations.

My first step, therefore, is to locate the precise definition of `PAGE_ALIGN`. My experience tells me that such alignment macros are almost invariably defined as preprocessor macros (`#define`). To efficiently find this definition, I'd employ a tool like `grepper` or a similar code search utility that's adept at pattern matching within source code repositories. My specific search query would be geared towards identifying the macro definition itself, hence `#define PAGE_ALIGN`. This will bring me directly to the relevant code snippet, allowing me to analyze its implementation.


92/4 2026/09/15 01:07 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/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-
--
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/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-
]

93/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 3158
							output: 35
							thoughts: 37
						

Thoughts:
**My Thought Process on `include/linux/mm.h` and Alignment**

Alright, my current train of thought is leading me to a specific location within the kernel source: the header file `include/linux/mm.h`. I'm particularly interested in the code around line 224. My immediate focus is on understanding how memory alignment is handled and defined, which is why I want to examine the definitions of two key macros: `ALIGN` and `PAGE_SIZE`. I suspect that by understanding these, I'll gain crucial insight into the memory management strategies employed at this level, especially concerning how data structures and memory allocations are aligned to page boundaries, which is fundamental for efficient memory access and DMA operations.


94/4 2026/09/15 01:07 tool read-file
0m Args:
map[File:include/linux/mm.h FirstLine:220 LineCount:15]

Results:
map[Contents: 220:	}
 221:	#endif
 222:	
 223:	/* to align the pointer to the (next) page boundary */
 224:	#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
 225:	
 226:	/* to align the pointer to the (prev) page boundary */
 227:	#define PAGE_ALIGN_DOWN(addr) ALIGN_DOWN(addr, PAGE_SIZE)
 228:	
 229:	/* test whether an address (unsigned long or pointer) is aligned to PAGE_SIZE */
 230:	#define PAGE_ALIGNED(addr)	IS_ALIGNED((unsigned long)(addr), PAGE_SIZE)
 231:	
 232:	/**
 233:	 * folio_page_idx - Return the number of a page in a folio.
 234:	 * @folio: The folio.
]

95/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 3466
							output: 19
							thoughts: 30
						

Thoughts:
**My Thought Process on Locating `ALIGN` in Kernel Headers**

Alright, my immediate objective is clear: I need to pinpoint the definition of `ALIGN` within the Linux kernel's header files. To do this efficiently, I'm going to leverage a powerful command-line tool: `grepper`. My plan is to use `grepper` to systematically search through the relevant kernel header directories, looking for the exact string `ALIGN`. This should quickly reveal where this crucial macro is declared, allowing me to understand its implementation and usage within the kernel.


96/4 2026/09/15 01:07 tool grepper
0m Args:
map[Expression:#define ALIGN\(]

Results:
map[Output:include/vdso/align.h-7-/* @a is a power of 2 value */
include/vdso/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
include/vdso/align.h-9-#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
scripts/dtc/dtc.h=94=static inline bool strends(const char *str, const char *suffix)
--
scripts/dtc/dtc.h-104-
scripts/dtc/dtc.h:105:#define ALIGN(x, a)	(((x) + (a) - 1) & ~((a) - 1))
scripts/dtc/dtc.h-106-
--
tools/firmware/ihex2fw.c-25-#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/firmware/ihex2fw.c:26:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/firmware/ihex2fw.c-27-
--
tools/hv/vmbus_bufring.c-30-#define VMBUS_RQST_ERROR	0xFFFFFFFFFFFFFFFF
tools/hv/vmbus_bufring.c:31:#define ALIGN(val, align)	((typeof(val))((val) & (~((typeof(val))((align) - 1)))))
tools/hv/vmbus_bufring.c-32-
--
tools/include/linux/align.h-7-
tools/include/linux/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
tools/include/linux/align.h-9-#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-34-#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/testing/scatterlist/linux/mm.h:35:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/testing/scatterlist/linux/mm.h-36-#define ALIGN_DOWN(x, a)		__ALIGN_KERNEL((x) - ((a) - 1), (a))
--
tools/testing/selftests/bpf/trace_helpers.h-19-#define __ALIGN_MASK(x, mask)	(((x)+(mask))&~(mask))
tools/testing/selftests/bpf/trace_helpers.h:20:#define ALIGN(x, a)		__ALIGN_MASK(x, (typeof(x))(a)-1)
tools/testing/selftests/bpf/trace_helpers.h-21-
--
tools/testing/selftests/mm/hmm-tests.c=50=enum {
--
tools/testing/selftests/mm/hmm-tests.c-63-
tools/testing/selftests/mm/hmm-tests.c:64:#define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1)))
tools/testing/selftests/mm/hmm-tests.c-65-/* Just the flags we need, copied from mm.h: */
--
tools/testing/selftests/mm/migration.c-23-#define MAX_RETRIES	100
tools/testing/selftests/mm/migration.c:24:#define ALIGN(x, a)	(((x) + (a - 1)) & (~((a) - 1)))
tools/testing/selftests/mm/migration.c-25-
--
tools/virtio/ringtest/ptr_ring.c-17-#define likely(x)    (__builtin_expect(!!(x), 1))
tools/virtio/ringtest/ptr_ring.c:18:#define ALIGN(x, a) (((x) + (a) - 1) / (a) * (a))
tools/virtio/ringtest/ptr_ring.c-19-#define SIZE_MAX        (~(size_t)0)
]

97/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 4604
							output: 34
							thoughts: 22
						

Thoughts:
**A Deep Dive into `include/vdso/align.h`**

My immediate instinct is to delve into the `include/vdso/align.h` header file. I need to understand its contents thoroughly. My primary objective is to ascertain precisely what definitions and inclusions reside within this specific header. I'm particularly interested in identifying any macros, constants, or inline functions that pertain to alignment, as this is likely its core purpose. Furthermore, I want to know if `align.h` itself pulls in any other header files, as this could reveal dependencies or broader architectural contexts relevant to alignment within the VDSO (Virtual Dynamically-linked Shared Object). Ultimately, I'm building a comprehensive mental map of this component's role and its interaction with the surrounding codebase.


98/4 2026/09/15 01:07 tool read-file
0m Args:
map[File:include/vdso/align.h FirstLine:1 LineCount:25]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef __VDSO_ALIGN_H
   3:	#define __VDSO_ALIGN_H
   4:	
   5:	#include <vdso/const.h>
   6:	
   7:	/* @a is a power of 2 value */
   8:	#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
   9:	#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
  10:	#define __ALIGN_MASK(x, mask)	__ALIGN_KERNEL_MASK((x), (mask))
  11:	#define PTR_ALIGN(p, a)		((typeof(p))ALIGN((unsigned long)(p), (a)))
  12:	#define PTR_ALIGN_DOWN(p, a)	((typeof(p))ALIGN_DOWN((unsigned long)(p), (a)))
  13:	#define IS_ALIGNED(x, a)		(((x) & ((typeof(x))(a) - 1)) == 0)
  14:	
  15:	#endif	/* __VDSO_ALIGN_H */
]

99/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 4963
							output: 20
							thoughts: 19
						

Thoughts:
**My Thought Process on Locating Kernel Alignment Macros**

Right, so my immediate objective is to pinpoint the definitions for `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK`. As an expert in this domain, I understand these macros are fundamental to how the kernel manages memory alignment, which is crucial for performance and sometimes even for correctness on certain architectures. My mental search begins with the most likely places these kind of low-level, architecture-dependent, but kernel-wide constants would reside.

My first instinct is to check the core kernel header files. I'm thinking about files that deal with general memory management, architecture specifics, or perhaps even fundamental definitions. Files like `include/linux/kernel.h` are prime candidates, as they often house widely used kernel macros and definitions. I'd also consider architecture-specific headers, something like `arch/x86/include/asm/page.h` or similar, because alignment requirements can be heavily influenced by the underlying CPU architecture. It's not uncommon for these macros to be defined in a way that abstracts away the specific architecture, but their *implementation* details will be there.

I'm anticipating that `__ALIGN_KERNEL` will likely be a macro that takes a value and returns that value aligned to a specific boundary, possibly using bitwise operations or specific compiler built-ins. `__ALIGN_KERNEL_MASK`, on the other hand, I expect to be a mask that can be used in conjunction with bitwise AND operations to achieve alignment or to check if something is already aligned. These are common patterns for alignment in C and low-level programming.

So, my approach will be a systematic search, starting with the most general kernel headers and then drilling down into architecture-specific ones if necessary. I'll be looking for the exact names `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK`. It's a straightforward search, but the importance of these macros means I need to be confident in their precise location and definition.


100/4 2026/09/15 01:07 tool grepper
0m Args:
map[Expression:#define __ALIGN_KERNEL]

Results:
map[Output:include/uapi/linux/const.h-47-
include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
include/uapi/linux/const.h-50-
--
tools/firmware/ihex2fw.c-23-
tools/firmware/ihex2fw.c:24:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/firmware/ihex2fw.c:25:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/firmware/ihex2fw.c-26-#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
--
tools/include/uapi/linux/const.h-47-
tools/include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
tools/include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/include/uapi/linux/const.h-50-
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-32-
tools/testing/scatterlist/linux/mm.h:33:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/testing/scatterlist/linux/mm.h:34:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/testing/scatterlist/linux/mm.h-35-#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
]

101/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5555
							output: 27
							thoughts: 206
						

Thoughts:
**My Thought Process on `PAGE_ALIGN` and Kernel Alignment**

Okay, so I'm trying to get a handle on how memory alignment, specifically page alignment, is handled within the Linux kernel. My first instinct is to dive into the definition of the `PAGE_ALIGN` macro itself. I've found it in `include/uapi/linux/const.h`, and it's defined as:

```c
#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
```

Right away, I'm noticing this interesting construct `(__typeof__(x))(a) - 1`. This is a type cast followed by a subtraction. It seems to be a clever way to generate a bitmask based on the alignment value `a`. The idea is likely that if `a` is a power of two (like `PAGE_SIZE` would be), `a - 1` will be a bitmask with all the lower bits set up to the least significant bit of `a`. For example, if `a` is 4 (binary `100`), `a - 1` is 3 (binary `011`). This bitmask is then used in `__ALIGN_KERNEL_MASK` with a bitwise AND to achieve the alignment.

But then a question pops into my head: is `PAGE_ALIGN` *always* defined in terms of `ALIGN(addr, PAGE_SIZE)`? Or are there other ways `PAGE_ALIGN` might be implemented across the kernel? It's crucial to understand if this is the *sole* mechanism or if there are variations.

This leads me to look for where `PAGE_ALIGN` is actually *used* and defined in the broader context. I'll check `mm.h` next, as that's the natural place for memory management definitions. Indeed, I find:

```c
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
```

This confirms my suspicion that `PAGE_ALIGN` is indeed typically defined using a general `ALIGN` macro, with `PAGE_SIZE` as the specific alignment requirement.

Now, the next logical step is to understand what `PAGE_SIZE` itself is. This isn't just a single, fixed value. `PAGE_SIZE` can vary significantly across different architectures. So, I need to investigate its definitions. My plan is to look at the definitions of `PAGE_SIZE` across various 32-bit architectures specifically, but also keep in mind that this could apply to other architectures as well. To do this efficiently, I'll perform a `grep` for `define PAGE_SIZE` across the kernel source tree. This will give me a comprehensive view of how this fundamental constant is established for different hardware targets.


102/4 2026/09/15 01:07 tool grepper
0m Args:
map[Expression:#define PAGE_SIZE PathPrefix:include/]

Results:
map[Output:include/vdso/page.h-14-
include/vdso/page.h:15:#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)
include/vdso/page.h-16-
]

103/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5842
							output: 31
							thoughts: 49
						

Thoughts:
**My Thought Process**

Alright, my primary objective here is to understand how the fundamental `PAGE_SIZE` constant is defined, specifically within the context of 32-bit architectures. To achieve this, I need to delve into the kernel's header files. My initial instinct is to examine the architecture-specific include directory for x86, as that's the dominant 32-bit architecture I'm concerned with. So, I'll be looking at `arch/x86/include/asm/page_types.h`. However, I also recognize that there's a broader pattern for page-related definitions across different architectures. Therefore, to ensure I'm not missing anything and to get a more general understanding of how this is handled, I'll also broaden my search to include `arch/*/include/asm/page*.h`. The asterisk (`*`) here is crucial; it signifies that I want to look at *all* architectures, not just x86, and the `page*.h` pattern will catch files like `page.h`, `page_32.h`, or any other variations that might contain this definition. This systematic approach will allow me to identify the precise macro definitions and potentially any conditional compilation that dictates the `PAGE_SIZE` value on different 32-bit systems.


104/4 2026/09/15 01:07 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:#define PAGE_SIZE PathPrefix:arch/x86/]

Results:
map[Output:]

105/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 5920
							output: 32
							thoughts: 13
						

Thoughts:
**My Thought Process**

My initial impulse is to investigate how the concept of `PAGE_SIZE` is defined and utilized within the architecture-specific code. Therefore, I'll begin by conducting a search for `PAGE_SIZE` specifically within the `arch/` directory. This targeted search should reveal the architectural implementations and dependencies of this crucial system parameter.


106/4 2026/09/15 01:07 tool grepper
0m Args:
map[Expression:#define\s+PAGE_SIZE\b PathPrefix:arch/]

Results:
map[Output:arch/arc/include/uapi/asm/page.h-26-#define PAGE_SHIFT 13
arch/arc/include/uapi/asm/page.h:27:#define PAGE_SIZE	_BITUL(PAGE_SHIFT)	/* Default 8K */
arch/arc/include/uapi/asm/page.h-28-#define PAGE_MASK	(~(PAGE_SIZE-1))
--
arch/hexagon/kernel/vmlinux.lds.S=21=See asm-generic/sections.h for seemingly required labels.
--
arch/hexagon/kernel/vmlinux.lds.S-23-
arch/hexagon/kernel/vmlinux.lds.S:24:#define PAGE_SIZE _PAGE_SIZE
arch/hexagon/kernel/vmlinux.lds.S-25-
--
arch/loongarch/kernel/vmlinux.lds.S-6-
arch/loongarch/kernel/vmlinux.lds.S:7:#define PAGE_SIZE _PAGE_SIZE
arch/loongarch/kernel/vmlinux.lds.S-8-#define RO_EXCEPTION_TABLE_ALIGN	4
--
arch/mips/kernel/vmlinux.lds.S-4-
arch/mips/kernel/vmlinux.lds.S:5:#define PAGE_SIZE _PAGE_SIZE
arch/mips/kernel/vmlinux.lds.S-6-
--
arch/powerpc/boot/page.h-16-#define PAGE_SHIFT	12
arch/powerpc/boot/page.h:17:#define PAGE_SIZE	(ASM_CONST(1) << PAGE_SHIFT)
arch/powerpc/boot/page.h-18-#define PAGE_MASK	(~(PAGE_SIZE-1))
]

107/4 2026/09/15 01:07 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 6380
							output: 38
							thoughts: 42
						

Thoughts:
**My Thought Process Regarding PAGE_SIZE Definition**

Right, I'm trying to pin down the exact definition of `PAGE_SIZE` for both x86 and ARM architectures. My first instinct is to look in the architecture-specific header files. Specifically, I'm thinking the definition would likely reside within `arch/x86/include/asm/page.h` or perhaps `page_types.h` for the x86 case. I need to confirm this to ensure I'm referencing the correct underlying constant for memory page sizing.


108/4 2026/09/15 01:08 tool grepper
0m Args:
map[Expression:PAGE_SIZE PathPrefix:arch/x86/include/asm/page_types.h]

Results:
map[Output:arch/x86/include/asm/page_types.h-20-#define HPAGE_SHIFT		PMD_SHIFT
arch/x86/include/asm/page_types.h:21:#define HPAGE_SIZE		(_AC(1,UL) << HPAGE_SHIFT)
arch/x86/include/asm/page_types.h:22:#define HPAGE_MASK		(~(HPAGE_SIZE - 1))
arch/x86/include/asm/page_types.h-23-#define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
]

109/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 6600
							output: 29
							thoughts: 27
						

Thoughts:
**My Thought Process on Locating PAGE_SIZE**

Okay, so my immediate inclination is to pinpoint the definition of `PAGE_SIZE`. I'm thinking the most logical place for such a fundamental, architecture-agnostic constant would be in a generic assembly header, so my first port of call is going to be `include/asm-generic/page.h`. If that doesn't yield the answer, or if it's more complex than I anticipate, my fallback strategy is to initiate a broader search across the entire kernel source tree for where `PAGE_SIZE` is defined. This systematic approach should allow me to quickly zero in on its origin, regardless of whether it's directly in a generic header or perhaps conditionally defined elsewhere for specific architectures.


110/4 2026/09/15 01:08 tool grepper
0m Args:
map[Expression:PAGE_SIZE PathPrefix:include/asm-generic/]

Results:
map[Output:include/asm-generic/fixmap.h=36=static inline unsigned long virt_to_fix(const unsigned long vaddr)
--
include/asm-generic/fixmap.h-77-	__set_fixmap(idx, phys, flags);					\
include/asm-generic/fixmap.h:78:	________addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1));	\
include/asm-generic/fixmap.h-79-	________addr;							\
--
include/asm-generic/getorder.h-16- *
include/asm-generic/getorder.h:17: *	0 -> 2^0 * PAGE_SIZE and below
include/asm-generic/getorder.h:18: *	1 -> 2^1 * PAGE_SIZE to 2^0 * PAGE_SIZE + 1
include/asm-generic/getorder.h:19: *	2 -> 2^2 * PAGE_SIZE to 2^1 * PAGE_SIZE + 1
include/asm-generic/getorder.h:20: *	3 -> 2^3 * PAGE_SIZE to 2^2 * PAGE_SIZE + 1
include/asm-generic/getorder.h:21: *	4 -> 2^4 * PAGE_SIZE to 2^3 * PAGE_SIZE + 1
include/asm-generic/getorder.h-22- *	...
--
include/asm-generic/pgalloc.h=160=static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
--
include/asm-generic/pgalloc.h-163-
include/asm-generic/pgalloc.h:164:	BUG_ON((unsigned long)pmd & (PAGE_SIZE-1));
include/asm-generic/pgalloc.h-165-	pagetable_dtor_free(ptdesc);
--
include/asm-generic/pgalloc.h=211=static inline void __pud_free(struct mm_struct *mm, pud_t *pud)
--
include/asm-generic/pgalloc.h-214-
include/asm-generic/pgalloc.h:215:	BUG_ON((unsigned long)pud & (PAGE_SIZE-1));
include/asm-generic/pgalloc.h-216-	pagetable_dtor_free(ptdesc);
--
include/asm-generic/pgalloc.h=259=static inline void __p4d_free(struct mm_struct *mm, p4d_t *p4d)
--
include/asm-generic/pgalloc.h-262-
include/asm-generic/pgalloc.h:263:	BUG_ON((unsigned long)p4d & (PAGE_SIZE-1));
include/asm-generic/pgalloc.h-264-	pagetable_dtor_free(ptdesc);
--
include/asm-generic/pgalloc.h=298=static inline void __pgd_free(struct mm_struct *mm, pgd_t *pgd)
--
include/asm-generic/pgalloc.h-301-
include/asm-generic/pgalloc.h:302:	BUG_ON((unsigned long)pgd & (PAGE_SIZE-1));
include/asm-generic/pgalloc.h-303-	pagetable_dtor_free(ptdesc);
--
include/asm-generic/shmparam.h-4-
include/asm-generic/shmparam.h:5:#define SHMLBA PAGE_SIZE	 /* attach addr a multiple of this */
include/asm-generic/shmparam.h-6-
--
include/asm-generic/tlb.h-87- *    __tlb_remove_folio_pages() is similar to __tlb_remove_page_size(),
include/asm-generic/tlb.h:88: *    however, instead of removing a single page, assume PAGE_SIZE and remove
include/asm-generic/tlb.h-89- *    the given number of consecutive pages that are all part of the
--
include/asm-generic/tlb.h-145- *
include/asm-generic/tlb.h:146: *  MMU_GATHER_PAGE_SIZE
include/asm-generic/tlb.h-147- *
--
include/asm-generic/tlb.h=205=struct mmu_table_batch {
--
include/asm-generic/tlb.h-213-#define MAX_TABLE_BATCH		\
include/asm-generic/tlb.h:214:	((PAGE_SIZE - sizeof(struct mmu_table_batch)) / sizeof(void *))
include/asm-generic/tlb.h-215-
--
include/asm-generic/tlb.h=276=struct mmu_gather_batch {
--
include/asm-generic/tlb.h-283-#define MAX_GATHER_BATCH	\
include/asm-generic/tlb.h:284:	((PAGE_SIZE - sizeof(struct mmu_gather_batch)) / sizeof(void *))
include/asm-generic/tlb.h-285-
--
include/asm-generic/tlb.h=325=struct mmu_gather {
--
include/asm-generic/tlb.h-391-
include/asm-generic/tlb.h:392:#ifdef CONFIG_MMU_GATHER_PAGE_SIZE
include/asm-generic/tlb.h-393-	unsigned int page_size;
--
include/asm-generic/tlb.h=520=static inline void tlb_remove_page(struct mmu_gather *tlb, struct page *page)
include/asm-generic/tlb.h-521-{
include/asm-generic/tlb.h:522:	return tlb_remove_page_size(tlb, page, PAGE_SIZE);
include/asm-generic/tlb.h-523-}
--
include/asm-generic/tlb.h=530=static inline void tlb_change_page_size(struct mmu_gather *tlb,
--
include/asm-generic/tlb.h-532-{
include/asm-generic/tlb.h:533:#ifdef CONFIG_MMU_GATHER_PAGE_SIZE
include/asm-generic/tlb.h-534-	if (tlb->page_size && tlb->page_size != page_size) {
--
include/asm-generic/tlb.h=647=static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep, unsigned long address)
--
include/asm-generic/tlb.h-660-	do {							\
include/asm-generic/tlb.h:661:		tlb_flush_pte_range(tlb, address, PAGE_SIZE);	\
include/asm-generic/tlb.h-662-		__tlb_remove_tlb_entry(tlb, ptep, address);	\
--
include/asm-generic/tlb.h=672=static inline void tlb_remove_tlb_entries(struct mmu_gather *tlb,
--
include/asm-generic/tlb.h-674-{
include/asm-generic/tlb.h:675:	tlb_flush_pte_range(tlb, address, PAGE_SIZE * nr);
include/asm-generic/tlb.h-676-	for (;;) {
--
include/asm-generic/tlb.h-680-		ptep++;
include/asm-generic/tlb.h:681:		address += PAGE_SIZE;
include/asm-generic/tlb.h-682-	}
--
include/asm-generic/tlb.h-741- *
include/asm-generic/tlb.h:742: * For now w.r.t page table cache, mark the range_size as PAGE_SIZE
include/asm-generic/tlb.h-743- */
--
include/asm-generic/tlb.h-747-	do {							\
include/asm-generic/tlb.h:748:		tlb_flush_pmd_range(tlb, address, PAGE_SIZE);	\
include/asm-generic/tlb.h-749-		tlb->freed_tables = 1;				\
--
include/asm-generic/tlb.h-756-	do {							\
include/asm-generic/tlb.h:757:		tlb_flush_pud_range(tlb, address, PAGE_SIZE);	\
include/asm-generic/tlb.h-758-		tlb->freed_tables = 1;				\
--
include/asm-generic/tlb.h-765-	do {							\
include/asm-generic/tlb.h:766:		tlb_flush_p4d_range(tlb, address, PAGE_SIZE);	\
include/asm-generic/tlb.h-767-		tlb->freed_tables = 1;				\
--
include/asm-generic/tlb.h-774-	do {							\
include/asm-generic/tlb.h:775:		__tlb_adjust_range(tlb, address, PAGE_SIZE);	\
include/asm-generic/tlb.h-776-		tlb->freed_tables = 1;				\
--
include/asm-generic/vmlinux.lds.h-15- *	HEAD_TEXT_SECTION
include/asm-generic/vmlinux.lds.h:16: *	INIT_TEXT_SECTION(PAGE_SIZE)
include/asm-generic/vmlinux.lds.h-17- *	INIT_DATA_SECTION(...)
--
include/asm-generic/vmlinux.lds.h-25- *      _sdata = .;
include/asm-generic/vmlinux.lds.h:26: *	RO_DATA(PAGE_SIZE)
include/asm-generic/vmlinux.lds.h-27- *	RW_DATA(...)
--
include/asm-generic/vmlinux.lds.h-399-#define NOSAVE_DATA							\
include/asm-generic/vmlinux.lds.h:400:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-401-	__nosave_begin = .;						\
include/asm-generic/vmlinux.lds.h-402-	*(.data..nosave)						\
include/asm-generic/vmlinux.lds.h:403:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-404-	__nosave_end = .;
--
include/asm-generic/vmlinux.lds.h-605-		TEXT_UNLIKELY						\
include/asm-generic/vmlinux.lds.h:606:		. = ALIGN(PAGE_SIZE);					\
include/asm-generic/vmlinux.lds.h-607-		TEXT_HOT						\
--
include/asm-generic/vmlinux.lds.h-679-#define BTF								\
include/asm-generic/vmlinux.lds.h:680:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-681-	.BTF : AT(ADDR(.BTF) - LOAD_OFFSET) {				\
--
include/asm-generic/vmlinux.lds.h-683-	}								\
include/asm-generic/vmlinux.lds.h:684:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-685-	.BTF_ids : AT(ADDR(.BTF_ids) - LOAD_OFFSET) {			\
--
include/asm-generic/vmlinux.lds.h-778-		BSS_FIRST_SECTIONS					\
include/asm-generic/vmlinux.lds.h:779:		. = ALIGN(PAGE_SIZE);					\
include/asm-generic/vmlinux.lds.h-780-		*(.bss..page_aligned)					\
include/asm-generic/vmlinux.lds.h:781:		. = ALIGN(PAGE_SIZE);					\
include/asm-generic/vmlinux.lds.h-782-		*(.dynbss)						\
--
include/asm-generic/vmlinux.lds.h-1006-#define PERCPU_DECRYPTED_SECTION					\
include/asm-generic/vmlinux.lds.h:1007:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-1008-	*(.data..percpu..decrypted)					\
include/asm-generic/vmlinux.lds.h:1009:	. = ALIGN(PAGE_SIZE);
include/asm-generic/vmlinux.lds.h-1010-#else
--
include/asm-generic/vmlinux.lds.h-1092-	__per_cpu_start = .;						\
include/asm-generic/vmlinux.lds.h:1093:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-1094-	*(.data..percpu..page_aligned)					\
--
include/asm-generic/vmlinux.lds.h-1116-#define PERCPU_SECTION(cacheline)					\
include/asm-generic/vmlinux.lds.h:1117:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-1118-	.data..percpu	: AT(ADDR(.data..percpu) - LOAD_OFFSET) {	\
--
include/asm-generic/vmlinux.lds.h-1133- * typical alignment matches.
include/asm-generic/vmlinux.lds.h:1134: * A cacheline is typical/always less than a PAGE_SIZE so
include/asm-generic/vmlinux.lds.h-1135- * the sections that has this restriction (or similar)
include/asm-generic/vmlinux.lds.h:1136: * is located before the ones requiring PAGE_SIZE alignment.
include/asm-generic/vmlinux.lds.h:1137: * NOSAVE_DATA starts and ends with a PAGE_SIZE alignment which
include/asm-generic/vmlinux.lds.h-1138- * matches the requirement of PAGE_ALIGNED_DATA.
--
include/asm-generic/vmlinux.lds.h-1141-#define RW_DATA(cacheline, pagealigned, inittask)			\
include/asm-generic/vmlinux.lds.h:1142:	. = ALIGN(PAGE_SIZE);						\
include/asm-generic/vmlinux.lds.h-1143-	.data : AT(ADDR(.data) - LOAD_OFFSET) {				\
]

111/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 10450
							output: 19
							thoughts: 86
						

Thoughts:
**My Thought Process on Discovering PAGE_SIZE's Definition**

Okay, so my initial thought was to pinpoint the exact definition of `PAGE_SIZE`. My instinct was to look in `include/vdso/page.h`, which seems like a logical place for such a fundamental system constant. And indeed, I found it there:

```c
#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)
```

However, this immediately sparked a follow-up question. Looking at that definition, I noticed `_AC(1,UL)`. I've seen macros like this before, but I wasn't entirely sure of its specific purpose or origin in this context. My mind immediately went to needing to understand what `_AC` is doing, and where it's defined. My next step, therefore, was to trace that macro, likely by checking `include/uapi/linux/const.h` or wherever else it might be declared. I needed to understand that component before I could fully grasp the `PAGE_SIZE` macro.


112/4 2026/09/15 01:08 tool grepper
0m Args:
map[Expression:#define _AC\(]

Results:
map[Output:include/uapi/linux/const.h-16-#ifdef __ASSEMBLY__
include/uapi/linux/const.h:17:#define _AC(X,Y)	X
include/uapi/linux/const.h-18-#define _AT(T,X)	X
--
include/uapi/linux/const.h-20-#define __AC(X,Y)	(X##Y)
include/uapi/linux/const.h:21:#define _AC(X,Y)	__AC(X,Y)
include/uapi/linux/const.h-22-#define _AT(T,X)	((T)(X))
--
tools/include/uapi/linux/const.h-16-#ifdef __ASSEMBLY__
tools/include/uapi/linux/const.h:17:#define _AC(X,Y)	X
tools/include/uapi/linux/const.h-18-#define _AT(T,X)	X
--
tools/include/uapi/linux/const.h-20-#define __AC(X,Y)	(X##Y)
tools/include/uapi/linux/const.h:21:#define _AC(X,Y)	__AC(X,Y)
tools/include/uapi/linux/const.h-22-#define _AT(T,X)	((T)(X))
]

113/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 10893
							output: 32
							thoughts: 133
						

Thoughts:
**My Thought Process Regarding `_AC(1, UL)` and `PAGE_SIZE` on x86-32**

My initial encounter with `_AC(1, UL)` leads me to evaluate it directly. My understanding immediately flags `1UL` as representing an `unsigned long` literal. Now, when I consider the context of a 32-bit architecture, this is crucial because `unsigned long` on such systems is typically a 32-bit unsigned integer type. So, in this specific environment, `_AC(1, UL)` resolves to a 32-bit unsigned value of 1.

However, my experience has taught me to be cautious about assumptions, especially concerning fundamental definitions like page sizes. I immediately question whether `PAGE_SIZE` is consistently and universally defined as a simple expression like `1UL << PAGE_SHIFT`. While this is a common pattern, it's not an absolute guarantee across all architectures or even different configurations within the same architecture.

To verify this, my next step is to consult the source code. My immediate instinct is to look for the definition of `PAGE_SIZE` and related macros within the x86 architecture-specific headers. I'd be looking in files like `arch/x86/include/asm/page_32_types.h` or perhaps a more general `arch/x86/include/asm/page_types.h` if there's a common definition for x86. I'd specifically be searching for how `PAGE_SIZE` is macro-defined, and whether it relies on `PAGE_SHIFT` in a way that would make it directly comparable to `1UL`. My aim is to confirm the exact definition and ensure my understanding of its value, particularly in relation to the `_AC(1, UL)` expression, is accurate for the x86-32 context.


114/4 2026/09/15 01:08 tool grepper
0m Args:
map[Expression:#define.*PAGE_SIZE PathPrefix:arch/x86/]

Results:
map[Output:arch/x86/events/intel/ds.c=19=DEFINE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store);
--
arch/x86/events/intel/ds.c-23-
arch/x86/events/intel/ds.c:24:#define PEBS_FIXUP_SIZE		PAGE_SIZE
arch/x86/events/intel/ds.c-25-
--
arch/x86/hyperv/mmu.c-16-/* Each gva in gva_list encodes up to 4096 pages to flush */
arch/x86/hyperv/mmu.c:17:#define HV_TLB_FLUSH_UNIT (4096 * PAGE_SIZE)
arch/x86/hyperv/mmu.c-18-
--
arch/x86/include/asm/boot.h-76-
arch/x86/include/asm/boot.h:77:#define TRAMPOLINE_32BIT_SIZE		(2 * PAGE_SIZE)
arch/x86/include/asm/boot.h-78-
arch/x86/include/asm/boot.h:79:#define TRAMPOLINE_32BIT_CODE_OFFSET	PAGE_SIZE
arch/x86/include/asm/boot.h-80-#define TRAMPOLINE_32BIT_CODE_SIZE	0xA0
--
arch/x86/include/asm/fixmap.h=55=extern unsigned long __FIXADDR_TOP;
--
arch/x86/include/asm/fixmap.h-57-#else
arch/x86/include/asm/fixmap.h:58:#define FIXADDR_TOP	(round_up(VSYSCALL_ADDR + PAGE_SIZE, 1<<PMD_SHIFT) - \
arch/x86/include/asm/fixmap.h-59-			 PAGE_SIZE)
--
arch/x86/include/asm/intel_ds.h-5-
arch/x86/include/asm/intel_ds.h:6:#define BTS_BUFFER_SIZE		(PAGE_SIZE << 4)
arch/x86/include/asm/intel_ds.h-7-#define PEBS_BUFFER_SHIFT	4
arch/x86/include/asm/intel_ds.h:8:#define PEBS_BUFFER_SIZE	(PAGE_SIZE << PEBS_BUFFER_SHIFT)
arch/x86/include/asm/intel_ds.h-9-
--
arch/x86/include/asm/intel_ds.h-13- */
arch/x86/include/asm/intel_ds.h:14:#define ARCH_PEBS_THRESH_MULTI	((PEBS_BUFFER_SIZE - PAGE_SIZE) >> PEBS_BUFFER_SHIFT)
arch/x86/include/asm/intel_ds.h-15-#define ARCH_PEBS_THRESH_SINGLE	1
--
arch/x86/include/asm/kvm_host.h-156-#define KVM_MAX_HUGEPAGE_LEVEL	PG_LEVEL_1G
arch/x86/include/asm/kvm_host.h:157:#define KVM_NR_PAGE_SIZES	(KVM_MAX_HUGEPAGE_LEVEL - PG_LEVEL_4K + 1)
arch/x86/include/asm/kvm_host.h-158-#define KVM_HPAGE_GFN_SHIFT(x)	(((x) - 1) * 9)
arch/x86/include/asm/kvm_host.h-159-#define KVM_HPAGE_SHIFT(x)	(PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
arch/x86/include/asm/kvm_host.h:160:#define KVM_HPAGE_SIZE(x)	(1UL << KVM_HPAGE_SHIFT(x))
arch/x86/include/asm/kvm_host.h:161:#define KVM_HPAGE_MASK(x)	(~(KVM_HPAGE_SIZE(x) - 1))
arch/x86/include/asm/kvm_host.h:162:#define KVM_PAGES_PER_HPAGE(x)	(KVM_HPAGE_SIZE(x) / PAGE_SIZE)
arch/x86/include/asm/kvm_host.h-163-
--
arch/x86/include/asm/page_32_types.h-22-#define THREAD_SIZE_ORDER	1
arch/x86/include/asm/page_32_types.h:23:#define THREAD_SIZE		(PAGE_SIZE << THREAD_SIZE_ORDER)
arch/x86/include/asm/page_32_types.h-24-
--
arch/x86/include/asm/page_64_types.h-15-#define THREAD_SIZE_ORDER	(2 + KASAN_STACK_ORDER)
arch/x86/include/asm/page_64_types.h:16:#define THREAD_SIZE  (PAGE_SIZE << THREAD_SIZE_ORDER)
arch/x86/include/asm/page_64_types.h-17-
arch/x86/include/asm/page_64_types.h-18-#define EXCEPTION_STACK_ORDER (1 + KASAN_STACK_ORDER)
arch/x86/include/asm/page_64_types.h:19:#define EXCEPTION_STKSZ (PAGE_SIZE << EXCEPTION_STACK_ORDER)
arch/x86/include/asm/page_64_types.h-20-
arch/x86/include/asm/page_64_types.h-21-#define IRQ_STACK_ORDER (2 + KASAN_STACK_ORDER)
arch/x86/include/asm/page_64_types.h:22:#define IRQ_STACK_SIZE (PAGE_SIZE << IRQ_STACK_ORDER)
arch/x86/include/asm/page_64_types.h-23-
--
arch/x86/include/asm/page_64_types.h-53-#define TASK_SIZE_MAX		task_size_max()
arch/x86/include/asm/page_64_types.h:54:#define DEFAULT_MAP_WINDOW	((1UL << 47) - PAGE_SIZE)
arch/x86/include/asm/page_64_types.h-55-
--
arch/x86/include/asm/page_types.h-20-#define HPAGE_SHIFT		PMD_SHIFT
arch/x86/include/asm/page_types.h:21:#define HPAGE_SIZE		(_AC(1,UL) << HPAGE_SHIFT)
arch/x86/include/asm/page_types.h:22:#define HPAGE_MASK		(~(HPAGE_SIZE - 1))
arch/x86/include/asm/page_types.h-23-#define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
--
arch/x86/include/asm/pgtable_32_areas.h=17=extern bool __vmalloc_start_set; /* set once high_memory is set */
--
arch/x86/include/asm/pgtable_32_areas.h-26-
arch/x86/include/asm/pgtable_32_areas.h:27:#define CPU_ENTRY_AREA_PAGES		(NR_CPUS * DIV_ROUND_UP(sizeof(struct cpu_entry_area), PAGE_SIZE))
arch/x86/include/asm/pgtable_32_areas.h-28-
--
arch/x86/include/asm/pgtable_64_types.h=43=extern unsigned int ptrs_per_p4d;
--
arch/x86/include/asm/pgtable_64_types.h-190-
arch/x86/include/asm/pgtable_64_types.h:191:#define PGD_KERNEL_START	((PAGE_SIZE / 2) / sizeof(pgd_t))
arch/x86/include/asm/pgtable_64_types.h-192-
--
arch/x86/include/asm/pgtable_areas.h-9-#define CPU_ENTRY_AREA_RO_IDT		CPU_ENTRY_AREA_BASE
arch/x86/include/asm/pgtable_areas.h:10:#define CPU_ENTRY_AREA_PER_CPU		(CPU_ENTRY_AREA_RO_IDT + PAGE_SIZE)
arch/x86/include/asm/pgtable_areas.h-11-
--
arch/x86/include/asm/shmparam.h-4-
arch/x86/include/asm/shmparam.h:5:#define SHMLBA PAGE_SIZE	 /* attach addr a multiple of this */
arch/x86/include/asm/shmparam.h-6-
--
arch/x86/include/asm/svm.h=540=struct vmcb {
--
arch/x86/include/asm/svm.h-558-#define EXPECTED_VMCB_CONTROL_AREA_SIZE		1024
arch/x86/include/asm/svm.h:559:#define EXPECTED_GHCB_SIZE			PAGE_SIZE
arch/x86/include/asm/svm.h-560-
--
arch/x86/include/asm/vdso/vsyscall.h-7-#define VDSO_NR_VCLOCK_PAGES	2
arch/x86/include/asm/vdso/vsyscall.h:8:#define VDSO_VCLOCK_PAGES_START(_b)	((_b) + (__VDSO_PAGES - VDSO_NR_VCLOCK_PAGES) * PAGE_SIZE)
arch/x86/include/asm/vdso/vsyscall.h-9-#define VDSO_PAGE_PVCLOCK_OFFSET	0
--
arch/x86/include/asm/xen/page.h=25=typedef struct xpaddr {
--
arch/x86/include/asm/xen/page.h-47-
arch/x86/include/asm/xen/page.h:48:#define P2M_PER_PAGE		(PAGE_SIZE / sizeof(unsigned long))
arch/x86/include/asm/xen/page.h-49-
--
arch/x86/kernel/alternative.c=2781=struct smp_text_poke_loc {
--
arch/x86/kernel/alternative.c-2791-
arch/x86/kernel/alternative.c:2792:#define TEXT_POKE_ARRAY_MAX (PAGE_SIZE / sizeof(struct smp_text_poke_loc))
arch/x86/kernel/alternative.c-2793-
--
arch/x86/kernel/cpu/sgx/encl.c=15=static int sgx_encl_lookup_backing(struct sgx_encl *encl, unsigned long page_index,
--
arch/x86/kernel/cpu/sgx/encl.c-17-
arch/x86/kernel/cpu/sgx/encl.c:18:#define PCMDS_PER_PAGE (PAGE_SIZE / sizeof(struct sgx_pcmd))
arch/x86/kernel/cpu/sgx/encl.c-19-/*
--
arch/x86/kernel/espfix_64.c-41-#define ESPFIX_STACK_SIZE	(8*8UL)
arch/x86/kernel/espfix_64.c:42:#define ESPFIX_STACKS_PER_PAGE	(PAGE_SIZE/ESPFIX_STACK_SIZE)
arch/x86/kernel/espfix_64.c-43-
--
arch/x86/kernel/espfix_64.c=75=static inline unsigned long espfix_base_addr(unsigned int cpu)
--
arch/x86/kernel/espfix_64.c-87-
arch/x86/kernel/espfix_64.c:88:#define PTE_STRIDE        (65536/PAGE_SIZE)
arch/x86/kernel/espfix_64.c-89-#define ESPFIX_PTE_CLONES (PTRS_PER_PTE/PTE_STRIDE)
--
arch/x86/kernel/head_32.S=413=SYM_DATA(initial_code,		.long i386_start_kernel)
--
arch/x86/kernel/head_32.S-415-#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
arch/x86/kernel/head_32.S:416:#define	PGD_ALIGN	(2 * PAGE_SIZE)
arch/x86/kernel/head_32.S-417-#define PTI_USER_PGD_FILL	1024
arch/x86/kernel/head_32.S-418-#else
arch/x86/kernel/head_32.S:419:#define	PGD_ALIGN	(PAGE_SIZE)
arch/x86/kernel/head_32.S-420-#define PTI_USER_PGD_FILL	0
--
arch/x86/kernel/vmlinux.lds.S=47=const_cpu_current_top_of_stack = cpu_current_top_of_stack;
--
arch/x86/kernel/vmlinux.lds.S-60- */
arch/x86/kernel/vmlinux.lds.S:61:#define X86_ALIGN_RODATA_BEGIN	. = ALIGN(HPAGE_SIZE);
arch/x86/kernel/vmlinux.lds.S-62-
--
arch/x86/kvm/mmu.h=10=extern bool __read_mostly enable_mmio_caching;
--
arch/x86/kvm/mmu.h-23-#define PT_DIRTY_MASK (1ULL << PT_DIRTY_SHIFT)
arch/x86/kvm/mmu.h:24:#define PT_PAGE_SIZE_SHIFT 7
arch/x86/kvm/mmu.h:25:#define PT_PAGE_SIZE_MASK (1ULL << PT_PAGE_SIZE_SHIFT)
arch/x86/kvm/mmu.h-26-#define PT_PAT_MASK (1ULL << 7)
--
arch/x86/kvm/mmu/spte.h=47=static_assert(SPTE_TDP_AD_ENABLED == 0);
--
arch/x86/kvm/mmu/spte.h-49-#ifdef CONFIG_DYNAMIC_PHYSICAL_MASK
arch/x86/kvm/mmu/spte.h:50:#define SPTE_BASE_ADDR_MASK (physical_mask & ~(u64)(PAGE_SIZE-1))
arch/x86/kvm/mmu/spte.h-51-#else
arch/x86/kvm/mmu/spte.h:52:#define SPTE_BASE_ADDR_MASK (((1ULL << 52) - 1) & ~(u64)(PAGE_SIZE-1))
arch/x86/kvm/mmu/spte.h-53-#endif
--
arch/x86/kvm/svm/sev.c=3553=int pre_sev_run(struct vcpu_svm *svm, int cpu)
--
arch/x86/kvm/svm/sev.c-3595-
arch/x86/kvm/svm/sev.c:3596:#define GHCB_SCRATCH_AREA_LIMIT		(16ULL * PAGE_SIZE)
arch/x86/kvm/svm/sev.c-3597-static int setup_vmgexit_scratch(struct vcpu_svm *svm, bool sync, u64 min_len)
--
arch/x86/kvm/svm/svm.h=41=static inline struct page *__sme_pa_to_page(unsigned long pa)
--
arch/x86/kvm/svm/svm.h-45-
arch/x86/kvm/svm/svm.h:46:#define	IOPM_SIZE PAGE_SIZE * 3
arch/x86/kvm/svm/svm.h:47:#define	MSRPM_SIZE PAGE_SIZE * 2
arch/x86/kvm/svm/svm.h-48-
--
arch/x86/mm/dump_pagetables.c=131=static struct addr_marker address_markers[] = {
--
arch/x86/mm/dump_pagetables.c-151-/* Multipliers for offsets within the PTEs */
arch/x86/mm/dump_pagetables.c:152:#define PTE_LEVEL_MULT (PAGE_SIZE)
arch/x86/mm/dump_pagetables.c-153-#define PMD_LEVEL_MULT (PTRS_PER_PTE * PTE_LEVEL_MULT)
--
arch/x86/mm/init.c=126=__ref void *alloc_low_pages(unsigned int num)
--
arch/x86/mm/init.c-184-
arch/x86/mm/init.c:185:#define INIT_PGT_BUF_SIZE	(INIT_PGD_PAGE_COUNT * PAGE_SIZE)
arch/x86/mm/init.c-186-RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE);
--
arch/x86/mm/init_32.c=692=void __init mem_init(void)
--
arch/x86/mm/init_32.c-700-	 */
arch/x86/mm/init_32.c:701:#define __FIXADDR_TOP (-PAGE_SIZE)
arch/x86/mm/init_32.c-702-#ifdef CONFIG_HIGHMEM
--
arch/x86/mm/ioremap.c=848=void __init early_ioremap_init(void)
--
arch/x86/mm/ioremap.c-867-	 */
arch/x86/mm/ioremap.c:868:#define __FIXADDR_TOP (-PAGE_SIZE)
arch/x86/mm/ioremap.c-869-	BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT)
--
arch/x86/xen/p2m.c-87-
arch/x86/xen/p2m.c:88:#define P2M_MID_PER_PAGE	(PAGE_SIZE / sizeof(unsigned long *))
arch/x86/xen/p2m.c:89:#define P2M_TOP_PER_PAGE	(PAGE_SIZE / sizeof(unsigned long **))
arch/x86/xen/p2m.c-90-
]

115/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 15816
							output: 41
							thoughts: 58
						

Thoughts:
**The Quest for the Elusive PAGE_SIZE on x86**

My mind immediately goes into problem-solving mode. I'm trying to locate the definition of `PAGE_SIZE` specifically for the x86 architecture. This is a fundamental constant, and its precise location is critical. My first instinct is to consult the architecture-specific header files, as this is where such low-level definitions are typically housed. My current hypothesis is that `arch/x86/include/asm/page_types.h` is the most probable location. I need to open this file and meticulously read through its contents to confirm my suspicion and find the exact line defining `PAGE_SIZE`.


116/4 2026/09/15 01:08 tool read-file
0m Args:
map[File:arch/x86/include/asm/page_types.h FirstLine:1 LineCount:40]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef _ASM_X86_PAGE_DEFS_H
   3:	#define _ASM_X86_PAGE_DEFS_H
   4:	
   5:	#include <linux/const.h>
   6:	#include <linux/types.h>
   7:	#include <linux/mem_encrypt.h>
   8:	
   9:	#include <vdso/page.h>
  10:	
  11:	#define __VIRTUAL_MASK		((1UL << __VIRTUAL_MASK_SHIFT) - 1)
  12:	
  13:	/* Cast P*D_MASK to a signed type so that it is sign-extended if
  14:	   virtual addresses are 32-bits but physical addresses are larger
  15:	   (ie, 32-bit PAE). */
  16:	#define PHYSICAL_PAGE_MASK	(((signed long)PAGE_MASK) & __PHYSICAL_MASK)
  17:	#define PHYSICAL_PMD_PAGE_MASK	(((signed long)PMD_MASK) & __PHYSICAL_MASK)
  18:	#define PHYSICAL_PUD_PAGE_MASK	(((signed long)PUD_MASK) & __PHYSICAL_MASK)
  19:	
  20:	#define HPAGE_SHIFT		PMD_SHIFT
  21:	#define HPAGE_SIZE		(_AC(1,UL) << HPAGE_SHIFT)
  22:	#define HPAGE_MASK		(~(HPAGE_SIZE - 1))
  23:	#define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
  24:	
  25:	#define HUGE_MAX_HSTATE 2
  26:	
  27:	#define PAGE_OFFSET		((unsigned long)__PAGE_OFFSET)
  28:	
  29:	#define VMA_DATA_DEFAULT_FLAGS	VMA_DATA_FLAGS_TSK_EXEC
  30:	
  31:	/* Physical address where kernel should be loaded. */
  32:	#define LOAD_PHYSICAL_ADDR	__ALIGN_KERNEL_MASK(CONFIG_PHYSICAL_START, CONFIG_PHYSICAL_ALIGN - 1)
  33:	
  34:	#define __START_KERNEL		(__START_KERNEL_map + LOAD_PHYSICAL_ADDR)
  35:	
  36:	#ifdef CONFIG_X86_64
  37:	#include <asm/page_64_types.h>
  38:	#define IOREMAP_MAX_ORDER       (PUD_SHIFT)
  39:	#else
  40:	#include <asm/page_32_types.h>
]

117/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 16609
							output: 34
							thoughts: 33
						

Thoughts:
**My Thought Process on the VDSO Include**

Ah, right. So, my first instinct upon seeing `#include <vdso/page.h>` on line 9 is to immediately dig into the `include/vdso/page.h` file itself. My mind immediately goes to what this header file is designed to provide. Given the `vdso` prefix, I'm already anticipating that this is related to the Virtual Dynamic Shared Object, a mechanism that allows the kernel to expose certain frequently used system calls and kernel information directly into user space without the overhead of a traditional system call.

My immediate thought is to understand the specific *interface* that `vdso/page.h` is exposing. What data structures does it define? What functions or constants are declared within it? Is it defining the layout of a specific page that the kernel maps into user space? Or is it providing access to kernel-provided time information, process IDs, or other relevant data?

I'm also curious about the *context* of this include. Why is it being included at this particular point in the code? What part of the system are we building or analyzing that requires direct access to this VDSO functionality? Is this part of a performance-critical section, or is it setting up some fundamental system property?

Furthermore, my expertise tells me that VDSO implementations can have subtle variations across different kernel versions and architectures. So, while I'm looking at `vdso/page.h`, I'm also subconsciously considering whether this code is written with portability in mind or if it's targeting a specific environment. I'll be looking for any architecture-specific macros or conditional inclusions within that header that might indicate this.

Ultimately, my objective in reading `vdso/page.h` is to grasp the *contract* between the kernel and user space being established or utilized by this include, and how that contract is being leveraged by the code on line 9. It's about understanding the specific pieces of information or functionality that the kernel is making available and the mechanism by which my code is intended to access it.


118/4 2026/09/15 01:08 tool read-file
0m Args:
map[File:include/vdso/page.h FirstLine:1 LineCount:35]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef __VDSO_PAGE_H
   3:	#define __VDSO_PAGE_H
   4:	
   5:	#include <uapi/linux/const.h>
   6:	
   7:	/*
   8:	 * PAGE_SHIFT determines the page size.
   9:	 *
  10:	 * Note: This definition is required because PAGE_SHIFT is used
  11:	 * in several places throughout the codebase.
  12:	 */
  13:	#define PAGE_SHIFT      CONFIG_PAGE_SHIFT
  14:	
  15:	#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)
  16:	
  17:	#if !defined(CONFIG_64BIT)
  18:	/*
  19:	 * Applies only to 32-bit architectures.
  20:	 *
  21:	 * Subtle: (1 << CONFIG_PAGE_SHIFT) is an int, not an unsigned long.
  22:	 * So if we assign PAGE_MASK to a larger type it gets extended the
  23:	 * way we want (i.e. with 1s in the high bits) while masking a
  24:	 * 64-bit value such as phys_addr_t.
  25:	 */
  26:	#define PAGE_MASK	(~((1 << CONFIG_PAGE_SHIFT) - 1))
  27:	#else
  28:	#define PAGE_MASK	(~(PAGE_SIZE - 1))
  29:	#endif
  30:	
  31:	#endif	/* __VDSO_PAGE_H */
]

119/4 2026/09/15 01:08 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 17106
							output: 28
							thoughts: 504
						

Thoughts:
**My Thought Process Unpacking PAGE_ALIGN and its Dependencies**

My initial curiosity was piqued by a particular comment in `include/vdso/page.h` related to `PAGE_SIZE`:

```c
#define PAGE_SIZE	(_AC(1,UL) << CONFIG_PAGE_SHIFT)

#if !defined(CONFIG_64BIT)
/*
 * Applies only to 32-bit architectures.
 *
 * Subtle: (1 << CONFIG_PAGE_SHIFT) is an int, not an unsigned long.
 * So if we assign PAGE_MASK to a larger type it gets extended the
 * way we want (i.e. with 1s in the high bits) while masking a
 * 64-bit value such as phys_addr_t.
 */
#define PAGE_MASK	(~((1 << CONFIG_PAGE_SHIFT) - 1))
#else
#define PAGE_MASK	(~(PAGE_SIZE - 1))
#endif
```

This comment about the subtle difference in how `PAGE_MASK` is handled on 32-bit versus 64-bit architectures caught my attention. It hinted at some interesting details regarding integer types and bitwise operations.

Following this, I decided to investigate the `PAGE_ALIGN(addr)` macro, a common operation for aligning memory addresses. My first question was: where is this macro defined? I found its primary definition in `include/linux/mm.h`:

```c
/* to align the pointer to the (next) page boundary */
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
```

This immediately led me to wonder if `PAGE_ALIGN` was defined elsewhere in the kernel. I performed a search for all definitions of `PAGE_ALIGN(`. My review of the `grepper` results revealed the following:

1.  `arch/powerpc/boot/page.h`: `#define PAGE_ALIGN(addr) _ALIGN(addr, PAGE_SIZE)` (This is in the bootloader context, which is important to note but not the main kernel definition I was looking for).
2.  `include/linux/mm.h`: `#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)` (This is the standard kernel definition).
3.  `tools/...`: Definitions within the `tools` directory. These are typically for user-space tools and not part of the in-kernel definition.

So, it became clear that the core kernel definition of `PAGE_ALIGN` resides in `include/linux/mm.h`, and it relies on another macro, `ALIGN`, and the already examined `PAGE_SIZE`.

My next logical step was to trace the `ALIGN(addr, PAGE_SIZE)` call. I needed to understand how this alignment is actually performed. I decided to look for the definition of `ALIGN` in the most likely header files: `include/vdso/align.h` and `include/linux/align.h`. My investigation then focused on `include/linux/align.h` to understand the fundamental alignment mechanism.


120/4 2026/09/15 01:09 tool grepper
0m Args:
map[Expression:ALIGN PathPrefix:include/linux/align.h]

Results:
map[Output:include/linux/align.h-1-/* SPDX-License-Identifier: GPL-2.0 */
include/linux/align.h:2:#ifndef _LINUX_ALIGN_H
include/linux/align.h:3:#define _LINUX_ALIGN_H
include/linux/align.h-4-
--
include/linux/align.h-6-
include/linux/align.h:7:#endif	/* _LINUX_ALIGN_H */
]

121/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 17742
							output: 33
							thoughts: 13
						

Thoughts:
**My Thought Process on `include/linux/align.h`**

Alright, I need to get a handle on how memory alignment is managed within the Linux kernel. My first step is to dive into the `include/linux/align.h` header file. I anticipate this file will be crucial for understanding the fundamental definitions and macros related to alignment, likely defining things like the size of cache lines, padding strategies, and perhaps some basic alignment helpers. I'm expecting to find low-level details here, the kind of bedrock definitions that other parts of the kernel will build upon. My goal is to grasp the core principles of how the kernel ensures data is placed in memory in a way that optimizes performance and avoids potential hardware issues related to misaligned access. I'll be looking for the core building blocks, the definitions that underpin the more complex alignment logic found elsewhere in the codebase.


122/4 2026/09/15 01:09 tool read-file
0m Args:
map[File:include/linux/align.h FirstLine:1 LineCount:15]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 */
   2:	#ifndef _LINUX_ALIGN_H
   3:	#define _LINUX_ALIGN_H
   4:	
   5:	#include <vdso/align.h>
   6:	
   7:	#endif	/* _LINUX_ALIGN_H */
]

123/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 17873
							output: 21
							thoughts: 1380
						

Thoughts:
**My Deep Dive into Kernel Alignment Macros**

I've been dissecting the kernel's alignment machinery, specifically focusing on `ALIGN` and `PAGE_ALIGN`. My initial approach was to follow the definitions, starting with `include/vdso/align.h`. I saw `ALIGN(x, a)` and `ALIGN_DOWN(x, a)` were defined using `__ALIGN_KERNEL`. Then, `__ALIGN_KERNEL` was defined in `include/uapi/linux/const.h` as `__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)`. The `__ALIGN_KERNEL_MASK` macro itself is `(((x) + (mask)) & ~(mask))`.

This is where the real tracing began, especially when considering `PAGE_ALIGN(x)`. I expanded it:

`PAGE_ALIGN(x)`
`= ALIGN(x, PAGE_SIZE)`
`= __ALIGN_KERNEL(x, PAGE_SIZE)`
`= __ALIGN_KERNEL_MASK(x, (__typeof__(x))(PAGE_SIZE) - 1)`
`= (((x) + ((__typeof__(x))(PAGE_SIZE) - 1)) & ~((__typeof__(x))(PAGE_SIZE) - 1))`

Now, a crucial detail emerged: the expression `(__typeof__(x))(PAGE_SIZE) - 1`. This `mask` is used in `__ALIGN_KERNEL_MASK`. I started to wonder about the specific type of `x`.

When `x` is `u64` (or `unsigned long long` in C), `__typeof__(x)` is also `u64`. `PAGE_SIZE` is typically a power of 2, say `0x1000UL` (4KB). So, `(__typeof__(x))(PAGE_SIZE) - 1` becomes `(u64)0x1000 - 1`, which is `0x0fffULL`. This `0x0fffULL` is the `mask`.

The core of the `__ALIGN_KERNEL_MASK` macro is `(((x) + (mask)) & ~(mask))`. Let's consider the extreme case where `x` is `0xffffffffffffffffULL`.

So, we have `x = 0xffffffffffffffffULL` and `mask = 0x0fffULL`.
The first part is `(x) + (mask)`. In unsigned 64-bit arithmetic, `0xffffffffffffffffULL + 0x0fffULL` wraps around.
`0xffffffffffffffffULL` is $2^{64} - 1$.
Adding `0x0fffULL` (4095) gives $2^{64} - 1 + 4095 = 2^{64} + 4094$.
When this is taken modulo $2^{64}$, the result is `4094`, which is `0x0ffeULL`.
So, `(x) + (mask)` evaluates to `0x0ffeULL`.

Next, we have `~(mask)`. `~(0x0fffULL)` is `0xfffffffffffff000ULL`.

Finally, the entire expression becomes `0x0ffeULL & 0xfffffffffffff000ULL`.
Performing this bitwise AND, we get `0`.

This result is quite striking and made me pause. It implies that `PAGE_ALIGN(0xffffffffffffffffULL)` on a 64-bit system with 4KB pages, using these macros, would indeed evaluate to `0`. My initial thought was to question if this is the intended behavior, or if there's an implicit assumption about the input `x` (e.g., that it's a valid address or within a certain range). I also started to ponder if there are historical reasons or specific contexts for this behavior, perhaps differing between 32-bit and 64-bit architectures or across different kernel versions. This led me to think about digging into the git history or kernel documentation to understand the evolution and rationale behind these specific macro definitions.


124/4 2026/09/15 01:09 tool grepper
0m Args:
map[Expression:PAGE_ALIGN.*u64]

Results:
map[Output:arch/arm64/kvm/hyp/nvhe/mem_protect.c=1157=int hyp_pin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1159-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1160:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1161-	u64 phys = __hyp_pa(start);
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=1193=void hyp_unpin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1195-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1196:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1197-	struct hyp_page *p;
--
arch/arm64/kvm/hyp/nvhe/mm.c=149=int hyp_back_vmemmap(phys_addr_t back)
--
arch/arm64/kvm/hyp/nvhe/mm.c-164-		end = hyp_memory[i].base + hyp_memory[i].size;
arch/arm64/kvm/hyp/nvhe/mm.c:165:		end = PAGE_ALIGN((u64)hyp_phys_to_page(end));
arch/arm64/kvm/hyp/nvhe/mm.c-166-		if (start >= end)
--
arch/arm64/mm/kasan_init.c=300=static void __init kasan_init_shadow(void)
--
arch/arm64/mm/kasan_init.c-309-	kimg_shadow_start = (u64)kasan_mem_to_shadow(KERNEL_START) & PAGE_MASK;
arch/arm64/mm/kasan_init.c:310:	kimg_shadow_end = PAGE_ALIGN((u64)kasan_mem_to_shadow(KERNEL_END));
arch/arm64/mm/kasan_init.c-311-
--
drivers/accel/ivpu/ivpu_ms.c=35=int ivpu_ms_start_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
--
drivers/accel/ivpu/ivpu_ms.c-73-
drivers/accel/ivpu/ivpu_ms.c:74:	buf_size = PAGE_ALIGN((u64)args->read_period_samples * sample_size *
drivers/accel/ivpu/ivpu_ms.c-75-			      MS_READ_PERIOD_MULTIPLIER * MS_NUM_BUFFERS);
--
drivers/infiniband/hw/erdma/erdma_verbs.c=668=static u32 vmalloc_to_dma_addrs(struct erdma_dev *dev, dma_addr_t **dma_addrs,
--
drivers/infiniband/hw/erdma/erdma_verbs.c-675-
drivers/infiniband/hw/erdma/erdma_verbs.c:676:	npages = (PAGE_ALIGN((u64)buf + len) - PAGE_ALIGN_DOWN((u64)buf)) >>
drivers/infiniband/hw/erdma/erdma_verbs.c-677-		 PAGE_SHIFT;
--
kernel/bpf/arraymap.c=84=static struct bpf_map *array_map_alloc(union bpf_attr *attr)
--
kernel/bpf/arraymap.c-124-			array_size = PAGE_ALIGN(array_size);
kernel/bpf/arraymap.c:125:			array_size += PAGE_ALIGN((u64) max_entries * elem_size);
kernel/bpf/arraymap.c-126-		} else {
--
kernel/bpf/arraymap.c=576=static int array_map_mmap(struct bpf_map *map, struct vm_area_struct *vma)
--
kernel/bpf/arraymap.c-584-	if (vma->vm_pgoff * PAGE_SIZE + (vma->vm_end - vma->vm_start) >
kernel/bpf/arraymap.c:585:	    PAGE_ALIGN((u64)array->map.max_entries * array->elem_size))
kernel/bpf/arraymap.c-586-		return -EINVAL;
--
mm/kmsan/shadow.c=275=void __init kmsan_init_alloc_meta_for_range(void *start, void *end)
--
mm/kmsan/shadow.c-281-
mm/kmsan/shadow.c:282:	start = (void *)PAGE_ALIGN_DOWN((u64)start);
mm/kmsan/shadow.c:283:	size = PAGE_ALIGN((u64)end - (u64)start);
mm/kmsan/shadow.c-284-	shadow = memblock_alloc_or_panic(size, PAGE_SIZE);
]

125/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 20691
							output: 37
							thoughts: 81
						

Thoughts:
**My Thought Process Regarding BPF Arraymap Sizing**

My immediate reaction upon encountering this snippet from `kernel/bpf/arraymap.c` is one of intense scrutiny, bordering on suspicion. The line `array_size += PAGE_ALIGN((u64) max_entries * elem_size);` has triggered a critical re-evaluation of how BPF array maps are being sized. My internal alarm bells are ringing because of the implications of `PAGE_ALIGN`.

I’m focusing intently on `kernel/bpf/arraymap.c` because this is where the core logic for array map allocation resides. This specific file, and by extension this line of code, dictates the memory footprint of these fundamental BPF data structures. My expertise in kernel memory management and BPF internals compels me to dissect this.

My next step is to dive deeper. I’m not satisfied with just seeing the line; I need to understand its context. Therefore, I am directing my attention specifically to lines 120-135 of `kernel/bpf/arraymap.c`. This concentrated focus is crucial for several reasons:

*   **Contextual Understanding:** I need to see what comes *before* and *after* this `PAGE_ALIGN` operation. Is this the *only* contributor to `array_size`? Are there other memory allocations happening here that might interact with this calculation? Understanding the surrounding code will reveal if this is an isolated sizing decision or part of a more complex allocation strategy.
*   **`max_entries` and `elem_size`:** I need to analyze how `max_entries` and `elem_size` are determined. Are they static values? Are they user-configurable? The potential for these variables to be large is a significant concern, and their origin will inform the severity of any potential memory waste.
*   **`PAGE_ALIGN` Implications:** This is the crux of my concern. `PAGE_ALIGN` ensures that allocations start on a page boundary. While this is often beneficial for performance and memory management by the kernel, it can also lead to significant internal fragmentation if `(u64) max_entries * elem_size` is not a perfect multiple of the page size. I suspect that this operation might be unnecessarily inflating the allocated memory, especially for maps with `max_entries` or `elem_size` that don't neatly align with page boundaries.
*   **Potential for Waste:** My primary worry is memory inefficiency. If the calculated size before `PAGE_ALIGN` is, for example, 4097 bytes and the page size is 4096 bytes, `PAGE_ALIGN` will round this up to 8192 bytes. This means nearly half of the allocated memory could be unused. In scenarios with many BPF array maps or maps with large `max_entries`, this fragmentation and waste could accumulate and become a performance bottleneck or even a resource exhaustion issue.

In essence, I'm performing a forensic examination. I suspect a potential flaw in the BPF array map sizing logic that could be leading to suboptimal memory utilization. My next step is to meticulously review the specified lines to confirm or deny this suspicion and understand the full scope of its implications.


126/4 2026/09/15 01:09 tool read-file
0m Args:
map[File:kernel/bpf/arraymap.c FirstLine:115 LineCount:25]

Results:
map[Contents: 115:	
 116:		array_size = sizeof(*array);
 117:		if (percpu) {
 118:			array_size += (u64) max_entries * sizeof(void *);
 119:		} else {
 120:			/* rely on vmalloc() to return page-aligned memory and
 121:			 * ensure array->value is exactly page-aligned
 122:			 */
 123:			if (attr->map_flags & BPF_F_MMAPABLE) {
 124:				array_size = PAGE_ALIGN(array_size);
 125:				array_size += PAGE_ALIGN((u64) max_entries * elem_size);
 126:			} else {
 127:				array_size += (u64) max_entries * elem_size;
 128:			}
 129:		}
 130:	
 131:		/* allocate all map elements and zero-initialize them */
 132:		if (attr->map_flags & BPF_F_MMAPABLE) {
 133:			void *data;
 134:	
 135:			/* kmalloc'ed memory can't be mmap'ed, use explicit vmalloc */
 136:			data = bpf_map_area_mmapable_alloc(array_size, numa_node);
 137:			if (!data)
 138:				return ERR_PTR(-ENOMEM);
 139:			array = data + PAGE_ALIGN(sizeof(struct bpf_array))
]

127/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 21216
							output: 25
							thoughts: 63
						

Thoughts:
**My Thought Process on Locating PAGE_ALIGN Usage**

My initial instinct is to understand the historical context and usage patterns of `PAGE_ALIGN`. To achieve this, I want to directly investigate the `git` history. My primary search terms will be `PAGE_ALIGN` in conjunction with data type indicators like `u64` and `32-bit`. This is because `PAGE_ALIGN` is fundamentally about memory alignment, and its interaction with different integer types is a crucial aspect of its implementation and potential edge cases.

Then, a secondary thought arises: can I leverage `grepper` for this task? I quickly dismiss the idea of using `grepper` on the actual commit messages themselves, as that's unlikely to be fruitful. However, I immediately pivot to the possibility of finding `PAGE_ALIGN` within `Documentation` files or perhaps within commit-like comments embedded directly within source files. This is a more promising avenue, as these locations are more likely to contain explanatory text or discussions related to specific functionalities.

Consequently, my next concrete step is to shift my focus to the `Documentation/` directory and begin a search for `PAGE_ALIGN` within those files. This is where I anticipate finding high-level explanations, API descriptions, or perhaps even usage examples that will shed light on its purpose and how it's intended to be used, especially in relation to different data sizes.


128/4 2026/09/15 01:09 tool grepper
0m Error:
log-in to see details

Args:
map[Expression:PAGE_ALIGN PathPrefix:Documentation/]

Results:
map[Output:]

129/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 21302
							output: 27
							thoughts: 17
						

Thoughts:
**My Thought Process on Locating `PAGE_ALIGN`**

Alright, so the immediate impulse when confronted with a symbol like `PAGE_ALIGN`, especially in a C/C++ context, is to figure out where it's defined. My first step is to think about where such definitions typically reside. Header files, obviously. And given the nature of `PAGE_ALIGN`, which hints at memory management and operating system-level concerns, it's highly probable that it's part of the core kernel or system-level code.

Therefore, my instinct is to cast a wide net within the `include/` directory. This is the standard location for globally accessible definitions, macros, and type declarations in many C/C++ projects, particularly those with a significant system programming or kernel-like component. I'm not looking for a specific file just yet, but rather I'm initiating a broad search.

The thought process here is driven by experience and pattern recognition. When I see a preprocessor symbol that looks like a fundamental constant or macro, especially one related to system architecture (like page alignment), I know it's going to be found in a header file that's designed to be included by many other parts of the system. The `include/` directory is the designated home for these kinds of foundational definitions.

So, the mental command is straightforward: "Execute a search for the literal string `PAGE_ALIGN` within the entire `include/` directory." This isn't a complex deduction; it's a direct application of where I expect such a symbol to be declared based on its name and likely purpose. I'm anticipating that this search will reveal the specific header file(s) where `PAGE_ALIGN` is defined, and from there, I can delve into its usage and context.


130/4 2026/09/15 01:09 tool grepper
0m Args:
map[Expression:PAGE_ALIGN\b PathPrefix:include/]

Results:
map[Output:include/linux/hyperv.h=113=struct hv_ring_buffer {
--
include/linux/hyperv.h-187-/* Calculate the proper size of a ringbuffer, it must be page-aligned */
include/linux/hyperv.h:188:#define VMBUS_RING_SIZE(payload_sz) PAGE_ALIGN(VMBUS_HEADER_ADJ(payload_sz) + \
include/linux/hyperv.h-189-					       (payload_sz))
--
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=3957=extern void free_initmem(void);
--
include/linux/mm.h-3959-/*
include/linux/mm.h:3960: * Free reserved pages within range [PAGE_ALIGN(start), end & PAGE_MASK)
include/linux/mm.h-3961- * into the buddy system. The freed pages will be poisoned with pattern
--
include/net/mana/gdma.h=237=struct gdma_dev {
--
include/net/mana/gdma.h-256-#define MANA_PAGE_SIZE BIT(MANA_PAGE_SHIFT)
include/net/mana/gdma.h:257:#define MANA_PAGE_ALIGN(x) ALIGN((x), MANA_PAGE_SIZE)
include/net/mana/gdma.h-258-#define MANA_PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)(addr), MANA_PAGE_SIZE)
--
include/uapi/drm/drm.h=317=struct drm_buf_desc {
--
include/uapi/drm/drm.h-322-	enum {
include/uapi/drm/drm.h:323:		_DRM_PAGE_ALIGN = 0x01,	/**< Align on page boundaries for DMA */
include/uapi/drm/drm.h-324-		_DRM_AGP_BUFFER = 0x02,	/**< Buffer is in AGP space */
]

131/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 21935
							output: 36
							thoughts: 350
						

Thoughts:
**My Thought Process Regarding PAGE_ALIGN on a 32-bit Linux Kernel**

My initial impulse upon reading the question is to scrutinize it with extreme care. The specifics – a 32-bit Linux kernel, a `u64` type (`x`), a specific `ULL` value for `x`, and the behavior of `PAGE_ALIGN(x)` – all hint at potential subtleties. The core of the question is whether `PAGE_ALIGN(x)` evaluates to a 64-bit zero under these conditions.

My first step is to delve into the definition of `PAGE_ALIGN`. I know this macro is fundamental to memory management in the kernel, so I'd naturally look to `include/linux/mm.h`. There, I find `PAGE_ALIGN(addr)` is defined as `ALIGN(addr, PAGE_SIZE)`.

This leads me to investigate `ALIGN`. Consulting `include/vdso/align.h`, I see `ALIGN(x, a)` is defined as `__ALIGN_KERNEL((x), (a))`.

The crucial part now lies in understanding `__ALIGN_KERNEL`. I'd refer to `include/uapi/linux/const.h`, where I find the definitions:
```c
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
```
Now, I'm specifically looking at the `__ALIGN_KERNEL` macro and the expression `(__typeof__(x))(a) - 1`. This part is particularly interesting. `__typeof__(x)` will resolve to `unsigned long long` because `x` is of type `u64`. However, the context of a *32-bit* Linux kernel becomes critical here.

My thought process immediately flags this: on a 32-bit architecture, a `u64` is not a native integer type. It's typically implemented using two 32-bit registers. The `__typeof__(x)` in this context, even though the *variable* `x` is declared as `u64`, might behave differently within the 32-bit kernel's macro expansion. The critical part is how `a` (which represents `PAGE_SIZE`) is handled.

My next immediate thought is to question if `__ALIGN_KERNEL` is *always* defined in this manner. Macro definitions can be conditional, and the exact implementation can vary based on architecture, kernel version, or build configurations. Therefore, I'd feel compelled to examine the history or conditional compilation of `__ALIGN_KERNEL` as it appears in `include/uapi/linux/const.h`, specifically looking at lines 1 to 60 (as mentioned in my internal notes), to understand any nuances related to 32-bit systems or specific definitions that might alter its behavior. The concern is whether the subtraction `(a) - 1` is performed in a way that's consistent with a 64-bit value or if it's truncated or handled in a 32-bit-specific manner. This is where the "wait!" moments occur – realizing that the apparent definition might not be the one that's actually in play in the given environment.


132/4 2026/09/15 01:09 tool read-file
0m Args:
map[File:include/uapi/linux/const.h FirstLine:1 LineCount:60]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2:	/* const.h: Macros for dealing with constants.  */
   3:	
   4:	#ifndef _UAPI_LINUX_CONST_H
   5:	#define _UAPI_LINUX_CONST_H
   6:	
   7:	/* Some constant macros are used in both assembler and
   8:	 * C code.  Therefore we cannot annotate them always with
   9:	 * 'UL' and other type specifiers unilaterally.  We
  10:	 * use the following macros to deal with this.
  11:	 *
  12:	 * Similarly, _AT() will cast an expression with a type in C, but
  13:	 * leave it unchanged in asm.
  14:	 */
  15:	
  16:	#ifdef __ASSEMBLY__
  17:	#define _AC(X,Y)	X
  18:	#define _AT(T,X)	X
  19:	#else
  20:	#define __AC(X,Y)	(X##Y)
  21:	#define _AC(X,Y)	__AC(X,Y)
  22:	#define _AT(T,X)	((T)(X))
  23:	#endif
  24:	
  25:	#define _UL(x)		(_AC(x, UL))
  26:	#define _ULL(x)		(_AC(x, ULL))
  27:	
  28:	#define _BITUL(x)	(_UL(1) << (x))
  29:	#define _BITULL(x)	(_ULL(1) << (x))
  30:	
  31:	#if !defined(__ASSEMBLY__)
  32:	/*
  33:	 * Missing asm support
  34:	 *
  35:	 * __BIT128() would not work in the asm code, as it shifts an
  36:	 * 'unsigned __int128' data type as direct representation of
  37:	 * 128 bit constants is not supported in the gcc compiler, as
  38:	 * they get silently truncated.
  39:	 *
  40:	 * TODO: Please revisit this implementation when gcc compiler
  41:	 * starts representing 128 bit constants directly like long
  42:	 * and unsigned long etc. Subsequently drop the comment for
  43:	 * GENMASK_U128() which would then start supporting asm code.
  44:	 */
  45:	#define _BIT128(x)	((unsigned __int128)(1) << (x))
  46:	#endif
  47:	
  48:	#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
  49:	#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
  50:	
  51:	#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
  52:	
  53:	/*
  54:	 * Divide positive or negative dividend by positive or negative divisor
  55:	 * and round to closest integer. Result is undefined for negative
  56:	 * divisors if the dividend variable type is unsigned and for negative
  57:	 * dividends if the divisor variable type is unsigned.
  58:	 */
  59:	#define __KERNEL_DIV_ROUND_CLOSEST(x, divisor)		\
  60:	({							\
]

133/4 2026/09/15 01:09 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 23248
							output: 25
							thoughts: 2331
						

Thoughts:
**The Deep Dive into `PAGE_ALIGN`'s Nuances**

My initial thought is a sharp, immediate question: "Wait! Could `PAGE_ALIGN` have had an older definition, or is there something subtle I'm missing?" This is driven by a need to ensure my understanding is current and accounts for any historical shifts. To address this, my immediate next step is to query: "Wait, what used to be the definition of `PAGE_ALIGN`?"

My investigative instinct then directs me to a specific file, leading me to check `tools/virtio/linux/kernel.h`. There, I find:
`#define PAGE_MASK (~(PAGE_SIZE-1))`
`#define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK)`

But something feels off, a nagging doubt. I recall a slightly different formulation. My mind races: "WAIT! Look at `tools/virtio/linux/kernel.h`!" And then, the crucial insight hits me: "Did `PAGE_ALIGN` used to be `#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)`?!" This refinement is critical because the parentheses and the explicit `addr` variable might carry subtle implications.

The confirmation bias is strong, so I push further: "WAIT!" This urgency propels me to a broader search. I need to see how this macro has evolved, leading me to the thought: "Let's search for `PAGE_MASK` and `PAGE_ALIGN` in the kernel history or older code or comments!" This is about finding concrete evidence of change.

Then, I focus on a specific temporal shift I'm trying to pin down: "Wait, when did `PAGE_ALIGN` change from `(((addr)+PAGE_SIZE-1)&PAGE_MASK)` to `ALIGN(addr, PAGE_SIZE)`?" This question is at the heart of understanding the current implementation and any potential historical pitfalls.

My train of thought then loops back to the user's original query, which sparks a new set of considerations: "Wait, or why is the question asking: 'On a 32-bit Linux kernel, if `x` is of type `u64` (unsigned long long), what is the type and value of `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL`? Does it evaluate to a 64-bit 0?'" This immediately makes me ponder the interaction between a 64-bit value and a 32-bit kernel environment.

This leads me to a direct examination of the core question: "Wait! Let's examine: Does `PAGE_ALIGN` evaluate to a 64-bit 0 or does it not? Or what is the type and value?" I realize I need to break this down by considering the *current* definition first, as it's the most likely context.

"Wait! Look at both the current definition AND the question:" I decide to analyze the current kernel implementation step-by-step.

"Let's evaluate current kernel:"

"In the current kernel:
`x` has type `u64` (`unsigned long long`).
`x = 0xffffffffffffffffULL`.
`PAGE_ALIGN(x)` is `ALIGN(x, PAGE_SIZE)`.
`ALIGN(x, PAGE_SIZE)` is `__ALIGN_KERNEL((x), (PAGE_SIZE))`.
`__ALIGN_KERNEL((x), (a))` is `__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)`.
Here, `(__typeof__(x))` is `u64` (or `unsigned long long`).
So `mask` is `(u64)(PAGE_SIZE) - 1`.
Assume `PAGE_SIZE` is e.g. 4096 (0x1000).
Then `mask` is `0x0000000000000fffULL`.
Then `__ALIGN_KERNEL_MASK(x, mask)` is:
`(((x) + (mask)) & ~(mask))`

Let's evaluate:
`(x) + (mask)`:
`x = 0xffffffffffffffffULL`.
`mask = 0x0000000000000fffULL`.
`x + mask = 0xffffffffffffffffULL + 0x0000000000000fffULL`.

Wait! What is `0xffffffffffffffffULL + 0x0000000000000fffULL` in C?
In C, unsigned arithmetic is modulo $2^N$.
For a 64-bit unsigned type (`u64`), $2^{64}-1 + 4095 = 2^{64} + 4094 \equiv 4094 = 0x0ffe \pmod{2^{64}}$.
So `(x) + (mask)` is `0x0000000000000ffeULL`!

Then `~(mask)`:
`mask` is of type `u64` (because `(__typeof__(x))(PAGE_SIZE) - 1` is `(u64)PAGE_SIZE - 1`).
So `~(mask)` is `~0x0000000000000fffULL = 0xfffffffffffff000ULL` (type `u64`).

Then:
`((x) + (mask)) & ~(mask)`
= `0x0000000000000ffeULL & 0xfffffffffffff000ULL`
= `0x0ULL` (which is `0`, of type `u64` / `unsigned long long`)!"

The immediate conclusion is startling: "Wait! It DOES evaluate to 0 of type `u64`!" This directly answers a part of the user's question, but it also raises more.

The core of my ongoing thought process is then, "WAIT! Why did the user ask: 'On a 32-bit Linux kernel, if `x` is of type `u64` (unsigned long long), what is the type and value of `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL`? Does it evaluate to a 64-bit 0?'" This implies there might be a scenario where it *doesn't* evaluate to zero, or that the 32-bit context is critical.

This leads me to consider the alternative: "Wait! Could `PAGE_ALIGN` NOT evaluate to a 64-bit 0 under some conditions or in some definitions?" My mind then drifts to the older definition: "Wait! What if `PAGE_ALIGN` was: `#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)`?"

I then try to reconstruct that scenario: "Let's see: what if `PAGE_ALIGN(addr)` was `(((addr) + PAGE_SIZE - 1) & PAGE_MASK)`? If `PAGE_ALIGN(addr)` was `(((addr) + PAGE_SIZE - 1) & PAGE_MASK)`: In a 32-bit kernel: What was `PAGE_MASK`?"

This leads me to dig into the source code for `PAGE_MASK` in older contexts, specifically referencing `include/vdso/page.h`. I note the conditional compilation:
```c
#if !defined(CONFIG_64BIT)
/*
 * Applies only to 32-bit architectures.
 *
 * Subtle: (1 << CONFIG_PAGE_SHIFT) is an int, not an unsigned long.
 * So if we assign PAGE_MASK to a larger type it gets extended the
 * way we want (i.e. with 1s in the high bits) while masking a
 * 64-bit value such as phys_addr_t.
 */
#define PAGE_MASK	(~((1 << CONFIG_PAGE_SHIFT) - 1))
#else
#define PAGE_MASK	(~(PAGE_SIZE - 1))
#endif
```
My immediate reaction is: "Wait! Look at what it says in `include/vdso/page.h`!" I then focus on the critical part: `#define PAGE_MASK	(~((1 << CONFIG_PAGE_SHIFT) - 1))`.

The subtle interaction of types becomes paramount: "Wait! If `1` is an `int` (32-bit signed int): `1 << 12` is `0x1000` (int). `(1 << 12) - 1` is `0x0fff` (int). `~((1 << 12) - 1)` is `~0x0fff = 0xfffff000` (signed int, with value -4096). When a signed int is converted to `u64` (unsigned long long), sign extension occurs: It becomes `0xfffffffffffff000ULL`!"

However, I also consider the alternative definition of `PAGE_MASK`: "BUT what if `PAGE_MASK` was `(~(PAGE_SIZE - 1))`? If `PAGE_MASK` was `(~(PAGE_SIZE - 1))`: `PAGE_SIZE` is `1UL << 12 = 0x1000UL` (32-bit unsigned long on 32-bit kernel). `PAGE_SIZE - 1` is `0x0fffUL` (32-bit unsigned long). `~(PAGE_SIZE - 1)` is `0xfffff000UL` (32-bit unsigned long). When a 32-bit `unsigned long` is promoted to `u64`, ZERO EXTENSION occurs! It becomes `0x00000000fffff000ULL`!"

This distinction is crucial because of how it interacts with the masking operation: "And if `x & PAGE_MASK` is done: `0xffffffffffffffff & 0x00000000fffff000ULL` would truncate the upper 32 bits!" The realization dawns: "WAIT! Is THAT why `PAGE_MASK` had that comment?!" This highlights a potential bug or a very specific design choice related to type promotion and sign/zero extension.

But I quickly refocus on the *actual* macro in question: "Let's re-read the comment in `include/vdso/page.h`... Wait! But the question is NOT about `PAGE_MASK`, or IS IT?" This self-correction is essential. The user's question specifically mentions `PAGE_ALIGN`, not `PAGE_MASK` directly.

My thought process pivots again: "Wait, wait! Let's check: Does `PAGE_ALIGN` use `PAGE_MASK`? NO! `PAGE_ALIGN(addr)` is `ALIGN(addr, PAGE_SIZE)`." This is a critical distinction. The original definition I was investigating, which uses `PAGE_MASK`, might not be the current or relevant one for the user's specific question about `PAGE_ALIGN`.

This leads to a fundamental question about the macro's evolution: "Wait, DID `PAGE_ALIGN` use `PAGE_MASK` in older kernels or was there a bug? Wait, what if `PAGE_ALIGN` DOES or DID or DOES NOT use `PAGE_MASK`?"

To definitively answer this, I need historical context: "Wait! Let's check the history of `PAGE_ALIGN`! Let's check git log for `PAGE_ALIGN`. Wait, can we run git commands? We don't have git log tool, but we can search the codebase." This signifies a shift from theoretical reasoning to practical code archaeology.

My final line of inquiry, before I would theoretically find the answer through code search, is: "Wait, let's search if any files define `PAGE_ALIGN` using `PAGE_MASK`. In `tools/virtio/linux/kernel.h`: `#define PAGE_MASK (~(PAGE_SIZE-1))` `#define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK)` And in `tools/testing/selftests/mm/mlock-random-test.c`: `#define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1))` Wait, what about arch-specific page.h? Let's grep for `PAGE_ALIGN` in all `arch/*/include/`!" This is my systematic approach to uncovering the exact definition of `PAGE_ALIGN` across different kernel contexts.


134/4 2026/09/15 01:10 tool grepper
0m Args:
map[Expression:PAGE_ALIGN PathPrefix:arch/]

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

arch/alpha/kernel/core_irongate.c=202=albacore_init_arch(void)
--
arch/alpha/kernel/core_irongate.c-234-			size = initrd_end - initrd_start;
arch/alpha/kernel/core_irongate.c:235:			memblock_free((void *)initrd_start, PAGE_ALIGN(size));
arch/alpha/kernel/core_irongate.c-236-			if (!move_initrd(pci_mem))
--
arch/alpha/kernel/core_irongate.c=312=irongate_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_irongate.c-356-	last = addr + size - 1;
arch/alpha/kernel/core_irongate.c:357:	size = PAGE_ALIGN(last) - addr;
arch/alpha/kernel/core_irongate.c-358-
--
arch/alpha/kernel/core_marvel.c=681=marvel_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_marvel.c-732-		baddr &= PAGE_MASK;
arch/alpha/kernel/core_marvel.c:733:		size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/core_marvel.c-734-
--
arch/alpha/kernel/core_titan.c=455=titan_ioremap(unsigned long addr, unsigned long size)
--
arch/alpha/kernel/core_titan.c-506-		baddr &= PAGE_MASK;
arch/alpha/kernel/core_titan.c:507:		size = PAGE_ALIGN(last) - baddr;
arch/alpha/kernel/core_titan.c-508-
--
arch/alpha/kernel/osf_sys.c=177=SYSCALL_DEFINE6(osf_mmap, unsigned long, addr, unsigned long, len,
--
arch/alpha/kernel/osf_sys.c-187-#endif
arch/alpha/kernel/osf_sys.c:188:	if ((off + PAGE_ALIGN(len)) < off)
arch/alpha/kernel/osf_sys.c-189-		goto out;
--
arch/alpha/kernel/osf_sys.c=1216=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/alpha/kernel/osf_sys.c-1238-	if (addr) {
arch/alpha/kernel/osf_sys.c:1239:		addr = arch_get_unmapped_area_1 (PAGE_ALIGN(addr), len, limit);
arch/alpha/kernel/osf_sys.c-1240-		if (addr != (unsigned long) -ENOMEM)
--
arch/alpha/kernel/osf_sys.c-1244-	/* Next, try allocating at TASK_UNMAPPED_BASE.  */
arch/alpha/kernel/osf_sys.c:1245:	addr = arch_get_unmapped_area_1 (PAGE_ALIGN(TASK_UNMAPPED_BASE),
arch/alpha/kernel/osf_sys.c-1246-					 len, limit);
--
arch/alpha/kernel/setup.c=266=move_initrd(unsigned long mem_limit)
--
arch/alpha/kernel/setup.c-271-	size = initrd_end - initrd_start;
arch/alpha/kernel/setup.c:272:	start = memblock_alloc(PAGE_ALIGN(size), PAGE_SIZE);
arch/alpha/kernel/setup.c-273-	if (!start || __pa(start) + size > mem_limit) {
--
arch/arc/mm/mmap.c=25=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/arc/mm/mmap.c-46-	if (addr) {
arch/arc/mm/mmap.c:47:		addr = PAGE_ALIGN(addr);
arch/arc/mm/mmap.c-48-
--
arch/arm/include/asm/cacheflush.h=225=vivt_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end)
--
arch/arm/include/asm/cacheflush.h-229-	if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm)))
arch/arm/include/asm/cacheflush.h:230:		__cpuc_flush_user_range(start & PAGE_MASK, PAGE_ALIGN(end),
arch/arm/include/asm/cacheflush.h-231-					vma->vm_flags);
--
arch/arm/kernel/process.c=349=static unsigned long sigpage_addr(const struct mm_struct *mm,
--
arch/arm/kernel/process.c-357-
arch/arm/kernel/process.c:358:	first = PAGE_ALIGN(mm->start_stack);
arch/arm/kernel/process.c-359-
--
arch/arm/kernel/setup.c=760=int __init arm_add_memory(u64 start, u64 size)
--
arch/arm/kernel/setup.c-767-	 */
arch/arm/kernel/setup.c:768:	aligned_start = PAGE_ALIGN(start);
arch/arm/kernel/setup.c-769-	if (aligned_start > start + size)
--
arch/arm/mach-omap1/sram-init.c=59=void *omap_sram_push(void *funcp, unsigned long size)
--
arch/arm/mach-omap1/sram-init.c-70-	base = (unsigned long)sram & PAGE_MASK;
arch/arm/mach-omap1/sram-init.c:71:	pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mach-omap1/sram-init.c-72-
--
arch/arm/mach-omap1/sram-init.c=89=static void __init omap_detect_and_map_sram(void)
--
arch/arm/mach-omap1/sram-init.c-123-	base = (unsigned long)omap_sram_base;
arch/arm/mach-omap1/sram-init.c:124:	pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap1/sram-init.c-125-
--
arch/arm/mach-omap2/sram.c=81=void *omap_sram_push(void *funcp, unsigned long size)
--
arch/arm/mach-omap2/sram.c-92-	base = (unsigned long)sram & PAGE_MASK;
arch/arm/mach-omap2/sram.c:93:	pages = PAGE_ALIGN(size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c-94-
--
arch/arm/mach-omap2/sram.c=180=static void __init omap2_map_sram(void)
--
arch/arm/mach-omap2/sram.c-216-	base = (unsigned long)omap_sram_base;
arch/arm/mach-omap2/sram.c:217:	pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE;
arch/arm/mach-omap2/sram.c-218-
--
arch/arm/mm/cache-l2x0.c=1357=static unsigned long aurora_range_end(unsigned long start, unsigned long end)
--
arch/arm/mm/cache-l2x0.c-1369-	 */
arch/arm/mm/cache-l2x0.c:1370:	if (end > PAGE_ALIGN(start+1))
arch/arm/mm/cache-l2x0.c:1371:		end = PAGE_ALIGN(start+1);
arch/arm/mm/cache-l2x0.c-1372-
--
arch/arm/mm/dma-mapping.c=533=static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
--
arch/arm/mm/dma-mapping.c-543-		.dev = dev,
arch/arm/mm/dma-mapping.c:544:		.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c-545-		.gfp = gfp,
--
arch/arm/mm/dma-mapping.c=605=static void __arm_dma_free(struct device *dev, size_t size, void *cpu_addr,
--
arch/arm/mm/dma-mapping.c-612-		.dev = dev,
arch/arm/mm/dma-mapping.c:613:		.size = PAGE_ALIGN(size),
arch/arm/mm/dma-mapping.c-614-		.cpu_addr = cpu_addr,
--
arch/arm/mm/dma-mapping.c=754=static inline dma_addr_t __alloc_iova(struct dma_iommu_mapping *mapping,
--
arch/arm/mm/dma-mapping.c-767-
arch/arm/mm/dma-mapping.c:768:	count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-769-	align = (1 << order) - 1;
--
arch/arm/mm/dma-mapping.c=960=__iommu_create_mapping(struct device *dev, struct page **pages, size_t size,
--
arch/arm/mm/dma-mapping.c-963-	struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev);
arch/arm/mm/dma-mapping.c:964:	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-965-	dma_addr_t dma_addr, iova;
--
arch/arm/mm/dma-mapping.c=1000=static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size)
--
arch/arm/mm/dma-mapping.c-1007-	 */
arch/arm/mm/dma-mapping.c:1008:	size = PAGE_ALIGN((iova & ~PAGE_MASK) + size);
arch/arm/mm/dma-mapping.c-1009-	iova &= PAGE_MASK;
--
arch/arm/mm/dma-mapping.c=1073=static void *arm_iommu_alloc_attrs(struct device *dev, size_t size,
--
arch/arm/mm/dma-mapping.c-1081-	*handle = DMA_MAPPING_ERROR;
arch/arm/mm/dma-mapping.c:1082:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1083-
--
arch/arm/mm/dma-mapping.c=1113=static int arm_iommu_mmap_attrs(struct device *dev, struct vm_area_struct *vma,
--
arch/arm/mm/dma-mapping.c-1117-	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
arch/arm/mm/dma-mapping.c:1118:	unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-1119-	int err;
--
arch/arm/mm/dma-mapping.c=1141=static void arm_iommu_free_attrs(struct device *dev, size_t size, void *cpu_addr,
--
arch/arm/mm/dma-mapping.c-1145-	struct page **pages;
arch/arm/mm/dma-mapping.c:1146:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1147-
--
arch/arm/mm/dma-mapping.c=1166=static int arm_iommu_get_sgtable(struct device *dev, struct sg_table *sgt,
--
arch/arm/mm/dma-mapping.c-1169-{
arch/arm/mm/dma-mapping.c:1170:	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
arch/arm/mm/dma-mapping.c-1171-	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
--
arch/arm/mm/dma-mapping.c=1183=static int __map_sg_chunk(struct device *dev, struct scatterlist *sg,
--
arch/arm/mm/dma-mapping.c-1193-
arch/arm/mm/dma-mapping.c:1194:	size = PAGE_ALIGN(size);
arch/arm/mm/dma-mapping.c-1195-	*handle = DMA_MAPPING_ERROR;
--
arch/arm/mm/dma-mapping.c-1202-		phys_addr_t phys = page_to_phys(sg_page(s));
arch/arm/mm/dma-mapping.c:1203:		unsigned int len = PAGE_ALIGN(s->offset + s->length);
arch/arm/mm/dma-mapping.c-1204-
--
arch/arm/mm/dma-mapping.c=1365=static dma_addr_t arm_iommu_map_phys(struct device *dev, phys_addr_t phys,
--
arch/arm/mm/dma-mapping.c-1368-	struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev);
arch/arm/mm/dma-mapping.c:1369:	int len = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm/mm/dma-mapping.c-1370-	phys_addr_t addr = phys & PAGE_MASK;
--
arch/arm/mm/dma-mapping.c=1404=static void arm_iommu_unmap_phys(struct device *dev, dma_addr_t handle,
--
arch/arm/mm/dma-mapping.c-1409-	int offset = handle & ~PAGE_MASK;
arch/arm/mm/dma-mapping.c:1410:	int len = PAGE_ALIGN(size + offset);
arch/arm/mm/dma-mapping.c-1411-
--
arch/arm/mm/init.c=423=void free_initrd_mem(unsigned long start, unsigned long end)
--
arch/arm/mm/init.c-429-
arch/arm/mm/init.c:430:	poison_init_mem((void *)start, PAGE_ALIGN(end) - start);
arch/arm/mm/init.c-431-	free_reserved_area((void *)start, (void *)end, -1, "initrd");
--
arch/arm/mm/ioremap.c=274=static void __iomem * __arm_ioremap_pfn_caller(unsigned long pfn,
--
arch/arm/mm/ioremap.c-297-	 */
arch/arm/mm/ioremap.c:298:	size = PAGE_ALIGN(offset + size);
arch/arm/mm/ioremap.c-299-
--
arch/arm/mm/ioremap.c=434=void __arm_iomem_set_ro(void __iomem *ptr, size_t size)
arch/arm/mm/ioremap.c-435-{
arch/arm/mm/ioremap.c:436:	set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE);
arch/arm/mm/ioremap.c-437-}
--
arch/arm/mm/kasan_init.c=195=static int __init create_mapping(void *start, void *end)
--
arch/arm/mm/kasan_init.c-205-	kasan_pgd_populate((unsigned long)shadow_start & PAGE_MASK,
arch/arm/mm/kasan_init.c:206:			   PAGE_ALIGN((unsigned long)shadow_end), false);
arch/arm/mm/kasan_init.c-207-	return 0;
--
arch/arm/mm/mmap.c=30=arch_get_unmapped_area(struct file *filp, unsigned long addr,
--
arch/arm/mm/mmap.c-63-		else
arch/arm/mm/mmap.c:64:			addr = PAGE_ALIGN(addr);
arch/arm/mm/mmap.c-65-
--
arch/arm/mm/mmap.c=81=arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
--
arch/arm/mm/mmap.c-114-		else
arch/arm/mm/mmap.c:115:			addr = PAGE_ALIGN(addr);
arch/arm/mm/mmap.c-116-		vma = find_vma(mm, addr);
--
arch/arm/mm/mmu.c=858=static void __init create_36bit_mapping(struct mm_struct *mm,
--
arch/arm/mm/mmu.c-868-	phys = __pfn_to_phys(md->pfn);
arch/arm/mm/mmu.c:869:	length = PAGE_ALIGN(md->length);
arch/arm/mm/mmu.c-870-
--
arch/arm/mm/mmu.c=920=static void __init __create_mapping(struct mm_struct *mm, struct map_desc *md,
--
arch/arm/mm/mmu.c-942-	phys = __pfn_to_phys(md->pfn);
arch/arm/mm/mmu.c:943:	length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/mmu.c-944-
--
arch/arm/mm/mmu.c=1009=void __init iotable_init(struct map_desc *io_desc, int nr)
--
arch/arm/mm/mmu.c-1024-		vm->addr = (void *)(md->virtual & PAGE_MASK);
arch/arm/mm/mmu.c:1025:		vm->size = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
arch/arm/mm/mmu.c-1026-		vm->phys_addr = __pfn_to_phys(md->pfn);
--
arch/arm/mm/pageattr.c=54=static int change_memory_common(unsigned long addr, int numpages,
--
arch/arm/mm/pageattr.c-57-	unsigned long start = addr & PAGE_MASK;
arch/arm/mm/pageattr.c:58:	unsigned long end = PAGE_ALIGN(addr) + numpages * PAGE_SIZE;
arch/arm/mm/pageattr.c-59-	unsigned long size = end - start;
--
arch/arm64/include/asm/kvm_pkvm.h=101=static inline unsigned long hyp_vm_table_pages(void)
arch/arm64/include/asm/kvm_pkvm.h-102-{
arch/arm64/include/asm/kvm_pkvm.h:103:	return PAGE_ALIGN(KVM_MAX_PVMS * sizeof(void *)) >> PAGE_SHIFT;
arch/arm64/include/asm/kvm_pkvm.h-104-}
--
arch/arm64/include/asm/processor.h-81-#define STACK_TOP_MAX		TASK_SIZE_64
arch/arm64/include/asm/processor.h:82:#define TASK_UNMAPPED_BASE	(PAGE_ALIGN(TASK_SIZE / 4))
arch/arm64/include/asm/processor.h-83-#else
arch/arm64/include/asm/processor.h-84-#define STACK_TOP_MAX		DEFAULT_MAP_WINDOW_64
arch/arm64/include/asm/processor.h:85:#define TASK_UNMAPPED_BASE	(PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
arch/arm64/include/asm/processor.h-86-#endif /* CONFIG_ARM64_FORCE_52BIT */
--
arch/arm64/kernel/efi.c=21=static bool region_is_misaligned(const efi_memory_desc_t *md)
--
arch/arm64/kernel/efi.c-24-		return false;
arch/arm64/kernel/efi.c:25:	return !PAGE_ALIGNED(md->phys_addr) ||
arch/arm64/kernel/efi.c:26:	       !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT);
arch/arm64/kernel/efi.c-27-}
--
arch/arm64/kernel/pi/map_range.c=29=void __init map_range(phys_addr_t *pte, u64 start, u64 end, phys_addr_t pa,
--
arch/arm64/kernel/pi/map_range.c-51-	while (start < end) {
arch/arm64/kernel/pi/map_range.c:52:		u64 next = min((start | lmask) + 1, PAGE_ALIGN(end));
arch/arm64/kernel/pi/map_range.c-53-
--
arch/arm64/kvm/hyp/nvhe/ffa.c=233=static void do_ffa_rxtx_map(struct arm_smccc_1_2_regs *res,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-246-
arch/arm64/kvm/hyp/nvhe/ffa.c:247:	if (!PAGE_ALIGNED(tx) || !PAGE_ALIGNED(rx)) {
arch/arm64/kvm/hyp/nvhe/ffa.c-248-		ret = FFA_RET_INVALID_PARAMETERS;
--
arch/arm64/kvm/hyp/nvhe/ffa.c=345=static u32 __ffa_host_share_ranges(struct ffa_mem_region_addr_range *ranges,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-354-
arch/arm64/kvm/hyp/nvhe/ffa.c:355:		if (!PAGE_ALIGNED(sz | range->address))
arch/arm64/kvm/hyp/nvhe/ffa.c-356-			break;
--
arch/arm64/kvm/hyp/nvhe/ffa.c=365=static u32 __ffa_host_unshare_ranges(struct ffa_mem_region_addr_range *ranges,
--
arch/arm64/kvm/hyp/nvhe/ffa.c-374-
arch/arm64/kvm/hyp/nvhe/ffa.c:375:		if (!PAGE_ALIGNED(sz | range->address))
arch/arm64/kvm/hyp/nvhe/ffa.c-376-			break;
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=234=static void __apply_guest_page(void *va, size_t size,
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-238-	va = PTR_ALIGN_DOWN(va, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:239:	size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-240-
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=1157=int hyp_pin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1159-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1160:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1161-	u64 phys = __hyp_pa(start);
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c=1193=void hyp_unpin_shared_mem(void *from, void *to)
--
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1195-	u64 cur, start = ALIGN_DOWN((u64)from, PAGE_SIZE);
arch/arm64/kvm/hyp/nvhe/mem_protect.c:1196:	u64 end = PAGE_ALIGN((u64)to);
arch/arm64/kvm/hyp/nvhe/mem_protect.c-1197-	struct hyp_page *p;
--
arch/arm64/kvm/hyp/nvhe/mm.c=47=static int __pkvm_alloc_private_va_range(unsigned long start, size_t size)
--
arch/arm64/kvm/hyp/nvhe/mm.c-56-	/* The allocated size is always a multiple of PAGE_SIZE */
arch/arm64/kvm/hyp/nvhe/mm.c:57:	cur = start + PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/mm.c-58-
--
arch/arm64/kvm/hyp/nvhe/mm.c=93=int __pkvm_create_private_mapping(phys_addr_t phys, size_t size,
--
arch/arm64/kvm/hyp/nvhe/mm.c-99-
arch/arm64/kvm/hyp/nvhe/mm.c:100:	size = PAGE_ALIGN(size + offset_in_page(phys));
arch/arm64/kvm/hyp/nvhe/mm.c-101-	err = pkvm_alloc_private_va_range(size, &addr);
--
arch/arm64/kvm/hyp/nvhe/mm.c=113=int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot)
--
arch/arm64/kvm/hyp/nvhe/mm.c-122-	start = start & PAGE_MASK;
arch/arm64/kvm/hyp/nvhe/mm.c:123:	end = PAGE_ALIGN(end);
arch/arm64/kvm/hyp/nvhe/mm.c-124-
--
arch/arm64/kvm/hyp/nvhe/mm.c=149=int hyp_back_vmemmap(phys_addr_t back)
--
arch/arm64/kvm/hyp/nvhe/mm.c-164-		end = hyp_memory[i].base + hyp_memory[i].size;
arch/arm64/kvm/hyp/nvhe/mm.c:165:		end = PAGE_ALIGN((u64)hyp_phys_to_page(end));
arch/arm64/kvm/hyp/nvhe/mm.c-166-		if (start >= end)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=647=static void *map_donated_memory_noclear(unsigned long host_va, size_t size)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-650-
arch/arm64/kvm/hyp/nvhe/pkvm.c:651:	if (!PAGE_ALIGNED(va))
arch/arm64/kvm/hyp/nvhe/pkvm.c-652-		return NULL;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-654-	if (__pkvm_host_donate_hyp(hyp_virt_to_pfn(va),
arch/arm64/kvm/hyp/nvhe/pkvm.c:655:				   PAGE_ALIGN(size) >> PAGE_SHIFT))
arch/arm64/kvm/hyp/nvhe/pkvm.c-656-		return NULL;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=671=static void __unmap_donated_memory(void *va, size_t size)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-674-	WARN_ON(__pkvm_hyp_donate_host(hyp_virt_to_pfn(va),
arch/arm64/kvm/hyp/nvhe/pkvm.c:675:				       PAGE_ALIGN(size) >> PAGE_SHIFT));
arch/arm64/kvm/hyp/nvhe/pkvm.c-676-}
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=936=teardown_donated_memory(struct kvm_hyp_memcache *mc, void *addr, size_t size)
arch/arm64/kvm/hyp/nvhe/pkvm.c-937-{
arch/arm64/kvm/hyp/nvhe/pkvm.c:938:	size = PAGE_ALIGN(size);
arch/arm64/kvm/hyp/nvhe/pkvm.c-939-	memset(addr, 0, size);
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=1077=static bool pkvm_memshare_call(u64 *ret, struct kvm_vcpu *vcpu, u64 *exit_code)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-1081-
arch/arm64/kvm/hyp/nvhe/pkvm.c:1082:	if (!PAGE_ALIGNED(ipa))
arch/arm64/kvm/hyp/nvhe/pkvm.c-1083-		goto out_guest;
--
arch/arm64/kvm/hyp/nvhe/pkvm.c=1105=static void pkvm_memunshare_call(u64 *ret, struct kvm_vcpu *vcpu)
--
arch/arm64/kvm/hyp/nvhe/pkvm.c-1109-
arch/arm64/kvm/hyp/nvhe/pkvm.c:1110:	if (!PAGE_ALIGNED(ipa))
arch/arm64/kvm/hyp/nvhe/pkvm.c-1111-		return;
--
arch/arm64/kvm/hyp/nvhe/setup.c=75=static int pkvm_create_host_sve_mappings(void)
--
arch/arm64/kvm/hyp/nvhe/setup.c-87-		start = kern_hyp_va(sve_regs);
arch/arm64/kvm/hyp/nvhe/setup.c:88:		end = start + PAGE_ALIGN(pkvm_host_sve_state_size());
arch/arm64/kvm/hyp/nvhe/setup.c-89-		ret = pkvm_create_mappings(start, end, PAGE_HYP);
--
arch/arm64/kvm/hyp/nvhe/setup.c=97=static int recreate_hyp_mappings(phys_addr_t phys, unsigned long size,
--
arch/arm64/kvm/hyp/nvhe/setup.c-147-		start = (void *)kern_hyp_va(per_cpu_base[i]);
arch/arm64/kvm/hyp/nvhe/setup.c:148:		end = start + PAGE_ALIGN(hyp_percpu_size);
arch/arm64/kvm/hyp/nvhe/setup.c-149-		ret = pkvm_create_mappings(start, end, PAGE_HYP);
--
arch/arm64/kvm/hyp/nvhe/setup.c=344=int __pkvm_init(phys_addr_t phys, unsigned long size, unsigned long *per_cpu_base, u32 hyp_va_bits)
--
arch/arm64/kvm/hyp/nvhe/setup.c-352-
arch/arm64/kvm/hyp/nvhe/setup.c:353:	if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size))
arch/arm64/kvm/hyp/nvhe/setup.c-354-		return -EINVAL;
--
arch/arm64/kvm/hyp/nvhe/trace.c=46=static int __admit_host_mem(void *start, u64 size)
arch/arm64/kvm/hyp/nvhe/trace.c-47-{
arch/arm64/kvm/hyp/nvhe/trace.c:48:	if (!PAGE_ALIGNED(start) || !PAGE_ALIGNED(size) || !size)
arch/arm64/kvm/hyp/nvhe/trace.c-49-		return -EINVAL;
--
arch/arm64/kvm/hyp/pgtable.c=263=int kvm_pgtable_walk(struct kvm_pgtable *pgt, u64 addr, u64 size,
--
arch/arm64/kvm/hyp/pgtable.c-268-		.addr	= ALIGN_DOWN(addr, PAGE_SIZE),
arch/arm64/kvm/hyp/pgtable.c:269:		.end	= PAGE_ALIGN(walk_data.addr + size),
arch/arm64/kvm/hyp/pgtable.c-270-		.walker	= walker,
--
arch/arm64/kvm/hyp_trace.c=152=static int hyp_trace_buffer_alloc_bpages_backing(struct hyp_trace_buffer *trace_buffer, size_t size)
arch/arm64/kvm/hyp_trace.c-153-{
arch/arm64/kvm/hyp_trace.c:154:	int nr_bpages = (PAGE_ALIGN(size) / PAGE_SIZE) + 1;
arch/arm64/kvm/hyp_trace.c-155-	size_t backing_size;
--
arch/arm64/kvm/hyp_trace.c-158-
arch/arm64/kvm/hyp_trace.c:159:	backing_size = PAGE_ALIGN(sizeof(struct simple_buffer_page) * nr_bpages *
arch/arm64/kvm/hyp_trace.c-160-				  num_possible_cpus());
--
arch/arm64/kvm/hyp_trace.c=229=static struct trace_buffer_desc *hyp_trace_load(unsigned long size, void *priv)
--
arch/arm64/kvm/hyp_trace.c-243-
arch/arm64/kvm/hyp_trace.c:244:	desc_size = PAGE_ALIGN(desc_size);
arch/arm64/kvm/hyp_trace.c-245-	if (!desc_size)
--
arch/arm64/kvm/mmu.c=544=int kvm_share_hyp(void *from, void *to)
--
arch/arm64/kvm/mmu.c-564-	start = ALIGN_DOWN(__pa(from), PAGE_SIZE);
arch/arm64/kvm/mmu.c:565:	end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c-566-	for (cur = start; cur < end; cur += PAGE_SIZE) {
--
arch/arm64/kvm/mmu.c=590=void kvm_unshare_hyp(void *from, void *to)
--
arch/arm64/kvm/mmu.c-598-	start = ALIGN_DOWN(__pa(from), PAGE_SIZE);
arch/arm64/kvm/mmu.c:599:	end = PAGE_ALIGN(__pa(to));
arch/arm64/kvm/mmu.c-600-	for (cur = start; cur < end; cur += PAGE_SIZE) {
--
arch/arm64/kvm/mmu.c=621=int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot)
--
arch/arm64/kvm/mmu.c-634-	start = start & PAGE_MASK;
arch/arm64/kvm/mmu.c:635:	end = PAGE_ALIGN(end);
arch/arm64/kvm/mmu.c-636-
--
arch/arm64/kvm/mmu.c=650=static int __hyp_alloc_private_va_range(unsigned long base)
--
arch/arm64/kvm/mmu.c-653-
arch/arm64/kvm/mmu.c:654:	if (!PAGE_ALIGNED(base))
arch/arm64/kvm/mmu.c-655-		return -EINVAL;
--
arch/arm64/kvm/mmu.c=680=int hyp_alloc_private_va_range(size_t size, unsigned long *haddr)
--
arch/arm64/kvm/mmu.c-695-	 */
arch/arm64/kvm/mmu.c:696:	size = PAGE_ALIGN(size);
arch/arm64/kvm/mmu.c-697-	base = io_map_base - size;
--
arch/arm64/kvm/mmu.c=708=static int __create_hyp_private_mapping(phys_addr_t phys_addr, size_t size,
--
arch/arm64/kvm/mmu.c-724-
arch/arm64/kvm/mmu.c:725:	size = PAGE_ALIGN(size + offset_in_page(phys_addr));
arch/arm64/kvm/mmu.c-726-	ret = hyp_alloc_private_va_range(size, &addr);
--
arch/arm64/kvm/pkvm.c=107=static int __pkvm_create_hyp_vcpu(struct kvm_vcpu *vcpu)
arch/arm64/kvm/pkvm.c-108-{
arch/arm64/kvm/pkvm.c:109:	size_t hyp_vcpu_sz = PAGE_ALIGN(PKVM_HYP_VCPU_SIZE);
arch/arm64/kvm/pkvm.c-110-	pkvm_handle_t handle = vcpu->kvm->arch.pkvm.handle;
--
arch/arm64/kvm/pkvm.c=139=static int __pkvm_create_hyp_vm(struct kvm *kvm)
--
arch/arm64/kvm/pkvm.c-159-	/* Allocate memory to donate to hyp for vm and vcpu pointers. */
arch/arm64/kvm/pkvm.c:160:	hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE,
arch/arm64/kvm/pkvm.c-161-					size_mul(sizeof(void *),
--
arch/arm64/kvm/vgic/vgic-v2.c=479=int vgic_v2_probe(const struct gic_kvm_info *info)
--
arch/arm64/kvm/vgic/vgic-v2.c-493-
arch/arm64/kvm/vgic/vgic-v2.c:494:	if (!PAGE_ALIGNED(info->vcpu.start) ||
arch/arm64/kvm/vgic/vgic-v2.c:495:	    !PAGE_ALIGNED(resource_size(&info->vcpu))) {
arch/arm64/kvm/vgic/vgic-v2.c-496-		kvm_info("GICV region size/alignment is unsafe, using trapping (reduced performance)\n");
--
arch/arm64/kvm/vgic/vgic-v3.c=906=int vgic_v3_probe(const struct gic_kvm_info *info)
--
arch/arm64/kvm/vgic/vgic-v3.c-937-		pr_warn(FW_BUG "CPU interface incapable of MMIO access\n");
arch/arm64/kvm/vgic/vgic-v3.c:938:	} else if (!PAGE_ALIGNED(info->vcpu.start)) {
arch/arm64/kvm/vgic/vgic-v3.c-939-		pr_warn("GICV physical address 0x%llx not page aligned\n",
--
arch/arm64/mm/gcs.c=18=static unsigned long gcs_size(unsigned long size)
--
arch/arm64/mm/gcs.c-20-	if (size)
arch/arm64/mm/gcs.c:21:		return PAGE_ALIGN(size);
arch/arm64/mm/gcs.c-22-
arch/arm64/mm/gcs.c-23-	/* Allocate RLIMIT_STACK/2 with limits of PAGE_SIZE..2G */
arch/arm64/mm/gcs.c:24:	size = PAGE_ALIGN(min_t(unsigned long long,
arch/arm64/mm/gcs.c-25-				rlimit(RLIMIT_STACK) / 2, SZ_2G));
--
arch/arm64/mm/gcs.c=59=SYSCALL_DEFINE3(map_shadow_stack, unsigned long, addr, unsigned long, size, unsigned int, flags)
--
arch/arm64/mm/gcs.c-72-
arch/arm64/mm/gcs.c:73:	if (!PAGE_ALIGNED(addr))
arch/arm64/mm/gcs.c-74-		return -EINVAL;
--
arch/arm64/mm/gcs.c-83-	 */
arch/arm64/mm/gcs.c:84:	alloc_size = PAGE_ALIGN(size);
arch/arm64/mm/gcs.c-85-	if (alloc_size < size)
--
arch/arm64/mm/init.c=193=void __init arm64_memblock_init(void)
--
arch/arm64/mm/init.c-263-		phys_addr_t base = phys_initrd_start & PAGE_MASK;
arch/arm64/mm/init.c:264:		resource_size_t size = PAGE_ALIGN(phys_initrd_start + phys_initrd_size) - base;
arch/arm64/mm/init.c-265-
--
arch/arm64/mm/kasan_init.c=228=static void __init kasan_map_populate(unsigned long start, unsigned long end,
--
arch/arm64/mm/kasan_init.c-230-{
arch/arm64/mm/kasan_init.c:231:	kasan_pgd_populate(start & PAGE_MASK, PAGE_ALIGN(end), node, false);
arch/arm64/mm/kasan_init.c-232-}
--
arch/arm64/mm/kasan_init.c=300=static void __init kasan_init_shadow(void)
--
arch/arm64/mm/kasan_init.c-309-	kimg_shadow_start = (u64)kasan_mem_to_shadow(KERNEL_START) & PAGE_MASK;
arch/arm64/mm/kasan_init.c:310:	kimg_shadow_end = PAGE_ALIGN((u64)kasan_mem_to_shadow(KERNEL_END));
arch/arm64/mm/kasan_init.c-311-
--
arch/arm64/mm/mem_encrypt.c=34=int set_memory_encrypted(unsigned long addr, int numpages)
arch/arm64/mm/mem_encrypt.c-35-{
arch/arm64/mm/mem_encrypt.c:36:	if (likely(!crypt_ops) || WARN_ON(!PAGE_ALIGNED(addr)))
arch/arm64/mm/mem_encrypt.c-37-		return 0;
--

]

135/4 2026/09/15 01:10 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 37265
							output: 37
							thoughts: 114
						

Thoughts:
**My Internal Monologue on ARM Memory Setup**

Alright, so I'm diving into `arch/arm/kernel/setup.c` to understand how memory is being handled. My attention is immediately drawn to the `arm_add_memory` function. I see it takes `start` and `size` as `u64`, which is important – we're dealing with potentially large memory regions. Then, the code calculates `aligned_start = PAGE_ALIGN(start)`. My brain immediately flags this: is there a potential issue here? I'm thinking about the implication of `PAGE_ALIGN`. If `start` is already very close to the maximum value of `u64`, and `PAGE_ALIGN` is essentially rounding *up* to the next page boundary, could `aligned_start` actually *exceed* `start + size`? This could happen if `size` is small and `start` is already at the tail end of the address space. It’s a subtle edge case, but one I need to be sure is handled correctly. I'm making a mental note to specifically examine the logic around line 760, where this `if (aligned_start > start + size)` condition is checked, to confirm the robustness of the memory alignment and sizing calculations in this critical kernel setup routine.


136/4 2026/09/15 01:10 tool read-file
0m Args:
map[File:arch/arm/kernel/setup.c FirstLine:755 LineCount:35]

Results:
map[Contents: 755:	
 756:		while (true)
 757:			/* can't use cpu_relax() here as it may require MMU setup */;
 758:	}
 759:	
 760:	int __init arm_add_memory(u64 start, u64 size)
 761:	{
 762:		u64 aligned_start;
 763:	
 764:		/*
 765:		 * Ensure that start/size are aligned to a page boundary.
 766:		 * Size is rounded down, start is rounded up.
 767:		 */
 768:		aligned_start = PAGE_ALIGN(start);
 769:		if (aligned_start > start + size)
 770:			size = 0;
 771:		else
 772:			size -= aligned_start - start;
 773:	
 774:	#ifndef CONFIG_PHYS_ADDR_T_64BIT
 775:		if (aligned_start > ULONG_MAX) {
 776:			pr_crit("Ignoring memory at 0x%08llx outside 32-bit physical address space\n",
 777:				start);
 778:			return -EINVAL;
 779:		}
 780:	
 781:		if (aligned_start + size > ULONG_MAX) {
 782:			pr_crit("Truncating memory at 0x%08llx to fit in 32-bit physical address space\n",
 783:				(long long)start);
 784:			/*
 785:			 * To ensure bank->start + bank->size is representable in
 786:			 * 32 bits, we use ULONG_MAX as the upper limit rather than 4GB.
 787:			 * This means we lose a page after masking.
 788:			 */
 789:			size = ULONG_MAX - aligned_start;
]

137/4 2026/09/15 01:10 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 37937
							output: 17
							thoughts: 3317
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN(x)` on a 32-bit Linux Kernel with `x = 0xffffffffffffffffULL`**

I'm looking at this line: `aligned_start = PAGE_ALIGN(start);` where both `aligned_start` and `start` are `u64`. And then the question arises: "On a 32-bit Linux kernel, if `x` is of type `u64` (unsigned long long), what is the type and value of `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL`? Does it evaluate to a 64-bit 0?" This requires a careful, step-by-step deconstruction of the kernel macros.

First, I need to understand how `PAGE_ALIGN(x)` is defined. I trace it through the headers:

*   `PAGE_ALIGN(addr)` is defined in `include/linux/mm.h` as `#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)`.
*   `ALIGN(x, a)` is found in `include/vdso/align.h` as `#define ALIGN(x, a) __ALIGN_KERNEL((x), (a))`.
*   And `__ALIGN_KERNEL(x, a)` is defined in `include/uapi/linux/const.h` as `#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)`.
*   Finally, `__ALIGN_KERNEL_MASK(x, mask)` is defined as `#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))`.

Now, I'll substitute the specifics of the question: `x` is `0xffffffffffffffffULL` (a 64-bit unsigned integer), and we're on a 32-bit Linux kernel.

Let's determine the type and value of `PAGE_SIZE` on a 32-bit kernel. From `include/vdso/page.h`, `PAGE_SIZE` is defined as `#define PAGE_SIZE (_AC(1,UL) << CONFIG_PAGE_SHIFT)`. `_AC(1,UL)` expands to `1UL`, and `CONFIG_PAGE_SHIFT` is typically 12. So, `PAGE_SIZE` is `(1UL << 12)`, which evaluates to `4096UL`. Crucially, on a 32-bit architecture, `unsigned long` is a 32-bit unsigned integer. So, `PAGE_SIZE` is a 32-bit unsigned value.

Now, let's substitute `PAGE_SIZE` into the `__ALIGN_KERNEL` definition: `mask` becomes `(__typeof__(x))(PAGE_SIZE) - 1`.

*   Since `x` is of type `u64` (`unsigned long long`), `__typeof__(x)` is also `u64`.
*   Therefore, `(__typeof__(x))(PAGE_SIZE)` means we cast `PAGE_SIZE` (which is `4096UL`, a 32-bit unsigned value) to `u64`. This results in `(u64)0x1000ULL`, or `0x0000000000001000ULL`.
*   Then, `(__typeof__(x))(PAGE_SIZE) - 1` becomes `0x0000000000001000ULL - 1ULL`, which is `0x0000000000000fffULL`. The type of `mask` here is `u64`.

Next, we calculate `~(mask)`:

*   `mask` is `0x0000000000000fffULL`.
*   `~mask` is `~0x0000000000000fffULL`, which evaluates to `0xfffffffffffff000ULL`.
*   The type of `~mask` is `u64`.

Now, let's look at `(x) + (mask)`:

*   `x` is `0xffffffffffffffffULL` ($2^{64}-1$).
*   `mask` is `0x0000000000000fffULL` (4095).
*   Both operands are `u64`. In C, unsigned integer arithmetic wraps modulo $2^w$, where $w$ is the bit width. Here, $w=64$.
*   So, `x + mask` is `(2^{64}-1) + 4095 = 2^{64} + 4094`. This wraps around to `4094ULL`, which is `0x0000000000000ffeULL`.
*   The type of `(x) + (mask)` is `u64`.

Finally, we perform the bitwise AND: `((x) + (mask)) & ~(mask)`.

*   This is `0x0000000000000ffeULL & 0xfffffffffffff000ULL`.
*   Let's look at the bit patterns: `0x0000000000000ffe` has its lower 12 bits as `0x0ffe` and higher bits as 0. `0xfffffffffffff000` has its lower 12 bits as 0 and higher bits as 1.
*   Performing the bitwise AND results in `0x0000000000000000ULL`.
*   The type of the result is `u64`.

So, the type of `PAGE_ALIGN(x)` is `u64` (unsigned long long), and its value is `0` (or `0ULL`).

The question asks if it evaluates to a 64-bit 0. My analysis confirms: **YES, it does.**

Now, I'm thinking, "Why would this be a specific question? Is there a potential pitfall or a subtle misunderstanding someone might have that this question is designed to probe?"

I'm considering a few possibilities:

1.  **Misunderstanding `PAGE_ALIGN`'s internal logic or `PAGE_MASK` definition:** Perhaps someone might assume `PAGE_ALIGN` is simply `(addr + PAGE_SIZE - 1) & PAGE_MASK`. If `PAGE_MASK` was defined as `(~(PAGE_SIZE - 1))` and `PAGE_SIZE` remained a 32-bit `unsigned long`, then `~(PAGE_SIZE - 1)` would be `0xfffff000UL` (a 32-bit unsigned value). When this 32-bit `unsigned long` is used in a bitwise AND with a `u64`, C's usual arithmetic conversions would zero-extend it to `0x00000000fffff000ULL`. This would mean the upper 32 bits of *any* 64-bit address would be zeroed out, effectively truncating 64-bit addresses to 32 bits. For `x = 0xffffffffffffffffULL`, `(x + PAGE_SIZE - 1)` would wrap around, and the AND with `0x00000000fffff000ULL` would still result in 0. However, for a different large 64-bit address, like `0x1234567800000000ULL`, this alternative definition would yield `0ULL`, which would be a significant problem. But the actual kernel definition uses `__typeof__(x)` to cast `PAGE_SIZE` *before* subtracting 1, creating a 64-bit mask, thus avoiding this truncation.

2.  **Confusion about type promotion on 32-bit systems:** Maybe someone thinks that because it's a 32-bit kernel, all pointer-related operations somehow implicitly truncate to 32 bits. However, the presence of `u64` for `x` and `aligned_start` explicitly indicates that 64-bit values are being handled. Crucially, the `ALIGN` macro, as analyzed, uses `__typeof__(x)` to ensure the mask is correctly formed for the type of `x` (which is `u64`), thus preserving the 64-bit nature of the operation. There's no implicit cast to `unsigned long` in `PAGE_ALIGN` itself, unlike in `PAGE_ALIGNED` where an explicit cast `(unsigned long)(addr)` is present. The `__ALIGN_KERNEL` macro's careful use of `__typeof__(x)` is precisely to avoid the pitfall I outlined in point 1.

3.  **Historical context/changes in macros:** It's possible that in older versions of the kernel, the `ALIGN` macros might have been defined differently, and this question might be related to a past behavior or a common misconception that has since been addressed. The explicit cast `(__typeof__(x))(a)` in `__ALIGN_KERNEL` appears to be the crucial fix. If `a` (i.e., `PAGE_SIZE`) wasn't cast to `__typeof__(x)` first, then `a - 1` would be a 32-bit `unsigned long`, and `~(a-1)` would also be 32-bit, leading to the zero-extension issue when ANDed with `x`.

My deep dive confirms that the current definition of `PAGE_ALIGN`, as used in the provided context, correctly handles the 64-bit `x` value on a 32-bit kernel. The critical part is the `(__typeof__(x))(a)` cast within `__ALIGN_KERNEL`, which ensures the mask is constructed with the same width as `x`, preventing unintended truncation. Therefore, for `x = 0xffffffffffffffffULL`, the result is indeed a 64-bit `0ULL`.


138/4 2026/09/15 01:11 tool grepper
0m Args:
map[Expression:ALIGN_KERNEL]

Results:
map[Output:arch/x86/include/asm/page_types.h-31-/* Physical address where kernel should be loaded. */
arch/x86/include/asm/page_types.h:32:#define LOAD_PHYSICAL_ADDR	__ALIGN_KERNEL_MASK(CONFIG_PHYSICAL_START, CONFIG_PHYSICAL_ALIGN - 1)
arch/x86/include/asm/page_types.h-33-
--
include/linux/cache.h-9-#ifndef L1_CACHE_ALIGN
include/linux/cache.h:10:#define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
include/linux/cache.h-11-#endif
--
include/linux/netfilter/x_tables.h=517=struct _compat_xt_align {
--
include/linux/netfilter/x_tables.h-523-
include/linux/netfilter/x_tables.h:524:#define COMPAT_XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _compat_xt_align))
include/linux/netfilter/x_tables.h-525-
--
include/uapi/linux/const.h-47-
include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
include/uapi/linux/const.h-50-
--
include/uapi/linux/netfilter/x_tables.h=93=struct _xt_align {
--
include/uapi/linux/netfilter/x_tables.h-99-
include/uapi/linux/netfilter/x_tables.h:100:#define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align))
include/uapi/linux/netfilter/x_tables.h-101-
--
include/uapi/linux/netlink.h=200=enum nl_mmap_status {
--
include/uapi/linux/netlink.h-208-#define NL_MMAP_MSG_ALIGNMENT		NLMSG_ALIGNTO
include/uapi/linux/netlink.h:209:#define NL_MMAP_MSG_ALIGN(sz)		__ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
include/uapi/linux/netlink.h-210-#define NL_MMAP_HDRLEN			NL_MMAP_MSG_ALIGN(sizeof(struct nl_mmap_hdr))
--
include/vdso/align.h-7-/* @a is a power of 2 value */
include/vdso/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
include/vdso/align.h:9:#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
include/vdso/align.h:10:#define __ALIGN_MASK(x, mask)	__ALIGN_KERNEL_MASK((x), (mask))
include/vdso/align.h-11-#define PTR_ALIGN(p, a)		((typeof(p))ALIGN((unsigned long)(p), (a)))
--
mm/page_frag_cache.c=93=void *__page_frag_alloc_align(struct page_frag_cache *nc,
--
mm/page_frag_cache.c-119-	size = PAGE_SIZE << encoded_page_decode_order(encoded_page);
mm/page_frag_cache.c:120:	offset = __ALIGN_KERNEL_MASK(nc->offset, ~align_mask);
mm/page_frag_cache.c-121-	if (unlikely(offset + fragsz > size)) {
--
tools/firmware/ihex2fw.c-23-
tools/firmware/ihex2fw.c:24:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/firmware/ihex2fw.c:25:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/firmware/ihex2fw.c:26:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/firmware/ihex2fw.c-27-
--
tools/include/linux/align.h-7-
tools/include/linux/align.h:8:#define ALIGN(x, a)		__ALIGN_KERNEL((x), (a))
tools/include/linux/align.h:9:#define ALIGN_DOWN(x, a)	__ALIGN_KERNEL((x) - ((a) - 1), (a))
tools/include/linux/align.h-10-#define IS_ALIGNED(x, a)	(((x) & ((typeof(x))(a) - 1)) == 0)
--
tools/include/uapi/linux/const.h-47-
tools/include/uapi/linux/const.h:48:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
tools/include/uapi/linux/const.h:49:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/include/uapi/linux/const.h-50-
--
tools/include/uapi/linux/netlink.h=182=enum nl_mmap_status {
--
tools/include/uapi/linux/netlink.h-190-#define NL_MMAP_MSG_ALIGNMENT		NLMSG_ALIGNTO
tools/include/uapi/linux/netlink.h:191:#define NL_MMAP_MSG_ALIGN(sz)		__ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
tools/include/uapi/linux/netlink.h-192-#define NL_MMAP_HDRLEN			NL_MMAP_MSG_ALIGN(sizeof(struct nl_mmap_hdr))
--
tools/testing/scatterlist/linux/mm.h=11=typedef unsigned long dma_addr_t;
--
tools/testing/scatterlist/linux/mm.h-32-
tools/testing/scatterlist/linux/mm.h:33:#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/testing/scatterlist/linux/mm.h:34:#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
tools/testing/scatterlist/linux/mm.h:35:#define ALIGN(x, a)			__ALIGN_KERNEL((x), (a))
tools/testing/scatterlist/linux/mm.h:36:#define ALIGN_DOWN(x, a)		__ALIGN_KERNEL((x) - ((a) - 1), (a))
tools/testing/scatterlist/linux/mm.h-37-
--
tools/testing/selftests/net/ioam6_parser.c=453=static int check_data(struct ioam6_trace_hdr *trace, __u8 trace_size,
--
tools/testing/selftests/net/ioam6_parser.c-564-		len = cnf.sc_data ? strlen(cnf.sc_data) : 0;
tools/testing/selftests/net/ioam6_parser.c:565:		aligned = cnf.sc_data ? __ALIGN_KERNEL(len, 4) : 0;
tools/testing/selftests/net/ioam6_parser.c-566-
--
tools/testing/selftests/powerpc/ptrace/core-pkey.c=159=static Elf64_Nhdr *next_note(Elf64_Nhdr *nhdr)
--
tools/testing/selftests/powerpc/ptrace/core-pkey.c-161-	return (void *) nhdr + sizeof(*nhdr) +
tools/testing/selftests/powerpc/ptrace/core-pkey.c:162:		__ALIGN_KERNEL(nhdr->n_namesz, 4) +
tools/testing/selftests/powerpc/ptrace/core-pkey.c:163:		__ALIGN_KERNEL(nhdr->n_descsz, 4);
tools/testing/selftests/powerpc/ptrace/core-pkey.c-164-}
--
tools/testing/selftests/powerpc/ptrace/core-pkey.c=166=static int check_core_file(struct shared_info *info, Elf64_Ehdr *ehdr,
--
tools/testing/selftests/powerpc/ptrace/core-pkey.c-212-	p = nhdr;
tools/testing/selftests/powerpc/ptrace/core-pkey.c:213:	note = p + sizeof(*nhdr) + __ALIGN_KERNEL(nhdr->n_namesz, 4);
tools/testing/selftests/powerpc/ptrace/core-pkey.c-214-
]

139/4 2026/09/15 01:11 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 43590
							output: 28
							thoughts: 752
						

Thoughts:
**Tracing the Linux Kernel's Page Alignment Macros**

My goal here is to meticulously trace the execution of Linux kernel's page alignment macros, specifically `PAGE_ALIGN`, to understand their underlying mechanism, particularly when dealing with a large value like `0xffffffffffffffffULL` and `PAGE_SIZE`. I'm starting by examining the relevant header files to see how these macros are defined and then performing a step-by-step expansion and analysis.

First, I'm looking at `include/vdso/align.h`. I see several alignment-related macros here: `ALIGN`, `ALIGN_DOWN`, `__ALIGN_MASK`, `PTR_ALIGN`, `PTR_ALIGN_DOWN`, and `IS_ALIGNED`. I note that `ALIGN` and `ALIGN_DOWN` seem to delegate to `__ALIGN_KERNEL`, and `PTR_ALIGN` and `PTR_ALIGN_DOWN` are essentially type-casted versions of `ALIGN` and `ALIGN_DOWN` applied to pointers after casting them to `unsigned long`. `IS_ALIGNED` is a boolean check.

Next, I examine `include/uapi/linux/const.h`. This header defines `__ALIGN_KERNEL` and `__ALIGN_KERNEL_MASK`. It appears that `__ALIGN_KERNEL` is a helper that uses `__ALIGN_KERNEL_MASK` with a calculated mask. The mask is derived from the alignment value `a` by subtracting 1 from it, ensuring it has bits set corresponding to the alignment boundary.

Now, the core of my investigation: I want to trace `PAGE_ALIGN(x)` with `x = 0xffffffffffffffffULL` and `a = PAGE_SIZE`.

1.  **`PAGE_ALIGN(x)`**: I know from `include/linux/mm.h` that `PAGE_ALIGN(x)` is a direct alias for `ALIGN(x, PAGE_SIZE)`.

2.  **`ALIGN(x, PAGE_SIZE)`**: Following the definition in `include/vdso/align.h`, this expands to `__ALIGN_KERNEL((x), (PAGE_SIZE))`.

3.  **`__ALIGN_KERNEL((x), (PAGE_SIZE))`**: This macro, defined in `include/uapi/linux/const.h`, expands to `__ALIGN_KERNEL_MASK((x), (__typeof__((x)))(PAGE_SIZE) - 1)`. Here, `__typeof__((x))` is crucial because it ensures the cast of `PAGE_SIZE` to the same type as `x`, preventing potential type mismatches.

4.  **`__ALIGN_KERNEL_MASK((x), (__typeof__((x)))(PAGE_SIZE) - 1)`**: This is where the actual calculation happens. The definition in `include/uapi/linux/const.h` states `__ALIGN_KERNEL_MASK(x, mask)` expands to `(((x) + (mask)) & ~(mask))`.
    Substituting `mask` with `(__typeof__((x)))(PAGE_SIZE) - 1`, I get:
    `((((x)) + ((__typeof__((x)))(PAGE_SIZE) - 1)) & ~((__typeof__((x)))(PAGE_SIZE) - 1))`

At this point, I need to be very precise about the operand types. My current value for `x` is `0xffffffffffffffffULL`. This is clearly a 64-bit unsigned integer. However, the Linux kernel can run on 32-bit architectures, and the definition of `u64` can vary. I need to verify how `u64` is defined in that context. My next step is to check `include/uapi/asm-generic/types.h` and `include/uapi/asm-generic/int-ll64.h` (or `int-l64.h`) to understand the concrete type of `x` on a 32-bit Linux system. This will be critical for correctly evaluating the arithmetic operations in the final macro expansion.


140/4 2026/09/15 01:11 tool grepper
0m Args:
map[Expression:typedef.*u64; PathPrefix:include/]

Results:
map[Output:include/acpi/actypes.h=94=typedef short s16;
include/acpi/actypes.h:95:typedef COMPILER_DEPENDENT_UINT64 u64;
include/acpi/actypes.h-96-typedef COMPILER_DEPENDENT_INT64 s64;
--
include/asm-generic/compat.h=66=typedef s64 __attribute__((aligned(4))) compat_s64;
include/asm-generic/compat.h:67:typedef u64 __attribute__((aligned(4))) compat_u64;
include/asm-generic/compat.h-68-#else
include/asm-generic/compat.h=69=typedef s64 compat_s64;
include/asm-generic/compat.h:70:typedef u64 compat_u64;
include/asm-generic/compat.h-71-#endif
--
include/asm-generic/int-ll64.h=22=typedef __s64 s64;
include/asm-generic/int-ll64.h:23:typedef __u64 u64;
include/asm-generic/int-ll64.h-24-
--
include/linux/coreboot.h-18-
include/linux/coreboot.h:19:typedef __aligned(4) u64 cb_u64;
include/linux/coreboot.h-20-
--
include/linux/kcov.h=69=static inline void kcov_remote_stop_softirq(void)
--
include/linux/kcov.h-75-#ifdef CONFIG_64BIT
include/linux/kcov.h:76:typedef unsigned long kcov_u64;
include/linux/kcov.h-77-#else
include/linux/kcov.h:78:typedef unsigned long long kcov_u64;
include/linux/kcov.h-79-#endif
--
include/uapi/asm-generic/int-l64.h=29=typedef __signed__ long __s64;
include/uapi/asm-generic/int-l64.h:30:typedef unsigned long __u64;
include/uapi/asm-generic/int-l64.h-31-
--
include/uapi/asm-generic/int-ll64.h=30=__extension__ typedef __signed__ long long __s64;
include/uapi/asm-generic/int-ll64.h:31:__extension__ typedef unsigned long long __u64;
include/uapi/asm-generic/int-ll64.h-32-#else
include/uapi/asm-generic/int-ll64.h=33=typedef __signed__ long long __s64;
include/uapi/asm-generic/int-ll64.h:34:typedef unsigned long long __u64;
include/uapi/asm-generic/int-ll64.h-35-#endif
--
include/uapi/drm/drm.h=43=typedef int64_t  __s64;
include/uapi/drm/drm.h:44:typedef uint64_t __u64;
include/uapi/drm/drm.h-45-typedef size_t   __kernel_size_t;
]

141/4 2026/09/15 01:11 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 45184
							output: 36
							thoughts: 1533
						

Thoughts:
**My Thought Process Regarding `PAGE_ALIGN(x)` on 32-bit Linux**

So, I'm looking at this question about `PAGE_ALIGN(x)` on a 32-bit Linux kernel, where `x` is a `u64` and set to `0xffffffffffffffffULL`. The core of the query is whether the result is a 64-bit zero. Let's break down how this macro typically operates.

First off, I need to firmly establish the underlying types. The prompt states `u64` is `typedef unsigned long long u64;` on 32-bit Linux, originating from `int-ll64.h`. That's crucial because it means we're dealing with a full 64-bit unsigned integer type.

The macro `PAGE_ALIGN(x)` itself, as I understand it from common kernel definitions, usually expands to something like `(x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)`. However, the specific evaluation given in the prompt's thought process uses a slightly different, though functionally equivalent, form: `(((x) + (mask)) & ~(mask))`, where `mask = ((__typeof__(x))(PAGE_SIZE) - 1)`. I'll follow this structure to trace the evaluation precisely.

Let's start with the `mask` definition. It involves casting `PAGE_SIZE` to the type of `x`. `__typeof__(x)` is indeed `u64` (`unsigned long long`). So, `(__typeof__(x))(PAGE_SIZE)` means `PAGE_SIZE` cast to `unsigned long long`.

Now, what is `PAGE_SIZE`? It's defined as `(1UL << PAGE_SHIFT)`. On typical 32-bit architectures, `PAGE_SHIFT` is 12, resulting in `PAGE_SIZE` being 4096 (or `0x1000UL`). Regardless of whether it's 12, 13, 14, or 16, `PAGE_SIZE` is always a power of two. So, `(__typeof__(x))(PAGE_SIZE)` evaluates to a `u64` with the value of `PAGE_SIZE`, e.g., `4096ULL` or `0x1000ULL`.

The next part of the mask is `((__typeof__(x))(PAGE_SIZE) - 1)`. Here, we're subtracting 1 from `PAGE_SIZE` (as a `u64`). The `1` is an `int`. C's usual arithmetic conversions will promote the `int` to `unsigned long long` before the subtraction. So, it's `(u64)PAGE_SIZE - (u64)1`. This results in `4095ULL` (or `0x0fffULL`). This value, `4095ULL`, is our `mask`. It represents a bitmask where the lower `PAGE_SHIFT` bits are set to 1.

Now, let's look at `(x) + (mask)`. My `x` is `0xffffffffffffffffULL`, which is $2^{64}-1$. My `mask` is `4095ULL` ($0x0fff$). Both are `unsigned long long`. In C, unsigned arithmetic wraps around modulo $2^N$, where $N$ is the number of bits. So, $(2^{64}-1) + 4095$ is equivalent to $2^{64} + 4094$, which, modulo $2^{64}$, is simply `4094ULL` (or `0x0000000000000ffeULL`). This sum is correct.

The next piece is `~(mask)`. The `mask` is `0x0000000000000fffULL`. The bitwise NOT operation `~` flips all 64 bits. Since `mask` has the lowest 12 bits set and the rest zero, `~(mask)` will have the lowest 12 bits zero and the upper 52 bits set. This gives us `0xfffffffffffff000ULL`. This is essentially a mask to clear the lower `PAGE_SHIFT` bits.

Finally, I need to evaluate `(((x) + (mask)) & ~(mask))`.
My first operand is `(x) + (mask)`, which I calculated as `0x0000000000000ffeULL`.
My second operand is `~(mask)`, which is `0xfffffffffffff000ULL`.
Both are `unsigned long long`.

Let's perform the bitwise AND:
`0x0000000000000ffeULL`
`& 0xfffffffffffff000ULL`
-----------------------
`0x0000000000000000ULL`

The reason this happens is that `(x) + (mask)` has its lower `PAGE_SHIFT` bits set (specifically, it's `PAGE_SIZE - 2`), while `~(mask)` has its lower `PAGE_SHIFT` bits cleared to zero. Consequently, every bit that is set in the first operand is zero in the second, and vice versa for the higher bits. The result of the AND operation is zero for all 64 bits.

The type of the result will be `unsigned long long` (`u64`), as both operands of the `&` operator are of that type.

So, to answer the question directly: Yes, `PAGE_ALIGN(x)` where `x = 0xffffffffffffffffULL` on a 32-bit Linux kernel (with `u64` being `unsigned long long`) evaluates to a 64-bit zero (`0ULL`).

I also briefly considered if there could be any architectural quirks affecting `PAGE_ALIGN` itself, or if `PAGE_SIZE` might be defined differently, but the standard definition and behavior of `PAGE_ALIGN` as a rounding-up operation, and the fact that the most significant bit of `x` is already set, leads directly to this zero outcome due to the modulo arithmetic and the mask. The definition of `PAGE_ALIGN` is generally consistent in its intent to align to a page boundary, and this calculation reflects that by effectively bringing the value down to the nearest multiple of `PAGE_SIZE`. Given that `x` is already $2^{64}-1$, adding `PAGE_SIZE - 1` causes it to wrap around, and then ANDing with the page alignment mask clears all the lower bits, resulting in a full page alignment at zero.

My check for architecture-specific definitions of `PAGE_ALIGN` confirmed that while the *implementation* of alignment might vary slightly (e.g., using `_ALIGN`), the *principle* of aligning to `PAGE_SIZE` remains constant. The provided evaluation method is a valid way to arrive at the result.


142/4 2026/09/15 01:11 tool read-file
0m Args:
map[File:arch/powerpc/boot/page.h FirstLine:1 LineCount:35]

Results:
map[Contents:   1:	/* SPDX-License-Identifier: GPL-2.0-or-later */
   2:	#ifndef _PPC_BOOT_PAGE_H
   3:	#define _PPC_BOOT_PAGE_H
   4:	/*
   5:	 * Copyright (C) 2001 PPC64 Team, IBM Corp
   6:	 */
   7:	
   8:	#ifdef __ASSEMBLER__
   9:	#define ASM_CONST(x) x
  10:	#else
  11:	#define __ASM_CONST(x) x##UL
  12:	#define ASM_CONST(x) __ASM_CONST(x)
  13:	#endif
  14:	
  15:	/* PAGE_SHIFT determines the page size */
  16:	#define PAGE_SHIFT	12
  17:	#define PAGE_SIZE	(ASM_CONST(1) << PAGE_SHIFT)
  18:	#define PAGE_MASK	(~(PAGE_SIZE-1))
  19:	
  20:	/* align addr on a size boundary - adjust address up/down if needed */
  21:	#define _ALIGN_UP(addr, size)	(((addr)+((size)-1))&(~((typeof(addr))(size)-1)))
  22:	#define _ALIGN_DOWN(addr, size)	((addr)&(~((typeof(addr))(size)-1)))
  23:	
  24:	/* align addr on a size boundary - adjust address up if needed */
  25:	#define _ALIGN(addr,size)     _ALIGN_UP(addr,size)
  26:	
  27:	/* to align the pointer to the (next) page boundary */
  28:	#define PAGE_ALIGN(addr)	_ALIGN(addr, PAGE_SIZE)
  29:	
  30:	#endif				/* _PPC_BOOT_PAGE_H */
]

143/4 2026/09/15 01:11 llm codeexpert
0m Model:
gemini-3.8-flash

Tokens:
							input: 47226
							output: 805
							thoughts: 2640
						

Thoughts:
**My Thought Process on `PAGE_ALIGN` with `u64` on a 32-bit Kernel**

I've been digging into how alignment macros, specifically `PAGE_ALIGN`, work within the Linux kernel, especially when dealing with a `u64` type on a 32-bit architecture. My primary goal was to understand the type and value of `PAGE_ALIGN(0xffffffffffffffffULL)` and confirm if it results in a 64-bit zero.

First, I traced the definition of `PAGE_ALIGN`. I found it in `include/linux/mm.h`:
`#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)`

Then, I followed `ALIGN`:
`include/vdso/align.h`:
`#define ALIGN(x, a) __ALIGN_KERNEL((x), (a))`

And finally, the core logic in `include/uapi/linux/const.h`:
`#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)`
`#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))`

The key here is the `__typeof__(x)` part within `__ALIGN_KERNEL`. The question specifies that `x` is of type `u64` (`unsigned long long`). This is crucial because `__typeof__(x)` will evaluate to `u64`.

Now, let's apply this to the specific case: `x = 0xffffffffffffffffULL` and we're on a 32-bit kernel.

1.  **Determining the `mask`:**
    The `mask` is calculated as `(__typeof__(x))(a) - 1`. Here, `a` is `PAGE_SIZE`.
    Since `__typeof__(x)` is `u64`, `PAGE_SIZE` (which is typically an `unsigned long`, and on a 32-bit kernel, this is 32 bits, e.g., `4096` or `0x1000`) is explicitly cast to `u64`.
    So, `mask` becomes `(u64)PAGE_SIZE - 1ULL`. If `PAGE_SIZE` is `4096`, this is `4096ULL - 1ULL = 4095ULL`, which in hexadecimal is `0x0fffULL`. The type of `mask` is `u64`.

2.  **The `__ALIGN_KERNEL_MASK` operation:**
    The core calculation is `(((x) + (mask)) & ~(mask))`.
    *   **`x + mask`**: We have `0xffffffffffffffffULL + 0x0000000000000fffULL`.
        Because `x` and `mask` are both `u64`, this addition is performed using 64-bit unsigned arithmetic. The maximum value for `u64` is $2^{64}-1$.
        When we add `0x0fffULL` to `0xffffffffffffffffULL`, it overflows.
        $(2^{64}-1) + 4095 = 2^{64} + 4094$. In modulo $2^{64}$ arithmetic, this wraps around to `4094ULL`, which is `0x0000000000000ffeULL`. The result of the addition is of type `u64`.

    *   **`~(mask)`**: This is the bitwise NOT of our `mask`.
        `mask` is `0x0000000000000fffULL`.
        `~mask` becomes `0xfffffffffffff000ULL`. This result is also of type `u64`.

    *   **`&` (Bitwise AND)**:
        Finally, we perform the bitwise AND between the result of the addition and the inverted mask:
        `0x0000000000000ffeULL & 0xfffffffffffff000ULL`
        This operation results in `0x0000000000000000ULL`.

Therefore, the **type** of `PAGE_ALIGN(x)` in this scenario is `u64` (or `unsigned long long`), and its **value** is `0` (or `0ULL`).

Regarding the second part of the question: **"Does it evaluate to a 64-bit 0?"**
Yes, it absolutely does. The entire calculation is performed using 64-bit unsigned arithmetic due to the `__typeof__(x)` cast, and the final result is a 64-bit zero.

I also considered why this question might arise. One reason is to verify if the use of `__typeof__(x)` correctly promotes the alignment calculation to 64-bit arithmetic, preventing any potential truncation that might occur if `PAGE_SIZE` (a 32-bit type on a 32-bit kernel) were used directly in calculations without proper casting. The explicit cast to `typeof(x)` ensures that the `mask` is treated as a `u64`, and consequently, the addition and bitwise operations are also performed in `u64`, leading to the expected wraparound and final zero.

I also briefly checked if other definitions of `ALIGN` could shadow this one within the `include/` directory. My search confirmed that `include/vdso/align.h` is the sole definer of `ALIGN(x, a)` in that scope, reinforcing the correctness of this analysis path. The behavior remains consistent regardless of the actual `PAGE_SIZE` value (e.g., 4KB, 8KB, 16KB), as the 64-bit wraparound ensures the addition result always has its lower bits set in a way that the subsequent masking yields zero.


144/4 2026/09/15 01:12 tool set-results
0m Args:
map[Answer:On a 32-bit Linux kernel, if `x` is of type `u64` (i.e. `unsigned long long`) with value `0xffffffffffffffffULL`, the expression `PAGE_ALIGN(x)` has:

- **Type:** `u64` (`unsigned long long`)
- **Value:** `0` (`0ULL`)
- **Does it evaluate to a 64-bit 0?** **Yes**, it evaluates to a 64-bit unsigned zero (`0ULL`).

### Detailed Explanation:

1. **Macro Definitions:**
   - In `include/linux/mm.h`:
     ```c
     #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
     ```
   - In `include/vdso/align.h`:
     ```c
     #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
     ```
   - In `include/uapi/linux/const.h`:
     ```c
     #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
     #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
     ```

2. **Type Preservation via `__typeof__(x)`:**
   - Although `PAGE_SIZE` is defined as `(_AC(1,UL) << CONFIG_PAGE_SHIFT)` (which is of type `unsigned long`, a 32-bit unsigned type on a 32-bit architecture), `__ALIGN_KERNEL` explicitly casts the alignment to `__typeof__(x)`:
     ```c
     mask = (__typeof__(x))(PAGE_SIZE) - 1
     ```
   - Because `x` is `u64` (`unsigned long long`), `mask` is computed as `(u64)PAGE_SIZE - 1`, resulting in a `u64` value (for a 4KB page, `0x0000000000000fffULL`).

3. **Evaluation and Arithmetic Wraparound:**
   - **`x + mask`:**
     Both operands are `u64`. In C, unsigned arithmetic is evaluated modulo $2^{64}$.
     $$\text{0xffffffffffffffffULL} + \text{0x0000000000000fffULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\ (\text{0x0ffeULL})$$
   - **`~mask`:**
     Bitwise NOT on `mask` (of type `u64`) produces `~0x0000000000000fffULL = 0xfffffffffffff000ULL` (also of type `u64`).
   - **`&` (Bitwise AND):**
     $$\text{0x0000000000000ffeULL} \ \& \ \text{0xfffffffffffff000ULL} = \text{0x0000000000000000ULL}$$

All operands in the expression are of type `u64`, so no truncation to a 32-bit integer occurs, and the result is a 64-bit zero (`0ULL`) of type `u64`.]

Results:
map[Answer:On a 32-bit Linux kernel, if `x` is of type `u64` (i.e. `unsigned long long`) with value `0xffffffffffffffffULL`, the expression `PAGE_ALIGN(x)` has:

- **Type:** `u64` (`unsigned long long`)
- **Value:** `0` (`0ULL`)
- **Does it evaluate to a 64-bit 0?** **Yes**, it evaluates to a 64-bit unsigned zero (`0ULL`).

### Detailed Explanation:

1. **Macro Definitions:**
   - In `include/linux/mm.h`:
     ```c
     #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
     ```
   - In `include/vdso/align.h`:
     ```c
     #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
     ```
   - In `include/uapi/linux/const.h`:
     ```c
     #define __ALIGN_KERNEL(x, a)         __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
     #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
     ```

2. **Type Preservation via `__typeof__(x)`:**
   - Although `PAGE_SIZE` is defined as `(_AC(1,UL) << CONFIG_PAGE_SHIFT)` (which is of type `unsigned long`, a 32-bit unsigned type on a 32-bit architecture), `__ALIGN_KERNEL` explicitly casts the alignment to `__typeof__(x)`:
     ```c
     mask = (__typeof__(x))(PAGE_SIZE) - 1
     ```
   - Because `x` is `u64` (`unsigned long long`), `mask` is computed as `(u64)PAGE_SIZE - 1`, resulting in a `u64` value (for a 4KB page, `0x0000000000000fffULL`).

3. **Evaluation and Arithmetic Wraparound:**
   - **`x + mask`:**
     Both operands are `u64`. In C, unsigned arithmetic is evaluated modulo $2^{64}$.
     $$\text{0xffffffffffffffffULL} + \text{0x0000000000000fffULL} = (2^{64} - 1) + 4095 = 2^{64} + 4094 \equiv 4094\ (\text{0x0ffeULL})$$
   - **`~mask`:**
     Bitwise NOT on `mask` (of type `u64`) produces `~0x0000000000000fffULL = 0xfffffffffffff000ULL` (also of type `u64`).
   - **`&` (Bitwise AND):**
     $$\text{0x0000000000000ffeULL} \ \& \ \text{0xfffffffffffff000ULL} = \text{0x0000000000000000ULL}$$

All operands in the expression are of type `u64`, so no truncation to a 32-bit integer occurs, and the result is a 64-bit zero (`0ULL`) of type `u64`.]

145/2 2026/09/15 01:12 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 24367
							output: 1055
							thoughts: 383
						

Thoughts:
**My Thought Process Regarding the `zram` Disk Size Overflow**

It's clear to me now. Everything has fallen into place. The issue I've been observing with `zram` is elegantly simple, stemming from a classic integer overflow.

Specifically, the problem lies within `PAGE_ALIGN(disksize)`. When the `disksize` is set to a value approaching `U64_MAX`, this operation, intended to align the disk size to a page boundary, unfortunately overflows and wraps around to `0`.

This `0` then propagates. It's passed directly into `zram_meta_alloc`. Within `zram_meta_alloc`, the calculation for `num_pages` becomes `0 >> PAGE_SHIFT`, which, naturally, results in `0`. The subsequent call to `vzalloc(array_size(0, sizeof(*zram->table)))` effectively becomes `vzalloc(0)`.

And that's where the warning originates. `vzalloc(0)` eventually leads to a call to `__vmalloc_node_range_noprof` with a `size` of `0`. As the kernel's own logging indicates at `mm/vmalloc.c:4037`, this triggers the `WARN_ON_ONCE(!size)` condition.

Reproducing this is straightforward. I can obtain an uninitialized `zram` device – either by adding a new one via `/sys/class/zram-control/hot_add` or by resetting an existing one using `/sys/block/zram0/reset`. Once I have a device, I can simply write `0xffffffffffffffff` to its `/sys/block/zramX/disksize` file. The kernel, in its attempt to parse this value using `memparse` and then align it with `PAGE_ALIGN`, will inevitably hit that overflow, resulting in the `0` and the subsequent warning. The reproducer is, therefore, quite compact and self-contained. I will ensure the final response is formatted with clarity, and I'm confident I can present this information effectively.


146/1 2026/09/15 01:12 loop
5m
147/2 2026/09/15 01:12 iteration 0
3m
148/3 2026/09/15 01:12 action If
0m Args:
map[OracleFeedback:]

149/3 2026/09/15 01:12 action merge-strategy
0m Results:
map[CurrentReproStrategy:An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

### Minimal C Reproducer

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                perror("write reset");
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```]

150/3 2026/09/15 01:12 agent repro-generator
0m Model:
deep-reasoning

Results:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}
]

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to generate a minimal, standalone C program for the strictly defensive
purpose of verifying a bugfix in an isolated environment.

To ensure that we can diagnose why a program might fail to run on the test environment,
you MUST include detailed logging and error checking in the generated C program:
1. Use 'printf(...)' for all progress messages and error logs.
2. Every system call (e.g., socket, bind, listen, connect, ioctl, send) must check for a failure return value.
3. If a call fails, it must print a specific error message including the function name
   and the error string (use strerror(errno)), and then exit with a non-zero status.
4. The program must print a message after every successful major step.
5. Generate code that follows this pattern for all operations:
    int res = do_something();
    if (res < 0) {
        printf("[-] Failed to do_something: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] do_something successful.\n");
6. The compilation and development environment (including compilers, build
   systems, makefiles, and kernel build/header directories) is NOT available
   on the target test VM guest. Do NOT check for, build, or reference any
   compilation tools, build files, or kernel development directories.
7. Do NOT execute shell commands or run external binaries (e.g. by using
   functions like 'system()', 'popen()', or the 'exec' family such as
   'execve()'). All environment checks, capability probings, and reproduction
   steps must be performed directly using standard Linux system calls (such
   as 'open', 'socket', 'ioctl', 'stat', etc.).
8. When reproducing asynchronous kernel timeouts or warnings, always
   include a sufficient delay (using sleep or similar) after deleting
   or unregistering the device to allow the kernel's asynchronous
   timeout to trigger before program exit.


=== PHASE 1: CAPABILITY PROBING (GENERATION) ===
You MUST start by generating a simple 'probe' program first. This is a strict, non-negotiable requirement
to verify that the test environment has the necessary kernel capabilities and privileges.
This program's sole purpose is to verify subsystem availability and privileges by probing specific
device files, subsystems, or syscalls (for example: opening /dev/vhci to check if the virtual
Bluetooth controller is accessible, loading a minimal dummy BPF program, or making a specific
socket/ioctl call).

Print clear messages indicating success or failure of these probes, and exit with 0 only if
all checks pass.
Do NOT attempt complex logic, and do NOT try to trigger the actual bug/crash in this first version,
regardless of how simple the reproducer seems. You must wait until a successful probe run has been
confirmed in the environment (i.e., when CapabilitiesVerified becomes true).

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:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

Strategy: An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

### Minimal C Reproducer

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                perror("write reset");
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```




151/4 2026/09/15 01:12 llm repro-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 6610
							output: 299
							thoughts: 839
						

Thoughts:
**My Thought Process for Developing the Zram Bugfix Verification Strategy**

Right, so the primary objective here is to confirm a bugfix related to a zero-size `vmalloc` within the `trace_suspend_resume` path, specifically triggered by `zram_meta_alloc` which is indirectly called via `disksize_store`. I've been provided with a proposed strategy and a C reproducer from the user, which is a good starting point.

However, there's a non-negotiable procedural step mandated by the instructions: I *must* begin by creating a simple "probe" program. This isn't about directly triggering the bug yet; it's a foundational sanity check. The purpose of this probe is to definitively verify that my test environment is correctly set up, possessing the necessary kernel capabilities and the required privileges. It's designed to check the availability of critical subsystems and the permissions I have to interact with them by attempting to access specific device files, subsystems, or system calls.

Therefore, for this initial phase (Phase 1), my immediate task is to construct this probe program. It needs to ascertain whether I have the ability to access either `/sys/class/zram-control/hot_add` or `/sys/block/zram0`. These are key entry points for interacting with the zram subsystem.

Initially, I thought about checking for access to `/sys/class/zram-control/hot_add` or `/sys/block/zram0/reset`.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;

    // Attempt to open the hot_add interface for reading.
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0; // Success, zram control interface seems accessible.
    }

    // If hot_add failed, report the error.
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));

    // Then, attempt to open the reset interface for writing.
    fd = open("/sys/block/zram0/reset", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/reset is accessible.\n");
        close(fd);
        return 0; // Success, zram0 reset interface seems accessible.
    }

    // If reset also failed, report the error.
    printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));

    // If neither worked, indicate failure.
    return 1;
}
```

But then I paused and considered: does the probe *really* need to check the `reset` interface? The core of the bug lies in the `disksize_store` path, which implies interactions with the `disksize` attribute. The probe's main goal is to verify access to the zram subsystem *in general*. Checking `disksize` seems more directly relevant to the bug's triggering mechanism than `reset`.

So, I decided to refine the probe program to focus on `hot_add` and `disksize`. This feels like a more direct validation of the path we're concerned with for the actual bug reproduction, while still serving the primary purpose of the probe – verifying subsystem access and privileges.

Here's the refined version:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;

    // First, check access to the zram control interface.
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0; // Success, at least this part of the zram subsystem is reachable.
    }
    // If not accessible, report the specific error.
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));

    // Next, check access to the zram disksize attribute for writing,
    // as this is related to the bug's trigger path.
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0; // Success, we can interact with the disksize attribute.
    }
    // If not accessible, report the error.
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));

    // If neither check succeeded, the environment is not ready.
    return 1;
}
```

With this probe program in hand, the next logical step is to integrate it with the `set-results` tool. This will allow us to formally record the outcome of this crucial environment verification step.


152/4 2026/09/15 01:12 tool set-results
0m Args:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}
]

Results:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}
]

153/3 2026/09/15 01:12 loop
0m
154/4 2026/09/15 01:12 iteration 0
0m
155/5 2026/09/15 01:12 action merge-repro-c
0m Results:
map[CurrentCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}
]

156/5 2026/09/15 01:12 action compile-c-prog
0m Results:
map[CompilerError: FormattedReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}
]

157/5 2026/09/15 01:12 action If
0m Args:
map[CompilerError:]

158/3 2026/09/15 01:12 action run-c-repro
2m Results:
map[CandidateBugTitle: CandidateCrashReport: CandidateReproduced:false ConsoleOutput:[   61.416352][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   61.416363][   T33] audit: type=1400 audit(1789434820.709:202): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.425896][   T33] audit: type=1400 audit(1789434820.709:203): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.432630][   T33] audit: type=1400 audit(1789434820.709:204): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.438875][   T33] audit: type=1400 audit(1789434820.709:205): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:29212' (ED25519) to the list of known hosts.
[+] /sys/class/zram-control/hot_add is accessible.
[   64.153731][   T33] audit: type=1400 audit(1789434823.449:206): avc:  denied  { write } for  pid=5837 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.189811][   T33] audit: type=1400 audit(1789434823.479:207): avc:  denied  { write } for  pid=5840 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.295589][   T33] audit: type=1400 audit(1789434823.589:208): avc:  denied  { write } for  pid=5843 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.332423][   T33] audit: type=1400 audit(1789434823.629:209): avc:  denied  { write } for  pid=5846 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.070223][   T33] audit: type=1400 audit(1789434824.359:210): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.112216][   T33] audit: type=1400 audit(1789434824.409:211): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.426722][   T33] kauditd_printk_skb: 5 callbacks suppressed
[   66.426732][   T33] audit: type=1400 audit(1789434825.719:217): avc:  denied  { write } for  pid=5870 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.626483][   T33] audit: type=1400 audit(1789434825.919:218): avc:  denied  { write } for  pid=5873 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.665126][   T33] audit: type=1400 audit(1789434825.959:219): avc:  denied  { write } for  pid=5876 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.850703][   T33] audit: type=1400 audit(1789434827.139:220): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.897276][   T33] audit: type=1400 audit(1789434827.189:221): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.672846][ T1376] ieee802154 phy0 wpan0: encryption failed: -22
[   71.677179][ T1376] ieee802154 phy1 wpan1: encryption failed: -22
 OtherCrashReports:<nil> StraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2331321508

<...>
[   62.513870][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.513880][   T33] audit: type=1400 audit(1789434903.226:201): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.523672][   T33] audit: type=1400 audit(1789434903.226:202): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.530327][   T33] audit: type=1400 audit(1789434903.226:203): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.536729][   T33] audit: type=1400 audit(1789434903.226:204): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   64.773262][   T33] audit: type=1400 audit(1789434905.486:205): avc:  denied  { write } for  pid=5833 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.819818][   T33] audit: type=1400 audit(1789434905.536:206): avc:  denied  { write } for  pid=5836 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.543635][   T33] audit: type=1400 audit(1789434906.256:207): avc:  denied  { write } for  pid=5839 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.589897][   T33] audit: type=1400 audit(1789434906.306:208): avc:  denied  { write } for  pid=5842 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.254949][   T33] audit: type=1400 audit(1789434906.966:209): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.298942][   T33] audit: type=1400 audit(1789434907.006:210): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
Warning: Permanently added '[localhost]:58569' (ED25519) to the list of known hosts.
execve("/syz-executor2331321508", ["/syz-executor2331321508"], 0x7ffdf8f36450 /* 11 vars */) = 0
brk(NULL)                               = 0x55558b8d6000
brk(0x55558b8d6d80)                     = 0x55558b8d6d80
arch_prctl(ARCH_SET_FS, 0x55558b8d6400) = 0
set_tid_address(0x55558b8d66d0)         = 5866
set_robust_list(0x55558b8d66e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2331321508", 4096) = 23
getrandom("\x6c\xc0\xe0\x3d\x63\xd2\x1d\x4a", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x55558b8d6d80
brk(0x55558b8f7d80)                     = 0x55558b8f7d80
brk(0x55558b8f8000)                     = 0x55558b8f8000
mprotect(0x7f2d607d1000, 20480, PROT_READ) = 0
openat(AT_FDCWD, "/sys/class/zram-control/hot_add", O_RDONLY) = 3
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
close(3)                                = 0
[+] /sys/class/zram-control/hot_add is accessible.
write(1, "[+] /sys/class/zram-control/hot_add is accessible.\n", 51) = 51
exit_group(0)                           = ?
+++ exited with 0 +++
[   67.723937][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   67.723947][   T33] audit: type=1400 audit(1789434908.436:217): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.767455][   T33] audit: type=1400 audit(1789434908.486:218): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.618555][   T33] audit: type=1400 audit(1789434909.336:219): avc:  denied  { write } for  pid=5885 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.654329][   T33] audit: type=1400 audit(1789434909.366:220): avc:  denied  { write } for  pid=5888 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.628093][ T1372] ieee802154 phy0 wpan0: encryption failed: -22
[   71.630288][ T1372] ieee802154 phy1 wpan1: encryption failed: -22
 TestError:]

159/3 2026/09/15 01:15 action truncate-log
0m Results:
map[TruncatedConsoleOutput:[   61.416352][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   61.416363][   T33] audit: type=1400 audit(1789434820.709:202): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.425896][   T33] audit: type=1400 audit(1789434820.709:203): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.432630][   T33] audit: type=1400 audit(1789434820.709:204): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.438875][   T33] audit: type=1400 audit(1789434820.709:205): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:29212' (ED25519) to the list of known hosts.
[+] /sys/class/zram-control/hot_add is accessible.
[   64.153731][   T33] audit: type=1400 audit(1789434823.449:206): avc:  denied  { write } for  pid=5837 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.189811][   T33] audit: type=1400 audit(1789434823.479:207): avc:  denied  { write } for  pid=5840 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.295589][   T33] audit: type=1400 audit(1789434823.589:208): avc:  denied  { write } for  pid=5843 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.332423][   T33] audit: type=1400 audit(1789434823.629:209): avc:  denied  { write } for  pid=5846 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.070223][   T33] audit: type=1400 audit(1789434824.359:210): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.112216][   T33] audit: type=1400 audit(1789434824.409:211): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.426722][   T33] kauditd_printk_skb: 5 callbacks suppressed
[   66.426732][   T33] audit: type=1400 audit(1789434825.719:217): avc:  denied  { write } for  pid=5870 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.626483][   T33] audit: type=1400 audit(1789434825.919:218): avc:  denied  { write } for  pid=5873 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.665126][   T33] audit: type=1400 audit(1789434825.959:219): avc:  denied  { write } for  pid=5876 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.850703][   T33] audit: type=1400 audit(1789434827.139:220): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.897276][   T33] audit: type=1400 audit(1789434827.189:221): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.672846][ T1376] ieee802154 phy0 wpan0: encryption failed: -22
[   71.677179][ T1376] ieee802154 phy1 wpan1: encryption failed: -22
 TruncatedCrashReport: TruncatedStraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2331321508

<...>
[   62.513870][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.513880][   T33] audit: type=1400 audit(1789434903.226:201): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.523672][   T33] audit: type=1400 audit(1789434903.226:202): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.530327][   T33] audit: type=1400 audit(1789434903.226:203): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.536729][   T33] audit: type=1400 audit(1789434903.226:204): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   64.773262][   T33] audit: type=1400 audit(1789434905.486:205): avc:  denied  { write } for  pid=5833 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.819818][   T33] audit: type=1400 audit(1789434905.536:206): avc:  denied  { write } for  pid=5836 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.543635][   T33] audit: type=1400 audit(1789434906.256:207): avc:  denied  { write } for  pid=5839 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.589897][   T33] audit: type=1400 audit(1789434906.306:208): avc:  denied  { write } for  pid=5842 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.254949][   T33] audit: type=1400 audit(1789434906.966:209): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.298942][   T33] audit: type=1400 audit(1789434907.006:210): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
Warning: Permanently added '[localhost]:58569' (ED25519) to the list of known hosts.
execve("/syz-executor2331321508", ["/syz-executor2331321508"], 0x7ffdf8f36450 /* 11 vars */) = 0
brk(NULL)                               = 0x55558b8d6000
brk(0x55558b8d6d80)                     = 0x55558b8d6d80
arch_prctl(ARCH_SET_FS, 0x55558b8d6400) = 0
set_tid_address(0x55558b8d66d0)         = 5866
set_robust_list(0x55558b8d66e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2331321508", 4096) = 23
getrandom("\x6c\xc0\xe0\x3d\x63\xd2\x1d\x4a", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x55558b8d6d80
brk(0x55558b8f7d80)                     = 0x55558b8f7d80
brk(0x55558b8f8000)                     = 0x55558b8f8000
mprotect(0x7f2d607d1000, 20480, PROT_READ) = 0
openat(AT_FDCWD, "/sys/class/zram-control/hot_add", O_RDONLY) = 3
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
close(3)                                = 0
[+] /sys/class/zram-control/hot_add is accessible.
write(1, "[+] /sys/class/zram-control/hot_add is accessible.\n", 51) = 51
exit_group(0)                           = ?
+++ exited with 0 +++
[   67.723937][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   67.723947][   T33] audit: type=1400 audit(1789434908.436:217): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.767455][   T33] audit: type=1400 audit(1789434908.486:218): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.618555][   T33] audit: type=1400 audit(1789434909.336:219): avc:  denied  { write } for  pid=5885 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.654329][   T33] audit: type=1400 audit(1789434909.366:220): avc:  denied  { write } for  pid=5888 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.628093][ T1372] ieee802154 phy0 wpan0: encryption failed: -22
[   71.630288][ T1372] ieee802154 phy1 wpan1: encryption failed: -22
]

160/3 2026/09/15 01:15 agent repro-oracle
0m Model:
deep-reasoning

Results:
map[Feedback:The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration. ProbePassed:true TerminalError: TitleMatches:false]

Instruction:
You are a security researcher with deep Linux kernel background.
Analyze the results of running the generated program.

=== CRITICAL ENVIRONMENT & TARGET CLASSIFICATION ===
Set 'TerminalError' to a descriptive error message ONLY if:
1. The execution failed due to missing hardware device nodes, subsystems, kernel modules, or privilege limits
   that cannot be loaded, created, or bypassed by user-space C code edits in the VM guest.
2. The target source files or functions described in the bug description do not exist in the checked-out codebase,
   meaning the codebase version is mismatched and the target code is absent.

=== CRITICAL PROHIBITIONS ===
- Do NOT classify a run as a terminal failure or assume a bug is fixed based on git log entries, commit titles,
  or commit messages. Reproducibility can ONLY be determined by executing reproducer candidates in the VM.
- Do NOT suggest C code strategies, repairs, or namespace bypasses when setting 'TerminalError'.


=== PHASE 1: CAPABILITY PROBING (EVALUATION) ===
The executed program was a simple environment probe.
Use this to guide your classification and feedback:
1. If the execution was successful (all environment/subsystem probes passed and program exited with 0),
   set the field 'ProbePassed' to true and provide feedback explicitly indicating that the environment
   is ready and the agent should now proceed to generate the full reproducer in the next iteration.
2. If the probe failed (e.g., missing permissions, missing devices, or sandbox restrictions),
   set the field 'ProbePassed' to false, and explain what failed in the 'Feedback'
   field so the generator can adjust its setups.


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:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

IsProbe: true
Reproduced: false
Console Output: [   61.416352][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   61.416363][   T33] audit: type=1400 audit(1789434820.709:202): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.425896][   T33] audit: type=1400 audit(1789434820.709:203): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.432630][   T33] audit: type=1400 audit(1789434820.709:204): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   61.438875][   T33] audit: type=1400 audit(1789434820.709:205): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:29212' (ED25519) to the list of known hosts.
[+] /sys/class/zram-control/hot_add is accessible.
[   64.153731][   T33] audit: type=1400 audit(1789434823.449:206): avc:  denied  { write } for  pid=5837 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.189811][   T33] audit: type=1400 audit(1789434823.479:207): avc:  denied  { write } for  pid=5840 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.295589][   T33] audit: type=1400 audit(1789434823.589:208): avc:  denied  { write } for  pid=5843 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.332423][   T33] audit: type=1400 audit(1789434823.629:209): avc:  denied  { write } for  pid=5846 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.070223][   T33] audit: type=1400 audit(1789434824.359:210): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.112216][   T33] audit: type=1400 audit(1789434824.409:211): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.426722][   T33] kauditd_printk_skb: 5 callbacks suppressed
[   66.426732][   T33] audit: type=1400 audit(1789434825.719:217): avc:  denied  { write } for  pid=5870 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.626483][   T33] audit: type=1400 audit(1789434825.919:218): avc:  denied  { write } for  pid=5873 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.665126][   T33] audit: type=1400 audit(1789434825.959:219): avc:  denied  { write } for  pid=5876 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.850703][   T33] audit: type=1400 audit(1789434827.139:220): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.897276][   T33] audit: type=1400 audit(1789434827.189:221): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.672846][ T1376] ieee802154 phy0 wpan0: encryption failed: -22
[   71.677179][ T1376] ieee802154 phy1 wpan1: encryption failed: -22

Strace Output: /strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2331321508

<...>
[   62.513870][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.513880][   T33] audit: type=1400 audit(1789434903.226:201): avc:  denied  { transition } for  pid=5822 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.523672][   T33] audit: type=1400 audit(1789434903.226:202): avc:  denied  { noatsecure } for  pid=5822 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.530327][   T33] audit: type=1400 audit(1789434903.226:203): avc:  denied  { rlimitinh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.536729][   T33] audit: type=1400 audit(1789434903.226:204): avc:  denied  { siginh } for  pid=5822 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   64.773262][   T33] audit: type=1400 audit(1789434905.486:205): avc:  denied  { write } for  pid=5833 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   64.819818][   T33] audit: type=1400 audit(1789434905.536:206): avc:  denied  { write } for  pid=5836 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.543635][   T33] audit: type=1400 audit(1789434906.256:207): avc:  denied  { write } for  pid=5839 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   65.589897][   T33] audit: type=1400 audit(1789434906.306:208): avc:  denied  { write } for  pid=5842 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.254949][   T33] audit: type=1400 audit(1789434906.966:209): avc:  denied  { write } for  pid=5849 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   66.298942][   T33] audit: type=1400 audit(1789434907.006:210): avc:  denied  { write } for  pid=5852 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
Warning: Permanently added '[localhost]:58569' (ED25519) to the list of known hosts.
execve("/syz-executor2331321508", ["/syz-executor2331321508"], 0x7ffdf8f36450 /* 11 vars */) = 0
brk(NULL)                               = 0x55558b8d6000
brk(0x55558b8d6d80)                     = 0x55558b8d6d80
arch_prctl(ARCH_SET_FS, 0x55558b8d6400) = 0
set_tid_address(0x55558b8d66d0)         = 5866
set_robust_list(0x55558b8d66e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2331321508", 4096) = 23
getrandom("\x6c\xc0\xe0\x3d\x63\xd2\x1d\x4a", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x55558b8d6d80
brk(0x55558b8f7d80)                     = 0x55558b8f7d80
brk(0x55558b8f8000)                     = 0x55558b8f8000
mprotect(0x7f2d607d1000, 20480, PROT_READ) = 0
openat(AT_FDCWD, "/sys/class/zram-control/hot_add", O_RDONLY) = 3
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
close(3)                                = 0
[+] /sys/class/zram-control/hot_add is accessible.
write(1, "[+] /sys/class/zram-control/hot_add is accessible.\n", 51) = 51
exit_group(0)                           = ?
+++ exited with 0 +++
[   67.723937][   T33] kauditd_printk_skb: 6 callbacks suppressed
[   67.723947][   T33] audit: type=1400 audit(1789434908.436:217): avc:  denied  { write } for  pid=5879 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   67.767455][   T33] audit: type=1400 audit(1789434908.486:218): avc:  denied  { write } for  pid=5882 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.618555][   T33] audit: type=1400 audit(1789434909.336:219): avc:  denied  { write } for  pid=5885 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   68.654329][   T33] audit: type=1400 audit(1789434909.366:220): avc:  denied  { write } for  pid=5888 comm="rm" name="hook-state" dev="tmpfs" ino=1794 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1
[   71.628093][ T1372] ieee802154 phy0 wpan0: encryption failed: -22
[   71.630288][ T1372] ieee802154 phy1 wpan1: encryption failed: -22

Crash Report: 


161/4 2026/09/15 01:15 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7891
							output: 74
							thoughts: 419
						

Thoughts:
**My Thought Process: Analyzing the ZRAM Capability Probe**

Alright, let's break down what just happened. The request was to analyze the results of a capability probe designed to check the environment for a specific bug, and I need to articulate my internal thought process as if it were my own experience.

So, the core of this is understanding the output of this probe program. I see a `WARNING: zero-size vmalloc in trace_suspend_resume`. That's the target bug we're looking for, or at least the manifestation of it. My initial scan of the provided output shows that the stack trace leading to this warning originates from `zram_meta_alloc`, which then calls `vzalloc_noprof`, `__vmalloc_node_range_noprof`, and finally `warn_slowpath_fmt`. This is important because it tells me *where* the warning is being emitted from within the kernel's memory allocation and tracing subsystems. I also noted that this specific warning is triggered by the `disksize_store` function within the ZRAM driver, located at `drivers/block/zram/zram_drv.c`. This gives me context for the bug itself – it's related to ZRAM's disk size configuration.

Now, let's look at what the probe program *actually* did. It was designed to check if `/sys/class/zram-control/hot_add` is accessible. This is a critical piece of information because it tells me if the environment is set up in a way that *could* trigger the bug. The output clearly states: `[+] /sys/class/zram-control/hot_add is accessible.` This is a positive confirmation. Furthermore, the program exited with a status code of `0`, which conventionally means success.

Putting these pieces together, I can confidently infer that the environment is indeed ready. The probe successfully confirmed that the necessary ZRAM interface (`hot_add`) is available, and the program ran without any unhandled errors. This means the groundwork has been laid, and we can now proceed to the next logical step: generating the full reproducer for the bug.

Therefore, the `set-results` call needs to reflect this. My feedback to the user will be: "The capability probe was successful. The `/sys/class/zram-control/hot_add` interface is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration." This conveys exactly what I've deduced.

For the `ProbePassed` flag, it's unequivocally `true` because the probe completed its task as intended and confirmed the required condition.

The `TerminalError` field should be an empty string, as there were no critical, unrecoverable errors that would halt the process.

Finally, `TitleMatches` should be `false`. While the *warning message itself* was observed, the probe's purpose wasn't to confirm a crash, but rather the *accessibility of an interface*. The warning we saw, `WARNING: zero-size vmalloc in trace_suspend_resume`, is indeed related to the target bug, and the stack trace shows the `trace_suspend_resume` function, but the actual event was a *panic on warn* in `__vmalloc_node_range_noprof`, not a direct crash *during the probe*. The probe's success condition is met regardless of the specific warning details, as long as the interface is accessible. So, `TitleMatches: false` accurately reflects that this was a probe for readiness, not a direct validation of the crash symptom itself.

So, my final action is to call `set-results` with these parameters.


162/4 2026/09/15 01:15 tool set-results
0m Args:
map[Feedback:The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration. ProbePassed:true TerminalError: TitleMatches:false]

Results:
map[Feedback:The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration. ProbePassed:true TerminalError: TitleMatches:false]

163/3 2026/09/15 01:15 action loop-controller
0m Results:
map[CapabilitiesVerified:true ContinueSignal:continue EquivalenceAnalysis: OracleFeedback:The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration. ReproC: Reproduced:false ReproducedBugTitle: ReproducedCrashReport:]

164/2 2026/09/15 01:15 iteration 1
2m
165/3 2026/09/15 01:15 action If
0m Args:
map[OracleFeedback:The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration.]

166/4 2026/09/15 01:15 agent strategy-refiner
0m Model:
deep-reasoning

Instruction:
You are an expert in Linux kernel debugging.
Refine the reproduction strategy based on feedback from previous attempts.
Analyze the technical diagnosis provided in the oracle feedback and translate it into concrete,
step-by-step instructions for the repro-generator on how to modify the code structure, alignments,
offsets, or parameters of the candidate program.

=== TOOL SELECTION GUIDELINES ===
- Prefer codesearch-definition-source and codesearch-struct-layout first for symbol lookups.
- Fall back to read-file or grepper for macros, headers, or if symbol lookup fails.

=== CRITICAL PROHIBITIONS ===
- Do NOT repeat searches for the same symbols or files. Use information you have already gathered.
- Do NOT write long explanations. Keep your reasoning short and focused on actionable changes.
- Do NOT assume a bug is fixed based on git commit history.
- If you are stuck, try a different approach or proceed to generate a candidate reproducer.
Prefer calling several tools at the same time to save round-trips.

Prompt:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

Current Strategy: An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

### Minimal C Reproducer

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                perror("write reset");
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```
Feedback: The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration.

Reply:
An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

Here is the complete C reproducer:

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

#define _GNU_SOURCE

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

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                // ignore error
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```

167/5 2026/09/15 01:15 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 6093
							output: 1130
							thoughts: 1098
						

Thoughts:
**My Thought Process for Generating the Zram Bug Reproducer**

Right, so the core task here is to create a C reproducer for this `WARNING: zero-size vmalloc in trace_suspend_resume` bug. My immediate thought is that I need a self-contained C program that, when executed, reliably triggers this exact warning.

I recall that the bug report pointed to writing a specific value, `0xffffffffffffffff`, to `/sys/block/zram<id>/disksize`. This is a key piece of information, as it tells me the primary interaction I need to perform with the kernel. I also know from the capability probe that `/sys/class/zram-control/hot_add` is available, which is important for dynamically creating zram devices if needed.

My strategy is to build upon the minimal C reproducer that's likely been developed previously for this bug. I won't reinvent the wheel; I'll just ensure the full, functional C code is generated based on that established strategy.

The bug report itself gives a crucial hint: `(disksize_store) from [<80bd68c0>] (dev_attr_store+0x1c/0x28 drivers/base/core.c:2505)`. This confirms that the path I identified, `/sys/block/zramX/disksize`, is indeed the correct one to interact with to trigger the `disksize_store` function, which is where the problematic logic resides.

So, I'll proceed to construct the complete C code. The first step in the program is to ensure a zram device is available. I'll try to create a new one using `/sys/class/zram-control/hot_add`. If that works, I'll get the ID of the newly created device. If `hot_add` isn't available, I'll fall back to using `zram0` and make sure it's reset to a clean state, just in case it's already initialized. This robust handling of device availability is important for reliable reproduction.

Then comes the critical part: writing the specific value to the `disksize` attribute. I'll construct the full path to the `disksize` file for the determined zram device ID. The value I need to write is `0xffffffffffffffff`.

Now, a slight pause for technical detail. I need to consider *how* this value is parsed. The kernel likely uses a function like `memparse`, which in turn uses `simple_strtoull`. I need to be sure that `0xffffffffffffffff` will be interpreted as the maximum unsigned 64-bit integer. I recall that `simple_strtoull` handles hexadecimal prefixes like `0x` when the base is set to 0 (which `memparse` uses). So, `0xffffffffffffffff` should be perfectly fine. Alternatively, I could use the decimal representation, `18446744073709551615`, or even try passing `-1` directly. However, I'm confident that `0xffffffffffffffff` is the most direct and idiomatic way to represent this value, and it should be parsed correctly by `memparse`. I'll re-verify the `memparse` source to be absolutely sure; yes, it uses `simple_strtoull` with base 0, so `0x` prefixes are correctly handled.

With that confirmation, I can confidently proceed with writing the C code that opens the appropriate `disksize` file and writes the hexadecimal string `0xffffffffffffffff` to it. The program will then close the file descriptor and return a success code if all operations complete without error, or indicate failure if any step fails. This complete program should reliably reproduce the `WARNING: zero-size vmalloc in trace_suspend_resume` bug.


168/3 2026/09/15 01:15 action merge-strategy
0m Results:
map[CurrentReproStrategy:An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

Here is the complete C reproducer:

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

#define _GNU_SOURCE

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

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                // ignore error
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```]

169/3 2026/09/15 01:15 agent repro-generator
0m Model:
deep-reasoning

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
]

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to generate a minimal, standalone C program for the strictly defensive
purpose of verifying a bugfix in an isolated environment.

To ensure that we can diagnose why a program might fail to run on the test environment,
you MUST include detailed logging and error checking in the generated C program:
1. Use 'printf(...)' for all progress messages and error logs.
2. Every system call (e.g., socket, bind, listen, connect, ioctl, send) must check for a failure return value.
3. If a call fails, it must print a specific error message including the function name
   and the error string (use strerror(errno)), and then exit with a non-zero status.
4. The program must print a message after every successful major step.
5. Generate code that follows this pattern for all operations:
    int res = do_something();
    if (res < 0) {
        printf("[-] Failed to do_something: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] do_something successful.\n");
6. The compilation and development environment (including compilers, build
   systems, makefiles, and kernel build/header directories) is NOT available
   on the target test VM guest. Do NOT check for, build, or reference any
   compilation tools, build files, or kernel development directories.
7. Do NOT execute shell commands or run external binaries (e.g. by using
   functions like 'system()', 'popen()', or the 'exec' family such as
   'execve()'). All environment checks, capability probings, and reproduction
   steps must be performed directly using standard Linux system calls (such
   as 'open', 'socket', 'ioctl', 'stat', etc.).
8. When reproducing asynchronous kernel timeouts or warnings, always
   include a sufficient delay (using sleep or similar) after deleting
   or unregistering the device to allow the kernel's asynchronous
   timeout to trigger before program exit.


=== PHASE 2: BUG REPRODUCTION (GENERATION) ===
You must now generate a full reproducer candidate attempting to trigger the target bug/crash.
Do NOT generate a probe program. Focus directly on triggering the bug/crash described in the description.
You can assume that all necessary kernel capabilities and privileges (e.g., access to /dev/vhci,
ability to load BPF programs, etc.) have already been verified and are available in the environment.

Do not spend too much time analyzing or trying to generate a perfect one-shot reproducer.
Instead, follow an iterative approach: generate a simple candidate, execute it, analyze the results,
and improve it. Keep your reasoning steps short and focused on the next logical experiment.

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:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

Strategy: An analysis of the bug report and kernel source code reveals that the warning is triggered by an integer overflow in the `PAGE_ALIGN()` macro when setting the `disksize` of a `zram` device.

### Bug Analysis

1. **The Entry Point:** When a user writes to `/sys/block/zram<id>/disksize`, the kernel invokes `disksize_store()` in `drivers/block/zram/zram_drv.c`.
2. **Parsing:** The input string is parsed into a `u64` using `memparse()`. If we pass a value like `0xffffffffffffffff` (or `18446744073709551615`), `memparse()` successfully returns `U64_MAX`.
3. **The Overflow:** The code then aligns the parsed size to the page boundary using `disksize = PAGE_ALIGN(disksize);`. The `PAGE_ALIGN(x)` macro is defined as `(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))`. When `x` is `U64_MAX`, the addition `x + PAGE_SIZE - 1` overflows the 64-bit unsigned integer, wrapping around to `PAGE_SIZE - 2` (e.g., `4094`). The bitwise AND with the inverted mask then clears the lower bits, resulting in exactly `0`.
4. **The Warning:** `zram_meta_alloc(zram, disksize)` is subsequently called with `disksize = 0`. It calculates `num_pages = 0 >> PAGE_SHIFT`, which is `0`. It then attempts to allocate the table using `vzalloc(array_size(0, sizeof(*zram->table)))`. This translates to `vzalloc(0)`, which calls `__vmalloc_node_range_noprof(0, ...)`. Finally, this triggers the `WARN_ON_ONCE(!size)` at `mm/vmalloc.c:4037` as seen in the crash log.

### Reproduction Strategy

To reproduce this bug, we need to:
1. Obtain an uninitialized `zram` device. We can do this cleanly by reading from `/sys/class/zram-control/hot_add`, which creates a new uninitialized device and returns its ID. If that fails, we can fallback to `/sys/block/zram0` and reset it by writing `1` to its `reset` attribute.
2. Write `0xffffffffffffffff` to the `disksize` attribute of the obtained `zram` device.

Here is the complete C reproducer:

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

#define _GNU_SOURCE

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

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
        }
        close(fd);
    }

    if (zram_id == -1) {
        // Fallback to zram0 if hot_add is unavailable
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                // ignore error
            }
            close(fd);
        }
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        perror("open disksize");
        return 1;
    }

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        perror("write disksize");
        close(fd);
        return 1;
    }

    close(fd);
    return 0;
}
```


Previous Reproducer Attempt:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd >= 0) {
        printf("[+] /sys/class/zram-control/hot_add is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
    
    fd = open("/sys/block/zram0/disksize", O_WRONLY);
    if (fd >= 0) {
        printf("[+] /sys/block/zram0/disksize is accessible.\n");
        close(fd);
        return 0;
    }
    printf("[-] Failed to open /sys/block/zram0/disksize: %s\n", strerror(errno));
    
    return 1;
}




Execution Results & Debugging Feedback:
The capability probe executed successfully and confirmed that `/sys/class/zram-control/hot_add` is accessible. The environment is ready. Please proceed to generate the full reproducer in the next iteration.

170/4 2026/09/15 01:15 llm repro-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 6972
							output: 736
							thoughts: 929
						

Thoughts:
**My Thought Process for Crafting the Zram Bug Reproducer**

Here I am, tasked with creating a concrete reproducer for this observed zram bug. My primary goal is to isolate the exact conditions that trigger the failure, making it as straightforward as possible for anyone else to verify and debug.

Based on the information at hand, I know the core of the issue lies in writing a very large, specific value – specifically, `0xffffffffffffffff` – to the `disksize` attribute of a zram device. This value is clearly problematic, likely overflowing some internal representation or calculation within the kernel's zram driver.

The previous capability probe, which I can rely on, confirmed that the `/sys/class/zram-control/hot_add` interface is accessible. This is crucial because it provides a programmatic way to create a *new* zram device. By reading from `hot_add`, I can obtain a fresh, uninitialized zram device ID. Once I have this ID, I can then navigate to its corresponding `/sys/block/zram<id>/` directory and target its `disksize` attribute.

So, the plan is clear:
1.  **Acquire a zram device ID.** I'll attempt to use `/sys/class/zram-control/hot_add` to get a new one. If that fails (perhaps due to permissions or an already full set of devices), I'll gracefully fall back to `zram0`. In the case of `zram0`, I should also ensure it's in a clean state by attempting to reset it, though the `hot_add` path is preferred for a clean slate.
2.  **Construct the path to the `disksize` attribute.** Using the obtained `zram_id`, I'll form the full path, like `/sys/block/zram<id>/disksize`.
3.  **Open the `disksize` attribute for writing.**
4.  **Write the problematic value.** I'll write the string `"0xffffffffffffffff"` to this file.

With this strategy in mind, I've meticulously crafted the C code. It opens `hot_add`, reads the new ID, and then constructs the `disksize` path. It handles the fallback to `zram0` and the reset operation if needed. Then, it opens the target `disksize` file and performs the `write` call with the critical value. I've added diagnostic `printf` statements throughout to provide clear feedback on each step, which is essential for debugging.

Now, I re-read the bug report, specifically the stack trace: `[<80c207ec>] (disksize_store) from [<80bd68c0>] (dev_attr_store+0x1c/0x28 drivers/base/core.c:2505)`. This confirms my understanding that the warning, the actual failure point, occurs *synchronously* during the `write()` operation itself, within the `disksize_store` function, which is called by the generic `dev_attr_store` mechanism. This means I don't need to worry about asynchronous events or race conditions after the write; the issue is triggered directly by the `write`.

Given the simplicity and directness of the reproducer – a single `write` to a specific sysfs entry – I'm confident that this code will reliably trigger the bug. There aren't any complex dependencies or convoluted sequences required. Therefore, I'll present this code as is, ready for immediate use.


171/4 2026/09/15 01:16 tool set-results
0m Args:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
]

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
]

172/3 2026/09/15 01:16 loop
0m
173/4 2026/09/15 01:16 iteration 0
0m
174/5 2026/09/15 01:16 action merge-repro-c
0m Results:
map[CurrentCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
]

175/5 2026/09/15 01:16 action compile-c-prog
0m Results:
map[CompilerError: FormattedReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
]

176/5 2026/09/15 01:16 action If
0m Args:
map[CompilerError:]

177/3 2026/09/15 01:16 action run-c-repro
1m Results:
map[CandidateBugTitle:WARNING: zero-size vmalloc in disksize_store CandidateCrashReport:zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>
 CandidateReproduced:true ConsoleOutput:[   62.737830][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.737840][   T33] audit: type=1400 audit(1789435034.682:203): avc:  denied  { transition } for  pid=5819 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.747663][   T33] audit: type=1400 audit(1789435034.692:204): avc:  denied  { noatsecure } for  pid=5819 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.754171][   T33] audit: type=1400 audit(1789435034.692:205): avc:  denied  { rlimitinh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.760511][   T33] audit: type=1400 audit(1789435034.692:206): avc:  denied  { siginh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:64319' (ED25519) to the list of known hosts.
[   65.071810][ T5834] zram: Added device: zram1
[   65.074294][ T5834] ------------[ cut here ]------------
[   65.076094][ T5834] !size
[   65.076101][ T5834] WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730, CPU#0: syz-executor385/5834
[   65.080176][ T5834] Modules linked in:
[   65.081431][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.084223][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.088265][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.090586][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.096311][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.098038][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.100373][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.102623][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.104839][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.107359][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.109816][ T5834] FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
[   65.112325][ T5834] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   65.114140][ T5834] CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
[   65.116638][ T5834] Call Trace:
[   65.117624][ T5834]  <TASK>
[   65.118480][ T5834]  ? disksize_store+0x94/0x400
[   65.119837][ T5834]  ? disksize_store+0x94/0x400
[   65.121267][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.123076][ T5834]  ? down_write+0x16d/0x200
[   65.124394][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.126065][ T5834]  ? disksize_store+0xf0/0x400
[   65.127707][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.129034][ T5834]  ? disksize_store+0xf0/0x400
[   65.130469][ T5834]  disksize_store+0xf0/0x400
[   65.131768][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.133172][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.134647][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.136648][ T5834]  vfs_write+0x612/0xba0
[   65.137889][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.139267][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.140693][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.142118][ T5834]  ? fd_install+0x94/0x3d0
[   65.143436][ T5834]  ksys_write+0x150/0x270
[   65.144693][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.146572][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.148364][ T5834]  do_syscall_64+0x174/0x580
[   65.149711][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.151192][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.152556][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.154243][ T5834] RIP: 0033:0x7fe0771760f7
[   65.155793][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.161257][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.163607][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.166315][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.168564][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.170809][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.173013][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.175280][ T5834]  </TASK>
[   65.176314][ T5834] Kernel panic - not syncing: kernel: panic_on_warn set ...
[   65.178360][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.181059][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.183899][ T5834] Call Trace:
[   65.184869][ T5834]  <TASK>
[   65.185751][ T5834]  vpanic+0x56c/0xa60
[   65.186919][ T5834]  ? __pfx__printk+0x10/0x10
[   65.188257][ T5834]  ? __pfx_vpanic+0x10/0x10
[   65.189581][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.191082][ T5834]  ? is_bpf_text_address+0x26/0x2b0
[   65.192587][ T5834]  panic+0xc5/0xd0
[   65.193667][ T5834]  ? __pfx_panic+0x10/0x10
[   65.194974][ T5834]  __warn+0x315/0x4c0
[   65.196125][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.197876][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.199677][ T5834]  __report_bug+0x276/0x570
[   65.201029][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.202559][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.204315][ T5834]  ? __pfx___report_bug+0x10/0x10
[   65.205764][ T5834]  ? unwind_get_return_address+0x4d/0x90
[   65.207384][ T5834]  ? __pfx_stack_trace_consume_entry+0x10/0x10
[   65.209135][ T5834]  ? arch_stack_walk+0xfb/0x150
[   65.210602][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.212355][ T5834]  report_bug+0x16a/0x220
[   65.213623][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.215380][ T5834]  ? __vmalloc_node_range_noprof+0x16fa/0x1730
[   65.217129][ T5834]  handle_bug+0x9c/0x200
[   65.218371][ T5834]  exc_invalid_op+0x1a/0x50
[   65.219677][ T5834]  asm_exc_invalid_op+0x1a/0x20
[   65.221084][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.222993][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.228453][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.230173][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.232407][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.234669][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.236914][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.239189][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.241453][ T5834]  ? __vmalloc_node_range_noprof+0x16f7/0x1730
[   65.243236][ T5834]  ? disksize_store+0x94/0x400
[   65.244604][ T5834]  ? disksize_store+0x94/0x400
[   65.245982][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.247812][ T5834]  ? down_write+0x16d/0x200
[   65.249113][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.250494][ T5834]  ? disksize_store+0xf0/0x400
[   65.251858][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.253168][ T5834]  ? disksize_store+0xf0/0x400
[   65.254529][ T5834]  disksize_store+0xf0/0x400
[   65.255830][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.257204][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.258668][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.260178][ T5834]  vfs_write+0x612/0xba0
[   65.261407][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.262773][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.264166][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.265580][ T5834]  ? fd_install+0x94/0x3d0
[   65.266866][ T5834]  ksys_write+0x150/0x270
[   65.268102][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.269522][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.271274][ T5834]  do_syscall_64+0x174/0x580
[   65.272602][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.274029][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.275373][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.277048][ T5834] RIP: 0033:0x7fe0771760f7
[   65.278327][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.283817][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.286189][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.288464][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.290728][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.292970][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.295188][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.297415][ T5834]  </TASK>
[   65.298998][ T5834] Kernel Offset: disabled
[   65.300276][ T5834] Rebooting in 86400 seconds..
 OtherCrashReports:<nil> StraceOutput: TestError:]

178/3 2026/09/15 01:17 action truncate-log
0m Results:
map[TruncatedConsoleOutput:[   62.737830][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.737840][   T33] audit: type=1400 audit(1789435034.682:203): avc:  denied  { transition } for  pid=5819 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.747663][   T33] audit: type=1400 audit(1789435034.692:204): avc:  denied  { noatsecure } for  pid=5819 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.754171][   T33] audit: type=1400 audit(1789435034.692:205): avc:  denied  { rlimitinh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.760511][   T33] audit: type=1400 audit(1789435034.692:206): avc:  denied  { siginh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:64319' (ED25519) to the list of known hosts.
[   65.071810][ T5834] zram: Added device: zram1
[   65.074294][ T5834] ------------[ cut here ]------------
[   65.076094][ T5834] !size
[   65.076101][ T5834] WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730, CPU#0: syz-executor385/5834
[   65.080176][ T5834] Modules linked in:
[   65.081431][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.084223][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.088265][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.090586][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.096311][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.098038][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.100373][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.102623][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.104839][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.107359][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.109816][ T5834] FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
[   65.112325][ T5834] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   65.114140][ T5834] CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
[   65.116638][ T5834] Call Trace:
[   65.117624][ T5834]  <TASK>
[   65.118480][ T5834]  ? disksize_store+0x94/0x400
[   65.119837][ T5834]  ? disksize_store+0x94/0x400
[   65.121267][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.123076][ T5834]  ? down_write+0x16d/0x200
[   65.124394][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.126065][ T5834]  ? disksize_store+0xf0/0x400
[   65.127707][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.129034][ T5834]  ? disksize_store+0xf0/0x400
[   65.130469][ T5834]  disksize_store+0xf0/0x400
[   65.131768][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.133172][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.134647][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.136648][ T5834]  vfs_write+0x612/0xba0
[   65.137889][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.139267][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.140693][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.142118][ T5834]  ? fd_install+0x94/0x3d0
[   65.143436][ T5834]  ksys_write+0x150/0x270
[   65.144693][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.146572][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.148364][ T5834]  do_syscall_64+0x174/0x580
[   65.149711][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.151192][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.152556][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.154243][ T5834] RIP: 0033:0x7fe0771760f7
[   65.155793][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.161257][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.163607][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.166315][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.168564][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.170809][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.173013][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.175280][ T5834]  </TASK>
[   65.176314][ T5834] Kernel panic - not syncing: kernel: panic_on_warn set ...
[   65.178360][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.181059][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.183899][ T5834] Call Trace:
[   65.184869][ T5834]  <TASK>
[   65.185751][ T5834]  vpanic+0x56c/0xa60
[   65.186919][ T5834]  ? __pfx__printk+0x10/0x10
[   65.188257][ T5834]  ? __pfx_vpanic+0x10/0x10
[   65.189581][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.191082][ T5834]  ? is_bpf_text_address+0x26/0x2b0
[   65.192587][ T5834]  panic+0xc5/0xd0
[   65.193667][ T5834]  ? __pfx_panic+0x10/0x10
[   65.194974][ T5834]  __warn+0x315/0x4c0
[   65.196125][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.197876][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.199677][ T5834]  __report_bug+0x276/0x570
[   65.201029][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.202559][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.204315][ T5834]  ? __pfx___report_bug+0x10/0x10
[   65.205764][ T5834]  ? unwind_get_return_address+0x4d/0x90
[   65.207384][ T5834]  ? __pfx_stack_trace_consume_entry+0x10/0x10
[   65.209135][ T5834]  ? arch_stack_walk+0xfb/0x150
[   65.210602][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.212355][ T5834]  report_bug+0x16a/0x220
[   65.213623][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.215380][ T5834]  ? __vmalloc_node_range_noprof+0x16fa/0x1730
[   65.217129][ T5834]  handle_bug+0x9c/0x200
[   65.218371][ T5834]  exc_invalid_op+0x1a/0x50
[   65.219677][ T5834]  asm_exc_invalid_op+0x1a/0x20
[   65.221084][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.222993][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.228453][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.230173][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.232407][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.234669][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.236914][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.239189][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.241453][ T5834]  ? __vmalloc_node_range_noprof+0x16f7/0x1730
[   65.243236][ T5834]  ? disksize_store+0x94/0x400
[   65.244604][ T5834]  ? disksize_store+0x94/0x400
[   65.245982][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.247812][ T5834]  ? down_write+0x16d/0x200
[   65.249113][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.250494][ T5834]  ? disksize_store+0xf0/0x400
[   65.251858][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.253168][ T5834]  ? disksize_store+0xf0/0x400
[   65.254529][ T5834]  disksize_store+0xf0/0x400
[   65.255830][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.257204][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.258668][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.260178][ T5834]  vfs_write+0x612/0xba0
[   65.261407][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.262773][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.264166][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.265580][ T5834]  ? fd_install+0x94/0x3d0
[   65.266866][ T5834]  ksys_write+0x150/0x270
[   65.268102][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.269522][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.271274][ T5834]  do_syscall_64+0x174/0x580
[   65.272602][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.274029][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.275373][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.277048][ T5834] RIP: 0033:0x7fe0771760f7
[   65.278327][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.283817][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.286189][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.288464][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.290728][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.292970][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.295188][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.297415][ T5834]  </TASK>
[   65.298998][ T5834] Kernel Offset: disabled
[   65.300276][ T5834] Rebooting in 86400 seconds..
 TruncatedCrashReport:zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>
 TruncatedStraceOutput:]

179/3 2026/09/15 01:17 agent repro-oracle
0m Model:
deep-reasoning

Results:
map[Feedback:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. ProbePassed:false TerminalError: TitleMatches:true]

Instruction:
You are a security researcher with deep Linux kernel background.
Analyze the results of running the generated program.

=== CRITICAL ENVIRONMENT & TARGET CLASSIFICATION ===
Set 'TerminalError' to a descriptive error message ONLY if:
1. The execution failed due to missing hardware device nodes, subsystems, kernel modules, or privilege limits
   that cannot be loaded, created, or bypassed by user-space C code edits in the VM guest.
2. The target source files or functions described in the bug description do not exist in the checked-out codebase,
   meaning the codebase version is mismatched and the target code is absent.

=== CRITICAL PROHIBITIONS ===
- Do NOT classify a run as a terminal failure or assume a bug is fixed based on git log entries, commit titles,
  or commit messages. Reproducibility can ONLY be determined by executing reproducer candidates in the VM.
- Do NOT suggest C code strategies, repairs, or namespace bypasses when setting 'TerminalError'.


=== PHASE 2: BUG REPRODUCTION (EVALUATION) ===
The executed program was a full reproducer candidate attempting to trigger the target bug/crash.
Use this to guide your classification and feedback:
1. If a crash was triggered (Reproduced is true):
   - Determine if the triggered crash matches the expected bug.
   - If you conclude they represent the same underlying bug (the same root cause)
     despite different titles, crash signatures, or call traces, set TitleMatches
     to true and provide a detailed, technical, and verbose explanation of the
     equivalence in the 'Feedback' field.
   - If they do not represent the same bug (a completely unrelated crash/collision),
     set TitleMatches to false and explain the collision in 'Feedback'.
   - If they match exactly, set TitleMatches to true and provide a brief confirmation in 'Feedback'.
2. If the execution was successful (exit 0) WITHOUT a crash (Reproduced is false):
   - The reproduction attempt failed to trigger the bug. Analyze the console/strace output
     to understand why the bug did not trigger (e.g., timing, input arguments, environment setup)
     and provide feedback on how to improve the reproducer logic to trigger the crash.

Critical Diagnostic Rule for Reproduction Failures:
If the reproduction attempt fails (e.g., a system call returns an error, or a
warning/error message appears in the console log), you MUST:
1. Identify the failing system call from the execution trace or strace output.
2. Identify any corresponding warning or error messages in the console log.
3. Provide a clear technical diagnosis in the feedback identifying the failing call,
   return code (errno), and error messages so the strategy-refiner can analyze the root cause.


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:
Bug Description: WARNING: zero-size vmalloc in trace_suspend_resume

------------[ 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..

IsProbe: false
Reproduced: true
Console Output: [   62.737830][   T33] kauditd_printk_skb: 10 callbacks suppressed
[   62.737840][   T33] audit: type=1400 audit(1789435034.682:203): avc:  denied  { transition } for  pid=5819 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.747663][   T33] audit: type=1400 audit(1789435034.692:204): avc:  denied  { noatsecure } for  pid=5819 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.754171][   T33] audit: type=1400 audit(1789435034.692:205): avc:  denied  { rlimitinh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[   62.760511][   T33] audit: type=1400 audit(1789435034.692:206): avc:  denied  { siginh } for  pid=5819 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
Warning: Permanently added '[localhost]:64319' (ED25519) to the list of known hosts.
[   65.071810][ T5834] zram: Added device: zram1
[   65.074294][ T5834] ------------[ cut here ]------------
[   65.076094][ T5834] !size
[   65.076101][ T5834] WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730, CPU#0: syz-executor385/5834
[   65.080176][ T5834] Modules linked in:
[   65.081431][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.084223][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.088265][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.090586][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.096311][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.098038][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.100373][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.102623][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.104839][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.107359][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.109816][ T5834] FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
[   65.112325][ T5834] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   65.114140][ T5834] CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
[   65.116638][ T5834] Call Trace:
[   65.117624][ T5834]  <TASK>
[   65.118480][ T5834]  ? disksize_store+0x94/0x400
[   65.119837][ T5834]  ? disksize_store+0x94/0x400
[   65.121267][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.123076][ T5834]  ? down_write+0x16d/0x200
[   65.124394][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.126065][ T5834]  ? disksize_store+0xf0/0x400
[   65.127707][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.129034][ T5834]  ? disksize_store+0xf0/0x400
[   65.130469][ T5834]  disksize_store+0xf0/0x400
[   65.131768][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.133172][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.134647][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.136648][ T5834]  vfs_write+0x612/0xba0
[   65.137889][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.139267][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.140693][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.142118][ T5834]  ? fd_install+0x94/0x3d0
[   65.143436][ T5834]  ksys_write+0x150/0x270
[   65.144693][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.146572][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.148364][ T5834]  do_syscall_64+0x174/0x580
[   65.149711][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.151192][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.152556][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.154243][ T5834] RIP: 0033:0x7fe0771760f7
[   65.155793][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.161257][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.163607][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.166315][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.168564][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.170809][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.173013][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.175280][ T5834]  </TASK>
[   65.176314][ T5834] Kernel panic - not syncing: kernel: panic_on_warn set ...
[   65.178360][ T5834] CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
[   65.181059][ T5834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   65.183899][ T5834] Call Trace:
[   65.184869][ T5834]  <TASK>
[   65.185751][ T5834]  vpanic+0x56c/0xa60
[   65.186919][ T5834]  ? __pfx__printk+0x10/0x10
[   65.188257][ T5834]  ? __pfx_vpanic+0x10/0x10
[   65.189581][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.191082][ T5834]  ? is_bpf_text_address+0x26/0x2b0
[   65.192587][ T5834]  panic+0xc5/0xd0
[   65.193667][ T5834]  ? __pfx_panic+0x10/0x10
[   65.194974][ T5834]  __warn+0x315/0x4c0
[   65.196125][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.197876][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.199677][ T5834]  __report_bug+0x276/0x570
[   65.201029][ T5834]  ? is_bpf_text_address+0x292/0x2b0
[   65.202559][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.204315][ T5834]  ? __pfx___report_bug+0x10/0x10
[   65.205764][ T5834]  ? unwind_get_return_address+0x4d/0x90
[   65.207384][ T5834]  ? __pfx_stack_trace_consume_entry+0x10/0x10
[   65.209135][ T5834]  ? arch_stack_walk+0xfb/0x150
[   65.210602][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.212355][ T5834]  report_bug+0x16a/0x220
[   65.213623][ T5834]  ? __vmalloc_node_range_noprof+0x16f8/0x1730
[   65.215380][ T5834]  ? __vmalloc_node_range_noprof+0x16fa/0x1730
[   65.217129][ T5834]  handle_bug+0x9c/0x200
[   65.218371][ T5834]  exc_invalid_op+0x1a/0x50
[   65.219677][ T5834]  asm_exc_invalid_op+0x1a/0x20
[   65.221084][ T5834] RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730
[   65.222993][ T5834] Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
[   65.228453][ T5834] RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
[   65.230173][ T5834] RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
[   65.232407][ T5834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   65.234669][ T5834] RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
[   65.236914][ T5834] R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
[   65.239189][ T5834] R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
[   65.241453][ T5834]  ? __vmalloc_node_range_noprof+0x16f7/0x1730
[   65.243236][ T5834]  ? disksize_store+0x94/0x400
[   65.244604][ T5834]  ? disksize_store+0x94/0x400
[   65.245982][ T5834]  ? __pfx___vmalloc_node_range_noprof+0x10/0x10
[   65.247812][ T5834]  ? down_write+0x16d/0x200
[   65.249113][ T5834]  ? __pfx_down_write+0x10/0x10
[   65.250494][ T5834]  ? disksize_store+0xf0/0x400
[   65.251858][ T5834]  vzalloc_noprof+0xb2/0xe0
[   65.253168][ T5834]  ? disksize_store+0xf0/0x400
[   65.254529][ T5834]  disksize_store+0xf0/0x400
[   65.255830][ T5834]  ? sysfs_kf_write+0x166/0x260
[   65.257204][ T5834]  ? __pfx_sysfs_kf_write+0x10/0x10
[   65.258668][ T5834]  kernfs_fop_write_iter+0x3a4/0x540
[   65.260178][ T5834]  vfs_write+0x612/0xba0
[   65.261407][ T5834]  ? __pfx_vfs_write+0x10/0x10
[   65.262773][ T5834]  ? do_sys_openat2+0x14e/0x200
[   65.264166][ T5834]  ? kmem_cache_free+0x182/0x650
[   65.265580][ T5834]  ? fd_install+0x94/0x3d0
[   65.266866][ T5834]  ksys_write+0x150/0x270
[   65.268102][ T5834]  ? __pfx_ksys_write+0x10/0x10
[   65.269522][ T5834]  ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.271274][ T5834]  do_syscall_64+0x174/0x580
[   65.272602][ T5834]  ? trace_irq_disable+0x3b/0x140
[   65.274029][ T5834]  ? clear_bhb_loop+0x70/0xc0
[   65.275373][ T5834]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   65.277048][ T5834] RIP: 0033:0x7fe0771760f7
[   65.278327][ T5834] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
[   65.283817][ T5834] RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   65.286189][ T5834] RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
[   65.288464][ T5834] RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
[   65.290728][ T5834] RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
[   65.292970][ T5834] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
[   65.295188][ T5834] R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
[   65.297415][ T5834]  </TASK>
[   65.298998][ T5834] Kernel Offset: disabled
[   65.300276][ T5834] Rebooting in 86400 seconds..

Strace Output: 
Crash Report: zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>



180/4 2026/09/15 01:17 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12035
							output: 157
							thoughts: 1195
						

Thoughts:
**Analysis of the Linux Kernel Bug Reproducer**

My task was to analyze the results of a reproducer for a Linux kernel bug. The bug was initially reported with the title "WARNING: zero-size vmalloc in trace_suspend_resume," and I was provided with an original call trace and a crash report from the reproducer.

Upon examining the provided information, I first compared the original call trace with the crash report. I observed that the core path leading to the issue was identical in both: `disksize_store` -> `zram_meta_alloc` -> `vzalloc_noprof` -> `__vmalloc_node_range_noprof`. While there were some minor differences, such as architecture-specific variations and the presence or absence of certain inline functions, the fundamental sequence of function calls was precisely the same.

The original bug title mentioned `trace_suspend_resume`. However, my analysis of the call traces revealed that this was likely a misattribution by the syzbot parser. The actual crash occurred within `__vmalloc_node_range_noprof` and was triggered by the `disksize_store` operation. The `trace_suspend_resume` in the original trace appeared to be an artifact of the panic handling path itself, specifically the `vpanic` -> `trace_suspend_resume` -> `panic` sequence.

I then revisited the original trace with this understanding. I confirmed that the warning indeed originated from `__vmalloc_node_range_noprof` at a specific line number. The syzbot's interpretation of the panic trace, which resolved some addresses in a way that led to `trace_suspend_resume`, was misleading. The genuine root cause was a zero-size vmalloc invoked by `zram_meta_alloc` when `disksize_store` was executed.

The reproducer was successful because it managed to trigger this exact same bug, validating the initial report and my interpretation of the call traces. The reproducer confirmed that the issue wasn't with `trace_suspend_resume` but rather the zero-size vmalloc within the `zram` subsystem, initiated via the `disksize_store` mechanism.

Based on this analysis, I concluded that the reproducer had successfully triggered the target bug. The original title was a consequence of how syzbot's parser interpreted the stack unwinding during a panic, leading to a misattribution. The actual bug – a zero-size vmalloc in `zram_meta_alloc` via `disksize_store` – was accurately reproduced. Therefore, I determined that `TitleMatches` should be set to `true`. Since this was a reproducer, not an attempted probe, `ProbePassed` was `false`, and there was no `TerminalError`.


181/4 2026/09/15 01:17 tool set-results
0m Args:
map[Feedback:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. ProbePassed:false TerminalError: TitleMatches:true]

Results:
map[Feedback:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. ProbePassed:false TerminalError: TitleMatches:true]

182/3 2026/09/15 01:17 action loop-controller
0m Results:
map[CapabilitiesVerified:true ContinueSignal: EquivalenceAnalysis:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. OracleFeedback:The reproducer successfully triggered the target bug. The original bug title "WARNING: zero-size vmalloc in trace_suspend_resume" was a misattribution by the syzbot parser due to stack unwinding artifacts during the panic path (resolving an address to `trace_suspend_resume` instead of `panic`). The actual root cause is a zero-size vmalloc in `__vmalloc_node_range_noprof` triggered by `zram_meta_alloc` via `disksize_store`. The reproducer successfully hit this exact path, and the call traces match perfectly. ReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

int main(void)
{
    int fd;
    char buf[256];
    int zram_id = -1;

    // 1. Try to create a new uninitialized zram device
    fd = open("/sys/class/zram-control/hot_add", O_RDONLY);
    if (fd < 0) {
        printf("[-] Failed to open /sys/class/zram-control/hot_add: %s\n", strerror(errno));
        // Fallback to zram0
        zram_id = 0;
        
        // Reset the device in case it is already initialized
        fd = open("/sys/block/zram0/reset", O_WRONLY);
        if (fd >= 0) {
            if (write(fd, "1", 1) < 0) {
                printf("[-] Failed to write to /sys/block/zram0/reset: %s\n", strerror(errno));
            } else {
                printf("[+] Reset zram0 successful.\n");
            }
            close(fd);
        } else {
            printf("[-] Failed to open /sys/block/zram0/reset: %s\n", strerror(errno));
        }
    } else {
        int n = read(fd, buf, sizeof(buf) - 1);
        if (n > 0) {
            buf[n] = '\0';
            zram_id = atoi(buf);
            printf("[+] Created new zram device with id: %d\n", zram_id);
        } else {
            printf("[-] Failed to read from hot_add: %s\n", strerror(errno));
            exit(1);
        }
        close(fd);
    }

    // 2. Write 0xffffffffffffffff to disksize to trigger PAGE_ALIGN overflow
    snprintf(buf, sizeof(buf), "/sys/block/zram%d/disksize", zram_id);
    fd = open(buf, O_WRONLY);
    if (fd < 0) {
        printf("[-] Failed to open %s: %s\n", buf, strerror(errno));
        exit(1);
    }
    printf("[+] Opened %s successfully.\n", buf);

    const char *val = "0xffffffffffffffff";
    if (write(fd, val, strlen(val)) < 0) {
        printf("[-] Failed to write to %s: %s\n", buf, strerror(errno));
        close(fd);
        exit(1);
    }
    printf("[+] Wrote %s to %s successfully.\n", val, buf);

    close(fd);
    
    // Sleep to allow any asynchronous warnings to trigger, though this should be synchronous.
    sleep(1);
    
    return 0;
}
 Reproduced:true ReproducedBugTitle:WARNING: zero-size vmalloc in disksize_store ReproducedCrashReport:zram: Added device: zram1
------------[ cut here ]------------
!size
WARNING: mm/vmalloc.c:4037 at __vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037, CPU#0: syz-executor385/5834
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor385 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__vmalloc_node_range_noprof+0x16f8/0x1730 mm/vmalloc.c:4037
Code: e8 2d 31 11 00 80 23 df 48 8b 44 24 68 42 80 3c 38 00 74 08 4c 89 f7 e8 16 31 11 00 49 8b 1e e9 22 ff ff ff e8 89 13 a4 ff 90 <0f> 0b 90 e9 12 ff ff ff e8 bb 42 95 09 e8 76 13 a4 ff 90 0f 0b e8
RSP: 0018:ffffc900033cf9c0 EFLAGS: 00010293
RAX: ffffffff82214187 RBX: 0000000000000000 RCX: ffff88818f39cb00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033cfb88 R08: 0000000000000dc0 R09: 8000000000000163
R10: dffffc0000000000 R11: ffffed102239250a R12: dffffc0000000000
R13: 0000000000000dc0 R14: ffffc90000000000 R15: dffffc0000000000
FS:  00005555919be400(0000) GS:ffff8881a50d6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555919c0768 CR3: 0000000107a83000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __vmalloc_node_noprof mm/vmalloc.c:4165 [inline]
 vzalloc_noprof+0xb2/0xe0 mm/vmalloc.c:4243
 zram_meta_alloc drivers/block/zram/zram_drv.c:1990 [inline]
 disksize_store+0xf0/0x400 drivers/block/zram/zram_drv.c:2880
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0771760f7
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd4adbb3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555919be400 RCX: 00007fe0771760f7
RDX: 0000000000000012 RSI: 00007fe0771b1a84 RDI: 0000000000000003
RBP: 00007ffd4adbb410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe0771b1a84
R13: 0000000000000002 R14: 00007fe0771d8cc0 R15: 0000000000000002
 </TASK>
]

183/1 2026/09/15 01:17 action save-repro-c
0m Results:
map[]

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)