Re: [PATCH] do not try to sync identity map for non-mapped pages

H. Peter Anvin
2013-04-07T16:34:10Z

On 04/07/2013 06:33 AM, Borislav Petkov wrote:
>
> looks like we haven't whacked all the moles - I keep seeing this when
> testing 32-bit builds in qemu on latest Linus + tip. I'd guess this is
> still that /dev/mem accessing thing called wdm.
>
> I'm still wondering though whether we should BUG_ON on a /dev/mem
> access?
>

We shouldn't, no. /dev/mem really needs to be fixed along a bunch of
axes. Yes, it is privileged and extra creepy, but it should either work
or it should fail cleanly.

-hpa