diff options
author | Changbin Du <changbin.du@gmail.com> | 2019-05-08 11:21:41 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-05-08 16:34:12 -0400 |
commit | e115fb4bd2667754135d0436b6419fb171e9ea4a (patch) | |
tree | c8104f3f386eea384f8a79617e7358b5f5fbdb20 /Documentation/x86 | |
parent | bdde117ffed2625389787f82fc92724b486ce976 (diff) |
Documentation: x86: convert x86_64/machinecheck to reST
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>
Diffstat (limited to 'Documentation/x86')
-rw-r--r-- | Documentation/x86/x86_64/index.rst | 1 | ||||
-rw-r--r-- | Documentation/x86/x86_64/machinecheck.rst (renamed from Documentation/x86/x86_64/machinecheck) | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/x86/x86_64/index.rst b/Documentation/x86/x86_64/index.rst index c04b6eab3c76..d6eaaa5a35fc 100644 --- a/Documentation/x86/x86_64/index.rst +++ b/Documentation/x86/x86_64/index.rst | |||
@@ -13,3 +13,4 @@ x86_64 Support | |||
13 | 5level-paging | 13 | 5level-paging |
14 | fake-numa-for-cpusets | 14 | fake-numa-for-cpusets |
15 | cpu-hotplug-spec | 15 | cpu-hotplug-spec |
16 | machinecheck | ||
diff --git a/Documentation/x86/x86_64/machinecheck b/Documentation/x86/x86_64/machinecheck.rst index d0648a74fceb..e189168406fa 100644 --- a/Documentation/x86/x86_64/machinecheck +++ b/Documentation/x86/x86_64/machinecheck.rst | |||
@@ -1,5 +1,8 @@ | |||
1 | .. SPDX-License-Identifier: GPL-2.0 | ||
1 | 2 | ||
2 | Configurable sysfs parameters for the x86-64 machine check code. | 3 | =============================================================== |
4 | Configurable sysfs parameters for the x86-64 machine check code | ||
5 | =============================================================== | ||
3 | 6 | ||
4 | Machine checks report internal hardware error conditions detected | 7 | Machine checks report internal hardware error conditions detected |
5 | by the CPU. Uncorrected errors typically cause a machine check | 8 | 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 | |||
16 | from /dev/mcelog. Normally mcelog should be run regularly from a cronjob. | 19 | from /dev/mcelog. Normally mcelog should be run regularly from a cronjob. |
17 | 20 | ||
18 | Each CPU has a directory in /sys/devices/system/machinecheck/machinecheckN | 21 | Each CPU has a directory in /sys/devices/system/machinecheck/machinecheckN |
19 | (N = CPU number) | 22 | (N = CPU number). |
20 | 23 | ||
21 | The directory contains some configurable entries: | 24 | The directory contains some configurable entries: |
22 | 25 | ||
23 | Entries: | ||
24 | |||
25 | bankNctl | 26 | bankNctl |
26 | (N bank number) | 27 | (N bank number) |
28 | |||
27 | 64bit Hex bitmask enabling/disabling specific subevents for bank N | 29 | 64bit Hex bitmask enabling/disabling specific subevents for bank N |
28 | When a bit in the bitmask is zero then the respective | 30 | When a bit in the bitmask is zero then the respective |
29 | subevent will not be reported. | 31 | subevent will not be reported. |