page_owner: print stacks and their counter
Subsystems (4)
cover page_owner: print stacks and their counter
Hi,
page_owner is a great debug functionality tool that gets us to know about all pages that have been allocated/freed and their stacktrace. This comes very handy when e.g: debugging leaks, as with some scripting we might be able to see those stacktraces that are allocating pages but not freeing theme.
In my experience, that is one of the most useful cases, but it can get really tedious to screen through all pages aand try to reconstruct the stack <-> allocated/freed relationship. There is a lot of noise to cancel off.
This patch aims to fix that by adding a new functionality into page_owner. What this does is to create a new read-only file "page_owner_stacks", which prints only the allocating stacktraces and their counting, being that the times the stacktrace has allocated - the times it has freed.
So we have a clear overview of stacks <-> allocated/freed relationship without the need to fiddle with pages and trying to match free stacktraces with allocated stacktraces.
This is achieved by adding a new refcount_t field in the stack_record struct, incrementing that refcount_t everytime the same stacktrace allocates, and decrementing it when it frees a page. Details can be seen in the respective patches.
We also create another file called "page_owner_threshold", which let us specify a threshold, so when when reading from "page_owner_stacks", we will only see those stacktraces which counting goes beyond the threshold we specified.
A PoC can be found below:
# cat /sys/kernel/debug/page_owner_threshold 0 # cat /sys/kernel/debug/page_owner_stacks > stacks_full.txt # head -32 stacks_full.txt prep_new_page+0x10d/0x180 get_page_from_freelist+0x1bd6/0x1e10 __alloc_pages+0x194/0x360 alloc_page_interleave+0x13/0x90 new_slab+0x31d/0x530 ___slab_alloc+0x5d7/0x720 __slab_alloc.isra.85+0x4a/0x90 kmem_cache_alloc+0x455/0x4a0 acpi_ps_alloc_op+0x57/0x8f acpi_ps_create_scope_op+0x12/0x23 acpi_ps_execute_method+0x102/0x2c1 acpi_ns_evaluate+0x343/0x4da acpi_evaluate_object+0x1cb/0x392 acpi_run_osc+0x135/0x260 acpi_init+0x165/0x4ed do_one_initcall+0x3e/0x200 stack count: 2
free_pcp_prepare+0x287/0x5c0 free_unref_page+0x1c/0xd0 __mmdrop+0x50/0x160 finish_task_switch+0x249/0x2b0 __schedule+0x2c3/0x960 schedule+0x44/0xb0 futex_wait_queue+0x70/0xd0 futex_wait+0x160/0x250 do_futex+0x11c/0x1b0 __x64_sys_futex+0x5e/0x1d0 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
stack count: 1
# echo 10000 > /sys/kernel/debug/page_owner_threshold # cat /sys/kernel/debug/page_owner_stacks > stacks_10000.txt # cat stacks_10000.txt prep_new_page+0x10d/0x180 get_page_from_freelist+0x1bd6/0x1e10 __alloc_pages+0x194/0x360 folio_alloc+0x17/0x40 page_cache_ra_unbounded+0x96/0x170 filemap_get_pages+0x23d/0x5e0 filemap_read+0xbf/0x3a0 __kernel_read+0x136/0x2f0 kernel_read_file+0x197/0x2d0 kernel_read_file_from_fd+0x54/0x90 __do_sys_finit_module+0x89/0x120 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd stack count: 36195
prep_new_page+0x10d/0x180 get_page_from_freelist+0x1bd6/0x1e10 __alloc_pages+0x194/0x360 folio_alloc+0x17/0x40 page_cache_ra_unbounded+0x96/0x170 filemap_get_pages+0x23d/0x5e0 filemap_read+0xbf/0x3a0 new_sync_read+0x106/0x180 vfs_read+0x16f/0x190 ksys_read+0xa5/0xe0 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
stack count: 44484
prep_new_page+0x10d/0x180 get_page_from_freelist+0x1bd6/0x1e10 __alloc_pages+0x194/0x360 folio_alloc+0x17/0x40 page_cache_ra_unbounded+0x96/0x170 filemap_get_pages+0xdd/0x5e0 filemap_read+0xbf/0x3a0 new_sync_read+0x106/0x180 vfs_read+0x16f/0x190 ksys_read+0xa5/0xe0 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
stack count: 17874
Oscar Salvador (3):
lib/stackdepot: Add a refcount field in stack_record
mm, page_owner: Add page_owner_stacks file to print out only stacks
and their counter
mm,page_owner: Filter out stacks by a threshold counter
include/linux/stackdepot.h | 16 ++++- lib/stackdepot.c | 121 ++++++++++++++++++++++++++++++++----- mm/kasan/common.c | 3 +- mm/page_owner.c | 102 +++++++++++++++++++++++++++++-- 4 files changed, 222 insertions(+), 20 deletions(-)
Signature · 1 line
2.35.3
PATCH 1/3 lib/stackdepot: Add a refcount field in stack_record
We want to filter out page_owner output and print only those stacks that have been repeated beyond a certain threshold. This gives us the chance to get rid of a lot of noise.
In order to do that, we need to keep track of how many repeated stacks (for allocation) do we have, so we add a new refcount_t field in the stack_record struct.
Note that on __set_page_owner_handle(), page_owner->handle is set, and on __reset_page_owner(), page_owner->free_handle is set.
We are interested in page_owner->handle, so when __set_page_owner() gets called, we derive the stack_record struct from page_owner->handle, and we increment its refcount_t field; and when __reset_page_owner() gets called, we derive its stack_record from page_owner->handle() and we decrement its refcount_t field.
This is a preparation for patch#2.
--- include/linux/stackdepot.h | 13 ++++++- lib/stackdepot.c | 79 +++++++++++++++++++++++++++++++------- mm/kasan/common.c | 3 +- mm/page_owner.c | 13 +++++-- 4 files changed, 88 insertions(+), 20 deletions(-)
include/linux/stackdepot.h +12 -1
@@ -15,9 +15,16 @@typedef u32 depot_stack_handle_t ; +typedef enum stack_action { +STACK_ACTION_NONE , +STACK_ACTION_INC , +}stack_action_t ; +depot_stack_handle_t __stack_depot_save (unsigned long *entries,unsigned int nr_entries, -gfp_t gfp_flags,bool can_alloc); +gfp_t gfp_flags,bool can_alloc, +stack_action_t action); +void stack_depot_dec_count (depot_stack_handle_t handle);/* * Every user of stack depot has to call stack_depot_init() during its own init
@@ -55,6 +62,10 @@ static inline int stack_depot_early_init(void) { return 0; }depot_stack_handle_t stack_depot_save (unsigned long *entries,unsigned int nr_entries,gfp_t gfp_flags); +depot_stack_handle_t stack_depot_save_action (unsigned long *entries, +unsigned int nr_entries, +gfp_t gfp_flags, +stack_action_t action);unsigned int stack_depot_fetch (depot_stack_handle_t handle,unsigned long **entries);
lib/stackdepot.c +65 -14
134 lines not on this page · raw message
mm/kasan/common.c +2 -1
@@ -36,7 +36,8 @@ depot_stack_handle_t kasan_save_stack(gfp_t flags, bool can_alloc)unsigned int nr_entries; nr_entries =stack_trace_save (entries,ARRAY_SIZE (entries),0 ); -return __stack_depot_save (entries, nr_entries, flags, can_alloc); +return __stack_depot_save (entries, nr_entries, flags, can_alloc, +STACK_ACTION_NONE ); }void kasan_set_track (struct kasan_track *track,gfp_t flags)
mm/page_owner.c +9 -4
@@ -106,7 +106,7 @@ static inline struct page_owner *get_page_owner(struct page_ext *page_ext)return (void *)page_ext + page_owner_ops.offset; } -static noinline depot_stack_handle_t save_stack(gfp_t flags) +static noinline depot_stack_handle_t save_stack(gfp_t flags, stack_action_t action) {unsigned long entries[PAGE_OWNER_STACK_DEPTH ];depot_stack_handle_t handle;
@@ -125,7 +125,7 @@ static noinline depot_stack_handle_t save_stack(gfp_t flags) current->in_page_owner =1 ; nr_entries =stack_trace_save (entries,ARRAY_SIZE (entries),2 ); - handle =stack_depot_save (entries, nr_entries, flags); + handle =stack_depot_save_action (entries, nr_entries, flags, action);if (!handle) handle = failure_handle;
@@ -138,6 +138,7 @@ void __reset_page_owner(struct page *page, unsigned short order)int i;struct page_ext *page_ext;depot_stack_handle_t handle; +depot_stack_handle_t alloc_handle;struct page_owner *page_owner;u64 free_ts_nsec =local_clock ();
@@ -145,7 +146,10 @@ void __reset_page_owner(struct page *page, unsigned short order)if (unlikely (!page_ext))return ; - handle =save_stack (GFP_NOWAIT | __GFP_NOWARN); + page_owner =get_page_owner (page_ext); + alloc_handle = page_owner->handle; + + handle =save_stack (GFP_NOWAIT | __GFP_NOWARN,STACK_ACTION_NONE );for (i =0 ; i < (1 << order); i++) {__clear_bit (PAGE_EXT_OWNER_ALLOCATED , &page_ext->flags); page_owner =get_page_owner (page_ext);
@@ -153,6 +157,7 @@ void __reset_page_owner(struct page *page, unsigned short order) page_owner->free_ts_nsec = free_ts_nsec; page_ext =page_ext_next (page_ext); } +stack_depot_dec_count (alloc_handle); } static inline void __set_page_owner_handle(struct page_ext *page_ext,
@@ -189,7 +194,7 @@ noinline void __set_page_owner(struct page *page, unsigned short order,if (unlikely (!page_ext))return ; - handle =save_stack (gfp_mask); + handle =save_stack (gfp_mask,STACK_ACTION_INC );__set_page_owner_handle (page_ext, handle, order, gfp_mask); }
Signature · 1 line
2.35.3
Re: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
Quoted 16 lines · Oscar Salvador
We want to filter out
page_owneroutput and print only those stacks that have been repeated beyond a certain threshold. This gives us the chance to get rid of a lot of noise.
In order to do that, we need to keep track of how many repeated stacks (for allocation) do we have, so we add a newrefcount_tfield in thestack_recordstruct.Note that on
__set_page_owner_handle(),page_owner->handleis set, and on__reset_page_owner(),page_owner->free_handleis set.We are interested in
page_owner->handle, so when__set_page_owner()gets called, we derive thestack_recordstruct frompage_owner->handle, and we increment itsrefcount_tfield; and when__reset_page_owner()gets called, we derive itsstack_recordfrompage_owner->handle()and we decrement itsrefcount_tfield.
Quoted 7 lines
This is a preparation for patch#2.
Signed-off-by Oscar Salvador <[email protected]>--- include/linux/stackdepot.h | 13 ++++++- lib/stackdepot.c | 79 +++++++++++++++++++++++++++++++------- mm/kasan/common.c | 3 +-
+Cc other kasan maintainers
Quoted 8 lines
mm/page_owner.c | 13 +++++-- 4 files changed, 88 insertions(+), 20 deletions(-)include/linux/stackdepot.h +0
-0
include/linux/stackdepot.h line 22
Quoted 8 lines
include/linux/stackdepot.h +5
-0@@ -15,9 +15,16 @@typedef u32 depot_stack_handle_t ; +typedef enum stack_action { +STACK_ACTION_NONE , +STACK_ACTION_INC , +}stack_action_t ; +
missing space after '}'. But please no unnecessary typedef, just 'enum stack_action' (and spelling out 'enum stack_action' elsewhere) is just fine.
This is in the global namespace, so I'd call this
stack_depot_action+STACK_DEPOT_ACTION_*.
However, .._ACTION_INC doesn't really say what's incremented. As an analog to stack_depot_dec_count(), perhaps .._ACTION_COUNT?
In general it'd be nicer if there was stack_depot_inc_count() instead of this additional argument, but I see that for performance reasons you might not like that?
Quoted 25 lines
include/linux/stackdepot.h +7
-1depot_stack_handle_t __stack_depot_save (unsigned long *entries,unsigned int nr_entries, -gfp_t gfp_flags,bool can_alloc); +gfp_t gfp_flags,bool can_alloc, +stack_action_t action); +void stack_depot_dec_count (depot_stack_handle_t handle);/* * Every user of stack depot has to call stack_depot_init() during its own init @@ -55,6 +62,10 @@ static inline int stack_depot_early_init(void) { return 0; }depot_stack_handle_t stack_depot_save (unsigned long *entries,unsigned int nr_entries,gfp_t gfp_flags); +depot_stack_handle_t stack_depot_save_action (unsigned long *entries, +unsigned int nr_entries, +gfp_t gfp_flags, +stack_action_t action);unsigned int stack_depot_fetch (depot_stack_handle_t handle,unsigned long **entries);lib/stackdepot.c +0
-0
lib/stackdepot.c struct stack_record { · line 66
Quoted 4 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */
This will increase stack_record size for every user, even if they don't care about the count.
Is there a way to store this out-of-line somewhere?
Quoted 77 lines
lib/stackdepot.c +32
-11unsigned long entries[];/* Variable-sized array of entries. */ };@@ -139,6 +140,7 @@ depot_alloc_stack(unsigned long *entries, int size, u32 hash, void **prealloc) stack->handle.slabindex = depot_index; stack->handle.offset = depot_offset >>STACK_ALLOC_ALIGN ; stack->handle.valid =1 ; +refcount_set (&stack->count,1 );memcpy (stack->entries, entries,flex_array_size (stack, entries, size)); depot_offset += required_size;@@ -302,6 +304,29 @@ void stack_depot_print(depot_stack_handle_t stack) }EXPORT_SYMBOL_GPL (stack_depot_print); +static struct stack_record *stack_depot_getstack (depot_stack_handle_t handle) +{ +union handle_parts parts = { .handle = handle }; +void *slab; +size_t offset = parts.offset <<STACK_ALLOC_ALIGN ; +struct stack_record *stack; + +if (!handle) +return NULL ; + +if (parts.slabindex > depot_index) { +WARN (1 ,"slab index %d out of bounds (%d) for stack id %08x\n" , + parts.slabindex, depot_index, handle); +return NULL ; + } + slab = stack_slabs[parts.slabindex]; +if (!slab) +return NULL ; + + stack = slab + offset; +return stack; +} +/** * stack_depot_fetch - Fetch stack entries from a depot * @@ -314,30 +339,42 @@ EXPORT_SYMBOL_GPL(stack_depot_print);unsigned int stack_depot_fetch (depot_stack_handle_t handle,unsigned long **entries) { -union handle_parts parts = { .handle = handle }; -void *slab; -size_t offset = parts.offset <<STACK_ALLOC_ALIGN ;struct stack_record *stack; *entries =NULL ;if (!handle)return 0 ; -if (parts.slabindex > depot_index) { -WARN (1 ,"slab index %d out of bounds (%d) for stack id %08x\n" , - parts.slabindex, depot_index, handle); -return 0 ; - } - slab = stack_slabs[parts.slabindex]; -if (!slab) + stack =stack_depot_getstack (handle); +if (!stack)return 0 ; - stack = slab + offset; *entries = stack->entries;return stack->size; }EXPORT_SYMBOL_GPL (stack_depot_fetch); +static void stack_depot_inc_count (struct stack_record *stack) +{ +refcount_inc (&stack->count); +} + +void stack_depot_dec_count (depot_stack_handle_t handle)
lib/stackdepot.c EXPORT_SYMBOL_GPL(stack_depot_print); · line 372
Quoted 10 lines
lib/stackdepot.c +10
-0+{ +struct stack_record *stack =NULL ; + + stack =stack_depot_getstack (handle); +if (stack) { +/* +* page_owner creates some stacks via create_dummy_stack(). +* We are not interested in those, so make sure we only decrement +* "valid" stacks. +*/
Comment indent is wrong.
Quoted 124 lines
lib/stackdepot.c +22
-3+if (refcount_read (&stack->count) >1 ) +refcount_dec (&stack->count); + } +} +/** * __stack_depot_save - Save a stack trace from an array * @@ -363,7 +400,8 @@ EXPORT_SYMBOL_GPL(stack_depot_fetch);*/ depot_stack_handle_t __stack_depot_save (unsigned long *entries,unsigned int nr_entries, -gfp_t alloc_flags,bool can_alloc) +gfp_t alloc_flags,bool can_alloc, +stack_action_t action) {struct stack_record *found =NULL , **bucket;depot_stack_handle_t retval =0 ;@@ -449,8 +487,11 @@ depot_stack_handle_t __stack_depot_save(unsigned long *entries,/* Nobody used this memory, ok to free it. */ free_pages ((unsigned long )prealloc,STACK_ALLOC_ORDER ); } -if (found) +if (found) { retval = found->handle.handle; +if (action ==STACK_ACTION_INC ) +stack_depot_inc_count (found); + } fast_exit:return retval; }@@ -472,6 +513,16 @@ depot_stack_handle_t stack_depot_save(unsigned long *entries,unsigned int nr_entries, gfp_t alloc_flags) { - return __stack_depot_save(entries, nr_entries, alloc_flags, true); + return __stack_depot_save(entries, nr_entries, alloc_flags, true, +STACK_ACTION_NONE ); }EXPORT_SYMBOL_GPL (stack_depot_save); + +depot_stack_handle_t stack_depot_save_action (unsigned long *entries, +unsigned int nr_entries, +gfp_t alloc_flags, +stack_action_t action) +{ +return __stack_depot_save (entries, nr_entries, alloc_flags, true, action); +} +EXPORT_SYMBOL_GPL (stack_depot_save_action);mm/kasan/common.c +2
-1@@ -36,7 +36,8 @@ depot_stack_handle_t kasan_save_stack(gfp_t flags, bool can_alloc)unsigned int nr_entries; nr_entries =stack_trace_save (entries,ARRAY_SIZE (entries),0 ); -return __stack_depot_save (entries, nr_entries, flags, can_alloc); +return __stack_depot_save (entries, nr_entries, flags, can_alloc, +STACK_ACTION_NONE ); }void kasan_set_track (struct kasan_track *track,gfp_t flags)mm/page_owner.c +9
-4@@ -106,7 +106,7 @@ static inline struct page_owner *get_page_owner(struct page_ext *page_ext)return (void *)page_ext + page_owner_ops.offset; } -static noinline depot_stack_handle_t save_stack(gfp_t flags) +static noinline depot_stack_handle_t save_stack(gfp_t flags, stack_action_t action) {unsigned long entries[PAGE_OWNER_STACK_DEPTH ];depot_stack_handle_t handle;@@ -125,7 +125,7 @@ static noinline depot_stack_handle_t save_stack(gfp_t flags) current->in_page_owner =1 ; nr_entries =stack_trace_save (entries,ARRAY_SIZE (entries),2 ); - handle =stack_depot_save (entries, nr_entries, flags); + handle =stack_depot_save_action (entries, nr_entries, flags, action);if (!handle) handle = failure_handle;@@ -138,6 +138,7 @@ void __reset_page_owner(struct page *page, unsigned short order)int i;struct page_ext *page_ext;depot_stack_handle_t handle; +depot_stack_handle_t alloc_handle;struct page_owner *page_owner;u64 free_ts_nsec =local_clock ();@@ -145,7 +146,10 @@ void __reset_page_owner(struct page *page, unsigned short order)if (unlikely (!page_ext))return ; - handle =save_stack (GFP_NOWAIT | __GFP_NOWARN); + page_owner =get_page_owner (page_ext); + alloc_handle = page_owner->handle; + + handle =save_stack (GFP_NOWAIT | __GFP_NOWARN,STACK_ACTION_NONE );for (i =0 ; i < (1 << order); i++) {__clear_bit (PAGE_EXT_OWNER_ALLOCATED , &page_ext->flags); page_owner =get_page_owner (page_ext);@@ -153,6 +157,7 @@ void __reset_page_owner(struct page *page, unsigned short order) page_owner->free_ts_nsec = free_ts_nsec; page_ext =page_ext_next (page_ext); } +stack_depot_dec_count (alloc_handle); } static inline void __set_page_owner_handle(struct page_ext *page_ext,@@ -189,7 +194,7 @@ noinline void __set_page_owner(struct page *page, unsigned short order,if (unlikely (!page_ext))return ; - handle =save_stack (gfp_mask); + handle =save_stack (gfp_mask,STACK_ACTION_INC );__set_page_owner_handle (page_ext, handle, order, gfp_mask); }Signature · 1 line
2.35.3
Michal Hocko
reviewerRe: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
Quoted 1 line · Marco Elver
On Thu, Sep 01, 2022 at 06:42AM +0200, Oscar Salvador wrote:
[...]
Quoted 4 lines
Quoted 4 lines
lib/stackdepot.c +0
-0
Quoted 8 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 5 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.
Couldn't this be used for garbage collection?
Signature · 2 lines
Michal Hocko SUSE Labs
Re: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
Quoted 17 lines · Michal Hocko
Quoted 1 line · Marco Elver
On Thu, Sep 01, 2022 at 06:42AM +0200, Oscar Salvador wrote:
[...]
Quoted 4 lines
Quoted 4 lines
lib/stackdepot.c +0
-0Quoted 8 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 5 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.
Quoted 1 line
Couldn't this be used for garbage collection?
Only if we can precisely figure out at which point a stack is no longer going to be needed.
But more realistically, stack depot was designed to be simple. Right now it can allocate new stacks (from an internal pool), but giving the memory back to that pool isn't supported. Doing garbage collection would effectively be a redesign of stack depot. And for the purpose for which stack depot was designed (debugging tools), memory has never been an issue (note that stack depot also has a fixed upper bound on memory usage).
We had talked (in the context of KASAN) about bounded stack storage, but the preferred solution is usually a cache-based design which allows evictions (in the simplest case a ring buffer), because figuring out (and relying on) where precisely a stack will definitively no longer be required in bug reports is complex and does not guarantee the required bound on memory usage. Andrey has done the work on this for tag-based KASAN modes:
https://lore.kernel.org/all/[email protected]/
Michal Hocko
reviewerRe: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
Quoted 20 lines · Marco Elver
Quoted 17 lines · Michal Hocko
Quoted 1 line · Marco Elver
On Thu, Sep 01, 2022 at 06:42AM +0200, Oscar Salvador wrote:
[...]
Quoted 4 lines
Quoted 4 lines
lib/stackdepot.c +0
-0Quoted 8 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 5 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.Quoted 1 line
Couldn't this be used for garbage collection?
Quoted 7 lines
Only if we can precisely figure out at which point a stack is no longer going to be needed.
But more realistically, stack depot was designed to be simple. Right now it can allocate new stacks (from an internal pool), but giving the memory back to that pool isn't supported. Doing garbage collection would effectively be a redesign of stack depot.
Fair argument.
Quoted 4 lines
And for the purpose
for which stack depot was designed (debugging tools), memory has never been an issue (note that stack depot also has a fixed upper bound on memory usage).
Is the increased size really a blocker then? I see how it sucks to maintain a counter when it is not used by anything but page_owner but storing that counte externally would just add more complexity AFAICS (more allocations, more tracking etc.).
Maybe the counter can be conditional on the page_owner which would add some complexity as well (variable size structure) but at least the external allocation stuff could be avoided.
Signature · 2 lines
Michal Hocko SUSE Labs
Re: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
Quoted 37 lines · Michal Hocko
Quoted 20 lines · Marco Elver
Quoted 17 lines · Michal Hocko
Quoted 1 line · Marco Elver
On Thu, Sep 01, 2022 at 06:42AM +0200, Oscar Salvador wrote:
[...]
Quoted 4 lines
Quoted 4 lines
lib/stackdepot.c +0
-0Quoted 8 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 5 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.Quoted 1 line
Couldn't this be used for garbage collection?
Quoted 7 lines
Only if we can precisely figure out at which point a stack is no longer going to be needed.
But more realistically, stack depot was designed to be simple. Right now it can allocate new stacks (from an internal pool), but giving the memory back to that pool isn't supported. Doing garbage collection would effectively be a redesign of stack depot.
Fair argument.
Quoted 4 lines
And for the purpose
for which stack depot was designed (debugging tools), memory has never been an issue (note that stack depot also has a fixed upper bound on memory usage).
Quoted 4 lines
Is the increased size really a blocker then? I see how it sucks to maintain a counter when it is not used by anything but
page_ownerbut storing that counte externally would just add more complexity AFAICS (more allocations, more tracking etc.).
Right, I think keeping it simple is better.
Quoted 3 lines
Maybe the counter can be conditional on the
page_ownerwhich would add some complexity as well (variable size structure) but at least the external allocation stuff could be avoided.
Not sure it's needed - I just checked the size of stack_record on a x86-64 build, and it's 24 bytes. Because 'handle_parts' is 4 bytes, and refcount_t is 4 bytes, and the alignment of 'entries' being 8 bytes, even with the refcount_t, stack_record is still 24 bytes. :-)
And for me that's good enough. Maybe mentioning this in the commit message is worthwhile. Of course 32-bit builds still suffer a little, but I think we can live with that.
Andrey Konovalov
reviewerRe: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
In reply to Marco ElverQuoted 32 lines · Marco Elver
Quoted 17 lines · Michal Hocko
Quoted 1 line · Marco Elver
On Thu, Sep 01, 2022 at 06:42AM +0200, Oscar Salvador wrote:
[...]
Quoted 4 lines
Quoted 4 lines
lib/stackdepot.c +0
-0Quoted 8 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 5 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.Quoted 1 line
Couldn't this be used for garbage collection?
Only if we can precisely figure out at which point a stack is no longer going to be needed.
But more realistically, stack depot was designed to be simple. Right now it can allocate new stacks (from an internal pool), but giving the memory back to that pool isn't supported. Doing garbage collection would effectively be a redesign of stack depot. And for the purpose for which stack depot was designed (debugging tools), memory has never been an issue (note that stack depot also has a fixed upper bound on memory usage).
Quoted 8 lines
We had talked (in the context of KASAN) about bounded stack storage, but the preferred solution is usually a cache-based design which allows evictions (in the simplest case a ring buffer), because figuring out (and relying on) where precisely a stack will definitively no longer be required in bug reports is complex and does not guarantee the required bound on memory usage. Andrey has done the work on this for tag-based KASAN modes:
https://lore.kernel.org/all/[email protected]/
To be clear, the stack ring buffer implementation for the KASAN tag-based modes still uses the stack depot as a back end to store stack traces.
I plan to explore redesigning the stack depot implementation to allow evicting unneeded stack traces as the next step. (The goal is to have a memory-bounded stack depot that doesn't just stop collecting stack traces once the memory limit is reached.) Having a refcount for each saved stack trace will likely be a part of this redesign.
Re: [PATCH 1/3] lib/stackdepot: Add a refcount field in stack_record
In reply to Marco ElverQuoted 6 lines · Marco Elver
Quoted 3 lines · Oscar Salvador
include/linux/stackdepot.h | 13 ++++++- lib/stackdepot.c | 79 +++++++++++++++++++++++++++++++------- mm/kasan/common.c | 3 +-+Cc other kasan maintainers
Yeah, sorry about that, I should have CCed you guys.
Quoted 9 lines
include/linux/stackdepot.h line 22
Quoted 5 lines
include/linux/stackdepot.h +5
-0+typedef enum stack_action { +STACK_ACTION_NONE , +STACK_ACTION_INC , +}stack_action_t ; +missing space after '}'. But please no unnecessary typedef, just 'enum
stack_action' (and spelling out 'enumstack_action' elsewhere) is just fine.
Sure, will re-name it.
Quoted 6 lines
This is in the global namespace, so I'd call this
stack_depot_action+STACK_DEPOT_ACTION_*.However, .._ACTION_INC doesn't really say what's incremented. As an analog to
stack_depot_dec_count(), perhaps .._ACTION_COUNT?
I guess we can go "STACK_DEPOT_ACTION_COUNT", or "STACK_DEPOT_ACTION_REF_INC", but the latter seems rather baroque for my taste.
Quoted 3 lines
In general it'd be nicer if there was
stack_depot_inc_count()instead of this additional argument, but I see that for performance reasons you might not like that?
Yes, the first prototypes didn't have this stack_action_t thing, but that implied that we had to look for the stack twice in the __set_page_owner() case.
This way we only do that in the __reset_page_owner() case.
So yes, it's a trade-off performance vs LOC.
Quoted 11 lines
lib/stackdepot.c struct stack_record { · line 66
Quoted 7 lines
lib/stackdepot.c +1
-0@@ -63,6 +63,7 @@ struct stack_record {u32 hash;/* Hash in the hastable */ u32 size;/* Number of frames in the stack */ union handle_parts handle; +refcount_t count;/* Number of the same repeated stacks */ This will increase
stack_recordsize for every user, even if they don't care about the count.
Quoted 1 line
Is there a way to store this out-of-line somewhere?
That would require having some kind of e.g: dynamic struct and allocating new links to stacks as they were created and increase the refcount there.
But that would be too much of complexity, I think.
As I read in your other thread, we can probably live with that, but it is worth spelling out in the changelog.
Quoted 5 lines
Quoted 5 lines
lib/stackdepot.c +5
-0+void stack_depot_dec_count (depot_stack_handle_t handle) +{ +struct stack_record *stack =NULL ; + + stack =stack_depot_getstack (handle);
Quoted 8 lines
lib/stackdepot.c EXPORT_SYMBOL_GPL(stack_depot_print); · line 372
Quoted 6 lines
lib/stackdepot.c +6
-0+if (stack) { +/* +* page_owner creates some stacks via create_dummy_stack(). +* We are not interested in those, so make sure we only decrement +* "valid" stacks. +*/ Comment indent is wrong.
Will fix it.
Thanks for taking the time to review the code Marco!
Signature · 2 lines
Oscar Salvador SUSE Labs
PATCH 2/3 mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter
In reply to Oscar SalvadorWe might be only interested in knowing about stacks <-> count relationship, so instead of having to fiddle with page_owner output and screen through pfns, let us add a new file called 'page_owner_stacks' that does just that.
By cating such file, we will get all the stacktraces followed by its counter (allocated - freed times), so we can have a more specific overview.
--- include/linux/stackdepot.h | 2 ++ lib/stackdepot.c | 40 ++++++++++++++++++++++++++++++++++++++ mm/page_owner.c | 30 ++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+)
include/linux/stackdepot.h +2 -0
@@ -25,6 +25,8 @@ depot_stack_handle_t __stack_depot_save(unsigned long *entries, gfp_t gfp_flags, bool can_alloc, stack_action_t action);void stack_depot_dec_count (depot_stack_handle_t handle); +int stack_depot_print_stacks_threshold (char *buf,size_t size,loff_t *pos, +unsigned long *last_stack);/* * Every user of stack depot has to call stack_depot_init() during its own init
lib/stackdepot.c +40 -0
@@ -526,3 +526,43 @@ depot_stack_handle_t stack_depot_save_action(unsigned long *entries,return __stack_depot_save (entries, nr_entries, alloc_flags, true, action); }EXPORT_SYMBOL_GPL (stack_depot_save_action); + +int stack_depot_print_stacks_threshold (char *buf,size_t size,loff_t *pos, +unsigned long *last_stack) +{ +struct stack_record *stack =NULL , *last; +struct stack_record **stacks; +int i = *pos, ret =0 ; + +/* Continue from the last week if we have one */ +if (*last_stack) { + last = (struct stack_record *)*last_stack; + stack = last->next; + }else { +new_table: + stacks = &stack_table[i]; + stack = (struct stack_record *)stacks; + } + +for (; stack; stack = stack->next) { +if (!stack->size || stack->size <0 || + stack->size > size || stack->handle.valid !=1 || +refcount_read (&stack->count) <1 ) +continue ; + + ret +=stack_trace_snprint (buf, size, stack->entries, stack->size,0 ); + ret +=scnprintf (buf + ret, size - ret,"stack count: %d\n\n" , +refcount_read (&stack->count)); + *last_stack = (unsigned long )stack; +return ret; + } + + i++; + *pos = i; + +/* Keep looking all tables for valid stacks */ +if (i <STACK_HASH_SIZE ) + goto new_table; + +return 0 ; +}
mm/page_owner.c +30 -0
@@ -43,6 +43,8 @@ static depot_stack_handle_t early_handle;static void init_early_allocated_pages (void ); +static unsigned long last_stack =0 ; +static int __init early_page_owner_param (char *buf) {int ret =kstrtobool (buf, &page_owner_enabled);
@@ -663,6 +665,32 @@ static void init_early_allocated_pages(void)init_zones_in_node (pgdat); } +static ssize_t read_page_owner_stacks (struct file *file,char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + kbuf =kmalloc (count,GFP_KERNEL ); +if (!kbuf) +return ENOMEM ; + + ret +=stack_depot_print_stacks_threshold (kbuf, count, pos, &last_stack); +if (copy_to_user (buf, kbuf, ret)) + ret = -EFAULT ; + +if (!ret) + last_stack =0 ; + +kfree (kbuf); +return ret; +} + +static const struct file_operations proc_page_owner_stacks = { + .read = read_page_owner_stacks, +}; +static const struct file_operations proc_page_owner_operations = { .read = read_page_owner, };
@@ -676,6 +704,8 @@ static int __init pageowner_init(void)debugfs_create_file ("page_owner" ,0400 ,NULL ,NULL , &proc_page_owner_operations); +debugfs_create_file ("page_owner_stacks" ,0400 ,NULL ,NULL , + &proc_page_owner_stacks);return 0 ; }
Signature · 1 line
2.35.3
Re: [PATCH 2/3] mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter
Quoted 1 line · Oscar Salvador
+static unsigned long
last_stack= 0;
This @last_stack can just be a static local variable in the new function you wrote, read_page_owner_stacks(), since no other functions use it.
mm/page_owner.c static void init_early_allocated_pages(void) · line 677
Quoted 10 lines
mm/page_owner.c +10
-0+static ssize_t read_page_owner_stacks (struct file *file,char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + kbuf =kmalloc (count,GFP_KERNEL ); +if (!kbuf) +return ENOMEM ;
Missing a negative sign, return -ENOMEM;
Quoted 10 lines
mm/page_owner.c +10
-0+ ret +=stack_depot_print_stacks_threshold (kbuf, count, pos, &last_stack); +if (copy_to_user (buf, kbuf, ret)) + ret = -EFAULT ; + +if (!ret) + last_stack =0 ; + +kfree (kbuf); +return ret; +}
Signature · 1 line
Ammar Faizi
Re: [PATCH 2/3] mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter
Quoted 6 lines · Ammar Faizi
Quoted 1 line · Oscar Salvador
+static unsigned long
last_stack= 0;This @last_stack can just be a static local variable in the new function you wrote,
read_page_owner_stacks(), since no other functions use it.
We could certainly do that.
Quoted 13 lines
mm/page_owner.c static void init_early_allocated_pages(void) · line 677
Quoted 11 lines
mm/page_owner.c +10
-0+static ssize_t read_page_owner_stacks (struct file *file,char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + kbuf =kmalloc (count,GFP_KERNEL ); +if (!kbuf) +return ENOMEM ;Missing a negative sign, return
-ENOMEM;
Oh yes, I overlooked that.
Thanks!
Signature · 2 lines
Oscar Salvador SUSE Labs
kernel test robot
build botRe: [PATCH 2/3] mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter
In reply to Oscar SalvadorI love your patch! Yet something to improve:
Hi Oscar,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.0-rc3]
[cannot apply to akpm-mm/mm-everything next-20220901]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Oscar-Salvador/page_owner-print-stacks-and-their-counter/20220901-124408 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c5e4d5e99162ba8025d58a3af7ad103f155d2df7 config: s390-buildonly-randconfig-r001-20220901 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/18d3054fb57a70676be763adab8c8881a1baa504
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Oscar-Salvador/page_owner-print-stacks-and-their-counter/20220901-124408 git checkout 18d3054fb57a70676be763adab8c8881a1baa504
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
All errors (new ones prefixed by >>):
In file included from lib/stackdepot.c:34:
In file included from include/linux/memblock.h:13:
In file included from arch/s390/include/asm/dma.h:5:
In file included from arch/s390/include/asm/io.h:75:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __raw_readb(PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16'
#define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))
^
In file included from lib/stackdepot.c:34:
In file included from include/linux/memblock.h:13:
In file included from arch/s390/include/asm/dma.h:5:
In file included from arch/s390/include/asm/io.h:75:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32'
#define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
^
In file included from lib/stackdepot.c:34:
In file included from include/linux/memblock.h:13:
In file included from arch/s390/include/asm/dma.h:5:
In file included from arch/s390/include/asm/io.h:75:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:692:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:700:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:708:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:717:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:726:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:735:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
>> lib/stackdepot.c:603:10: error: use of undeclared identifier 'STACK_HASH_SIZE' if (i < STACK_HASH_SIZE)
^
12 warnings and 1 error generated.
vim +/STACK_HASH_SIZE +603 lib/stackdepot.c
568
569 int stack_depot_print_stacks_threshold(char *buf, size_t size, loff_t *pos,
570 unsigned long *last_stack)
571 {
572 struct stack_record *stack = NULL, *last;
573 struct stack_record **stacks;
574 int i = *pos, ret = 0;
575
576 /* Continue from the last week if we have one */
577 if (*last_stack) {
578 last = (struct stack_record *)*last_stack;
579 stack = last->next;
580 } else {
581 new_table:
582 stacks = &stack_table[i];
583 stack = (struct stack_record *)stacks;
584 }
585
586 for (; stack; stack = stack->next) {
587 if (!stack->size || stack->size < 0 ||
588 stack->size > size || stack->handle.valid != 1 ||
589 refcount_read(&stack->count) < 1)
590 continue;
591
592 ret += stack_trace_snprint(buf, size, stack->entries, stack->size, 0);
593 ret += scnprintf(buf + ret, size - ret, "stack count: %d\n\n",
594 refcount_read(&stack->count));
595 *last_stack = (unsigned long)stack;
596 return ret;
597 }
598
599 i++;
600 *pos = i;
601
602 /* Keep looking all tables for valid stacks */
> 603 if (i < STACK_HASH_SIZE)
Signature · 2 lines
0-DAY CI Kernel Test Service https://01.org/lkp
#
# Automatically generated file; DO NOT EDIT.
# Linux/s390 6.0.0-rc3 Kernel Configuration
#CONFIG_CC_VERSION_TEXT="clang version 16.0.0 (git://gitmirror/llvm_project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)" CONFIG_GCC_VERSION=0CONFIG_CC_IS_CLANG=yCONFIG_CLANG_VERSION=160000CONFIG_AS_IS_LLVM=yCONFIG_AS_VERSION=160000CONFIG_LD_IS_BFD=yCONFIG_LD_VERSION=23800CONFIG_LLD_VERSION=0CONFIG_CC_HAS_ASM_GOTO_OUTPUT=yCONFIG_CC_HAS_ASM_INLINE=yCONFIG_CC_HAS_NO_PROFILE_FN_ATTR=yCONFIG_PAHOLE_VERSION=123CONFIG_CONSTRUCTORS=yCONFIG_IRQ_WORK=yCONFIG_BUILDTIME_TABLE_SORT=yCONFIG_THREAD_INFO_IN_TASK=y
#
# General setup
#CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_WERROR is not setCONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_BUILD_SALT=""CONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_HAVE_KERNEL_LZ4=yCONFIG_HAVE_KERNEL_ZSTD=yCONFIG_HAVE_KERNEL_UNCOMPRESSED=y
# CONFIG_KERNEL_GZIP is not setCONFIG_KERNEL_BZIP2=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
# CONFIG_KERNEL_UNCOMPRESSED is not setCONFIG_DEFAULT_INIT=""CONFIG_DEFAULT_HOSTNAME="(none)"
# CONFIG_SYSVIPC is not setCONFIG_POSIX_MQUEUE=yCONFIG_WATCH_QUEUE=y
# CONFIG_CROSS_MEMORY_ATTACH is not setCONFIG_USELIB=y
# CONFIG_AUDIT is not setCONFIG_HAVE_ARCH_AUDITSYSCALL=y
#
# IRQ subsystem
#CONFIG_GENERIC_IRQ_CHIP=yCONFIG_IRQ_DOMAIN=yCONFIG_IRQ_SIM=yCONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem
CONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_TIME_KUNIT_TEST=yCONFIG_CONTEXT_TRACKING=yCONFIG_CONTEXT_TRACKING_IDLE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not setCONFIG_NO_HZ_IDLE=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
CONFIG_BPF=yCONFIG_HAVE_EBPF_JIT=yCONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
#
# BPF subsystem
#CONFIG_BPF_SYSCALL=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
# CONFIG_BPF_PRELOAD is not set
# end of BPF subsystem
CONFIG_PREEMPT_BUILD=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not setCONFIG_PREEMPT=yCONFIG_PREEMPT_COUNT=yCONFIG_PREEMPTION=y
# CONFIG_SCHED_CORE is not set
#
# CPU/Task time and stats accounting
#CONFIG_VIRT_CPU_ACCOUNTING=yCONFIG_VIRT_CPU_ACCOUNTING_NATIVE=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=y
# CONFIG_TASK_IO_ACCOUNTING is not set
# CONFIG_PSI is not set
# end of CPU/Task time and stats accounting
CONFIG_CPU_ISOLATION=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=yCONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not setCONFIG_SRCU=yCONFIG_TREE_SRCU=yCONFIG_TASKS_RCU_GENERIC=yCONFIG_TASKS_RCU=yCONFIG_TASKS_TRACE_RCU=yCONFIG_RCU_STALL_COMMON=yCONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem
CONFIG_IKCONFIG=yCONFIG_IKHEADERS=y
#
# Scheduler features
#
# end of Scheduler features
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y CONFIG_CC_HAS_INT128=y CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough" CONFIG_GCC12_NO_ARRAY_BOUNDS=y
# CONFIG_NUMA_BALANCING is not set
# CONFIG_CGROUPS is not set CONFIG_NAMESPACES=yCONFIG_UTS_NS=y
# CONFIG_TIME_NS is not set
# CONFIG_IPC_NS is not setCONFIG_USER_NS=y
# CONFIG_PID_NS is not setCONFIG_NET_NS=yCONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BOOT_CONFIG is not set CONFIG_INITRAMFS_PRESERVE_MTIME=y CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_EXPERT=yCONFIG_MULTIUSER=y
# CONFIG_SGETMASK_SYSCALL is not set
# CONFIG_SYSFS_SYSCALL is not set CONFIG_FHANDLE=y
# CONFIG_POSIX_TIMERS is not set
# CONFIG_PRINTK is not setCONFIG_BUG=yCONFIG_BASE_FULL=y
# CONFIG_FUTEX is not setCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=y
# CONFIG_AIO is not set
# CONFIG_IO_URING is not set CONFIG_ADVISE_SYSCALLS=yCONFIG_MEMBARRIER=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_BASE_RELATIVE=yCONFIG_KCMP=y
# CONFIG_RSEQ is not set
# CONFIG_EMBEDDED is not set CONFIG_HAVE_PERF_EVENTS=yCONFIG_PC104=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_PROFILING is not setCONFIG_TRACEPOINTS=y
# end of General setup
CONFIG_MMU=yCONFIG_CPU_BIG_ENDIAN=yCONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_GENERIC_LOCKBREAK=yCONFIG_AUDIT_ARCH=yCONFIG_NO_IOPORT_MAP=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_KASAN_SHADOW_OFFSET=0x1C000000000000CONFIG_S390=yCONFIG_SCHED_OMIT_FRAME_POINTER=yCONFIG_PGTABLE_LEVELS=5CONFIG_HAVE_LIVEPATCH=y
#
# Processor type and features
#CONFIG_HAVE_MARCH_Z10_FEATURES=yCONFIG_HAVE_MARCH_Z196_FEATURES=yCONFIG_HAVE_MARCH_ZEC12_FEATURES=yCONFIG_HAVE_MARCH_Z13_FEATURES=yCONFIG_HAVE_MARCH_Z14_FEATURES=yCONFIG_HAVE_MARCH_Z15_FEATURES=y
# CONFIG_MARCH_Z10 is not set
# CONFIG_MARCH_Z196 is not set
# CONFIG_MARCH_ZEC12 is not set
# CONFIG_MARCH_Z13 is not set
# CONFIG_MARCH_Z14 is not setCONFIG_MARCH_Z15=y
# CONFIG_MARCH_Z16 is not setCONFIG_MARCH_Z13_TUNE=y
# CONFIG_TUNE_DEFAULT is not set
# CONFIG_TUNE_Z10 is not set
# CONFIG_TUNE_Z196 is not set
# CONFIG_TUNE_ZEC12 is not setCONFIG_TUNE_Z13=y
# CONFIG_TUNE_Z14 is not set
# CONFIG_TUNE_Z15 is not set
# CONFIG_TUNE_Z16 is not setCONFIG_64BIT=yCONFIG_COMMAND_LINE_SIZE=4096CONFIG_SMP=yCONFIG_NR_CPUS=64CONFIG_HOTPLUG_CPU=yCONFIG_NUMA=yCONFIG_NODES_SHIFT=1CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=yCONFIG_SCHED_BOOK=yCONFIG_SCHED_DRAWER=yCONFIG_SCHED_TOPOLOGY=yCONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=100CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=y
# CONFIG_KEXEC_FILE is not set
# CONFIG_KERNEL_NOBP is not setCONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
# end of Processor type and features
#
# Memory setup
#CONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_DEFAULT=yCONFIG_MAX_PHYSMEM_BITS=46
# CONFIG_CHECK_STACK is not set
# end of Memory setup
#
# I/O subsystem
#
# CONFIG_QDIO is not setCONFIG_CHSC_SCH=yCONFIG_SCM_BUS=yCONFIG_EADM_SCH=y
# end of I/O subsystem
#
# Dump support
#CONFIG_CRASH_DUMP=y
# end of Dump support
CONFIG_CCW=y
#
# Virtualization
#CONFIG_PROTECTED_VIRTUALIZATION_GUEST=y
# CONFIG_PFAULT is not setCONFIG_CMM=y
# CONFIG_S390_HYPFS_FS is not setCONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not set
# CONFIG_S390_GUEST is not set
# end of Virtualization
CONFIG_S390_MODULES_SANITY_TEST_HELPERS=y
#
# Selftests
#CONFIG_S390_UNWIND_SELFTEST=yCONFIG_S390_MODULES_SANITY_TEST=y
# end of Selftests
#
# General architecture-dependent options
#CONFIG_CRASH_CORE=yCONFIG_KEXEC_CORE=yCONFIG_GENERIC_ENTRY=yCONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not setCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_ARCH_USE_BUILTIN_BSWAP=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_KPROBES_ON_FTRACE=yCONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=yCONFIG_HAVE_FUNCTION_ERROR_INJECTION=yCONFIG_HAVE_NMI=yCONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_CONTIGUOUS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_ARCH_HAS_FORTIFY_SOURCE=yCONFIG_ARCH_HAS_SET_MEMORY=yCONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=yCONFIG_ARCH_WANTS_NO_INSTR=yCONFIG_ARCH_32BIT_USTAT_F_TINODE=yCONFIG_HAVE_ASM_MODVERSIONS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_RSEQ=yCONFIG_HAVE_FUNCTION_ARG_ACCESS_API=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=yCONFIG_MMU_GATHER_TABLE_FREE=yCONFIG_MMU_GATHER_RCU_TABLE_FREE=yCONFIG_MMU_GATHER_MERGE_VMAS=yCONFIG_MMU_GATHER_NO_GATHER=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_ALIGNED_STRUCT_PAGE=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_IPC_PARSE_VERSION=yCONFIG_HAVE_ARCH_SECCOMP=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=y
# CONFIG_SECCOMP is not setCONFIG_LTO_NONE=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_IDLE=yCONFIG_ARCH_HAS_SCALED_CPUTIME=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_HAVE_ARCH_SOFT_DIRTY=yCONFIG_HAVE_MOD_ARCH_SPECIFIC=yCONFIG_MODULES_USE_ELF_RELA=yCONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=yCONFIG_ALTERNATE_USER_ADDRESS_SPACE=yCONFIG_ARCH_HAS_ELF_RANDOMIZE=yCONFIG_PAGE_SIZE_LESS_THAN_64KB=yCONFIG_PAGE_SIZE_LESS_THAN_256KB=yCONFIG_HAVE_RELIABLE_STACKTRACE=yCONFIG_CLONE_BACKWARDS2=yCONFIG_OLD_SIGSUSPEND3=yCONFIG_OLD_SIGACTION=yCONFIG_COMPAT_32BIT_TIME=yCONFIG_HAVE_ARCH_VMAP_STACK=y
# CONFIG_VMAP_STACK is not setCONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=yCONFIG_RANDOMIZE_KSTACK_OFFSET=yCONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=yCONFIG_ARCH_HAS_STRICT_KERNEL_RWX=yCONFIG_STRICT_KERNEL_RWX=yCONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
# CONFIG_LOCK_EVENT_COUNTS is not setCONFIG_ARCH_HAS_MEM_ENCRYPT=yCONFIG_ARCH_HAS_VDSO_DATA=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not setCONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling
CONFIG_HAVE_GCC_PLUGINS=y
# end of General architecture-dependent options
CONFIG_BASE_SMALL=0
# CONFIG_MODULES is not setCONFIG_BLOCK=y
# CONFIG_BLOCK_LEGACY_AUTOLOAD is not setCONFIG_BLK_DEV_BSG_COMMON=yCONFIG_BLK_ICQ=yCONFIG_BLK_DEV_BSGLIB=yCONFIG_BLK_DEV_INTEGRITY=yCONFIG_BLK_DEV_INTEGRITY_T10=y
# CONFIG_BLK_DEV_ZONED is not setCONFIG_BLK_WBT=y
# CONFIG_BLK_WBT_MQ is not set
# CONFIG_BLK_DEBUG_FS is not set
# CONFIG_BLK_SED_OPAL is not set
# CONFIG_BLK_INLINE_ENCRYPTION is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=yCONFIG_EFI_PARTITION=y
# end of Partition Types
CONFIG_BLK_MQ_VIRTIO=yCONFIG_BLOCK_HOLDER_DEPRECATED=y
#
# IO Schedulers
#CONFIG_MQ_IOSCHED_DEADLINE=y
# CONFIG_MQ_IOSCHED_KYBER is not setCONFIG_IOSCHED_BFQ=y
# end of IO Schedulers
CONFIG_PADATA=yCONFIG_ASN1=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK=yCONFIG_ARCH_INLINE_SPIN_LOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_SPIN_UNLOCK=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_READ_TRYLOCK=yCONFIG_ARCH_INLINE_READ_LOCK=yCONFIG_ARCH_INLINE_READ_LOCK_BH=yCONFIG_ARCH_INLINE_READ_LOCK_IRQ=yCONFIG_ARCH_INLINE_READ_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_READ_UNLOCK=yCONFIG_ARCH_INLINE_READ_UNLOCK_BH=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_WRITE_TRYLOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK_BH=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_WRITE_UNLOCK=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=yCONFIG_UNINLINE_SPIN_UNLOCK=yCONFIG_ARCH_SUPPORTS_ATOMIC_RMW=yCONFIG_MUTEX_SPIN_ON_OWNER=yCONFIG_RWSEM_SPIN_ON_OWNER=yCONFIG_LOCK_SPIN_ON_OWNER=yCONFIG_ARCH_HAS_SYSCALL_WRAPPER=y
#
# Executable file formats
#
# CONFIG_BINFMT_ELF is not setCONFIG_ARCH_BINFMT_ELF_STATE=y
# CONFIG_BINFMT_SCRIPT is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_COREDUMP is not set
# end of Executable file formats
#
# Memory Management options
#
# CONFIG_SWAP is not setCONFIG_ZSMALLOC=y
# CONFIG_ZSMALLOC_STAT is not set
#
# SLAB allocator options
#
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_SLAB_MERGE_DEFAULT=yCONFIG_SLAB_FREELIST_RANDOM=y
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLUB_STATS is not setCONFIG_SLUB_CPU_PARTIAL=y
# end of SLAB allocator options
CONFIG_SHUFFLE_PAGE_ALLOCATOR=yCONFIG_COMPAT_BRK=yCONFIG_SPARSEMEM=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_VMEMMAP=yCONFIG_HAVE_MEMBLOCK_PHYS_MAP=yCONFIG_HAVE_FAST_GUP=yCONFIG_NUMA_KEEP_MEMINFO=yCONFIG_MEMORY_ISOLATION=yCONFIG_EXCLUSIVE_SYSTEM_RAM=yCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_MEMORY_HOTPLUG=y
# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set
# CONFIG_MEMORY_HOTREMOVE is not setCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
# CONFIG_COMPACTION is not setCONFIG_PAGE_REPORTING=yCONFIG_MIGRATION=yCONFIG_CONTIG_ALLOC=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096
# CONFIG_TRANSPARENT_HUGEPAGE is not setCONFIG_CMA=yCONFIG_CMA_DEBUG=y
# CONFIG_CMA_DEBUGFS is not setCONFIG_CMA_SYSFS=yCONFIG_CMA_AREAS=19
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not setCONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not setCONFIG_ARCH_HAS_CURRENT_STACK_POINTER=yCONFIG_ZONE_DMA=yCONFIG_VM_EVENT_COUNTERS=y
# CONFIG_PERCPU_STATS is not setCONFIG_GUP_TEST=yCONFIG_ARCH_HAS_PTE_SPECIAL=y
# CONFIG_USERFAULTFD is not set
#
# Data Access Monitoring
#CONFIG_DAMON=yCONFIG_DAMON_KUNIT_TEST=y
# CONFIG_DAMON_VADDR is not setCONFIG_DAMON_PADDR=yCONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_RECLAIM is not setCONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring # end of Memory Management options
CONFIG_NET=yCONFIG_SKB_EXTENSIONS=y
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not setCONFIG_UNIX=yCONFIG_UNIX_SCM=yCONFIG_AF_UNIX_OOB=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_TLS is not setCONFIG_XFRM=yCONFIG_XFRM_OFFLOAD=yCONFIG_XFRM_ALGO=yCONFIG_XFRM_USER=yCONFIG_XFRM_INTERFACE=yCONFIG_XFRM_SUB_POLICY=y
# CONFIG_XFRM_MIGRATE is not setCONFIG_XFRM_AH=yCONFIG_XFRM_ESP=yCONFIG_XFRM_IPCOMP=y
# CONFIG_NET_KEY is not setCONFIG_XFRM_ESPINTCP=yCONFIG_IUCV=y
# CONFIG_AFIUCV is not setCONFIG_XDP_SOCKETS=yCONFIG_XDP_SOCKETS_DIAG=yCONFIG_INET=y
# CONFIG_IP_MULTICAST is not setCONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not set
# CONFIG_IP_MULTIPLE_TABLES is not setCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not setCONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not setCONFIG_NET_IPIP=y
# CONFIG_NET_IPGRE_DEMUX is not setCONFIG_NET_IP_TUNNEL=yCONFIG_SYN_COOKIES=yCONFIG_NET_IPVTI=yCONFIG_NET_UDP_TUNNEL=yCONFIG_NET_FOU=yCONFIG_NET_FOU_IP_TUNNELS=yCONFIG_INET_AH=yCONFIG_INET_ESP=yCONFIG_INET_ESP_OFFLOAD=yCONFIG_INET_ESPINTCP=yCONFIG_INET_IPCOMP=yCONFIG_INET_XFRM_TUNNEL=yCONFIG_INET_TUNNEL=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_INET_UDP_DIAG=y
# CONFIG_INET_RAW_DIAG is not set
# CONFIG_INET_DIAG_DESTROY is not set
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_TCP_MD5SIG=yCONFIG_IPV6=yCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=y
# CONFIG_IPV6_OPTIMISTIC_DAD is not setCONFIG_INET6_AH=y
# CONFIG_INET6_ESP is not setCONFIG_INET6_IPCOMP=y
# CONFIG_IPV6_MIP6 is not setCONFIG_INET6_XFRM_TUNNEL=yCONFIG_INET6_TUNNEL=yCONFIG_IPV6_VTI=yCONFIG_IPV6_SIT=y
# CONFIG_IPV6_SIT_6RD is not setCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_IPV6_TUNNEL=yCONFIG_IPV6_FOU=yCONFIG_IPV6_FOU_TUNNEL=yCONFIG_IPV6_MULTIPLE_TABLES=yCONFIG_IPV6_SUBTREES=y
# CONFIG_IPV6_MROUTE is not set
# CONFIG_IPV6_SEG6_LWTUNNEL is not setCONFIG_IPV6_SEG6_HMAC=yCONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not set
# CONFIG_MPTCP is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_BPFILTER is not setCONFIG_IP_DCCP=yCONFIG_INET_DCCP_DIAG=y
#
# DCCP CCIDs Configuration
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=yCONFIG_IP_DCCP_CCID3_DEBUG=yCONFIG_IP_DCCP_TFRC_LIB=yCONFIG_IP_DCCP_TFRC_DEBUG=y
# end of DCCP CCIDs Configuration
#
# DCCP Kernel Hacking
#CONFIG_IP_DCCP_DEBUG=y
# end of DCCP Kernel Hacking
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not setCONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not setCONFIG_SCTP_COOKIE_HMAC_MD5=yCONFIG_SCTP_COOKIE_HMAC_SHA1=yCONFIG_INET_SCTP_DIAG=y
# CONFIG_RDS is not setCONFIG_TIPC=y
# CONFIG_TIPC_MEDIA_UDP is not setCONFIG_TIPC_CRYPTO=y
# CONFIG_TIPC_DIAG is not setCONFIG_ATM=yCONFIG_ATM_CLIP=y
# CONFIG_ATM_CLIP_NO_ICMP is not setCONFIG_ATM_LANE=yCONFIG_ATM_MPOA=y
# CONFIG_ATM_BR2684 is not setCONFIG_L2TP=yCONFIG_L2TP_DEBUGFS=y
# CONFIG_L2TP_V3 is not setCONFIG_MRP=y
# CONFIG_BRIDGE is not setCONFIG_VLAN_8021Q=y
# CONFIG_VLAN_8021Q_GVRP is not setCONFIG_VLAN_8021Q_MVRP=yCONFIG_DECNET=y
# CONFIG_DECNET_ROUTER is not setCONFIG_LLC=yCONFIG_LLC2=yCONFIG_ATALK=y
# CONFIG_DEV_APPLETALK is not set
# CONFIG_X25 is not setCONFIG_LAPB=yCONFIG_PHONET=yCONFIG_6LOWPAN=yCONFIG_6LOWPAN_DEBUGFS=yCONFIG_6LOWPAN_NHC=y
# CONFIG_6LOWPAN_NHC_DEST is not set
# CONFIG_6LOWPAN_NHC_FRAGMENT is not setCONFIG_6LOWPAN_NHC_HOP=yCONFIG_6LOWPAN_NHC_IPV6=yCONFIG_6LOWPAN_NHC_MOBILITY=y
# CONFIG_6LOWPAN_NHC_ROUTING is not setCONFIG_6LOWPAN_NHC_UDP=yCONFIG_6LOWPAN_GHC_EXT_HDR_HOP=yCONFIG_6LOWPAN_GHC_UDP=yCONFIG_6LOWPAN_GHC_ICMPV6=yCONFIG_6LOWPAN_GHC_EXT_HDR_DEST=yCONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=yCONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=y
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not setCONFIG_DCB=yCONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not setCONFIG_OPENVSWITCH=y
# CONFIG_VSOCKETS is not setCONFIG_NETLINK_DIAG=yCONFIG_MPLS=yCONFIG_NET_MPLS_GSO=yCONFIG_NET_NSH=y
# CONFIG_HSR is not setCONFIG_NET_SWITCHDEV=y
# CONFIG_NET_L3_MASTER_DEV is not setCONFIG_QRTR=y
# CONFIG_QRTR_SMD is not setCONFIG_QRTR_TUN=y
# CONFIG_QRTR_MHI is not setCONFIG_NET_NCSI=y
# CONFIG_NCSI_OEM_CMD_GET_MAC is not set
# CONFIG_NCSI_OEM_CMD_KEEP_PHY is not setCONFIG_PCPU_DEV_REFCNT=yCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_SOCK_RX_QUEUE_MAPPING=yCONFIG_XPS=yCONFIG_NET_RX_BUSY_POLL=yCONFIG_BQL=yCONFIG_NET_FLOW_LIMIT=y
#
# Network testing
#CONFIG_NET_DROP_MONITOR=y
# end of Network testing # end of Networking options
# CONFIG_CAN is not setCONFIG_AF_RXRPC=y
# CONFIG_AF_RXRPC_IPV6 is not set
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_DEBUG is not setCONFIG_RXKAD=y
# CONFIG_AF_KCM is not setCONFIG_STREAM_PARSER=yCONFIG_MCTP=yCONFIG_MCTP_TEST=yCONFIG_FIB_RULES=y
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not setCONFIG_CAIF=yCONFIG_CAIF_DEBUG=yCONFIG_CAIF_NETDEV=y
# CONFIG_CAIF_USB is not setCONFIG_CEPH_LIB=yCONFIG_CEPH_LIB_PRETTYDEBUG=y
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not setCONFIG_NFC=yCONFIG_NFC_DIGITAL=y
# CONFIG_NFC_NCI is not setCONFIG_NFC_HCI=y
# CONFIG_NFC_SHDLC is not set
#
# Near Field Communication (NFC) devices
#CONFIG_NFC_SIM=yCONFIG_NFC_PN533=yCONFIG_NFC_PN532_UART=y
# end of Near Field Communication (NFC) devices
CONFIG_PSAMPLE=yCONFIG_NET_IFE=yCONFIG_LWTUNNEL=yCONFIG_LWTUNNEL_BPF=yCONFIG_DST_CACHE=yCONFIG_GRO_CELLS=yCONFIG_NET_SOCK_MSG=yCONFIG_PAGE_POOL=yCONFIG_PAGE_POOL_STATS=y
# CONFIG_FAILOVER is not set
# CONFIG_ETHTOOL_NETLINK is not setCONFIG_NETDEV_ADDR_LIST_TEST=y
#
# Device Drivers
#CONFIG_HAVE_PCI=y
# CONFIG_PCI is not set
# CONFIG_PCCARD is not set
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER=yCONFIG_UEVENT_HELPER_PATH=""
# CONFIG_DEVTMPFS is not set
# CONFIG_STANDALONE is not setCONFIG_PREVENT_FIRMWARE_BUILD=y
#
# Firmware loader
#CONFIG_FW_LOADER=y 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 is not set CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set # CONFIG_FW_LOADER_COMPRESS_ZSTD is not set CONFIG_FW_UPLOAD=y
# end of Firmware loader
# CONFIG_ALLOW_DEV_COREDUMP is not setCONFIG_DEBUG_DRIVER=yCONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not setCONFIG_PM_QOS_KUNIT_TEST=yCONFIG_DRIVER_PE_KUNIT_TEST=yCONFIG_GENERIC_CPU_AUTOPROBE=yCONFIG_GENERIC_CPU_VULNERABILITIES=yCONFIG_REGMAP=yCONFIG_REGMAP_SPMI=yCONFIG_REGMAP_MMIO=yCONFIG_DMA_SHARED_BUFFER=yCONFIG_DMA_FENCE_TRACE=y
# end of Generic Driver Options
#
# Bus devices
#CONFIG_MHI_BUS=yCONFIG_MHI_BUS_DEBUG=yCONFIG_MHI_BUS_EP=y
# end of Bus devices
CONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
#
# Firmware Drivers
#
#
# ARM System Control and Management Interface Protocol #
# end of ARM System Control and Management Interface Protocol
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
#
# Tegra firmware driver
#
# end of Tegra firmware driver # end of Firmware Drivers
# CONFIG_GNSS is not setCONFIG_MTD=y
#
# Partition parsers
#CONFIG_MTD_AR7_PARTS=yCONFIG_MTD_CMDLINE_PARTS=yCONFIG_MTD_OF_PARTS=yCONFIG_MTD_REDBOOT_PARTS=yCONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
# end of Partition parsers
#
# User Modules And Translation Layers
#CONFIG_MTD_BLKDEVS=yCONFIG_MTD_BLOCK=y
#
# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK. #CONFIG_FTL=yCONFIG_NFTL=y
# CONFIG_NFTL_RW is not setCONFIG_INFTL=yCONFIG_RFD_FTL=yCONFIG_SSFDC=yCONFIG_SM_FTL=yCONFIG_MTD_OOPS=yCONFIG_MTD_PARTITIONED_MASTER=y
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not setCONFIG_MTD_JEDECPROBE=yCONFIG_MTD_GEN_PROBE=y
# CONFIG_MTD_CFI_ADV_OPTIONS is not setCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=yCONFIG_MTD_CFI_INTELEXT=y
# CONFIG_MTD_CFI_AMDSTD is not setCONFIG_MTD_CFI_STAA=yCONFIG_MTD_CFI_UTIL=y
# CONFIG_MTD_RAM is not setCONFIG_MTD_ROM=yCONFIG_MTD_ABSENT=y
# end of RAM/ROM/Flash chip drivers
#
# NAND
#CONFIG_MTD_NAND_CORE=yCONFIG_MTD_RAW_NAND=y
#
# Raw/parallel NAND flash controllers
#
#
# Misc
#CONFIG_MTD_NAND_NANDSIM=y
#
# ECC engine support
#CONFIG_MTD_NAND_ECC=yCONFIG_MTD_NAND_ECC_SW_HAMMING=yCONFIG_MTD_NAND_ECC_SW_HAMMING_SMC=yCONFIG_MTD_NAND_ECC_SW_BCH=y
# 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_UBI=yCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_LIMIT=20CONFIG_MTD_UBI_FASTMAP=yCONFIG_MTD_UBI_GLUEBI=y
# CONFIG_MTD_UBI_BLOCK is not setCONFIG_DTC=yCONFIG_OF=y
# CONFIG_OF_UNITTEST is not setCONFIG_OF_FLATTREE=yCONFIG_OF_KOBJ=yCONFIG_OF_DYNAMIC=yCONFIG_OF_IRQ=yCONFIG_OF_RESOLVE=yCONFIG_OF_OVERLAY=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_NULL_BLK=yCONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=yCONFIG_CDROM=yCONFIG_ZRAM=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
# CONFIG_ZRAM_DEF_COMP_ZSTD is not set
# CONFIG_ZRAM_DEF_COMP_LZ4 is not setCONFIG_ZRAM_DEF_COMP_LZO=y
# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set
# CONFIG_ZRAM_DEF_COMP_842 is not setCONFIG_ZRAM_DEF_COMP="lzo"
# CONFIG_ZRAM_WRITEBACK is not setCONFIG_ZRAM_MEMORY_TRACKING=y
# CONFIG_BLK_DEV_LOOP is not set
#
# DRBD disabled because PROC_FS or INET not selected #CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_RAM is not set CONFIG_CDROM_PKTCDVD=y CONFIG_CDROM_PKTCDVD_BUFFERS=8 CONFIG_CDROM_PKTCDVD_WCACHE=y
# CONFIG_ATA_OVER_ETH is not set
#
# S/390 block device drivers
#CONFIG_DCSSBLK=yCONFIG_DASD=yCONFIG_DASD_PROFILE=y
# CONFIG_DASD_ECKD is not setCONFIG_DASD_FBA=yCONFIG_DASD_DIAG=y
# CONFIG_DASD_EER is not setCONFIG_SCM_BLOCK=yCONFIG_VIRTIO_BLK=yCONFIG_BLK_DEV_RBD=y
# CONFIG_BLK_DEV_UBLK is not set
#
# NVME Support
#CONFIG_NVME_COMMON=yCONFIG_NVME_CORE=yCONFIG_NVME_MULTIPATH=yCONFIG_NVME_VERBOSE_ERRORS=yCONFIG_NVME_FABRICS=yCONFIG_NVME_FC=yCONFIG_NVME_TCP=yCONFIG_NVME_AUTH=y
# CONFIG_NVME_TARGET is not set
# end of NVME Support
#
# Misc devices
#
# CONFIG_DUMMY_IRQ is not set
# CONFIG_ENCLOSURE_SERVICES is not setCONFIG_C2PORT=y
#
# EEPROM support
#CONFIG_EEPROM_93CX6=y
# end of EEPROM support
#
# Texas Instruments shared transport line discipline #CONFIG_TI_ST=y
# end of Texas Instruments shared transport line discipline
#
# Altera FPGA firmware download module (requires I2C) #CONFIG_ECHO=y
# CONFIG_UACCE is not set
# CONFIG_PVPANIC is not set
# end of Misc devices
#
# SCSI device support
#CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI_COMMON=yCONFIG_SCSI=yCONFIG_SCSI_DMA=y
#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not setCONFIG_CHR_DEV_ST=y
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_CHR_DEV_SCH is not setCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=yCONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not setCONFIG_SCSI_ISCSI_ATTRS=yCONFIG_SCSI_SAS_ATTRS=yCONFIG_SCSI_SAS_LIBSAS=yCONFIG_SCSI_SAS_HOST_SMP=yCONFIG_SCSI_SRP_ATTRS=y
# end of SCSI Transports
CONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=yCONFIG_ISCSI_BOOT_SYSFS=yCONFIG_SCSI_DEBUG=y
# CONFIG_SCSI_VIRTIO is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support
CONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=yCONFIG_MD_LINEAR=y
# CONFIG_MD_RAID0 is not setCONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not setCONFIG_MD_RAID456=y
# CONFIG_MD_MULTIPATH is not setCONFIG_MD_FAULTY=yCONFIG_MD_CLUSTER=yCONFIG_BCACHE=y
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_CLOSURES_DEBUG is not setCONFIG_BCACHE_ASYNC_REGISTRATION=y
# CONFIG_BLK_DEV_DM is not setCONFIG_TARGET_CORE=y
# CONFIG_TCM_IBLOCK is not setCONFIG_TCM_FILEIO=y
# CONFIG_TCM_PSCSI is not setCONFIG_LOOPBACK_TARGET=y
# CONFIG_ISCSI_TARGET is not set
# CONFIG_NETDEVICES is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=y
# CONFIG_INPUT_SPARSEKMAP is not setCONFIG_INPUT_MATRIXKMAP=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=yCONFIG_INPUT_EVDEV=yCONFIG_INPUT_EVBUG=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADC=y
# CONFIG_KEYBOARD_ATKBD is not setCONFIG_KEYBOARD_LKKBD=yCONFIG_KEYBOARD_GPIO=yCONFIG_KEYBOARD_GPIO_POLLED=yCONFIG_KEYBOARD_MATRIX=yCONFIG_KEYBOARD_NEWTON=y
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_XTKBD is not setCONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_INPUT_JOYSTICK is not setCONFIG_INPUT_TABLET=yCONFIG_TABLET_SERIAL_WACOM4=yCONFIG_INPUT_TOUCHSCREEN=yCONFIG_TOUCHSCREEN_AD7879=yCONFIG_TOUCHSCREEN_ADC=yCONFIG_TOUCHSCREEN_CYTTSP_CORE=yCONFIG_TOUCHSCREEN_CYTTSP4_CORE=yCONFIG_TOUCHSCREEN_DYNAPRO=y
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not setCONFIG_TOUCHSCREEN_EGALAX_SERIAL=yCONFIG_TOUCHSCREEN_FUJITSU=yCONFIG_TOUCHSCREEN_GUNZE=yCONFIG_TOUCHSCREEN_ELO=yCONFIG_TOUCHSCREEN_WACOM_W8001=yCONFIG_TOUCHSCREEN_MTOUCH=yCONFIG_TOUCHSCREEN_INEXIO=yCONFIG_TOUCHSCREEN_MK712=yCONFIG_TOUCHSCREEN_PENMOUNT=yCONFIG_TOUCHSCREEN_TOUCHRIGHT=yCONFIG_TOUCHSCREEN_TOUCHWIN=yCONFIG_TOUCHSCREEN_TOUCHIT213=yCONFIG_TOUCHSCREEN_TSC_SERIO=yCONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not setCONFIG_INPUT_E3X0_BUTTON=y
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not setCONFIG_INPUT_GPIO_VIBRA=yCONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PWM_BEEPER is not set
# CONFIG_INPUT_PWM_VIBRA is not setCONFIG_INPUT_GPIO_ROTARY_ENCODER=yCONFIG_INPUT_ADXL34X=y
# CONFIG_INPUT_CMA3000 is not setCONFIG_RMI4_CORE=yCONFIG_RMI4_F03=yCONFIG_RMI4_F03_SERIO=y
# CONFIG_RMI4_F11 is not set
# CONFIG_RMI4_F12 is not set
# CONFIG_RMI4_F30 is not set
# CONFIG_RMI4_F34 is not set
# CONFIG_RMI4_F3A is not set
# CONFIG_RMI4_F55 is not set
#
# Hardware I/O ports
#CONFIG_SERIO=y
# CONFIG_SERIO_SERPORT is not setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not setCONFIG_SERIO_PS2MULT=yCONFIG_SERIO_GPIO_PS2=y
# CONFIG_USERIO is not setCONFIG_GAMEPORT=yCONFIG_GAMEPORT_NS558=yCONFIG_GAMEPORT_L4=y
# end of Hardware I/O ports # end of Input device support
#
# Character devices
#CONFIG_TTY=y
# CONFIG_VT is not setCONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_LDISC_AUTOLOAD is not set
# CONFIG_N_GSM is not setCONFIG_NULL_TTY=y
# CONFIG_HVC_IUCV is not set
# CONFIG_RPMSG_TTY is not setCONFIG_SERIAL_DEV_BUS=yCONFIG_SERIAL_DEV_CTRL_TTYPORT=yCONFIG_TTY_PRINTK=yCONFIG_TTY_PRINTK_LEVEL=6
# CONFIG_VIRTIO_CONSOLE is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_DEVMEM is not set
# CONFIG_HANGCHECK_TIMER is not set
#
# S/390 character device drivers
#CONFIG_TN3270=y
# CONFIG_TN3270_TTY is not set
# CONFIG_TN3270_FS is not set
# CONFIG_TN3215 is not set
# CONFIG_SCLP_TTY is not setCONFIG_SCLP_VT220_TTY=y
# CONFIG_SCLP_VT220_CONSOLE is not setCONFIG_HMC_DRV=y
# CONFIG_SCLP_OFB is not setCONFIG_S390_UV_UAPI=yCONFIG_S390_TAPE=y
#
# S/390 tape hardware support
#
# CONFIG_S390_TAPE_34XX is not setCONFIG_S390_TAPE_3590=y
# CONFIG_VMLOGRDR is not setCONFIG_VMCP=yCONFIG_VMCP_CMA_SIZE=4
# CONFIG_MONREADER is not setCONFIG_MONWRITER=yCONFIG_S390_VMUR=y
# CONFIG_XILLYBUS is not set
# CONFIG_RANDOM_TRUST_CPU is not setCONFIG_RANDOM_TRUST_BOOTLOADER=y
# end of Character devices
#
# I2C support
#
# CONFIG_I2C is not set
# end of I2C support
# CONFIG_I3C is not setCONFIG_SPMI=yCONFIG_HSI=yCONFIG_HSI_BOARDINFO=y
#
# HSI controllers
#
#
# HSI clients
#CONFIG_HSI_CHAR=yCONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
#
# PPS clients support
#CONFIG_PPS_CLIENT_KTIMER=yCONFIG_PPS_CLIENT_LDISC=yCONFIG_PPS_CLIENT_GPIO=y
#
# PPS generators support
#
#
# PTP clock support
#CONFIG_PTP_1588_CLOCK_OPTIONAL=y
#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. #
# end of PTP clock support
# CONFIG_PINCTRL is not setCONFIG_GPIOLIB=yCONFIG_GPIOLIB_FASTPATH_LIMIT=512CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not setCONFIG_GPIO_SYSFS=yCONFIG_GPIO_CDEV=yCONFIG_GPIO_CDEV_V1=y
#
# MFD GPIO expanders
#
# end of MFD GPIO expanders
#
# Virtual GPIO drivers
#
# CONFIG_GPIO_AGGREGATOR is not setCONFIG_GPIO_MOCKUP=yCONFIG_GPIO_VIRTIO=yCONFIG_GPIO_SIM=y
# end of Virtual GPIO drivers
CONFIG_POWER_RESET=yCONFIG_POWER_RESET_RESTART=yCONFIG_REBOOT_MODE=yCONFIG_NVMEM_REBOOT_MODE=y
# CONFIG_POWER_SUPPLY is not set
# CONFIG_THERMAL is not setCONFIG_WATCHDOG=yCONFIG_WATCHDOG_CORE=yCONFIG_WATCHDOG_NOWAYOUT=yCONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=yCONFIG_WATCHDOG_OPEN_TIMEOUT=0CONFIG_WATCHDOG_SYSFS=yCONFIG_WATCHDOG_HRTIMER_PRETIMEOUT=y
#
# Watchdog Pretimeout Governors
#
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
#
# Watchdog Device Drivers
#CONFIG_SOFT_WATCHDOG=yCONFIG_MEN_A21_WDT=y
# CONFIG_DIAG288_WATCHDOG is not set
# CONFIG_REGULATOR is not set
# CONFIG_RC_CORE is not setCONFIG_CEC_CORE=yCONFIG_CEC_NOTIFIER=yCONFIG_CEC_PIN=y
#
# CEC support
#CONFIG_CEC_PIN_ERROR_INJ=yCONFIG_MEDIA_CEC_SUPPORT=yCONFIG_CEC_GPIO=y
# end of CEC support
#
# Graphics support
#
# end of Graphics support
#
# HID support
#
# CONFIG_HID is not set
# end of HID support
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_SCSI_UFSHCD is not setCONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set
#
# MemoryStick drivers
#CONFIG_MEMSTICK_UNSAFE_RESUME=yCONFIG_MSPRO_BLOCK=y
# CONFIG_MS_BLOCK is not set
#
# MemoryStick Host Controller Drivers
#CONFIG_NEW_LEDS=y
# CONFIG_LEDS_CLASS is not set
#
# LED drivers
#
#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM) #
#
# Flash and Torch LED drivers
#
#
# RGB LED drivers
#
#
# LED Triggers
#
#
# Simple LED drivers
#CONFIG_ACCESSIBILITY=y
#
# Speakup console speech
#
# end of Speakup console speech
# CONFIG_DMADEVICES is not set
#
# DMABUF options
#CONFIG_SYNC_FILE=yCONFIG_SW_SYNC=yCONFIG_UDMABUF=yCONFIG_DMABUF_MOVE_NOTIFY=y
# CONFIG_DMABUF_DEBUG is not setCONFIG_DMABUF_SELFTESTS=y
# CONFIG_DMABUF_HEAPS is not setCONFIG_DMABUF_SYSFS_STATS=y
# end of DMABUF options
CONFIG_AUXDISPLAY=y
# CONFIG_HD44780 is not set
# CONFIG_CHARLCD_BL_OFF is not setCONFIG_CHARLCD_BL_ON=y
# CONFIG_CHARLCD_BL_FLASH is not set
# CONFIG_UIO is not setCONFIG_VFIO=yCONFIG_VFIO_IOMMU_TYPE1=yCONFIG_VFIO_NOIOMMU=yCONFIG_VFIO_MDEV=yCONFIG_VIRT_DRIVERS=yCONFIG_VIRTIO_ANCHOR=yCONFIG_VIRTIO=y
# CONFIG_VIRTIO_MENU is not setCONFIG_VDPA=y
# CONFIG_VDPA_SIM is not setCONFIG_VDPA_USER=yCONFIG_VHOST_IOTLB=y
# CONFIG_VHOST_MENU is not set
#
# Microsoft Hyper-V guest support
#
# end of Microsoft Hyper-V guest support
CONFIG_GREYBUS=y
# CONFIG_COMEDI is not setCONFIG_STAGING=y
#
# IIO staging drivers
#
#
# Accelerometers
#
# end of Accelerometers
#
# Analog to digital converters
#
# end of Analog to digital converters
#
# Analog digital bi-direction converters
#
# CONFIG_ADT7316 is not set
# end of Analog digital bi-direction converters
#
# Capacitance to digital converters
#
# end of Capacitance to digital converters
#
# Direct Digital Synthesis
#
# end of Direct Digital Synthesis
#
# Network Analyzer, Impedance Converters
#
# end of Network Analyzer, Impedance Converters
#
# Active energy metering IC
#
# end of Active energy metering IC
#
# Resolver to digital converters
#
# end of Resolver to digital converters # end of IIO staging drivers
# CONFIG_STAGING_MEDIA is not setCONFIG_MOST_COMPONENTS=yCONFIG_MOST_NET=y
# CONFIG_GREYBUS_BOOTROM is not setCONFIG_GREYBUS_LOG=yCONFIG_GREYBUS_LOOPBACK=yCONFIG_GREYBUS_RAW=yCONFIG_GREYBUS_VIBRATOR=yCONFIG_GREYBUS_BRIDGED_PHY=yCONFIG_GREYBUS_GPIO=yCONFIG_GREYBUS_PWM=y
# CONFIG_GREYBUS_UART is not setCONFIG_FIELDBUS_DEV=yCONFIG_HMS_ANYBUSS_BUS=yCONFIG_HMS_PROFINET=y
# CONFIG_COMMON_CLK is not setCONFIG_HWSPINLOCK=y
#
# Clock Source drivers
#
# CONFIG_MICROCHIP_PIT64B is not set
# end of Clock Source drivers
CONFIG_MAILBOX=yCONFIG_IOMMU_IOVA=yCONFIG_IOMMU_API=yCONFIG_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 is not setCONFIG_IOMMU_DEFAULT_PASSTHROUGH=yCONFIG_OF_IOMMU=y
# CONFIG_S390_CCW_IOMMU is not set
#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers
#
# Rpmsg drivers
#CONFIG_RPMSG=yCONFIG_RPMSG_CHAR=yCONFIG_RPMSG_CTRL=yCONFIG_RPMSG_NS=yCONFIG_RPMSG_VIRTIO=y
# end of Rpmsg drivers
# CONFIG_SOUNDWIRE 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
#
# end of Enable LiteX SoC Builder specific drivers
#
# Qualcomm SoC drivers
#
# end of Qualcomm SoC drivers
CONFIG_SOC_TI=y
#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers # end of SOC (System On Chip) specific Drivers
CONFIG_PM_DEVFREQ=y
#
# DEVFREQ Governors
#CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=yCONFIG_DEVFREQ_GOV_PERFORMANCE=yCONFIG_DEVFREQ_GOV_POWERSAVE=yCONFIG_DEVFREQ_GOV_USERSPACE=yCONFIG_DEVFREQ_GOV_PASSIVE=y
#
# DEVFREQ Drivers
#
# CONFIG_PM_DEVFREQ_EVENT is not setCONFIG_EXTCON=y
#
# Extcon Device Drivers
#CONFIG_EXTCON_ADC_JACK=yCONFIG_EXTCON_GPIO=y
# CONFIG_EXTCON_MAX3355 is not setCONFIG_EXTCON_USB_GPIO=y
# CONFIG_MEMORY is not setCONFIG_IIO=yCONFIG_IIO_BUFFER=yCONFIG_IIO_BUFFER_CB=yCONFIG_IIO_BUFFER_DMA=y
# CONFIG_IIO_BUFFER_DMAENGINE is not setCONFIG_IIO_BUFFER_HW_CONSUMER=yCONFIG_IIO_KFIFO_BUF=yCONFIG_IIO_TRIGGERED_BUFFER=yCONFIG_IIO_CONFIGFS=yCONFIG_IIO_TRIGGER=yCONFIG_IIO_CONSUMERS_PER_TRIGGER=2CONFIG_IIO_SW_DEVICE=y
# CONFIG_IIO_SW_TRIGGER is not setCONFIG_IIO_TRIGGERED_EVENT=y
#
# Accelerometers
#CONFIG_BMA400=yCONFIG_BMC150_ACCEL=yCONFIG_KXSD9=y
# end of Accelerometers
#
# Analog to digital converters
#
# CONFIG_ENVELOPE_DETECTOR is not setCONFIG_HX711=yCONFIG_QCOM_VADC_COMMON=y
# CONFIG_QCOM_SPMI_IADC is not setCONFIG_QCOM_SPMI_VADC=y
# CONFIG_QCOM_SPMI_ADC5 is not set
# CONFIG_SD_ADC_MODULATOR is not set
# end of Analog to digital converters
#
# Analog to digital and digital to analog converters #
# end of Analog to digital and digital to analog converters
#
# Analog Front Ends
#CONFIG_IIO_RESCALE=y
# end of Analog Front Ends
#
# Amplifiers
#CONFIG_HMC425=y
# end of Amplifiers
#
# Capacitance to digital converters
#
# end of Capacitance to digital converters
#
# Chemical Sensors
#
# CONFIG_PMS7003 is not setCONFIG_SCD30_CORE=y
# CONFIG_SCD30_SERIAL is not set
# CONFIG_SPS30_SERIAL is not set
# end of Chemical Sensors
#
# Hid Sensor IIO Common
#
# end of Hid Sensor IIO Common
#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors
#
# SSP Sensor Common
#
# end of SSP Sensor Common
#
# Digital to analog converters
#CONFIG_DPOT_DAC=y
# end of Digital to analog converters
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=yCONFIG_IIO_SIMPLE_DUMMY=yCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
# end of IIO dummy driver
#
# Filters
#
# end of Filters
#
# Frequency Synthesizers DDS/PLL
#
#
# Clock Generator/Distribution
#
# end of Clock Generator/Distribution
#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# end of Phase-Locked Loop (PLL) frequency synthesizers # end of Frequency Synthesizers DDS/PLL
#
# Digital gyroscope sensors
#
# end of Digital gyroscope sensors
#
# Health Sensors
#
#
# Heart Rate Monitors
#
# end of Heart Rate Monitors # end of Health Sensors
#
# Humidity sensors
#CONFIG_DHT11=y
# end of Humidity sensors
#
# Inertial measurement units
#
# end of Inertial measurement units
#
# Light sensors
#
# CONFIG_CM3605 is not set
# end of Light sensors
#
# Magnetometer sensors
#
# end of Magnetometer sensors
#
# Multiplexers
#CONFIG_IIO_MUX=y
# end of Multiplexers
#
# Inclinometer sensors
#
# end of Inclinometer sensors
CONFIG_IIO_RESCALE_KUNIT_TEST=yCONFIG_IIO_FORMAT_KUNIT_TEST=y
#
# Triggers - standalone
#CONFIG_IIO_INTERRUPT_TRIGGER=yCONFIG_IIO_SYSFS_TRIGGER=y
# end of Triggers - standalone
#
# Linear and angular position sensors
#
# end of Linear and angular position sensors
#
# Digital potentiometers
#
# end of Digital potentiometers
#
# Digital potentiostats
#
# end of Digital potentiostats
#
# Pressure sensors
#CONFIG_MS5611=yCONFIG_ZPA2326=y
# end of Pressure sensors
#
# Lightning sensors
#
# end of Lightning sensors
#
# Proximity and distance sensors
#CONFIG_PING=y
# CONFIG_SRF04 is not set
# end of Proximity and distance sensors
#
# Resolver to digital converters
#
# end of Resolver to digital converters
#
# Temperature sensors
#
# end of Temperature sensors
CONFIG_PWM=yCONFIG_PWM_SYSFS=yCONFIG_PWM_DEBUG=yCONFIG_PWM_ATMEL_TCB=y
#
# IRQ chip support
#CONFIG_IRQCHIP=yCONFIG_AL_FIC=y
# end of IRQ chip support
# CONFIG_RESET_CONTROLLER is not set
#
# PHY Subsystem
#CONFIG_GENERIC_PHY=yCONFIG_PHY_CAN_TRANSCEIVER=y
#
# PHY drivers for Broadcom platforms
#
# end of PHY drivers for Broadcom platforms # end of PHY Subsystem
# CONFIG_POWERCAP is not set
#
# Performance monitor support
#
# end of Performance monitor support
# CONFIG_RAS is not set
#
# Android
#
# CONFIG_ANDROID_BINDER_IPC is not set
# end of Android
CONFIG_DAX=y
# CONFIG_NVMEM is not set
#
# HW tracing support
#CONFIG_STM=yCONFIG_STM_PROTO_BASIC=yCONFIG_STM_PROTO_SYS_T=yCONFIG_STM_DUMMY=yCONFIG_STM_SOURCE_CONSOLE=y
# CONFIG_STM_SOURCE_HEARTBEAT is not set
# CONFIG_STM_SOURCE_FTRACE is not set
# end of HW tracing support
CONFIG_FPGA=yCONFIG_ALTERA_PR_IP_CORE=yCONFIG_FPGA_BRIDGE=yCONFIG_FPGA_REGION=y
# CONFIG_OF_FPGA_REGION is not setCONFIG_FSI=yCONFIG_FSI_NEW_DEV_NODE=yCONFIG_FSI_MASTER_GPIO=yCONFIG_FSI_MASTER_HUB=yCONFIG_FSI_SCOM=yCONFIG_MULTIPLEXER=y
#
# Multiplexer drivers
#CONFIG_MUX_GPIO=yCONFIG_MUX_MMIO=y
# end of Multiplexer drivers
CONFIG_PM_OPP=y
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not setCONFIG_COUNTER=yCONFIG_INTERRUPT_CNT=yCONFIG_MOST=y
# CONFIG_MOST_CDEV is not set
# CONFIG_PECI is not setCONFIG_HTE=y
# end of Device Drivers
#
# File systems
#CONFIG_VALIDATE_FS_PARSER=yCONFIG_FS_IOMAP=yCONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not setCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not setCONFIG_EXT4_KUNIT_TESTS=yCONFIG_JBD2=yCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not setCONFIG_JFS_FS=yCONFIG_JFS_POSIX_ACL=yCONFIG_JFS_SECURITY=y
# CONFIG_JFS_DEBUG is not setCONFIG_JFS_STATISTICS=y
# CONFIG_XFS_FS is not setCONFIG_GFS2_FS=yCONFIG_GFS2_FS_LOCKING_DLM=yCONFIG_OCFS2_FS=yCONFIG_OCFS2_FS_O2CB=yCONFIG_OCFS2_FS_USERSPACE_CLUSTER=yCONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
# CONFIG_OCFS2_DEBUG_FS is not set
# CONFIG_BTRFS_FS is not setCONFIG_NILFS2_FS=y
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not setCONFIG_FS_DAX_LIMITED=yCONFIG_FS_POSIX_ACL=yCONFIG_EXPORTFS=yCONFIG_EXPORTFS_BLOCK_OPS=yCONFIG_FILE_LOCKING=yCONFIG_FS_ENCRYPTION=yCONFIG_FS_ENCRYPTION_ALGS=y
# CONFIG_FS_VERITY is not setCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not setCONFIG_QUOTA=y
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
# CONFIG_PRINT_QUOTA_WARNING is not setCONFIG_QUOTA_DEBUG=yCONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not setCONFIG_QFMT_V2=yCONFIG_QUOTACTL=y
# CONFIG_AUTOFS4_FS is not setCONFIG_AUTOFS_FS=yCONFIG_FUSE_FS=yCONFIG_CUSE=yCONFIG_VIRTIO_FS=yCONFIG_OVERLAY_FS=yCONFIG_OVERLAY_FS_REDIRECT_DIR=yCONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
# CONFIG_OVERLAY_FS_INDEX is not setCONFIG_OVERLAY_FS_XINO_AUTO=yCONFIG_OVERLAY_FS_METACOPY=y
#
# Caches
#CONFIG_NETFS_SUPPORT=yCONFIG_FSCACHE=y
# CONFIG_FSCACHE_DEBUG is not set
# CONFIG_CACHEFILES is not set
# end of Caches
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=y
# end of CD-ROM/DVD Filesystems
#
# DOS/FAT/EXFAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not setCONFIG_FAT_KUNIT_TEST=yCONFIG_EXFAT_FS=yCONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS3_FS is not set
# end of DOS/FAT/EXFAT/NT Filesystems
#
# Pseudo filesystems
#
# CONFIG_PROC_FS is not setCONFIG_PROC_CHILDREN=yCONFIG_KERNFS=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_TMPFS_INODE64=yCONFIG_ARCH_SUPPORTS_HUGETLBFS=y
# CONFIG_HUGETLBFS is not setCONFIG_MEMFD_CREATE=yCONFIG_ARCH_HAS_GIGANTIC_PAGE=yCONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems
# CONFIG_MISC_FILESYSTEMS is not set
# CONFIG_NETWORK_FILESYSTEMS is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not setCONFIG_NLS_CODEPAGE_775=yCONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not setCONFIG_NLS_CODEPAGE_855=yCONFIG_NLS_CODEPAGE_857=yCONFIG_NLS_CODEPAGE_860=y
# CONFIG_NLS_CODEPAGE_861 is not setCONFIG_NLS_CODEPAGE_862=y
# CONFIG_NLS_CODEPAGE_863 is not setCONFIG_NLS_CODEPAGE_864=yCONFIG_NLS_CODEPAGE_865=y
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not setCONFIG_NLS_CODEPAGE_950=yCONFIG_NLS_CODEPAGE_932=y
# CONFIG_NLS_CODEPAGE_949 is not setCONFIG_NLS_CODEPAGE_874=yCONFIG_NLS_ISO8859_8=y
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not setCONFIG_NLS_ASCII=yCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_2=y
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not setCONFIG_NLS_ISO8859_5=yCONFIG_NLS_ISO8859_6=y
# CONFIG_NLS_ISO8859_7 is not setCONFIG_NLS_ISO8859_9=yCONFIG_NLS_ISO8859_13=yCONFIG_NLS_ISO8859_14=yCONFIG_NLS_ISO8859_15=yCONFIG_NLS_KOI8_R=yCONFIG_NLS_KOI8_U=yCONFIG_NLS_MAC_ROMAN=y
# CONFIG_NLS_MAC_CELTIC is not setCONFIG_NLS_MAC_CENTEURO=y
# CONFIG_NLS_MAC_CROATIAN is not setCONFIG_NLS_MAC_CYRILLIC=y
# CONFIG_NLS_MAC_GAELIC is not setCONFIG_NLS_MAC_GREEK=y
# CONFIG_NLS_MAC_ICELAND is not setCONFIG_NLS_MAC_INUIT=y
# CONFIG_NLS_MAC_ROMANIAN is not setCONFIG_NLS_MAC_TURKISH=yCONFIG_NLS_UTF8=yCONFIG_DLM=y
# CONFIG_DLM_DEPRECATED_API is not setCONFIG_DLM_DEBUG=y
# CONFIG_UNICODE is not set
# end of File systems
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_REQUEST_CACHE=yCONFIG_PERSISTENT_KEYRINGS=yCONFIG_BIG_KEYS=yCONFIG_TRUSTED_KEYS=y
#
# No trust source selected!
#
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEY_DH_OPERATIONS is not set
# CONFIG_KEY_NOTIFICATIONS is not set CONFIG_SECURITY_DMESG_RESTRICT=y
# CONFIG_SECURITY is not setCONFIG_SECURITYFS=y CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_HARDENED_USERCOPY is not set CONFIG_FORTIFY_SOURCE=y
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,bpf"
#
# Kernel hardening options
#
#
# Memory initialization
#CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=yCONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
# CONFIG_INIT_STACK_NONE is not set
# CONFIG_INIT_STACK_ALL_PATTERN is not setCONFIG_INIT_STACK_ALL_ZERO=y
# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not setCONFIG_INIT_ON_FREE_DEFAULT_ON=y
# end of Memory initialization
CONFIG_CC_HAS_RANDSTRUCT=y
# CONFIG_RANDSTRUCT_NONE is not setCONFIG_RANDSTRUCT_FULL=yCONFIG_RANDSTRUCT=y
# end of Kernel hardening options # end of Security options
CONFIG_XOR_BLOCKS=yCONFIG_ASYNC_CORE=yCONFIG_ASYNC_MEMCPY=yCONFIG_ASYNC_XOR=yCONFIG_ASYNC_PQ=yCONFIG_ASYNC_RAID6_RECOV=yCONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_SKCIPHER=yCONFIG_CRYPTO_SKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_RNG_DEFAULT=yCONFIG_CRYPTO_AKCIPHER2=yCONFIG_CRYPTO_AKCIPHER=yCONFIG_CRYPTO_KPP2=yCONFIG_CRYPTO_KPP=yCONFIG_CRYPTO_ACOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_USER=yCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=yCONFIG_CRYPTO_GF128MUL=yCONFIG_CRYPTO_NULL=yCONFIG_CRYPTO_NULL2=yCONFIG_CRYPTO_PCRYPT=y
# CONFIG_CRYPTO_CRYPTD is not setCONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set
#
# Public-key cryptography
#CONFIG_CRYPTO_RSA=yCONFIG_CRYPTO_DH=yCONFIG_CRYPTO_DH_RFC7919_GROUPS=yCONFIG_CRYPTO_ECC=y
# CONFIG_CRYPTO_ECDH is not setCONFIG_CRYPTO_ECDSA=y
# CONFIG_CRYPTO_ECRDSA is not set
# CONFIG_CRYPTO_SM2 is not setCONFIG_CRYPTO_CURVE25519=y
#
# Authenticated Encryption with Associated Data
#CONFIG_CRYPTO_CCM=yCONFIG_CRYPTO_GCM=y
# CONFIG_CRYPTO_CHACHA20POLY1305 is not setCONFIG_CRYPTO_AEGIS128=yCONFIG_CRYPTO_SEQIV=yCONFIG_CRYPTO_ECHAINIV=y
#
# Block modes
#CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CFB is not setCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=yCONFIG_CRYPTO_ECB=yCONFIG_CRYPTO_LRW=y
# CONFIG_CRYPTO_OFB is not setCONFIG_CRYPTO_PCBC=yCONFIG_CRYPTO_XCTR=yCONFIG_CRYPTO_XTS=yCONFIG_CRYPTO_KEYWRAP=yCONFIG_CRYPTO_NHPOLY1305=yCONFIG_CRYPTO_ADIANTUM=yCONFIG_CRYPTO_HCTR2=yCONFIG_CRYPTO_ESSIV=y
#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not setCONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_XCBC=yCONFIG_CRYPTO_VMAC=y
#
# Digest
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32=y
# CONFIG_CRYPTO_CRC32_S390 is not set
# CONFIG_CRYPTO_XXHASH is not set
# CONFIG_CRYPTO_BLAKE2B is not setCONFIG_CRYPTO_CRCT10DIF=yCONFIG_CRYPTO_CRC64_ROCKSOFT=yCONFIG_CRYPTO_GHASH=yCONFIG_CRYPTO_POLYVAL=yCONFIG_CRYPTO_POLY1305=y
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=yCONFIG_CRYPTO_RMD160=yCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_SHA512_S390=yCONFIG_CRYPTO_SHA1_S390=yCONFIG_CRYPTO_SHA256=yCONFIG_CRYPTO_SHA256_S390=yCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_SHA3=yCONFIG_CRYPTO_SHA3_256_S390=y
# CONFIG_CRYPTO_SHA3_512_S390 is not set
# CONFIG_CRYPTO_SM3_GENERIC is not setCONFIG_CRYPTO_STREEBOG=yCONFIG_CRYPTO_WP512=yCONFIG_CRYPTO_GHASH_S390=y
#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_TI=yCONFIG_CRYPTO_AES_S390=y
# CONFIG_CRYPTO_BLOWFISH is not setCONFIG_CRYPTO_CAMELLIA=yCONFIG_CRYPTO_CAST_COMMON=yCONFIG_CRYPTO_CAST5=yCONFIG_CRYPTO_CAST6=yCONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_DES_S390 is not setCONFIG_CRYPTO_FCRYPT=yCONFIG_CRYPTO_CHACHA20=y
# CONFIG_CRYPTO_CHACHA_S390 is not set
# CONFIG_CRYPTO_ARIA is not set
# CONFIG_CRYPTO_SERPENT is not setCONFIG_CRYPTO_SM4=yCONFIG_CRYPTO_SM4_GENERIC=yCONFIG_CRYPTO_TWOFISH=yCONFIG_CRYPTO_TWOFISH_COMMON=y
#
# Compression
#CONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_LZO=yCONFIG_CRYPTO_842=yCONFIG_CRYPTO_LZ4=yCONFIG_CRYPTO_LZ4HC=yCONFIG_CRYPTO_ZSTD=y
#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=y CONFIG_CRYPTO_DRBG_MENU=y CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set CONFIG_CRYPTO_DRBG_CTR=y CONFIG_CRYPTO_DRBG=y CONFIG_CRYPTO_JITTERENTROPY=y 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_RNG_CAVP=y
# CONFIG_CRYPTO_USER_API_AEAD is not set
# CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is not set CONFIG_CRYPTO_STATS=y CONFIG_CRYPTO_HASH_INFO=y
# CONFIG_CRYPTO_HW 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 is not set
#
# Certificates for signature checking
#
# CONFIG_SYSTEM_TRUSTED_KEYRING is not setCONFIG_SYSTEM_BLACKLIST_KEYRING=yCONFIG_SYSTEM_BLACKLIST_HASH_LIST=""
# end of Certificates for signature checking
CONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_RAID6_PQ=y
# CONFIG_RAID6_PQ_BENCHMARK is not setCONFIG_LINEAR_RANGES=yCONFIG_PACKING=yCONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_NET_UTILS=y
# CONFIG_CORDIC is not setCONFIG_PRIME_NUMBERS=yCONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
#
# Crypto library routines
#CONFIG_CRYPTO_LIB_AES=yCONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=yCONFIG_CRYPTO_LIB_CHACHA_GENERIC=yCONFIG_CRYPTO_LIB_CHACHA=yCONFIG_CRYPTO_LIB_CURVE25519_GENERIC=yCONFIG_CRYPTO_LIB_CURVE25519=yCONFIG_CRYPTO_LIB_DES=yCONFIG_CRYPTO_LIB_POLY1305_RSIZE=1CONFIG_CRYPTO_LIB_POLY1305_GENERIC=yCONFIG_CRYPTO_LIB_POLY1305=yCONFIG_CRYPTO_LIB_CHACHA20POLY1305=yCONFIG_CRYPTO_LIB_SHA1=yCONFIG_CRYPTO_LIB_SHA256=y
# end of Crypto library routines
CONFIG_LIB_MEMNEQ=yCONFIG_CRC_CCITT=yCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC64_ROCKSOFT=yCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC32_SELFTEST=yCONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not setCONFIG_CRC64=yCONFIG_CRC4=yCONFIG_CRC7=yCONFIG_LIBCRC32C=yCONFIG_CRC8=yCONFIG_XXHASH=y
# CONFIG_RANDOM32_SELFTEST is not setCONFIG_842_COMPRESS=yCONFIG_842_DECOMPRESS=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=y
# CONFIG_ZLIB_DFLTCC is not setCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_LZ4_COMPRESS=yCONFIG_LZ4HC_COMPRESS=yCONFIG_LZ4_DECOMPRESS=yCONFIG_ZSTD_COMPRESS=yCONFIG_ZSTD_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=y
# CONFIG_XZ_DEC_POWERPC is not setCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=y
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_MICROLZMA is not setCONFIG_XZ_DEC_BCJ=yCONFIG_XZ_DEC_TEST=yCONFIG_GENERIC_ALLOCATOR=yCONFIG_REED_SOLOMON=yCONFIG_REED_SOLOMON_ENC16=yCONFIG_REED_SOLOMON_DEC16=yCONFIG_BCH=yCONFIG_INTERVAL_TREE=yCONFIG_ASSOCIATIVE_ARRAY=yCONFIG_HAS_DMA=yCONFIG_DMA_OPS=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_ARCH_DMA_ADDR_T_64BIT=yCONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=yCONFIG_SWIOTLB=y
# CONFIG_DMA_CMA is not setCONFIG_DMA_API_DEBUG=y
# CONFIG_DMA_API_DEBUG_SG is not set
# CONFIG_DMA_MAP_BENCHMARK is not setCONFIG_SGL_ALLOC=yCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not setCONFIG_NLATTR=yCONFIG_CLZ_TAB=y
# CONFIG_IRQ_POLL is not setCONFIG_MPILIB=yCONFIG_LIBFDT=yCONFIG_OID_REGISTRY=yCONFIG_HAVE_GENERIC_VDSO=yCONFIG_GENERIC_GETTIMEOFDAY=yCONFIG_GENERIC_VDSO_TIME_NS=yCONFIG_SG_POOL=yCONFIG_ARCH_STACKWALK=yCONFIG_STACKDEPOT=yCONFIG_STACKDEPOT_ALWAYS_INIT=yCONFIG_REF_TRACKER=yCONFIG_SBITMAP=y
# end of Library routines
#
# Kernel hacking
#
#
# printk and dmesg options # CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 CONFIG_CONSOLE_LOGLEVEL_QUIET=4 CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 # CONFIG_SYMBOLIC_ERRNAME is not set # CONFIG_DEBUG_BUGVERBOSE is not set # end of printk and dmesg options
CONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_MISC=y
#
# Compile-time checks and compiler options
#CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set CONFIG_DEBUG_INFO_DWARF5=y
# CONFIG_DEBUG_INFO_REDUCED is not set CONFIG_DEBUG_INFO_SPLIT=y CONFIG_PAHOLE_HAS_SPLIT_BTF=y CONFIG_PAHOLE_HAS_BTF_TAG=y CONFIG_GDB_SCRIPTS=yCONFIG_FRAME_WARN=8192
# CONFIG_STRIP_ASM_SYMS is not set CONFIG_HEADERS_INSTALL=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_VMLINUX_MAP=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options
#
# Generic Kernel Debugging Instruments
#
# CONFIG_MAGIC_SYSRQ is not setCONFIG_DEBUG_FS=y
# CONFIG_DEBUG_FS_ALLOW_ALL is not set
# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not setCONFIG_DEBUG_FS_ALLOW_NONE=yCONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=yCONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not setCONFIG_CC_HAS_UBSAN_BOUNDS=yCONFIG_CC_HAS_UBSAN_ARRAY_BOUNDS=y
# CONFIG_UBSAN_BOUNDS is not set
# CONFIG_UBSAN_SHIFT is not set
# CONFIG_UBSAN_UNREACHABLE is not set
# CONFIG_UBSAN_BOOL is not setCONFIG_UBSAN_ENUM=yCONFIG_UBSAN_ALIGNMENT=y
# CONFIG_UBSAN_SANITIZE_ALL is not setCONFIG_HAVE_ARCH_KCSAN=yCONFIG_HAVE_KCSAN_COMPILER=y
# end of Generic Kernel Debugging Instruments
#
# Networking Debugging
#
# CONFIG_NET_DEV_REFCNT_TRACKER is not setCONFIG_NET_NS_REFCNT_TRACKER=yCONFIG_DEBUG_NET=y
# end of Networking Debugging
#
# Memory Debugging
#CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_SLUB_DEBUG=yCONFIG_SLUB_DEBUG_ON=y
# CONFIG_PAGE_OWNER is not setCONFIG_PAGE_POISONING=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not setCONFIG_ARCH_HAS_DEBUG_WX=yCONFIG_DEBUG_WX=yCONFIG_GENERIC_PTDUMP=yCONFIG_PTDUMP_CORE=y
# CONFIG_PTDUMP_DEBUGFS is not setCONFIG_DEBUG_OBJECTS=yCONFIG_DEBUG_OBJECTS_SELFTEST=y
# CONFIG_DEBUG_OBJECTS_FREE is not setCONFIG_DEBUG_OBJECTS_TIMERS=yCONFIG_DEBUG_OBJECTS_WORK=y
# CONFIG_DEBUG_OBJECTS_RCU_HEAD is not set
# CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER is not setCONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
# CONFIG_SHRINKER_DEBUG is not setCONFIG_HAVE_DEBUG_KMEMLEAK=yCONFIG_DEBUG_KMEMLEAK=yCONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE=16000CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
# CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN is not set
# CONFIG_DEBUG_STACK_USAGE is not setCONFIG_SCHED_STACK_END_CHECK=yCONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=yCONFIG_DEBUG_VM=y
# CONFIG_DEBUG_VM_VMACACHE is not setCONFIG_DEBUG_VM_RB=yCONFIG_DEBUG_VM_PGFLAGS=y
# CONFIG_DEBUG_VM_PGTABLE is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not setCONFIG_HAVE_ARCH_KASAN=yCONFIG_HAVE_ARCH_KASAN_VMALLOC=yCONFIG_CC_HAS_KASAN_GENERIC=yCONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=yCONFIG_KASAN=yCONFIG_KASAN_GENERIC=y
# CONFIG_KASAN_OUTLINE is not setCONFIG_KASAN_INLINE=y
# CONFIG_KASAN_STACK is not setCONFIG_KASAN_VMALLOC=yCONFIG_KASAN_KUNIT_TEST=yCONFIG_HAVE_ARCH_KFENCE=yCONFIG_KFENCE=yCONFIG_KFENCE_SAMPLE_INTERVAL=100CONFIG_KFENCE_NUM_OBJECTS=255
# CONFIG_KFENCE_DEFERRABLE is not set
# CONFIG_KFENCE_STATIC_KEYS is not setCONFIG_KFENCE_STRESS_TEST_FAULTS=0CONFIG_KFENCE_KUNIT_TEST=y
# end of Memory Debugging
CONFIG_DEBUG_SHIRQ=y
#
# Debug Oops, Lockups and Hangs
#
# CONFIG_PANIC_ON_OOPS is not setCONFIG_PANIC_ON_OOPS_VALUE=0CONFIG_PANIC_TIMEOUT=0
# CONFIG_DETECT_HUNG_TASK is not setCONFIG_WQ_WATCHDOG=y
# end of Debug Oops, Lockups and Hangs
#
# Scheduler Debugging
#CONFIG_SCHED_INFO=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not setCONFIG_DEBUG_PREEMPT=y
#
# Lock Debugging (spinlocks, mutexes, etc...)
#CONFIG_LOCK_DEBUGGING_SUPPORT=yCONFIG_PROVE_LOCKING=y
# CONFIG_PROVE_RAW_LOCK_NESTING is not set
# CONFIG_LOCK_STAT is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_WW_MUTEX_SLOWPATH=yCONFIG_DEBUG_RWSEMS=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_LOCKDEP=yCONFIG_LOCKDEP_BITS=15CONFIG_LOCKDEP_CHAINS_BITS=16CONFIG_LOCKDEP_STACK_TRACE_BITS=19CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12
# CONFIG_DEBUG_LOCKDEP is not setCONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_LOCK_TORTURE_TEST=yCONFIG_WW_MUTEX_SELFTEST=yCONFIG_SCF_TORTURE_TEST=y
# CONFIG_CSD_LOCK_WAIT_DEBUG is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)
CONFIG_TRACE_IRQFLAGS=y
# CONFIG_DEBUG_IRQFLAGS is not setCONFIG_STACKTRACE=yCONFIG_WARN_ALL_UNSEEDED_RANDOM=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 is not set
# CONFIG_DEBUG_SG is not setCONFIG_DEBUG_NOTIFIERS=yCONFIG_BUG_ON_DATA_CORRUPTION=y
# end of Debug kernel data structures
# CONFIG_DEBUG_CREDENTIALS is not set
#
# RCU Debugging
#CONFIG_PROVE_RCU=yCONFIG_TORTURE_TEST=y
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_RCU_REF_SCALE_TEST=yCONFIG_RCU_CPU_STALL_TIMEOUT=21CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0CONFIG_RCU_TRACE=yCONFIG_RCU_EQS_DEBUG=y
# end of RCU Debugging
CONFIG_DEBUG_WQ_FORCE_RR_CPU=y
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not setCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_FENTRY=yCONFIG_HAVE_NOP_MCOUNT=yCONFIG_TRACE_CLOCK=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_PREEMPTIRQ_TRACEPOINTS=yCONFIG_TRACING=yCONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_SAMPLE_FTRACE_DIRECT=yCONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=yCONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
#
# s390 Debugging # CONFIG_EARLY_PRINTK=y # CONFIG_DEBUG_ENTRY is not set CONFIG_CIO_INJECT=y # end of s390 Debugging
#
# Kernel Testing and Coverage
#CONFIG_KUNIT=yCONFIG_KUNIT_DEBUGFS=yCONFIG_KUNIT_TEST=yCONFIG_KUNIT_EXAMPLE_TEST=yCONFIG_KUNIT_ALL_TESTS=y
# CONFIG_NOTIFIER_ERROR_INJECTION is not setCONFIG_FAULT_INJECTION=y
# CONFIG_FAILSLAB is not set
# CONFIG_FAIL_PAGE_ALLOC is not set
# CONFIG_FAULT_INJECTION_USERCOPY is not set
# CONFIG_FAIL_MAKE_REQUEST is not setCONFIG_FAIL_IO_TIMEOUT=y
# CONFIG_FAULT_INJECTION_DEBUG_FS is not setCONFIG_ARCH_HAS_KCOV=yCONFIG_CC_HAS_SANCOV_TRACE_PC=y
# CONFIG_KCOV is not setCONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_LKDTM is not setCONFIG_CPUMASK_KUNIT_TEST=yCONFIG_TEST_LIST_SORT=y
# CONFIG_TEST_MIN_HEAP is not setCONFIG_TEST_SORT=y
# CONFIG_TEST_DIV64 is not setCONFIG_BACKTRACE_SELF_TEST=yCONFIG_TEST_REF_TRACKER=yCONFIG_RBTREE_TEST=yCONFIG_REED_SOLOMON_TEST=yCONFIG_INTERVAL_TREE_TEST=yCONFIG_ATOMIC64_SELFTEST=y
# CONFIG_ASYNC_RAID6_TEST is not setCONFIG_TEST_HEXDUMP=yCONFIG_STRING_SELFTEST=yCONFIG_TEST_STRING_HELPERS=y
# CONFIG_TEST_STRSCPY is not setCONFIG_TEST_KSTRTOX=y
# CONFIG_TEST_PRINTF is not setCONFIG_TEST_SCANF=yCONFIG_TEST_BITMAP=yCONFIG_TEST_UUID=yCONFIG_TEST_XARRAY=yCONFIG_TEST_RHASHTABLE=yCONFIG_TEST_SIPHASH=yCONFIG_TEST_IDA=yCONFIG_FIND_BIT_BENCHMARK=yCONFIG_TEST_FIRMWARE=yCONFIG_BITFIELD_KUNIT=yCONFIG_HASH_KUNIT_TEST=yCONFIG_RESOURCE_KUNIT_TEST=yCONFIG_SYSCTL_KUNIT_TEST=yCONFIG_LIST_KUNIT_TEST=yCONFIG_LINEAR_RANGES_TEST=yCONFIG_CMDLINE_KUNIT_TEST=yCONFIG_BITS_TEST=yCONFIG_SLUB_KUNIT_TEST=yCONFIG_MEMCPY_KUNIT_TEST=yCONFIG_OVERFLOW_KUNIT_TEST=yCONFIG_STACKINIT_KUNIT_TEST=yCONFIG_TEST_UDELAY=yCONFIG_TEST_MEMCAT_P=y
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_FREE_PAGES is not set
# end of Kernel Testing and Coverage # end of Kernel hacking
kernel test robot
build botRe: [PATCH 2/3] mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter
In reply to Oscar SalvadorI love your patch! Yet something to improve:
Hi Oscar,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.0-rc3]
[cannot apply to akpm-mm/mm-everything next-20220901]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Oscar-Salvador/page_owner-print-stacks-and-their-counter/20220901-124408 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c5e4d5e99162ba8025d58a3af7ad103f155d2df7 config: arc-randconfig-r043-20220901 (https://download.01.org/0day-ci/archive/20220902/[email protected]/config) compiler: arc-elf-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/18d3054fb57a70676be763adab8c8881a1baa504
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Oscar-Salvador/page_owner-print-stacks-and-their-counter/20220901-124408 git checkout 18d3054fb57a70676be763adab8c8881a1baa504
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
All errors (new ones prefixed by >>):
lib/stackdepot.c: In function 'stack_depot_print_stacks_threshold':
>> lib/stackdepot.c:603:17: error: 'STACK_HASH_SIZE' undeclared (first use in this function); did you mean 'STACK_HASH_SEED'?
603 | if (i < STACK_HASH_SIZE)
| ^~~~~~~~~~~~~~~
| STACK_HASH_SEED lib/stackdepot.c:603:17: note: each undeclared identifier is reported only once for each function it appears in
vim +603 lib/stackdepot.c
568
569 int stack_depot_print_stacks_threshold(char *buf, size_t size, loff_t *pos,
570 unsigned long *last_stack)
571 {
572 struct stack_record *stack = NULL, *last;
573 struct stack_record **stacks;
574 int i = *pos, ret = 0;
575
576 /* Continue from the last week if we have one */
577 if (*last_stack) {
578 last = (struct stack_record *)*last_stack;
579 stack = last->next;
580 } else {
581 new_table:
582 stacks = &stack_table[i];
583 stack = (struct stack_record *)stacks;
584 }
585
586 for (; stack; stack = stack->next) {
587 if (!stack->size || stack->size < 0 ||
588 stack->size > size || stack->handle.valid != 1 ||
589 refcount_read(&stack->count) < 1)
590 continue;
591
592 ret += stack_trace_snprint(buf, size, stack->entries, stack->size, 0);
593 ret += scnprintf(buf + ret, size - ret, "stack count: %d\n\n",
594 refcount_read(&stack->count));
595 *last_stack = (unsigned long)stack;
596 return ret;
597 }
598
599 i++;
600 *pos = i;
601
602 /* Keep looking all tables for valid stacks */
> 603 if (i < STACK_HASH_SIZE)
Signature · 2 lines
0-DAY CI Kernel Test Service https://01.org/lkp
PATCH 3/3 mm,page_owner: Filter out stacks by a threshold counter
In reply to Oscar SalvadorWe want to be able to filter out the output on a threshold basis, in this way we can get rid of a lot of noise and focus only on those stacks which have an allegedly high counter.
We can control the threshold value by a new file called 'page_owner_threshold', which is 0 by default.
--- include/linux/stackdepot.h | 3 +- lib/stackdepot.c | 6 ++-- mm/page_owner.c | 61 +++++++++++++++++++++++++++++++++++++- 3 files changed, 66 insertions(+), 4 deletions(-)
include/linux/stackdepot.h +2 -1
@@ -26,7 +26,8 @@ depot_stack_handle_t __stack_depot_save(unsigned long *entries, stack_action_t action);void stack_depot_dec_count (depot_stack_handle_t handle);int stack_depot_print_stacks_threshold (char *buf,size_t size,loff_t *pos, -unsigned long *last_stack); +unsigned long *last_stack, +unsigned long threshold);/* * Every user of stack depot has to call stack_depot_init() during its own init
lib/stackdepot.c +4 -2
@@ -528,7 +528,8 @@ depot_stack_handle_t stack_depot_save_action(unsigned long *entries,EXPORT_SYMBOL_GPL (stack_depot_save_action);int stack_depot_print_stacks_threshold (char *buf,size_t size,loff_t *pos, -unsigned long *last_stack) +unsigned long *last_stack, +unsigned long threshold) {struct stack_record *stack =NULL , *last;struct stack_record **stacks;
@@ -547,7 +548,8 @@ int stack_depot_print_stacks_threshold(char *buf, size_t size, loff_t *pos,for (; stack; stack = stack->next) {if (!stack->size || stack->size <0 || stack->size > size || stack->handle.valid !=1 || -refcount_read (&stack->count) <1 ) +refcount_read (&stack->count) <1 || +refcount_read (&stack->count) < threshold)continue ; ret +=stack_trace_snprint (buf, size, stack->entries, stack->size,0 );
mm/page_owner.c +60 -1
85 lines not on this page · raw message
Signature · 1 line
2.35.3
Re: [PATCH 3/3] mm,page_owner: Filter out stacks by a threshold counter
On 9/1/22 11:42 AM, Oscar Salvador wrote:> +static ssize_t read_page_owner_threshold(struct file *file, char __user *buf,
mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 705
Quoted 13 lines
mm/page_owner.c +13
-0+ size_t count, loff_t *pos) +{ + char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + +if (*pos >= count) +return 0 ; + + kbuf =kmalloc (count,GFP_KERNEL ); +if (!kbuf) +return ENOMEM ;
Missing a negative sign, return -ENOMEM.
Quoted 8 lines
mm/page_owner.c +8
-0+ ret =scnprintf (kbuf, count,"%lu\n" , threshold_count); +if (copy_to_user (buf, kbuf, ret)) + ret = -EFAULT ; + + *pos += count; +kfree (kbuf); + +return ret;
mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 724
Quoted 10 lines
mm/page_owner.c +10
-0+} + +static ssize_t write_page_owner_threshold (struct file *file,const char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + kbuf =kmalloc (count,GFP_KERNEL );
This looks overestimating to me. For unsigned long, on a 64-bit system has max val 18446744073709551615 (20 chars).
You can use stack a allocated local variable with length 21. No need to use kmalloc(). The same way with the read() op.
Quoted 21 lines
mm/page_owner.c +21
-0+if (!kbuf) +return -ENOMEM ; + +if (copy_from_user (kbuf, buf, count)) { + ret = -EFAULT ; + goto out; + } + + kbuf[count -1 ] ='\0' ; + + ret =kstrtoul (kbuf,10 , &threshold_count); + +out: +kfree (kbuf); +return ret ? ret : count; +} + +static const struct file_operations proc_page_owner_threshold = { + .read = read_page_owner_threshold, + .write = write_page_owner_threshold, +};
Signature · 1 line
Ammar Faizi
Re: [PATCH 3/3] mm,page_owner: Filter out stacks by a threshold counter
Quoted 6 lines · Ammar Faizi
On 9/1/22 11:42 AM, Oscar Salvador wrote:> +static
ssize_tread_page_owner_threshold(struct file *file, char__user*buf,mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 705
Quoted 3 lines
mm/page_owner.c +3
-0+ kbuf =kmalloc (count,GFP_KERNEL ); +if (!kbuf) +return ENOMEM ;Missing a negative sign, return
-ENOMEM.
Will fix.
Quoted 12 lines
mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 724
Quoted 8 lines
mm/page_owner.c +8
-0+static ssize_t write_page_owner_threshold (struct file *file,const char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + kbuf =kmalloc (count,GFP_KERNEL );This looks overestimating to me. For unsigned long, on a 64-bit system has max val 18446744073709551615 (20 chars).
Quoted 2 lines
You can use stack a allocated local variable with length 21. No need to use
kmalloc(). The same way with theread()op.
Probably could do that, but I'll go with Michal's option and will use seq_file.
Thanks!
Signature · 2 lines
Oscar Salvador SUSE Labs
Michal Hocko
reviewerRe: [PATCH 3/3] mm,page_owner: Filter out stacks by a threshold counter
In reply to Oscar SalvadorOn Thu 01-09-22 06:42:49, Oscar Salvador wrote:
[...]
mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 703
Quoted 12 lines
mm/page_owner.c +12
-0+static ssize_t read_page_owner_threshold (struct file *file,char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + +if (*pos >= count) +return 0 ; + + kbuf =kmalloc (count,GFP_KERNEL );
No, you do not want to trigger user defined allocation like that. I would use seq_file.
Signature · 2 lines
Michal Hocko SUSE Labs
Re: [PATCH 3/3] mm,page_owner: Filter out stacks by a threshold counter
Quoted 17 lines · Michal Hocko
On Thu 01-09-22 06:42:49, Oscar Salvador wrote:
[...]mm/page_owner.c static ssize_t read_page_owner_stacks(struct file *file, char __user *buf, · line 703
Quoted 12 lines
mm/page_owner.c +12
-0+static ssize_t read_page_owner_threshold (struct file *file,char __user *buf, +size_t count,loff_t *pos) +{ +char *kbuf; +int ret =0 ; + + count =min_t (size_t, count,PAGE_SIZE ); + +if (*pos >= count) +return 0 ; + + kbuf =kmalloc (count,GFP_KERNEL );No, you do not want to trigger user defined allocation like that. I would use
seq_file.
Sure, will use that.
Thanks!
Signature · 2 lines
Oscar Salvador SUSE Labs
Michal Hocko
reviewerQuoted 47 lines · Oscar Salvador
Hi,
page_owneris a great debug functionality tool that gets us to know about all pages that have been allocated/freed and their stacktrace. This comes very handy when e.g: debugging leaks, as with some scripting we might be able to see those stacktraces that are allocating pages but not freeing theme.In my experience, that is one of the most useful cases, but it can get really tedious to screen through all pages aand try to reconstruct the stack <-> allocated/freed relationship. There is a lot of noise to cancel off.
This patch aims to fix that by adding a new functionality into
page_owner. What this does is to create a new read-only file "page_owner_stacks", which prints only the allocating stacktraces and their counting, being that the times the stacktrace has allocated - the times it has freed.So we have a clear overview of stacks <-> allocated/freed relationship without the need to fiddle with pages and trying to match free stacktraces with allocated stacktraces.
This is achieved by adding a new
refcount_tfield in thestack_recordstruct, incrementing thatrefcount_teverytime the same stacktrace allocates, and decrementing it when it frees a page. Details can be seen in the respective patches.We also create another file called "
page_owner_threshold", which let us specify a threshold, so when when reading from "page_owner_stacks", we will only see those stacktraces which counting goes beyond the threshold we specified.A PoC can be found below:
# cat /sys/kernel/debug/page_owner_threshold 0 # cat /sys/kernel/debug/page_owner_stacks > stacks_full.txt # head -32 stacks_full.txt prep_new_page+0x10d/0x180 get_page_from_freelist+0x1bd6/0x1e10 __alloc_pages+0x194/0x360 alloc_page_interleave+0x13/0x90 new_slab+0x31d/0x530 ___slab_alloc+0x5d7/0x720 __slab_alloc.isra.85+0x4a/0x90 kmem_cache_alloc+0x455/0x4a0 acpi_ps_alloc_op+0x57/0x8f
Quoted 8 lines
acpi_ps_create_scope_op+0x12/0x23 acpi_ps_execute_method+0x102/0x2c1 acpi_ns_evaluate+0x343/0x4da acpi_evaluate_object+0x1cb/0x392 acpi_run_osc+0x135/0x260 acpi_init+0x165/0x4ed do_one_initcall+0x3e/0x200 stack count: 2
This is very nice and useful! I guess some people would prefer to have Memory usage: XYZ kB
dumped instead but looking at the code this would require to track number of pages rather than calls with stacks and that would be more code and somehow alien to the concept as well. Practically speaking, when looking into leakers high stack count should be indicative enough IMHO.
[...]
Quoted 11 lines
Oscar Salvador (3):
lib/stackdepot: Add a refcount field instack_record
mm,page_owner: Addpage_owner_stacksfile to print out only stacks
and their counter
mm,page_owner: Filter out stacks by a threshold counterinclude/linux/stackdepot.h | 16 ++++- lib/stackdepot.c | 121 ++++++++++++++++++++++++++++++++----- mm/kasan/common.c | 3 +- mm/page_owner.c | 102 +++++++++++++++++++++++++++++-- 4 files changed, 222 insertions(+), 20 deletions(-)
The code footprint is also rather low. I am no expert in neither stackdepot nor page owner but from a very quick glance nothing really jumped at me.
Thanks!
Signature · 2 lines
Michal Hocko SUSE Labs