target/ppc: Enforce that the root page directory size must be at least 5
commit933abb9c238726c3f2862affd0d46b043a22c3e0
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Mon, 30 Mar 2020 09:49:40 +0000 (30 11:49 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 7 May 2020 01:10:50 +0000 (7 11:10 +1000)
treefbc160ecfa07af141fde4ff8c4666d9022f1d01c
parent087820e37f05c391c1ea77b1761ed489c928872e
target/ppc: Enforce that the root page directory size must be at least 5

According to the ISA the root page directory size of a radix tree for
either process- or partition-scoped translation must be >= 5.

Thus add this to the list of conditions checked when validating the
partition table entry in validate_pate();

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200330094946.24678-2-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu-radix64.c