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