linux-imx/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map
Mauro Carvalho Chehab 54a19b4d3f docs: ABI: cleanup several ABI documents
There are some ABI documents that, while they don't generate
any warnings, they have issues when parsed by get_abi.pl script
on its output result.

Address them, in order to provide a clean output.

Reviewed-by: Tom Rix <trix@redhat.com> # for fpga-manager
Reviewed-By: Kajol Jain<kjain@linux.ibm.com> # for sysfs-bus-event_source-devices-hv_gpci and sysfs-bus-event_source-devices-hv_24x7
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for IIO
Acked-by: Oded Gabbay <oded.gabbay@gmail.com> # for Habanalabs
Acked-by: Vaibhav Jain <vaibhav@linux.ibm.com> # for sysfs-bus-papr-pmem
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com> # for catpt
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: Ilya Dryomov <idryomov@gmail.com> # for rbd
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/5bc78e5b68ed1e9e39135173857cb2e753be868f.1604042072.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-30 13:14:29 +01:00

1.3 KiB

What: /sys/firmware/efi/runtime-map/ Date: December 2013 Contact: Dave Young dyoung@redhat.com Description: Switching efi runtime services to virtual mode requires that all efi memory ranges which have the runtime attribute bit set to be mapped to virtual addresses.

	The efi runtime services can only be switched to virtual
	mode once without rebooting. The kexec kernel must maintain
	the same physical to virtual address mappings as the first
	kernel. The mappings are exported to sysfs so userspace tools
	can reassemble them and pass them into the kexec kernel.

	/sys/firmware/efi/runtime-map/ is the directory the kernel
	exports that information in.

	subdirectories are named with the number of the memory range::

		/sys/firmware/efi/runtime-map/0
		/sys/firmware/efi/runtime-map/1
		/sys/firmware/efi/runtime-map/2
		/sys/firmware/efi/runtime-map/3
		...

	Each subdirectory contains five files:

	=========   =========================================
	attribute   The attributes of the memory range.
	num_pages   The size of the memory range in pages.
	phys_addr   The physical address of the memory range.
	type        The type of the memory range.
	virt_addr   The virtual address of the memory range.
	=========   =========================================

	Above values are all hexadecimal numbers with the '0x' prefix.

Users: Kexec