# The Linux Kernel documentation

_Peios Kernel / Kernel development / Writing documentation_

> This is the top level of the kernel's documentation tree. Kernel documentation, like the kernel itself, is very much a work in progress; that is especially true as we work to integrate our many scattered documents into a coherent whole.…

<a id="rst-the-linux-kernel-documentation"></a>
<a id="rst-linux-doc"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

This is the top level of the kernel's documentation tree.  Kernel documentation, like the kernel itself, is very much a work in progress; that is especially true as we work to integrate our many scattered documents into a coherent whole.  Please note that improvements to the documentation are welcome; join the linux-doc list at vger.kernel.org if you want to help out.

<a id="rst-working-with-the-development-community"></a>

## Working with the development community

The essential guides for interacting with the kernel's development community and getting your work upstream.

- [Development process](</kernel/development/process/development-process.md>)
- [Submitting patches](</kernel/development/process/submitting-patches.md>)
- [Code of conduct](</kernel/development/process/code-of-conduct.md>)
- [Maintainer handbook](</kernel/development/maintainer/index.md>)
- [All development-process docs](</kernel/development/process/index.md>)

<a id="rst-internal-api-manuals"></a>

## Internal API manuals

Manuals for use by developers working to interface with the rest of the kernel.

- [Core API](</kernel/internals/core-api/index.md>)
- [Driver APIs](</kernel/hardware/driver-api/fundamentals/index.md>)
- [Subsystems](</kernel/development/doc-guide/subsystem-apis.md>)
- [Locking](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/locking/index.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>)

<a id="rst-development-tools-and-processes"></a>

## Development tools and processes

Various other manuals with useful information for all kernel developers.

- [Licensing rules](</kernel/development/process/license-rules.md>)
- [Writing documentation](</kernel/development/doc-guide/index.md>)
- [Development tools](</kernel/development/dev-tools/index.md>)
- [Testing guide](</kernel/development/dev-tools/testing-overview.md>)
- [Hacking guide](</kernel/development/kernel-hacking/index.md>)
- [Tracing](</kernel/development/trace/index.md>)
- [Fault injection](</kernel/development/fault-injection/index.md>)
- [Livepatching](</kernel/development/livepatch/index.md>)
- [Rust](</kernel/development/rust/index.md>)

<a id="rst-user-oriented-documentation"></a>

## User-oriented documentation

The following manuals are written for <em>users</em> of the kernel — those who are trying to get it to work optimally on a given system and application developers seeking information on the kernel's user-space APIs.

- [Administration](</kernel/administration/admin-guide/overview/index.md>)
- [Build system](</kernel/development/kbuild/index.md>)
- [Reporting issues](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/admin-guide/reporting-issues.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>)
- [Userspace tools](</kernel/administration/tools/index.md>)
- [Userspace API](</kernel/userspace/userspace-api/overview/index.md>)

See also: the [Linux man pages](<https://www.kernel.org/doc/man-pages/>)<a id="rst-linux-man-pages"></a>, which are kept separately from the kernel's own documentation.

<a id="rst-firmware-related-documentation"></a>

## Firmware-related documentation

The following holds information on the kernel's expectations regarding the platform firmware.

- [Firmware](</kernel/hardware/firmware-guide/index.md>)
- [Firmware and Devicetree](</kernel/hardware/devicetree/index.md>)

<a id="rst-architecture-specific-documentation"></a>

## Architecture-specific documentation

- [CPU architectures](</kernel/hardware/arch/overview/index.md>)

<a id="rst-other-documentation"></a>

## Other documentation

There are several unsorted documents that don't seem to fit on other parts of the documentation body, or may require some adjustments and/or conversion to reStructuredText format, or are simply too old.

- [Unsorted documentation](</kernel/internals/staging/index.md>)

<a id="rst-translations"></a>

## Translations

- [Translations](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/translations/index.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>)

<a id="rst-indices-and-tables"></a>

## Indices and tables

- [Upstream general index](<https://docs.kernel.org/genindex.html>)<a id="rst-upstream-general-index"></a>
