Skip to content

Commit d540609

Browse files
authored
XRT governence changes (#3413)
* Update CHANGELOG * Add Contributing file to guide PRs from community * Minor update to Changelog * Update release version in Sphinx conf file * Add AUTHORS file * Remove note about disabling multiprocess in multiprocess doc * Updated XSA shell diagram with better layout * Updates to security doc * Deleted our copy of checkpatch.p; now automatically downloaded from kernel.org
1 parent 8919248 commit d540609

File tree

11 files changed

+1561
-7809
lines changed

11 files changed

+1561
-7809
lines changed

AUTHORS.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
===========
2+
XRT Authors
3+
===========
4+
5+
This file lists authors who have either directly contributed to XRT code base or are authors
6+
of other open source projects which are used in XRT.
7+
8+
9+
* Peter Korsgaard <[email protected]>
10+
* Secret Lab Technologies Ltd
11+
* Intel Corporation
12+
* David Gibson, IBM Corporation.
13+
* embedded brains GmbH
14+
* Kim Phillips, Freescale Semiconductor.
15+
* Free Electrons
16+
* NextThing Co.
17+
* Jan Stephan <[email protected]>
18+
* OSR Open Systems Resources, Inc
19+
* Michael Preston <[email protected]>
20+
* Jeff Baxter <[email protected]>
21+
* Samsung Semiconductor, Inc
22+
* The Khronos Group Inc

CHANGELOG.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ Added
99

1010
* XRT native APIs for PL kernel have been added. These APIs are defined in new header file ``xrt_kernel.h``. Please see ``tests/xrt/22_verify/main.cpp`` and ``tests/xrt/02_simple/main.cpp`` for examples. The APIs are also accessible from python. Please see ``tests/python/22_verify/22_verify.py`` and ``tests/python/02_simple/main.py`` for examples.
1111
* Support for data-driven platforms have been added. XRT uses PCIe VSEC to identify data-driven platforms. For these class of platforms XRT uses device tree to discover IPs in the shell and then initialize them.
12-
* Experimental APIs have been added for AIE control for edge platforms. The APIs are defined in header file ``xrt_aie.h``
12+
* Experimental APIs have been added for AIE control for edge platforms. The APIs are defined in header file ``xrt_aie.h``.
13+
* Support for U30 video acceleration offload device has been added.
14+
* Early access versions of next generation utilities, *xbutil* and *xbmgmt* are available. They can be invoked via *--new* switch as ``xbutil --new``.
15+
* Utilties xbutil and xbmgmt now give a warning when they detect an unsupported Linux distribution version and kernel version.
16+
* Error code paths for clPollStreams() API has been improved.
17+
1318

1419
Removed
1520
.......
@@ -19,13 +24,14 @@ Removed
1924
* ``xclUpgradeFirmware()``, ``xclUpgradeFirmware2()`` and ``xclUpgradeFirmwareXSpi()`` have been marked as deprecated in this release and will be removed in a future release. Please use xbmgmt utility to flash device.
2025
* ``xclBootFPGA()``, ``xclRemoveAndScanFPGA()`` and ``xclRegisterInterruptNotify()`` have been marked as deprecated in this release and will be removed in a future release. These functionalities are no longer supported.
2126
* ``xclLockDevice()`` and ``xclUnlockDevice()`` have been marked as deprecated in this release and will be removed in a future release. These functionalities are no longer supported.
27+
* This is the last release of XMA legacy APIs. Please port your application to XMA2 APIs.
2228

2329
Known Issues
2430
............
2531

2632
* On CentOS the ``xrtdeps.sh`` script used to install required dependencies for building XRT is trying to install no longer supported ``devtoolset-6``. In order to build XRT on CentOS or RHEL, a later devtoolset version should be installed, for example ``devtoolset-9``.
2733

28-
34+
2935
2.4.0 (202010.2.4)
3036
~~~~~~~~~~~~~~~~~~
3137

CONTRIBUTING.rst

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
===================
2+
Contributing to XRT
3+
===================
4+
5+
6+
Welcome to XRT! You can contribute to XRT in a variety of ways. You can report bugs and feature requests using `GitHub Issues <https://github.com/Xilinx/XRT/issues>`_. You can send patches which add new features to XRT or fix bugs in XRT. You can also send patches to update XRT documentation.
7+
8+
9+
Reporting Issues
10+
****************
11+
12+
When reporting issues on GitHub please include the following:
13+
14+
1. XRT version including git hash
15+
2. Alveo platform name and version
16+
3. Output of ``xbutil query``
17+
4. Output of ``xbmgmt scan``
18+
5. ``dmesg``
19+
6. gdb stack trace of host application
20+
7. Contents of xrt.ini (if used)
21+
22+
23+
Contributing Code
24+
*****************
25+
26+
Please use GitHub Pull Requests (PR) for sending code contributions. When sending code sign your work as described below. Be sure to use the same license for your contributions as the current license of the XRT component you are contributing to.
27+
28+
29+
Sign Your Work
30+
==============
31+
32+
Please use the *Signed-off-by* line at the end of your patch which indicates that you accept the Developer Certificate of Origin (DCO) defined by https://developercertificate.org/ reproduced below::
33+
34+
Developer Certificate of Origin
35+
Version 1.1
36+
37+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
38+
1 Letterman Drive
39+
Suite D4700
40+
San Francisco, CA, 94129
41+
42+
Everyone is permitted to copy and distribute verbatim copies of this
43+
license document, but changing it is not allowed.
44+
45+
46+
Developer's Certificate of Origin 1.1
47+
48+
By making a contribution to this project, I certify that:
49+
50+
(a) The contribution was created in whole or in part by me and I
51+
have the right to submit it under the open source license
52+
indicated in the file; or
53+
54+
(b) The contribution is based upon previous work that, to the best
55+
of my knowledge, is covered under an appropriate open source
56+
license and I have the right under that license to submit that
57+
work with modifications, whether created in whole or in part
58+
by me, under the same open source license (unless I am
59+
permitted to submit under a different license), as indicated
60+
in the file; or
61+
62+
(c) The contribution was provided directly to me by some other
63+
person who certified (a), (b) or (c) and I have not modified
64+
it.
65+
66+
(d) I understand and agree that this project and the contribution
67+
are public and that a record of the contribution (including all
68+
personal information I submit with it, including my sign-off) is
69+
maintained indefinitely and may be redistributed consistent with
70+
this project or the open source license(s) involved.
71+
72+
73+
Here is an example Signed-off-by line which indicates that the contributor accepts DCO::
74+
75+
76+
This is my commit message
77+
78+
Signed-off-by: Jane Doe <[email protected]>
79+
80+
81+
Code License
82+
============
83+
84+
All XRT code is licensed under the terms `LICENSE <https://github.com/Xilinx/XRT/blob/master/LICENSE>`_ Your contribution will be accepted under the same license.
85+
86+
Please consult the table below for the brief summary of XRT license for various components.
87+
88+
==================== =========================
89+
Component License
90+
==================== =========================
91+
Linux xocl driver GPLv2
92+
Linux xclmgmt driver GPLv2
93+
Linux zocl driver Dual GPLv2 and Apache 2.0
94+
User space Apache 2.0
95+
==================== =========================

build/checkpatch.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@
33
# Use this script to run checkpatch on argument file only
44

55
BUILDDIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
6+
if [ ! -x $BUILDDIR/checkpatch/checkpatch.pl ]; then
7+
curl -o $BUILDDIR/checkpatch/checkpatch.pl "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/scripts/checkpatch.pl?h=v4.14.180"
8+
chmod +x $BUILDDIR/checkpatch/checkpatch.pl
9+
fi
10+
611
$BUILDDIR/checkpatch/checkpatch.pl --color=never --emacs --terse --no-tree --max-line-length=120 -f $1

0 commit comments

Comments
 (0)