Changing affinity of MSI interrupt fails on HWCI runner
stv0g opened this issue · comments
[07:33:26] [error] [pcie_0_axi_pcie_intc_0] Failed to change affinity of VFIO-MSI interrupt
(https://git.rwth-aachen.de/acs/public/villas/VILLASfpga-code/-/jobs/86329)
This error is expected as the HWCI runner runs jobs with uid != 0.
@daniel-k Maybe should start testing the code also without root permissions.
(Just add yourself to the the group called fpga
on the acs-villas
machine to get the privileges to access the FPGA)
The error is triggered here:
https://git.rwth-aachen.de/acs/public/villas/VILLASfpga-code/blob/develop/lib/kernel/kernel.c#L269
Changing the MSI interrupt affinity is optional and usually only done to reduce the jitter/latency which occurs due to the cross-core scheduling...
I would suggest that we only change the affinity in case we run as root.
On the CI runner, we could show a warning message in the log that the IRQ affinity hasnt been changed..
we dont use the HWCI runner anymore
closed