mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
19f19daa645c8e74bb807ea6262f1fd381f6efa2
Add two features that assist in diagnosing link instability issues. The debugfs additions allow for snapshots of the Physical Layer statistics registers to be taken, during either free-running capture or after a hardware-controlled capture interval. To arm the capture engine (and reset the stats counters), write an integer N to: /sys/kernel/debug/pcie@<addr>/stats_trigger The engine will run forever with a value of 0, or disarm after N microseconds. To snapshot the hardware stats counters, write to: /sys/kernel/debug/pcie@<addr>/stats_snapshot Reading this file will return the snapshot. If no writes have occurred since boot, the snapshot will be of the initial link training period. The ltssm_trace module parameter printk's the states during initial link startup, in situations where failure to establish the link is a fatal error. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Linux kernel
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use make htmldocs or
make pdfdocs. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.3%
Shell
0.3%
Makefile
0.3%
Python
0.2%
Other
0.1%