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

6123 commits

Author SHA1 Message Date
Niklas Eiling
07cc1c96d8 add Niklas to copyright notices in vfio code
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
3a08e57516 fix exception strings getting lost because of rethrowing them
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
7fde2c0535 add CODEOWNERS
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
ad2619cba5 fix readHostBar throwing errors when BAR is correct
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Philipp Jungkamp
66569cf9c4 Fix fmt 10.0.0 related formatting errors.
Signed-off-by: Philipp Jungkamp <p.jungkamp@gmx.net>
2024-02-29 18:58:07 +01:00
IgnoreWarnings
799183b0fb Load vfio modules at runtime.
Defines are replaced by constructor parameters. The default parameter makes the function backwards compatible.

Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Steffen Vogel
b195058d03 Fix cppcheck warnings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
b359c2715d Fix formatting for VFIO changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
a5ab5ebc65 Fix VFIO logger names
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
14a6a0fcdb Add missing REUSE headers
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
4349aaaac9 Fix broken includes due to auto format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
e34b1ffacd Add .git-blame-ignore-revs
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
7d10544d79 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
2cdced9347 Make editorconfig configuration compatible with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
c938f4f242 Add clang-format config
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
IgnoreWarnings
d73663bb01 Kernel module loading system and bug fixes of vfio (#110)
- feature: Header to specify which kernel modules (vfio support) to load
- Bug fixes: wrong errror messages, bugged region cap
- Quality of use improvements e.g. getter and str()

---------

Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
Signed-off-by: IgnoreWarnings <119685519+IgnoreWarnings@users.noreply.github.com>
Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
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
525e56dcd5 Relicense FindCriterion.cmake to Apache 2.0
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
70398e02b7 Fix function declaration for uuid::toString()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
ac67044222 Improve UUID handling
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Philipp Jungkamp
2103e4b05f add overloaded helper util for std::visit
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
97b2e916c1 fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
d4bcfd59f2 log: fix configuration of log formatter and level
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
dfc24cf534 use C++ instead of C comment style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
2cc7c46d3a add CMake option to disable colored log output
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
cde7bd6dd6 log: remove old OPAL logger sink
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
822035df82 log: allow adding additional sinks
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
e9e638d6a4 cmake: fix homepage url
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
80c0235b78 cmake: add missing version number
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
7289cb97b7 cmake: fix CI if not run in a Git repo
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Manuel Pitz
66d7643114 make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
18763c4f80 initialize variables in constructors
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
c9e3c7919d graph: remove map key test with map size
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.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
4c60d2a2bc Revert "villas/memory: make MemoryBlock use shared_ptr instead of unique_ptr"
Instead, we want to rework the Memory handling entirely.

This reverts commit c8128db732b0b01a418f26a0a54a2464fe1d09e6.

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
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
2fa210f954 villas/memory: make MemoryBlock use shared_ptr instead of unique_ptr
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
Pascal Bauer
3217259c7f initialized member id with 0
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-02-29 18:58:07 +01:00
2e506a5bef ci: fix build badge
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00