target/ppc/POWER9: Adapt LPCR handling for POWER9
commit18aa49ecf40b002dcaad9ea5491923358f512e72
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 10 Feb 2017 05:25:53 +0000 (10 16:25 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 22 Feb 2017 00:28:28 +0000 (22 11:28 +1100)
tree6ff763f81592c18436b7bf50be21a6ecfbea1336
parent86cf1e9fe852e5c322968c2c708a7efa8b7be5d9
target/ppc/POWER9: Adapt LPCR handling for POWER9

The logical partitioning control register controls a threads operation
based on the partition it is currently executing. Add new definitions and
update the mask used when writing to the LPCR based on the POWER9 spec.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/mmu-hash64.c
target/ppc/translate_init.c