epics-modules / mrfioc2

EPICS driver for Micro Research Finland event timing system devices
http://epics-modules.github.io/mrfioc2/
Other
8 stars 29 forks source link

mrf kernel driver updates for kernels 6.3+ #166

Closed hinxx closed 2 weeks ago

hinxx commented 2 weeks ago

From Linux kernel version 6.3 onward the vma->vm_flags are private; vm_flags_set() should be used instead.

After compilation I see mrf.mod that was not in .gitignore; added.

Tested on a local crate running Linux kernel version 6.7.

jerzyjamroz commented 2 weeks ago

@hinxx , I realized that I did the same commit (without testing): https://github.com/jerzyjamroz/mrfioc2/commit/242c56b83ce88f10c2a3ac2f9b24bdaebac8d001 I understand it is tested now.

gabrielfedel commented 2 weeks ago

@jerzyjamroz wouldn't be useful to include the newer kernels on the CD/CI ? I was checking that but had some issues

jerzyjamroz commented 2 weeks ago

@hinxx , It looks like there is an issue for 6.9.5: https://github.com/epics-modules/mrfioc2/actions/runs/9595910063/job/26461644798 but it passes 6.5.0.

hinxx commented 2 weeks ago

It looks like there is an issue for 6.9.5:

I don't think those errors are related to this PR.