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