On Wed, May 31, 2023 at 04:30:28PM +0100, Andrew Cooper wrote: > AUTO_IBRS is an extention over regular (AMD) IBRS, and needs hiding if IBRS is > levelled out for any reason. True that. My bad.
> --- > xen/tools/gen-cpuid.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/tools/gen-cpuid.py b/xen/tools/gen-cpuid.py > index f28ff708a2fc..973fcc1c64e8 100755 > --- a/xen/tools/gen-cpuid.py > +++ b/xen/tools/gen-cpuid.py > @@ -319,7 +319,7 @@ def crunch_numbers(state): > # as dependent features simplifies Xen's logic, and prevents the > guest > # from seeing implausible configurations. > IBRSB: [STIBP, SSBD, INTEL_PSFD], > - IBRS: [AMD_STIBP, AMD_SSBD, PSFD, > + IBRS: [AMD_STIBP, AMD_SSBD, PSFD, AUTO_IBRS, > IBRS_ALWAYS, IBRS_FAST, IBRS_SAME_MODE], > AMD_STIBP: [STIBP_ALWAYS], > > > base-commit: 465217b0f872602b4084a1b0fa2ef75377cb3589 > -- > 2.30.2 > LGTM Alejandro