aboutsummaryrefslogtreecommitdiff
path: root/stubs/clock-warp.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-06-07 17:39:39 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-06-14 10:41:38 +1000
commiteac4fba965136f61cc239a450bec12adcef6b449 (patch)
tree24eb8cb3cfc194a46bbb831f228135d19517a6db /stubs/clock-warp.c
parent52b2519c4ea9a6aa4df7abfe35fd1755c5c8546c (diff)
ppc: Improve PCR bit selection in ppc_set_compat()
When using an olderr PowerISA level, all the upper compatibility bits have to be enabled, too. For example when we want to run something in PowerISA 2.05 compatibility mode on POWER8, the bit for 2.06 has to be set beside the bit for 2.05. Additionally, to make sure that we do not set bits that are not supported by the host, we apply a mask with the known-to-be-good bits here, too. Signed-off-by: Thomas Huth <thuth@redhat.com> [dwg: Added some #ifs to fix compile on 32-bit targets] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'stubs/clock-warp.c')
0 files changed, 0 insertions, 0 deletions