[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <gsnt5xly372p.fsf@coltonlewis-kvm.c.googlers.com>
Date: Tue, 28 Jan 2025 22:30:06 +0000
From: Colton Lewis <coltonlewis@...gle.com>
To: Suzuki K Poulose <suzuki.poulose@....com>
Cc: kvm@...r.kernel.org, linux@...linux.org.uk, catalin.marinas@....com,
will@...nel.org, maz@...nel.org, oliver.upton@...ux.dev, joey.gouly@....com,
yuzenghui@...wei.com, mark.rutland@....com, pbonzini@...hat.com,
shuah@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, kvmarm@...ts.linux.dev,
linux-kselftest@...r.kernel.org
Subject: Re: [RFC PATCH 4/4] perf: arm_pmuv3: Keep out of guest counter partition
Suzuki K Poulose <suzuki.poulose@....com> writes:
> On 27/01/2025 22:20, Colton Lewis wrote:
>> /* Disable all counters */
>> - armv8pmu_pmcr_write(armv8pmu_pmcr_read() & ~ARMV8_PMU_PMCR_E);
>> + if (cpu_pmu->partitioned)
>> + armv8pmu_mdcr_write(armv8pmu_pmcr_read() & ~ARMV8_PMU_MDCR_HPME);
> typo: s/armv8pmu_pmcr_read/armv8pmu_mdcr_read
Good catch. Thanks
Powered by blists - more mailing lists