public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] x86/mm: Fix limit mmap() of /dev/mem to valid physical
@ 2019-03-26  0:18 rcampbell
  2019-03-26  0:18 ` [PATCH v2 1/1] x86/mm: Fix limit mmap() of /dev/mem to valid physical addresses rcampbell
  0 siblings, 1 reply; 3+ messages in thread
From: rcampbell @ 2019-03-26  0:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ralph Campbell, Craig Bergstrom, Linus Torvalds, Boris Ostrovsky,
	Fengguang Wu, Greg Kroah-Hartman, Hans Verkuil,
	Mauro Carvalho Chehab, Peter Zijlstra, Sander Eikelenboom,
	Sean Young, Thomas Gleixner, Ingo Molnar

From: Ralph Campbell <rcampbell@nvidia.com>

I was debugging with v5.1.0-rc1 and while booting I hit a
kernel BUG at arch/x86/mm/physaddr.c:27
which I fixed with the following patch but now I can't seem
to reproduce the exact setup that triggered it.
Still, it seems like a valid problem and maybe my difficulty
in reproducing it explains why others haven't seen it earlier.

Changes from v1 to v2:
 * Updated the change log and patch as suggested by Thomas Gleixner.

Ralph Campbell (1):
  x86/mm: Fix limit mmap() of /dev/mem to valid physical addresses

 arch/x86/mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-28 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26  0:18 [PATCH v2 0/1] x86/mm: Fix limit mmap() of /dev/mem to valid physical rcampbell
2019-03-26  0:18 ` [PATCH v2 1/1] x86/mm: Fix limit mmap() of /dev/mem to valid physical addresses rcampbell
2019-03-28 13:16   ` [tip:x86/urgent] x86/mm: Don't exceed the valid physical address space tip-bot for Ralph Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox