mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
ppc/spapr-caps: Convert cap-ibs to custom spapr-cap
Convert cap-ibs (indirect branch speculation) to a custom spapr-cap type. All tristate caps have now been converted to custom spapr-caps, so remove the remaining support for them. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> [dwg: Don't explicitly list "?"/help option, trust convention] [dwg: Fold tristate removal into here, to not break bisect] [dwg: Fix minor style problems] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
aaf265ffde
commit
c76c0d3090
4 changed files with 36 additions and 70 deletions
|
@ -1705,7 +1705,10 @@ static target_ulong h_get_cpu_characteristics(PowerPCCPU *cpu,
|
|||
}
|
||||
|
||||
switch (safe_indirect_branch) {
|
||||
case SPAPR_CAP_FIXED:
|
||||
case SPAPR_CAP_FIXED_CCD:
|
||||
characteristics |= H_CPU_CHAR_CACHE_COUNT_DIS;
|
||||
break;
|
||||
case SPAPR_CAP_FIXED_IBS:
|
||||
characteristics |= H_CPU_CHAR_BCCTRL_SERIALISED;
|
||||
break;
|
||||
default: /* broken */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue