Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated drivers for Linux 6.8.9 #275

Closed
wants to merge 24 commits into from
Closed

Conversation

gonsolo
Copy link

@gonsolo gonsolo commented Apr 25, 2024

I don't expect this to be merged as I cleaned up a lot of stuff which is probably unnecessary but at least future programmers will have a reference to an up-to-date and working XDMA driver!

@makslevental
Copy link

Umm why did you move/delete stuff? It's pretty hard to tell what the diff is...

@gonsolo
Copy link
Author

gonsolo commented Apr 30, 2024

Umm why did you move/delete stuff? It's pretty hard to tell what the diff is...

It's probably easiest to check it out somewhere else and diff the xdma/xvsec directories.

Sorry about the mess, the redundant XDMA/linux_kernel/xdma typing made me ... unhappy.

(And nothing of this would have been necessary if AMD kept their drivers updated or upstream in the kernel.)

@gonsolo
Copy link
Author

gonsolo commented Apr 30, 2024

BTW: I have a design with a Nitefury II running, but XDMA can only find the config bar if the kernel is booted with pci=nomsi and the xdma kernel module is inserted with sudo modprobe xdma poll_mode=1 interrupt_mode=2. I haven't looked into this further as everything is running now, but it would be nice if XDMA would work in MSI (default) mode with interrupts too.

@hinxx
Copy link

hinxx commented Apr 30, 2024

it would be nice if XDMA would work in MSI (default) mode with interrupts too.

It does. We're using MSI & interrupts without any issues.

@gonsolo
Copy link
Author

gonsolo commented May 1, 2024

it would be nice if XDMA would work in MSI (default) mode with interrupts too.
It does. We're using MSI & interrupts without any issues.

Ok. Can you think of a reason why the config bar can't be found as soon as I change one of the parameters, kernel pci=nomsi and xdma module poll_mode=1 interrupt_mode=2?

"sudo make -j10 clean install" didn't work as intended.
@gonsolo gonsolo changed the title Updated drivers for Linux 6.8.7 Updated drivers for Linux 6.8.9 May 6, 2024
@gonsolo gonsolo closed this May 6, 2024
@hinxx
Copy link

hinxx commented May 6, 2024

Can you think of a reason why the config bar can't be found as soon as I change one of the parameter

No, I can't. It's likely to do with the IP core config or something. But I'm no firmware developer, so..

On a related note, someone posted a nice step-by-step tutorial on IP core config that might be of use for you; browse through the issues here it was not long ago.

@gonsolo
Copy link
Author

gonsolo commented May 7, 2024

Can you think of a reason why the config bar can't be found as soon as I change one of the parameter
No, I can't. It's likely to do with the IP core config or something. But I'm no firmware developer, so..

Ok.

On a related note, someone posted a nice step-by-step tutorial on IP core config that might be of use for you; browse through the issues here it was not long ago.

I search the issues but didn't find that tutorial. :( But thanks anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants