summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2020-06-25 20:29:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-26 00:27:36 -0700
commit313a5257b84c26b7f080c5d294aabe7d38ca439c (patch)
treec8fbf539166e30ae59f4257d74cf8bf88ac58a89 /arch/openrisc/Kconfig
parent908f7d12d3ba51dfe0449b9723199b423f97ca9a (diff)
openrisc: fix boot oops when DEBUG_VM is enabled
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 walks for DMA operations. This patch locks and unlocks the mmap lock for page walking. Link: http://lkml.kernel.org/r/20200617090247.1680188-1-shorne@gmail.com Fixes: 42fc541404f2 ("mmap locking API: add mmap_assert_locked() and mmap_assert_write_locked()" Signed-off-by: Stafford Horne <shorne@gmail.com> Reviewed-by: Michel Lespinasse <walken@google.com> Cc: Jonas Bonn <jonas@southpole.se> Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Steven Price <steven.price@arm.com> Cc: Thomas Hellstrom <thellstrom@vmware.com> Cc: Robin Murphy <robin.murphy@arm.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Daniel Jordan <daniel.m.jordan@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/openrisc/Kconfig')
0 files changed, 0 insertions, 0 deletions