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

531 commits

Author SHA1 Message Date
Steffen Vogel
28d354cb84 Fix formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-15 19:31:49 +02:00
Pascal Bauer
23af32d25e add get method getNumberIrqs()
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-09-25 15:15:24 +02:00
Pascal Bauer
83e95f88a5 Refactor: change namespace pci to devices
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
c41f91f1ca refactor: rename DeviceList to PciDeviceList
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
975c02dc7d Refactor: rename pci class to pci_device
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
91b541943e Refactor: Move pci to devices/pci_device
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
IgnoreWarnings
4d062d7098 minimize container requirements
Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
2024-08-09 09:14:47 +02:00
Niklas Eiling
f25e1dd689 log: fix undefined intitialization order of static objects. fixes #799.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-08-05 14:57:13 +02:00
Pascal Bauer
2d9bb26847 make "getOrAttachGroup" public
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-05 10:15:06 +02:00
Niklas Eiling
411b0ad49e cmake: fix common not being installed
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-06-07 07:04:31 -07:00
a366b80109 Fix formatting
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-05-28 19:45:55 -07:00
c1f8d0fa80 stats: Indent histogram output
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 14:31:58 +02:00
3023ddaa3a Fix some typos and harmonize log output
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 14:31:58 +02:00
31aabb9acf common: Add missing include
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-03-26 13:01:15 +01:00
Steffen Vogel
f289fe7879 ci: Another attempt at fixing the tests
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-03-12 12:09:51 +01:00
Steffen Vogel
327f11312a ci: Fix tests in unprivileged environment
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-03-12 12:09:51 +01:00
4b36073711 Use spaces for indention of CMake files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
3d73c759ea Reformat all code with clang-format
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 19:34:27 +01:00
a2abaa3cda Merge project files, scripts and CMake files of VILLASfpga
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 19:33:23 +01:00
1cd3c9c726 Fix CMakeLists
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
0c75b25662 Workaround for GCC bug
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
624b4fe2f7 cmake: Remove obsolete TOPLEVEL_PROJECT variable from former common sub-module
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
90df8760c8 Consollidate misc files from former common sub-module
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
4b6b240578 ci: fix unspecified runner
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
d1772096fe fix ci not knowing CI_BUILD_REF_SLUG
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
5f8272abfa kernel/vfio_device: add logging output when pciMsiDeInit is called
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
04ba5eb2cf kernel/pci: fix memory leak in Id()
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
5d3f170c40 add printGraph method to MemoryManager
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
4e6f5233da make DeviceList a singleton and expose the eventFd in Device
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
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