diff options
author | Marcin Nowakowski <marcin.nowakowski@imgtec.com> | 2017-04-11 09:00:36 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-08 14:51:58 +0200 |
commit | c56e7a4c3e77f6fbd9b55c06c14eda65aae58958 (patch) | |
tree | a8d22252dd6b443cd0096b0414e982eb8647747e /arch/mips/fw | |
parent | 725a269b3dd149f36c206c218253336774ef26f5 (diff) |
MIPS: mm: adjust PKMAP location
Space reserved for PKMap should span from PKMAP_BASE to FIXADDR_START.
For large page sizes this is not the case as eg. for 64k pages the range
currently defined is from 0xfe000000 to 0x102000000(!!) which obviously
isn't right.
Remove the hardcoded location and set the BASE address as an offset from
FIXADDR_START.
Since all PKMAP ptes have to be placed in a contiguous memory, ensure
that this is the case by placing them all in a single page. This is
achieved by aligning the end address to pkmap pages count pages.
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15950/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/fw')
0 files changed, 0 insertions, 0 deletions