target/ppc: Allow virtual hypervisor on CPU without HV
commit5e994fc019862e77ee8fd2c8808c5fdcf2d249de
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 27 Jun 2021 16:27:13 +0000 (27 18:27 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:38:19 +0000 (9 10:38 +1000)
tree6210032a5727ad83d0995ed067059a3b8aad5404
parenta8eda5ed3db61d7de6fda4a5216ae126a6bb5eb6
target/ppc: Allow virtual hypervisor on CPU without HV

Change the assert in ppc_store_sdr1() to allow vhyp to be set on CPUs
without HV bit. This allows using the vhyp interface for firmware
emulation on pegasos2.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <21c7745aabbb68fcc50bb2ffaf16b939ba21261c.1624811233.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.c