Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
What: /sys/kernel/debug/powerpc/memtrace
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: This folder contains the relevant debugfs files for the
|
|
hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING
|
|
must be set.
|
|
|
|
What: /sys/kernel/debug/powerpc/memtrace/enable
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: Write an integer containing the size in bytes of the memory
|
|
you want removed from each NUMA node to this file - it must be
|
|
aligned to the memblock size. This amount of RAM will be removed
|
|
from each NUMA node in the kernel mappings and the following
|
|
debugfs files will be created. Once memory is successfully
|
|
removed from each node, the following files are created. To
|
|
re-add memory to the kernel, echo 0 into this file (it will be
|
|
automatically onlined).
|
|
|
|
What: /sys/kernel/debug/powerpc/memtrace/<node-id>
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: This directory contains information about the removed memory
|
|
from the specific NUMA node.
|
|
|
|
What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: This contains the size of the memory removed from the node.
|
|
|
|
What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: This contains the start address of the removed memory.
|
|
|
|
What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace
|
|
Date: Aug 2017
|
|
KernelVersion: 4.14
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: This is where the hardware trace macro will output the trace
|
|
it generates.
|