I allocated DMA memory in driver.
I tried to read DMA memory from application by getting the VirtAddress of DMA memory into user area (application) using ioctl but it failed.
(Segmentation fault (core dumped) error)
For windows, the memory allocated in the kernel area can be used in the user area using the MmMapLockedPagesSpecifyCache function.
Is there a function like MmMapLockedPagesSpecifyCache in linux as well?
How can I check the DMA memory allocated by the driver in the application program in the user area?