NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-xen/52016: Mismatch between mem_clusters and pmap_enter bounds check



On Wed, Mar 01, 2017 at 09:00:01AM +0000, Martin Husemann wrote:
> The following reply was made to PR port-xen/52016; it has been noted by GNATS.
> 
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: port-xen/52016: Mismatch between mem_clusters and pmap_enter
>  bounds check
> Date: Wed, 1 Mar 2017 09:59:01 +0100
> 
>  On Wed, Mar 01, 2017 at 08:55:01AM +0000, Manuel Bouyer wrote:
>  >  This is used by X11 to access the video adapter.
>  
>  So how can we find the bounds that the hypervisor allows for that and
>  deny access outside of that?

I don't know. Maybe we should change the pmap to gracefully handle failure
from mmu operations. But that's not trivial.
On a physical hardware how do you know if a physical address is accessible or
not ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index