Re: [PATCH v2] Add static_key_feature_checks_initialized flag

2024-04-22 Thread Michael Ellerman
On Mon, 08 Apr 2024 05:23:58 +, Nicholas Miehlbradt wrote: > JUMP_LABEL_FEATURE_CHECK_DEBUG used static_key_intialized to determine > whether {cpu,mmu}_has_feature() is used before static keys were > initialized. However, {cpu,mmu}_has_feature() should not be used before > setup_feature_keys()

Re: [PATCH v2] Add static_key_feature_checks_initialized flag

2024-04-08 Thread Michael Ellerman
Nicholas Miehlbradt writes: > JUMP_LABEL_FEATURE_CHECK_DEBUG used static_key_intialized to determine > whether {cpu,mmu}_has_feature() is used before static keys were > initialized. However, {cpu,mmu}_has_feature() should not be used before > setup_feature_keys() is called but