From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751064AbdAPQNq (ORCPT ); Mon, 16 Jan 2017 11:13:46 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:41324 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbdAPQNo (ORCPT ); Mon, 16 Jan 2017 11:13:44 -0500 Date: Mon, 16 Jan 2017 17:13:41 +0100 (CET) From: Thomas Gleixner To: Vikas Shivappa cc: vikas.shivappa@intel.com, linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, mingo@kernel.org, peterz@infradead.org, ravi.v.shankar@intel.com, tony.luck@intel.com, fenghua.yu@intel.com, h.peter.anvin@intel.com Subject: Re: [PATCH 8/8] x86/intel_rdt: rmdir,umount and hotcpu updates for MBA In-Reply-To: <1484076788-25385-9-git-send-email-vikas.shivappa@linux.intel.com> Message-ID: References: <1484076788-25385-1-git-send-email-vikas.shivappa@linux.intel.com> <1484076788-25385-9-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Jan 2017, Vikas Shivappa wrote: > During rmdir only reset the ctrl values for the rdtgroup's closid. This > is done so that that next time when the closid is reused they dont > reflect old values. How on earth is that related to MBA? > Remove the closid update during cpuonline in cqm as its > already in the CAT code. Since both cqm and CAT want the rmid and closid > to be zero when cpu is online, remove the PQR MSR write to zero during > cpuonline because the MSRs are at zero after cpu reset and also during Are you sure that the MSRs are zero when the cpu goes offline and then online again? That's not a reset. Thanks, tglx