]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate_init.c.inc
ppc: Split pcr_mask settings into supported bits and the register mask
authorThomas Huth <thuth@redhat.com>
Tue, 7 Jun 2016 15:39:37 +0000 (17:39 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 14 Jun 2016 00:41:38 +0000 (10:41 +1000)
commit8cd2ce7aaa3c3fadc561f40045d4d53ff72e94ef
tree203bffc0130f11a4093594dcc2afca67edb23ede
parent7386ae6372cc07c77a39cb3aa185848b43f7ae34
ppc: Split pcr_mask settings into supported bits and the register mask

The current pcr_mask values are ambiguous: Should these be the mask
that defines valid bits in the PCR register? Or should these rather
indicate which compatibility levels are possible? Anyway, POWER6 and
POWER7 should certainly not use the same values here. So let's
introduce an additional variable "pcr_supported" here which is
used to indicate the valid compatibility levels, and use pcr_mask
to signal the valid bits in the PCR register.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_hcall.c
target-ppc/cpu-qom.h
target-ppc/cpu.h
target-ppc/translate_init.c