HomeFreeBSD

Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86…

Description

Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped.
This allows two things:

  1. Sync'ing bounced maps in non-sleepable contexts. The physcopy* calls previously used could sleep on sf_buf operations in some cases.
  2. Sync'ing user buffers outside the context of the owning process

Approved by: kib (mentor)

Details

Provenance
jahAuthored on
Parents
rS286786: Remove another remnant of PV domU support and assume that we always run
Branches
Unknown
Tags
Unknown