On Wed, 22 Feb 2023 at 22:14, Richard Henderson <richard.hender...@linaro.org> wrote: > > On 2/22/23 09:35, Aaron Lindsay wrote: > > Signed-off-by: Aaron Lindsay <aa...@os.amperecomputing.com> > > ---
> > +static Property arm_cpu_pauth2_property = > > + DEFINE_PROP_BOOL("pauth2", ARMCPU, prop_pauth2, false); > > +static Property arm_cpu_pauth_fpac_property = > > + DEFINE_PROP_BOOL("pauth-fpac", ARMCPU, prop_pauth_fpac, false); > > +static Property arm_cpu_pauth_fpac_combine_property = > > + DEFINE_PROP_BOOL("pauth-fpac-combine", ARMCPU, > > prop_pauth_fpac_combine, false); > > For -cpu max, I would expect these to default on. > Or perhaps not expose these or epac as properties at all. Yes; unless there's a reason why we want the properties, we shouldn't bother defining them. As Richard says, having a 'pauth' property is a special case where we needed to be able to avoid the massive extra emulation overhead of doing it per the architected algorithm. thanks -- PMM