OSDN Git Service

sparc64: kern_addr_valid regression
authorbob picco <bob.picco@oracle.com>
Fri, 10 Mar 2017 19:31:19 +0000 (14:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 May 2017 04:19:50 +0000 (21:19 -0700)
commit80ec183214e8bf815ecff8f58d82d67b9842a8de
tree4b3dbfc112197f877eff699e10636555df20ec6d
parentc583862e95d26586a1f6a2070411ea0a2023edbc
sparc64: kern_addr_valid regression

[ Upstream commit adfae8a5d833fa2b46577a8081f350e408851f5b ]

I encountered this bug when using /proc/kcore to examine the kernel. Plus a
coworker inquired about debugging tools. We computed pa but did
not use it during the maximum physical address bits test. Instead we used
the identity mapped virtual address which will always fail this test.

I believe the defect came in here:
[bpicco@zareason linus.git]$ git describe --contains bb4e6e85daa52
v3.18-rc1~87^2~4
.

Signed-off-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/mm/init_64.c