]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Documentation: x86: convert x86_64/machinecheck to reST
authorChangbin Du <changbin.du@gmail.com>
Wed, 8 May 2019 15:21:41 +0000 (23:21 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 8 May 2019 20:34:12 +0000 (14:34 -0600)
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/x86/x86_64/index.rst
Documentation/x86/x86_64/machinecheck.rst [moved from Documentation/x86/x86_64/machinecheck with 92% similarity]

index c04b6eab3c76450c4ca2ddba9e37e4d7fe3d442e..d6eaaa5a35fcd807bdd92e764c0eb416729d40be 100644 (file)
@@ -13,3 +13,4 @@ x86_64 Support
    5level-paging
    fake-numa-for-cpusets
    cpu-hotplug-spec
+   machinecheck
similarity index 92%
rename from Documentation/x86/x86_64/machinecheck
rename to Documentation/x86/x86_64/machinecheck.rst
index d0648a74fceb50659d2eb018d47178619636b74e..e189168406fa8f2c25b5810094dc423fb91844f6 100644 (file)
@@ -1,5 +1,8 @@
+.. SPDX-License-Identifier: GPL-2.0
 
-Configurable sysfs parameters for the x86-64 machine check code.
+===============================================================
+Configurable sysfs parameters for the x86-64 machine check code
+===============================================================
 
 Machine checks report internal hardware error conditions detected
 by the CPU. Uncorrected errors typically cause a machine check
@@ -16,14 +19,13 @@ log then mcelog should run to collect and decode machine check entries
 from /dev/mcelog. Normally mcelog should be run regularly from a cronjob.
 
 Each CPU has a directory in /sys/devices/system/machinecheck/machinecheckN
-(N = CPU number)
+(N = CPU number).
 
 The directory contains some configurable entries:
 
-Entries:
-
 bankNctl
-(N bank number)
+       (N bank number)
+
        64bit Hex bitmask enabling/disabling specific subevents for bank N
        When a bit in the bitmask is zero then the respective
        subevent will not be reported.