Re: [PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-31 Thread Michael Ellerman
David Gibson writes: > For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch > mitigation is "count cache disabled", which is configured with: > -machine cap-ibs=fixed-ccd > However, this option isn't available on DD2.3 CPUs with KVM, because they > don't have the count cache disa

Re: [PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-30 Thread David Gibson
On Thu, Jan 30, 2020 at 09:48:49AM +0100, Greg Kurz wrote: > On Thu, 30 Jan 2020 12:26:22 +1100 > David Gibson wrote: > > > For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch > > mitigation is "count cache disabled", which is configured with: > > -machine cap-ibs=fixed-ccd > >

Re: [PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-30 Thread Greg Kurz
On Thu, 30 Jan 2020 09:09:18 +0100 Laurent Vivier wrote: > On 30/01/2020 02:26, David Gibson wrote: > > For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch > > mitigation is "count cache disabled", which is configured with: > > -machine cap-ibs=fixed-ccd > > However, this optio

Re: [PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-30 Thread Greg Kurz
On Thu, 30 Jan 2020 12:26:22 +1100 David Gibson wrote: > For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch > mitigation is "count cache disabled", which is configured with: > -machine cap-ibs=fixed-ccd > However, this option isn't available on DD2.3 CPUs with KVM, because the

Re: [PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-30 Thread Laurent Vivier
On 30/01/2020 02:26, David Gibson wrote: > For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch > mitigation is "count cache disabled", which is configured with: > -machine cap-ibs=fixed-ccd > However, this option isn't available on DD2.3 CPUs with KVM, because they > don't have t

[PATCH] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine

2020-01-29 Thread David Gibson
For POWER9 DD2.2 cpus, the best current Spectre v2 indirect branch mitigation is "count cache disabled", which is configured with: -machine cap-ibs=fixed-ccd However, this option isn't available on DD2.3 CPUs with KVM, because they don't have the count cache disabled. For POWER9 DD2.3 cpus, it