]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
docs: move protection-keys.rst to the core-api book
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 7 Jun 2019 18:54:31 +0000 (15:54 -0300)
committerJonathan Corbet <corbet@lwn.net>
Sat, 8 Jun 2019 19:42:12 +0000 (13:42 -0600)
This document is used by multiple architectures:

$ echo $(git grep -l  pkey_mprotect arch|cut -d'/' -f 2|sort|uniq)
alpha arm arm64 ia64 m68k microblaze mips parisc powerpc s390 sh sparc x86 xtensa

So, let's move it to the core book and adjust the links to it
accordingly.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/index.rst
Documentation/core-api/protection-keys.rst [moved from Documentation/x86/protection-keys.rst with 100% similarity]
Documentation/x86/index.rst
arch/powerpc/Kconfig
arch/x86/Kconfig
tools/testing/selftests/x86/protection_keys.c

index ee1bb8983a882c2b349e3573399ffef9b5bf98c2..2466a4c510314b71084f55b04d9c84a8b0eaf816 100644 (file)
@@ -34,6 +34,7 @@ Core utilities
    timekeeping
    boot-time-mm
    memory-hotplug
+   protection-keys
 
 
 Interfaces for kernel debugging
index ae36fc5fc649fed482ce0cc60936bbd1bb4409cc..f2de1b2d3ac72d2d4f4e9ca4e51e12d291ec80e5 100644 (file)
@@ -19,7 +19,6 @@ x86-specific Documentation
    tlb
    mtrr
    pat
-   protection-keys
    intel_mpx
    amd-memory-encryption
    pti
index 8c1c636308c8e6544fc781a3f4cbda6310ba95d1..3b795a0cab6259d66da63f676239807a4373173c 100644 (file)
@@ -898,7 +898,7 @@ config PPC_MEM_KEYS
          page-based protections, but without requiring modification of the
          page tables when an application changes protection domains.
 
-         For details, see Documentation/vm/protection-keys.rst
+         For details, see Documentation/core-api/protection-keys.rst
 
          If unsure, say y.
 
index 2bbbd4d1ba31de5c0431393247ac4279878eb13d..d87d53fcd261bcbc80500d488c5cc3faf081eb4d 100644 (file)
@@ -1911,7 +1911,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
          page-based protections, but without requiring modification of the
          page tables when an application changes protection domains.
 
-         For details, see Documentation/x86/protection-keys.txt
+         For details, see Documentation/core-api/protection-keys.rst
 
          If unsure, say y.
 
index 5d546dcdbc805b93516e73ea1dd0757fd1449aff..480995bceefa5a4078e5252225fae0db4ebea6d4 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Tests x86 Memory Protection Keys (see Documentation/x86/protection-keys.txt)
+ * Tests x86 Memory Protection Keys (see Documentation/core-api/protection-keys.rst)
  *
  * There are examples in here of:
  *  * how to set protection keys on memory