linux/Documentation/ABI
Greg Kroah-Hartman a8a6d9b4da coresight: Updates for Linux v6.20/v7.0
This batch of CoreSight hwtracing updates contains :
  - Fine grained control of Timestamp generation in ETM4 trace, retaining backward
    compatibility
  - Feature updates for Qualcomm TPDA driver
  - Support Qualcomm Interconnect TNOC
  - Miscellaneous fixes to TMC-ETR driver
 
 Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEuFy0byloRoXZHaWBxcXRZPKyBqEFAml3Q8UACgkQxcXRZPKy
 BqF8lg//UHXXwvZp2lKG8SwCPZoYBbwQSRwf7JMOXo/hEIF38qElWXm3zA7d0U4E
 qY+cKVaSTXxz5hrjTzkzDsLI2cLsmZX1R8QEhP33voXWPdW/b4GFA84WwKss/F7J
 2t4p/m/EbW/1305eIKkKqz5ev0J8vOe8FoPZ1oQ7h27Lw1EDw9wzpUCu9JZkljz3
 /A7c6i78H5fkF9ulRM+11/xZnZXnIIjdv3JRY2qrGUyvLXKs5dC59p9R6ln+cRWU
 1AOjCqMeCyjZPJAk/S6iH3Qi1R+NxN3tL4ojsmHnHojmql8mGKjCFbUkrw0eOgxg
 /3qFVIeIEmOq66Azj28yKezICpQwn9MyWxp03dVYGxPoCEpZP8x39NoK47inZD4u
 KXrKlLSQ6i0aehbjs0s2NsBsetHKHrkS16sXESvoPQSEb6KmgKk9PK9WSara3Plo
 ueJtuJzlSgLuxLciX6rnzrZALzhQWIsIpzNOaInWZMjJpNrramxk5T64tRwA9xhG
 eWErxaNLsJGCZzWA/4ozLgRUEBJygp6VpCNpU8ddjBMzMVaKyrk6W5vCfWlynwVy
 UNepYiAHqGYeV7JgbxfqAJHk4AazEWYNbkHhxZXd0PsRhqHTilDpfPtk3KFh2BVM
 k64vS0BnPWHvUYQSwghOkiHrSnqvtWWL9uqw/zZfSj+YMj6KP6E=
 =7lsU
 -----END PGP SIGNATURE-----

Merge tag 'coresight-next-v7.0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux into char-misc-next

Suzuki writes:

coresight: Updates for Linux v6.20/v7.0

This batch of CoreSight hwtracing updates contains :
 - Fine grained control of Timestamp generation in ETM4 trace, retaining backward
   compatibility
 - Feature updates for Qualcomm TPDA driver
 - Support Qualcomm Interconnect TNOC
 - Miscellaneous fixes to TMC-ETR driver

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>

* tag 'coresight-next-v7.0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux: (27 commits)
  coresight: tmc: Decouple the perf buffer allocation from sysfs mode
  coresight: tmc-etr: Fix race condition between sysfs and perf mode
  coresight: tmc: Add missing doc including reading and etr_mode of struct tmc_drvdata
  coresight-tnoc: Add runtime PM support for Interconnect TNOC
  coresight-tnoc: add platform driver to support Interconnect TNOC
  dt-bindings: arm: qcom: Add Coresight Interconnect TNOC
  coresight: etm3x: Fix cpulocked warning on cpuhp
  coresight: tpda: Fix intendation for sysfs interface documentation
  coresight: tpda: add sysfs node to flush specific port
  coresight: tpda: add logic to configure TPDA_SYNCR register
  coresight: tpda: add global_flush_req sysfs node
  coresight: tpda: add sysfs nodes for tpda cross-trigger configuration
  coresight: docs: Document etm4x timestamp interval option
  coresight: Extend width of timestamp format attribute
  coresight: Prepare to allow setting the timestamp interval
  coresight: Remove misleading definitions
  coresight: Interpret ETMv4 config with ATTR_CFG_GET_FLD()
  coresight: Interpret perf config with ATTR_CFG_GET_FLD()
  coresight: Don't reject unrecognized ETMv3 format attributes
  coresight: Interpret ETMv3 config with ATTR_CFG_GET_FLD()
  ...
2026-01-26 12:11:11 +01:00
..
obsolete Documentation/ABI: mark old kexec sysfs deprecated 2025-11-27 14:24:43 -08:00
removed docs: Fix references to IBM CAPI (cxl) removal version 2025-04-02 23:09:52 +11:00
stable treewide: Update email address 2026-01-11 06:09:11 -10:00
testing coresight: Updates for Linux v6.20/v7.0 2026-01-26 12:11:11 +01:00
README docs: ABI: make the KernelVersion field optional 2025-07-01 13:18:04 -06:00

This part of the documentation inside Documentation/ABI directory
attempts to document the ABI between the Linux kernel and
userspace, and the relative stability of these interfaces.  Due to the
everchanging nature of Linux, and the differing maturity levels, these
interfaces should be used by userspace programs in different ways.

We have four different levels of ABI stability, as shown by the four
different subdirectories in this location.  Interfaces may change levels
of stability according to the rules described below.

The different levels of stability are:

  stable/
	This directory documents the interfaces that the developer has
	defined to be stable.  Userspace programs are free to use these
	interfaces with no restrictions, and backward compatibility for
	them will be guaranteed for at least 2 years.  Most interfaces
	(like syscalls) are expected to never change and always be
	available.

  testing/
	This directory documents interfaces that are felt to be stable,
	as the main development of this interface has been completed.
	The interface can be changed to add new features, but the
	current interface will not break by doing this, unless grave
	errors or security problems are found in them.  Userspace
	programs can start to rely on these interfaces, but they must be
	aware of changes that can occur before these interfaces move to
	be marked stable.  Programs that use these interfaces are
	strongly encouraged to add their name to the description of
	these interfaces, so that the kernel developers can easily
	notify them if any changes occur (see the description of the
	layout of the files below for details on how to do this.)

  obsolete/
	This directory documents interfaces that are still remaining in
	the kernel, but are marked to be removed at some later point in
	time.  The description of the interface will document the reason
	why it is obsolete and when it can be expected to be removed.

  removed/
	This directory contains a list of the old interfaces that have
	been removed from the kernel.

Every file in these directories will contain the following information:

What:		Short description of the interface
Date:		Date created
KernelVersion:	(Optional) Kernel version this feature first showed up in.
		Note: git history often provides more accurate version
		info, so this field may be omitted.
Contact:	Primary contact for this interface (may be a mailing list)
Description:	Long description of the interface and how to use it.
Users:		All users of this interface who wish to be notified when
		it changes.  This is very important for interfaces in
		the "testing" stage, so that kernel developers can work
		with userspace developers to ensure that things do not
		break in ways that are unacceptable.  It is also
		important to get feedback for these interfaces to make
		sure they are working in a proper way and do not need to
		be changed further.


Note:
   The fields should be use a simple notation, compatible with ReST markup.
   Also, the file **should not** have a top-level index, like::

	===
	foo
	===

How things move between levels:

Interfaces in stable may move to obsolete, as long as the proper
notification is given.

Interfaces may be removed from obsolete and the kernel as long as the
documented amount of time has gone by.

Interfaces in the testing state can move to the stable state when the
developers feel they are finished.  They cannot be removed from the
kernel tree without going through the obsolete state first.

It's up to the developer to place their interfaces in the category they
wish for it to start out in.


Notable bits of non-ABI, which should not under any circumstances be considered
stable:

- Kconfig.  Userspace should not rely on the presence or absence of any
  particular Kconfig symbol, in /proc/config.gz, in the copy of .config
  commonly installed to /boot, or in any invocation of the kernel build
  process.

- Kernel-internal symbols.  Do not rely on the presence, absence, location, or
  type of any kernel symbol, either in System.map files or the kernel binary
  itself.  See Documentation/process/stable-api-nonsense.rst.