ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.
BSD 2-Clause "Simplified" License
543 stars 165 forks source link

Is there any plans to upstream this driver? #11

Open vanjoe opened 6 years ago

vanjoe commented 6 years ago

Have you tried to upstream this driver? Would the linux maintainers be amenable to having it in mainline?

ikwzm commented 6 years ago

Thank you for the issue

At the moment there is no such plan.

udmabuf only works on arm / arm64 architecture. I do not know if it works on other architectures.

I hope that similar features will be implemented on the Linux mainline.

stuaxo commented 2 years ago

@ikwzm any idea what needs to be done to get this working on x86 / amd64 ?

With Arm macs now a thing the ARM platform is a little less obscure than it was in 2018.

ikwzm commented 2 years ago

Thank you for the issue.

I made u-dma-buf because it was needed by Zynq/ZynqMP/CycloneV SoC. I have these systems and am able to debug them.

However, I never used u-dma-buf on x86/amd64. Also, I'm not familiar with x86/amd64 cache/MMU.

This is why u-dma-buf is not guaranteed to work on architectures other than arm/arm64.

stuaxo commented 2 years ago

Thanks for the info, that's good context that might be worth adding to the README.

I can see how getting a test for this on CI would be a pain too.

noelpedro commented 1 year ago

@ikwzm, So the main line driver udmabuf is not compatible with zynqMP (arm-64bit)?

ikwzm commented 1 year ago

The "u-dma-buf" provided by this repository and the "udmabuf" provided by linux main line are completely different. Probably, "udmabuf" provided by linux main line works on ZynqMP(arm64).