[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOJUGycO494NcvJk89MMub9Tbrj6FUoSNN4SOci7NgJRKq7v=A@mail.gmail.com>
Date: Thu, 26 Oct 2017 11:49:50 -0600
From: Craig Bergstrom <craigb@...gle.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: Sander Eikelenboom <linux@...elenboom.it>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Fengguang Wu <fengguang.wu@...el.com>, wfg@...ux.intel.com,
linux-kernel@...r.kernel.org, LKP <lkp@...org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical
addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!
Sander, thanks for the details, they've been very useful.
I suspect that your host system's mem=2048M parameter is causing the
problem. Any chance you can confirm by removing the parameter and
running the guest code path?
More specifically, since you're telling the kernel that it's high
memory address is at 2048M and your device is at 0xfe1fe000 (~4G), the
new mmap() limits are preventing you from mapping addresses that are
explicitly disallowed by the parameter.
On Thu, Oct 26, 2017 at 10:39 AM, Ingo Molnar <mingo@...nel.org> wrote:
>
> * Craig Bergstrom <craigb@...gle.com> wrote:
>
>> Yes, not much time left for 4.14, it might be reasonable to pull the
>> change out since it's causing problems. [...]
>
> Ok, I'll queue up a revert tomorrow morning and send it to Linus ASAP if there's
> no good fix by then. In hindsight I should have queued it for v4.15 ...
>
> Thanks,
>
> Ingo
Powered by blists - more mailing lists