PPC: Fix large pages
commitb2eca4453fb60c85c63912b7218b41b521165d94
authorAlexander Graf <agraf@suse.de>
Tue, 9 Feb 2010 16:37:09 +0000 (9 17:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Feb 2010 14:10:54 +0000 (14 16:10 +0200)
tree951d178cd8383814e6570d7d5921aa363dfecf83
parenta2236d4820a09a35e017508c57564c97736c79f7
PPC: Fix large pages

We were masking 1TB SLB entries on the feature bit of 16 MB pages. Obviously
that breaks, so let's just ignore 1TB SLB entries for now and instead do
16MB pages correctly.

This fixes PPC64 Linux boot with -m above 256.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
target-ppc/helper.c