OSDN Git Service

ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages
authorScott Wood <scottwood@freescale.com>
Thu, 18 Aug 2011 10:38:40 +0000 (10:38 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:04 +0000 (09:48 +0200)
commit2bd9543cd303d9f6cbd37b7466bb03543035156b
tree614611a0841a7a22949fdafe4a35bdbb407b320b
parentbebabbc7aa7d1c5a45ee325838adf58a19f1b1ee
ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

This definition is backward compatible with MAV=1.0 as long as
the guest does not set reserved bits in MAS1/MAS4.

Also, fix the shift in booke206_tlb_to_page_size -- it's the base
that should be able to hold a 4G page size, not the shift count.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_mpc8544ds.c
target-ppc/cpu.h
target-ppc/helper.c