Hi Taylor,
On Thu, Mar 26, 2015 at 12:13:56PM +, Taylor R Campbell wrote:
Various DRM graphics drivers, including Intel, Radeon, and Nouveau,
sometimes need to unmap all virtual mappings of certain physical
pages for which there is no struct vm_page. The issue is explained in
detail
Date: Tue, 14 Apr 2015 21:57:03 +0200
From: Reinoud Zandijk rein...@netbsd.org
I got a panic here:
Apr 14 21:18:10 diablo savecore: reboot after panic: panic: kernel diagnostic
assertion (bo-mem.bus.base (PAGE_SIZE - 1)) == 0 failed: file
Date: Thu, 9 Apr 2015 09:45:15 +0900
From: Masao Uebayashi uebay...@gmail.com
On Wed, Apr 8, 2015 at 11:34 PM, Taylor R Campbell
campbell+netbsd-tech-k...@mumble.net wrote:
Date: Wed, 8 Apr 2015 12:29:13 +0900
From: Masao Uebayashi uebay...@gmail.com
On Thu, Apr 9, 2015 at 11:46 AM, Taylor R Campbell
campbell+netbsd-tech-k...@mumble.net wrote:
In my pmap_pv API, there's no need to change pmap_enter. All you need
to do is to call pmap_pv_track on driver attach to mark the pages as
device pages. Then pmap can do the bookkeeping
Date: Wed, 8 Apr 2015 12:29:13 +0900
From: Masao Uebayashi uebay...@gmail.com
Considering these, PV should be kept in struct vm_physseg, instead of
struct vm_page, ideally.
The only difficulty with that is that you still need a fast way to go
from a struct vm_page to the PV tracking
- struct vm_physseg is MI representation of a continuous physical
address region. It is currently allocated only for main memories, but
apertures should have one.
- struct vm_page is MI representation of memory pages that have
backing stores; IOW, a state between memory page and its backing
Various DRM graphics drivers, including Intel, Radeon, and Nouveau,
sometimes need to unmap all virtual mappings of certain physical
pages for which there is no struct vm_page. The issue is explained in
detail here:
https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
It's not
On 26 Mar 2015, at 13:13, Taylor R Campbell
campbell+netbsd-tech-k...@mumble.net wrote:
Various DRM graphics drivers, including Intel, Radeon, and Nouveau,
sometimes need to unmap all virtual mappings of certain physical
pages for which there is no struct vm_page. The issue is explained in