1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

145 commits

Author SHA1 Message Date
Steffen Vogel
5bfade1d66 Added missing mail addresses to SPDX copyright headers
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
02f06b607f Harmonize file descriptions and mail addresses
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
6c582cbf91 Make project REUSE compliant
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
fc89e0f0a9 Harmonize comment and code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
fe1385e2c6 pci: pass string var as const reference
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
fe95c246a3 pcie: use scanff instead of istringstream
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
ba63fc9ad7 pci: use PCI_BASE_ADDRESS_N macro
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
cf855a9f46 pci: rename bar to barNum and re-add bar size to log
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
248223259e use C++ STL for handling file IO
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
1844d4fbfc code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Steffen Vogel
009ad2225e vfio: fix compatability with older kernels (4.19) found on OPAL RT-Linux targets
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Niklas Eiling
f69a2a3db0 remove hardcoded pcie device id in pci.cpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
6fac4e583b vfio: rewrite BAR if it has the correct value
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
310136c7cf update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
c35bab4490 vfio: increase logging verbosity
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
e743b42c6f code cleanups
- Use C++ style comments
- Harmonize indentions
- Harmonize comment capitalization

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
db23a3429f general code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
3e0c6b772a use C++ style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
dfd3a3be8d vfio: fix hot reset using the wron fd
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
498cc6d681 remove lib/kernel/vfio.cpp as it is not needed anymore
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
8cfa72136a improve vfio cleanup; fix potential segfault in graph/directed.hpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
20719d7d6c vfio: fix group not being set as attached
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
5b5ac8114b refactor vfio code. split into 3 files and remove friedship between classes
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
da6fdab06c kernel/vfio: improve cleanup
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
0ce0c517c0 kernel: fix unsafe use of readlink 2024-02-29 18:58:07 +01:00
8f178aacdb code style fixes 2024-02-29 18:58:07 +01:00
bf8a5a160c minor fixes for VILLASfpga 2024-02-29 18:58:07 +01:00
8ee59f0547 relicense under Apache 2.0 2024-02-29 18:58:07 +01:00
6d531b4397 updated mail address 2024-02-29 18:58:07 +01:00
5c036a02dd update copyright year 2024-02-29 18:58:07 +01:00
cfc3320666 remove support for Darwin/macOS 2024-02-29 18:58:07 +01:00
9f945a3ad3 port large parts to C++ 2024-02-29 18:58:07 +01:00
0d40348193 use C++ code-style 2024-02-29 18:58:07 +01:00
6d0cea1244 vfio: make compatible with 32bit compilation 2024-02-29 18:58:07 +01:00
155a580314 update copyright year 2024-02-29 18:58:07 +01:00
3bd2dade2d kernel: refactor naming style 2024-02-29 18:58:07 +01:00
d6c60b7302 kernel: check if process is running in a containerized environment 2024-02-29 18:58:07 +01:00
d04d616eea drop legacy logger 2024-02-29 18:58:07 +01:00
e78be9ca8d musl compatability fixes 2024-02-29 18:58:07 +01:00
ac9551c8d4 fix compiler warning about uninitialized struct fields 2024-02-29 18:58:07 +01:00
d78b327d34 minor fixes for affinity code 2024-02-29 18:58:07 +01:00
43e79dd547 rt: add kernel::rt::setThreadPriority() 2024-02-29 18:58:07 +01:00
20556139aa fix a lot of cppcheck warnings and errors 2024-02-29 18:58:07 +01:00
28e0c950b2 add more nullptr checks after memory allocations 2024-02-29 18:58:07 +01:00
e9a6f1b8c1 vfio: fix compilation for ARM targets 2024-02-29 18:58:07 +01:00
b32303b664 refactor: more code-style improvements 2024-02-29 18:58:07 +01:00
054a130a4a vfio: move to new namespace 2024-02-29 18:58:07 +01:00
8421332706 pci: port to C++ 2024-02-29 18:58:07 +01:00
faab634ee1 harmonize codestyle 2024-02-29 18:58:07 +01:00
97009ff624 vfio: fix mapping and remove legacy code 2024-02-29 18:58:07 +01:00