diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2016-03-10 18:30:56 +0000 |
|---|---|---|
| committer | Jeff Vander Stoep <jeffv@google.com> | 2016-09-22 13:38:22 -0700 |
| commit | 1d2e2e3c0f8f343e4e74cdd89fb94fc341578e64 (patch) | |
| tree | f73916f40a43fb42ae00ac5735bce0a0f0aef806 /arch/m32r/lib/usercopy.c | |
| parent | 391ba6bf3e866b9deb4b0f1d2f52c0ede0acce5a (diff) | |
UPSTREAM: arm64: kasan: Use actual memory node when populating the kernel image shadow
With the 16KB or 64KB page configurations, the generic
vmemmap_populate() implementation warns on potential offnode
page_structs via vmemmap_verify() because the arm64 kasan_init() passes
NUMA_NO_NODE instead of the actual node for the kernel image memory.
Fixes: f9040773b7bb ("arm64: move kernel image to base of vmalloc area")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: James Morse <james.morse@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Bug: 30369029
Patchset: kaslr-arm64-4.4
(cherry picked from commit 2f76969f2eef051bdd63d38b08d78e790440b0ad)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: I8985e5b4628a9c7076767d4565f7633635813b5c
Diffstat (limited to 'arch/m32r/lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions
