nds32: Fix the virtual address may map too much range by tlbop issue.
authorGreentime Hu <greentime@andestech.com>
Mon, 30 Apr 2018 03:21:18 +0000 (11:21 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:21 +0000 (13:26 +0800)
commit3ff2228dcea4e5c9b517375bd3aa9e3a1a3f29a0
treee1bed98943e467e4b5a887b37cc0179ed1b63188
parentb3b112bb06eb26ce44af63d599aaf5fe54de0699
nds32: Fix the virtual address may map too much range by tlbop issue.

We use tlbop to map virtual address in the first beginning, however it
may map too much if DRAM size is not that big. We have to invalidate the
mapping when the page table is created.

Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/setup.c