| 1 |
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
| 2 |
Source: https://github.com/ROCm/amdsmi |
| 3 |
Upstream-Name: amdsmi |
| 4 |
Comment: We also integrate esmi library in the debian folder as currently it's under rapid development |
| 5 |
thus has unstable APIs. Besides, no other package except amdsmi depends on it, and packaging it |
| 6 |
requires the amd_energy and amd HSMP kernel module, which are missing in Debian now. |
| 7 |
. |
| 8 |
amdsmi was relicensed to MIT/Expat in 2024: https://github.com/ROCm/amdsmi/commit/3052ad42205f8939c88e7a84dc9c00b39fbceae0 |
| 9 |
|
| 10 |
Files: * |
| 11 |
Copyright: Advanced Micro Devices, Inc. |
| 12 |
License: Expat |
| 13 |
|
| 14 |
Files: include/amd_smi/impl/amd_hsmp.h |
| 15 |
Copyright: 2022-2024, Suma Hegde <[email protected]> |
| 16 |
2024, Arnd Bergmann <[email protected]> |
| 17 |
2024, Bjorn Helgaas <[email protected]> |
| 18 |
License: GPL-2 with Linux Syscall Note Exception |
| 19 |
Comment: This file was directly copied from the linux kernel |
| 20 |
File is https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/tree/arch/x86/include/uapi/asm/amd_hsmp.h |
| 21 |
Copyright attribution was written by looking at the log for that file in git |
| 22 |
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/arch/x86/include/uapi/asm/amd_hsmp.h |
| 23 |
|
| 24 |
Files: include/amd_smi/impl/amdgpu_drm.h |
| 25 |
Copyright: 2014, Advanced Micro Devices, Inc. |
| 26 |
2002, Tungsten Graphics, Inc. |
| 27 |
2000, VA Linux Systems, Inc. |
| 28 |
2000, Precision Insight, Inc. |
| 29 |
License: Expat |
| 30 |
|
| 31 |
Files: include/amd_smi/impl/xf86drm.h |
| 32 |
Copyright: 1999-2000, Precision Insight, Inc. |
| 33 |
2000, VA Linux Systems, Inc. |
| 34 |
License: Expat |
| 35 |
|
| 36 |
Files: third_party/shared_mutex/* |
| 37 |
Copyright: 2019-2024, Advanced Micro Devices, Inc. |
| 38 |
2018, Oleg Yamnikov |
| 39 |
License: Expat |
| 40 |
|
| 41 |
Files: debian/* |
| 42 |
Copyright: 2024, Xuanteng Huang <[email protected]> |
| 43 |
2025, Cordell Bloor <[email protected]> |
| 44 |
2025, Mario Limonciello <[email protected]> |
| 45 |
2025, Tim Flink <[email protected]> |
| 46 |
License: Expat |
| 47 |
|
| 48 |
Files: debian/esmi_ib_library-4.3/* |
| 49 |
Copyright: 2023, Advanced Micro Devices, Inc. |
| 50 |
License: NCSA |
| 51 |
Comment: AMD esmi (EPYC System Management Interface) [1] is a C library for |
| 52 |
Linux that provides a user space interface to monitor and control the CPU's |
| 53 |
power, energy, performance and other system management features. |
| 54 |
. |
| 55 |
esmi library is used to compile amdsmi package. |
| 56 |
. |
| 57 |
We choose to embed esmi in the debian folder as: |
| 58 |
* esmi tests require HSMP and amd_energy kernel module |
| 59 |
* only amdsmi depends on esmi |
| 60 |
* esmi has unstable APIs as for now |
| 61 |
. |
| 62 |
[1]: https://github.com/amd/esmi_ib_library |
| 63 |
|
| 64 |
Files: debian/esmi_ib_library-4.3/include/asm/amd_hsmp.h |
| 65 |
Copyright: 2021-2024, Advanced Micro Devices, Inc. |
| 66 |
License: GPL-2 with Linux Syscall Note Exception |
| 67 |
Comment: HSMP (Host System Management Port) is a part of kernel module [2] |
| 68 |
providing user level access to the system management unit (SMU) implemented in |
| 69 |
the firmware. |
| 70 |
. |
| 71 |
This file is used in esmi to provide defined types. |
| 72 |
. |
| 73 |
[2]: https://github.com/amd/amd_hsmp |
| 74 |
|
| 75 |
License: Expat |
| 76 |
Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 77 |
this software and associated documentation files (the “Software”), to deal in |
| 78 |
the Software without restriction, including without limitation the rights to |
| 79 |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 80 |
the Software, and to permit persons to whom the Software is furnished to do so, |
| 81 |
subject to the following conditions: |
| 82 |
. |
| 83 |
The above copyright notice and this permission notice shall be included in all |
| 84 |
copies or substantial portions of the Software. |
| 85 |
. |
| 86 |
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 87 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 88 |
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 89 |
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 90 |
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 91 |
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 92 |
|
| 93 |
License: NCSA |
| 94 |
The University of Illinois/NCSA Open Source License |
| 95 |
. |
| 96 |
Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 97 |
this software and associated documentation files (the "Software"), to deal with |
| 98 |
the Software without restriction, including without limitation the rights |
| 99 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| 100 |
of the Software, and to permit persons to whom the Software is furnished to |
| 101 |
do so, subject to the following conditions: |
| 102 |
. |
| 103 |
* Redistributions of source code must retain the above copyright notice, |
| 104 |
this list of conditions and the following disclaimers. |
| 105 |
* Redistributions in binary form must reproduce the above copyright notice, |
| 106 |
this list of conditions and the following disclaimers in the documentation |
| 107 |
and/or other materials provided with the distribution. |
| 108 |
* Neither the names of <Name of Development Group, Name of Institution>, |
| 109 |
nor the names of its contributors may be used to endorse or promote products |
| 110 |
derived from this Software without specific prior written permission. |
| 111 |
. |
| 112 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 113 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 114 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 115 |
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 116 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 117 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE |
| 118 |
SOFTWARE. |
| 119 |
|
| 120 |
License: GPL-2 with Linux Syscall Note Exception |
| 121 |
This program is free software: you can redistribute it and/or modify |
| 122 |
it under the terms of the GNU General Public License as published by |
| 123 |
the Free Software Foundation, version 2 of the License. |
| 124 |
. |
| 125 |
This program is distributed in the hope that it will be useful, |
| 126 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 127 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 128 |
GNU General Public License for more details. |
| 129 |
. |
| 130 |
You should have received a copy of the GNU General Public License |
| 131 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 132 |
. |
| 133 |
The complete text of the GNU General Public License |
| 134 |
can be found in /usr/share/common-licenses/GPL-2 file. |
| 135 |
. |
| 136 |
. |
| 137 |
Additionally, the following exception is granted: |
| 138 |
NOTE! This copyright does *not* cover user programs that use kernel services |
| 139 |
by normal system calls - this is merely considered normal use of the kernel, |
| 140 |
and does *not* fall under the heading of "derived work". Also note that the |
| 141 |
GPL below is copyrighted by the Free Software Foundation, but the instance of |
| 142 |
code that it refers to (the Linux kernel) is copyrighted by me and others who |
| 143 |
actually wrote it. |
| 144 |
. |
| 145 |
Also note that the only valid version of the GPL as far as the kernel is |
| 146 |
concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x |
| 147 |
or whatever), unless explicitly otherwise stated. |
| 148 |
. |
| 149 |
Comment: See https://spdx.org/licenses/Linux-syscall-note.html |