blob: a11ba3860dc3f7b456b466aee345f99758d98018 [file] [log] [blame]
Paul Beesleyfc9ee362019-03-07 15:47:15 +00001Platform Compatibility Policy
2=============================
Soby Mathew02bdbb92018-09-26 11:17:23 +01003
Soby Mathew02bdbb92018-09-26 11:17:23 +01004Introduction
5------------
6
7This document clarifies the project's policy around compatibility for upstream
8platforms.
9
10Platform compatibility policy
11-----------------------------
12
13Platform compatibility is mainly affected by changes to Platform APIs (as
14documented in the `Porting Guide`_), driver APIs (like the GICv3 drivers) or
15library interfaces (like xlat_table library). The project will try to maintain
16compatibility for upstream platforms. Due to evolving requirements and
17enhancements, there might be changes affecting platform compatibility which
18means the previous interface needs to be deprecated and a new interface
19introduced to replace it. In case the migration to the new interface is trivial,
20the contributor of the change is expected to make good effort to migrate the
21upstream platforms to the new interface.
22
John Tsichritzis4730c112019-07-05 14:14:40 +010023The deprecated interfaces are listed inside `Release information`_ as well as
24the release after which each one will be removed. When an interface is
25deprecated, the page must be updated to indicate the release after which the
26interface will be removed. This must be at least 1 full release cycle in future.
27For non-trivial interface changes, an email should be sent out to the `TF-A
28public mailing list`_ to notify platforms that they should migrate away from the
29deprecated interfaces. Platforms are expected to migrate before the removal of
30the deprecated interface.
Soby Mathew02bdbb92018-09-26 11:17:23 +010031
32--------------
33
John Tsichritzis4730c112019-07-05 14:14:40 +010034*Copyright (c) 2018-2019, Arm Limited and Contributors. All rights reserved.*
Soby Mathew02bdbb92018-09-26 11:17:23 +010035
Paul Beesleyea225122019-02-11 17:54:45 +000036.. _Porting Guide: ../getting_started/porting-guide.rst
John Tsichritzis4730c112019-07-05 14:14:40 +010037.. _Release information: ./release-information.rst#removal-of-deprecated-interfaces
38.. _TF-A public mailing list: https://lists.trustedfirmware.org/mailman/listinfo/tf-a