arm64: memory: fix flipped VA space fallout
authorMark Rutland <mark.rutland@arm.com>
Wed, 14 Aug 2019 13:28:47 +0000 (14:28 +0100)
committerWill Deacon <will@kernel.org>
Wed, 14 Aug 2019 16:05:11 +0000 (17:05 +0100)
commit233947ef16a18952d22786770dab1ddafa1ac377
tree5e2f60d645f057615a89e8bf9d236a543bc3d1ae
parentd0b3c32ed9220616548ff63808751cf2f6608df1
arm64: memory: fix flipped VA space fallout

VA_START used to be the start of the TTBR1 address space, but now it's a
point midway though. In a couple of places we still use VA_START to get
the start of the TTBR1 address space, so let's fix these up to use
PAGE_OFFSET instead.

Fixes: 14c127c957c1c607 ("arm64: mm: Flip kernel VA space")
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/dump.c
arch/arm64/mm/fault.c