booke206: fix tlbnps for fixed size TLB
commitc449d8ba42f5c374e9fa0d1b08766c9a0d040ad2
authorKONRAD Frederic <frederic.konrad@adacore.com>
Mon, 7 Aug 2017 15:50:46 +0000 (7 17:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 7 Sep 2017 23:30:55 +0000 (8 09:30 +1000)
tree127a60fa5dcc705e6c09b38f4bd5eaefdd72c19f
parent3f330293bace409fc172201f27084784c697f8f8
booke206: fix tlbnps for fixed size TLB

Some OS don't populate the TSIZE field when using a fixed size TLB which result
in a 1KB TLB. When the TLB is a fixed size TLB the TSIZE field should be
ignored.

Fix this wrong behavior with MAV 2.0.

Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/mmu_helper.c