Home
last modified time | relevance | path

Searched refs:execute_only_key (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c40 static int execute_only_key = 2; variable
164 if (unlikely(num_pkey <= execute_only_key) || !pkey_execute_disable_supported) { in pkey_early_init_devtree()
169 execute_only_key = -1; in pkey_early_init_devtree()
175 reserved_allocation_mask |= (0x1 << execute_only_key); in pkey_early_init_devtree()
181 default_amr |= (0x3ul << pkeyshift(execute_only_key)); in pkey_early_init_devtree()
182 default_iamr &= ~(0x1ul << pkeyshift(execute_only_key)); in pkey_early_init_devtree()
187 default_uamor &= ~(0x3ul << pkeyshift(execute_only_key)); in pkey_early_init_devtree()
311 mm->context.execute_only_pkey = execute_only_key; in pkey_mm_init()