Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 6 years ago

Last modified 5 weeks ago

#421 new defect

Non-anomymous DMA allocation needs to trigger on-demand mapping

Reported by: Martin Decky Owned by: Martin Decky
Priority: major Milestone:
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

The current mainline implementation of non-anonymous DMA mapping is very rudimentary. The current code basically only looks up a physical translation of the given virtual address

As the kernel uses on-demand mapping, if the uspace supplies a memory address to SYS_DMAMEM_MAP which has not been touched yet after its mapping into the address space, the translation fails (as the on-demand page mapping has not been established yet).

The implementation would basically need to trigger the on-demand mapping.

Change History (3)

comment:1 Changed 6 years ago by Jakub Jermář

Milestone: 0.5.00.5.1

comment:2 Changed 3 years ago by Jakub Jermář

Milestone: 0.6.00.7.1

comment:3 Changed 5 weeks ago by Jakub Jermář

Milestone: 0.7.1
Note: See TracTickets for help on using tickets.