Steffen Vogel
|
cebd94cf5d
|
pci: pass string var as const reference
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
|
2024-02-28 02:36:38 +01:00 |
|
Steffen Vogel
|
4ff1b159dd
|
pcie: use scanff instead of istringstream
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
|
2024-02-28 02:36:38 +01:00 |
|
|
6646308d14
|
pci: use PCI_BASE_ADDRESS_N macro
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
2bdeec249d
|
pci: rename bar to barNum and re-add bar size to log
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
94d6d02fde
|
use C++ STL for handling file IO
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
8c06323307
|
code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
Steffen Vogel
|
33da5e4ff7
|
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-28 02:36:38 +01:00 |
|
Niklas Eiling
|
1157ce2996
|
remove hardcoded pcie device id in pci.cpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
402acd9fbe
|
vfio: rewrite BAR if it has the correct value
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
425eb561e2
|
update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
8b60af92af
|
vfio: increase logging verbosity
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
eb96afc2ec
|
code cleanups
- Use C++ style comments
- Harmonize indentions
- Harmonize comment capitalization
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
fbfbf578bf
|
general code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
|
013e07b9ba
|
use C++ style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
2f6f0d31a1
|
vfio: fix hot reset using the wron fd
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
8f281e35f2
|
remove lib/kernel/vfio.cpp as it is not needed anymore
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
83ecfe16d2
|
improve vfio cleanup; fix potential segfault in graph/directed.hpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
bd1a7d7538
|
vfio: fix group not being set as attached
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
b135a4c027
|
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-28 02:36:38 +01:00 |
|
Niklas Eiling
|
eb45f7a0ab
|
kernel/vfio: improve cleanup
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
|
2024-02-28 02:36:38 +01:00 |
|
Niklas Eiling
|
80268bc5fb
|
kernel: fix unsafe use of readlink
|
2024-02-28 02:36:38 +01:00 |
|
|
af6e760bcb
|
code style fixes
|
2024-02-28 02:36:38 +01:00 |
|
|
7703f9e23a
|
minor fixes for VILLASfpga
|
2024-02-28 02:36:38 +01:00 |
|
|
53e62a6cfc
|
relicense under Apache 2.0
|
2024-02-28 02:36:38 +01:00 |
|
|
f1fd77651c
|
updated mail address
|
2024-02-28 02:36:38 +01:00 |
|
|
3d83e71838
|
update copyright year
|
2024-02-28 02:36:38 +01:00 |
|
|
e53f65ccc5
|
remove support for Darwin/macOS
|
2024-02-28 02:36:38 +01:00 |
|
|
f6caa4f2d5
|
port large parts to C++
|
2024-02-28 02:36:38 +01:00 |
|
|
2e9cd09028
|
use C++ code-style
|
2024-02-28 02:36:38 +01:00 |
|
|
a281e5583f
|
vfio: make compatible with 32bit compilation
|
2024-02-28 02:36:38 +01:00 |
|
|
6062610a63
|
update copyright year
|
2024-02-28 02:36:38 +01:00 |
|
|
0aeb9b471b
|
kernel: refactor naming style
|
2024-02-28 02:36:38 +01:00 |
|
|
2ccda908c9
|
kernel: check if process is running in a containerized environment
|
2024-02-28 02:36:38 +01:00 |
|
|
3a47bfa870
|
drop legacy logger
|
2024-02-28 02:36:38 +01:00 |
|
|
1e8b6ac8f0
|
musl compatability fixes
|
2024-02-28 02:36:38 +01:00 |
|
|
c7a2709d18
|
fix compiler warning about uninitialized struct fields
|
2024-02-28 02:36:38 +01:00 |
|
|
eb81ab4545
|
minor fixes for affinity code
|
2024-02-28 02:36:38 +01:00 |
|
|
8ad3ac265b
|
rt: add kernel::rt::setThreadPriority()
|
2024-02-28 02:36:38 +01:00 |
|
|
70a616c12d
|
fix a lot of cppcheck warnings and errors
|
2024-02-28 02:36:38 +01:00 |
|
|
06c0bd8870
|
add more nullptr checks after memory allocations
|
2024-02-28 02:36:38 +01:00 |
|
|
dba74c9ec9
|
vfio: fix compilation for ARM targets
|
2024-02-28 02:36:38 +01:00 |
|
|
a3d19f1353
|
refactor: more code-style improvements
|
2024-02-28 02:36:38 +01:00 |
|
|
138dabb899
|
vfio: move to new namespace
|
2024-02-28 02:36:38 +01:00 |
|
|
14013ac3e4
|
pci: port to C++
|
2024-02-28 02:36:38 +01:00 |
|
|
a24efde5fb
|
harmonize codestyle
|
2024-02-28 02:36:38 +01:00 |
|
|
89fe9545e0
|
vfio: fix mapping and remove legacy code
|
2024-02-28 02:36:38 +01:00 |
|
|
8fe3e1997e
|
handle failed memory allocations
|
2024-02-28 02:36:38 +01:00 |
|
|
e90431aa98
|
more refactoring to C++
|
2024-02-28 02:36:38 +01:00 |
|
|
fd3e387cc8
|
refactor malloc()/free() by new/delete
|
2024-02-28 02:36:38 +01:00 |
|
|
4d91b8a547
|
refactor malloc()/free() by new/delete
|
2024-02-28 02:36:38 +01:00 |
|