Thread (49 messages) flat view 49 messages, 2 authors, 2020-07-07

Re: [PATCH v5 17/26] powerpc/book3s64/keys: Print information during boot.

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-07-06 07:51:56

"Aneesh Kumar K.V" [off-list ref] writes:
quoted hunk ↗ jump to hunk
Signed-off-by: Aneesh Kumar K.V <redacted>
---
 arch/powerpc/mm/book3s64/pkeys.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/mm/book3s64/pkeys.c b/arch/powerpc/mm/book3s64/pkeys.c
index 810118123e70..0d72c0246052 100644
--- a/arch/powerpc/mm/book3s64/pkeys.c
+++ b/arch/powerpc/mm/book3s64/pkeys.c
@@ -195,6 +195,7 @@ void __init pkey_early_init_devtree(void)
 	 */
 	initial_allocation_mask |= reserved_allocation_mask;
 
+	pr_info("Enabling Memory keys with max key count %d", max_pkey);
                                                           ^
                                                           missing newline
 	return;
 }
The syscall is called pkey_mprotect() and the manpage is "pkeys", so I
think it would make sense to use "pkey" in the message.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help