Opened 12 years ago

Last modified 6 years 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 by Jakub Jermář, 12 years ago

Milestone: 0.5.00.5.1

comment:2 by Jakub Jermář, 10 years ago

Milestone: 0.6.00.7.1

comment:3 by Jakub Jermář, 6 years ago

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