ARCv2: Accomodate HS48 MMUv5 by relaxing MMU ver checking
authorVineet Gupta <vgupta@synopsys.com>
Mon, 6 Nov 2017 18:55:51 +0000 (10:55 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 6 Nov 2017 19:31:21 +0000 (11:31 -0800)
commit92d44128241f8aa129cf2f3672786a1b52053510
treef5f37b7acce6f493d383649c1470e0c1b1a7678d
parent4fbaf649ebbc625189e349fd6d07a4fe22a863f8
ARCv2: Accomodate HS48 MMUv5 by relaxing MMU ver checking

HS48 cpus will have a new MMUv5, although Linux is currently not
explicitly supporting the newer features (so remains at V4).
The existing software/hardware version check is very tight and causes
boot abort. Given that the MMUv5 hardware is backwards compatible,
relax the boot check to allow current kernel support level to work
with new hardware.

Also while at it, move the ancient MMU related code to under ARCompact
builds as baseline MMU for HS cpus is v4.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/tlb.c