Re: [PATCH] openrisc: Fix boot oops when DEBUG_VM is enabled

2020-06-17 Thread Michel Lespinasse
On Wed, Jun 17, 2020 at 2:03 AM Stafford Horne wrote: > Since v5.8-rc1 OpenRISC Linux fails to boot when DEBUG_VM is enabled. > This has been bisected to commit 42fc541404f2 ("mmap locking API: add > mmap_assert_locked() and mmap_assert_write_locked()"). > > The added locking checks exposed the is

[PATCH] openrisc: Fix boot oops when DEBUG_VM is enabled

2020-06-17 Thread Stafford Horne
Since v5.8-rc1 OpenRISC Linux fails to boot when DEBUG_VM is enabled. This has been bisected to commit 42fc541404f2 ("mmap locking API: add mmap_assert_locked() and mmap_assert_write_locked()"). The added locking checks exposed the issue that OpenRISC was not taking this mmap lock when during page