Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen Gong and committed by
Tony Luck
ace3647a c5a13032

+7 -2
+7 -2
Documentation/acpi/apei/einj.txt
··· 47 47 48 48 - param1 49 49 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. 51 53 52 54 - param2 53 55 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. 55 60 56 61 - notrigger 57 62 The EINJ mechanism is a two step process. First inject the error, then