Skip to content

Commit ace3647

Browse files
Chen Gongaegl
authored andcommitted
ACPI/APEI: Update einj documentation for param1/param2
To ensure EINJ working well when injecting errors via EINJ table, add some restrictions: param1 must be a valid physical RAM address and param2 must specify page granularity or narrower. Signed-off-by: Chen Gong <gong.chen@linux.intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
1 parent c5a1303 commit ace3647

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎Documentation/acpi/apei/einj.txt‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,16 @@ directory apei/einj. The following files are provided.
4747

4848
- param1
4949
This file is used to set the first error parameter value. Effect of
50-
parameter depends on error_type specified.
50+
parameter depends on error_type specified. For example, if error
51+
type is memory related type, the param1 should be a valid physical
52+
memory address.
5153

5254
- param2
5355
This file is used to set the second error parameter value. Effect of
54-
parameter depends on error_type specified.
56+
parameter depends on error_type specified. For example, if error
57+
type is memory related type, the param2 should be a physical memory
58+
address mask. Linux requires page or narrower granularity, say,
59+
0xfffffffffffff000.
5560

5661
- notrigger
5762
The EINJ mechanism is a two step process. First inject the error, then

0 commit comments

Comments
 (0)