[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALMp9eQ9yV0Q_Op5U6M0xuPcq5cDZZFAG+tDqBL3J=Kk6Z1ekw@mail.gmail.com>
Date: Wed, 10 Mar 2021 07:35:58 -0800
From: Jim Mattson <jmattson@...gle.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf/x86/kvm: Fix inverted pebs_no_isolation check
On Wed, Mar 10, 2021 at 7:24 AM Andi Kleen <ak@...ux.intel.com> wrote:
>
> The pebs_no_isolation optimization check is inverted. We want to disable
> PEBS isolation when the microcode is at least the revision in the table,
> not for older microcode. So remove the extra !.
The original code was correct because of the double negative. A "good"
CPU _has_ PEBS isolation. It's bad to have pebs_no_isolation.
Powered by blists - more mailing lists