From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758747AbcJQX2r (ORCPT ); Mon, 17 Oct 2016 19:28:47 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:38819 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753763AbcJQX2i (ORCPT ); Mon, 17 Oct 2016 19:28:38 -0400 Date: Tue, 18 Oct 2016 01:25:59 +0200 (CEST) From: Thomas Gleixner To: "Luck, Tony" cc: "Yu, Fenghua" , "Anvin, H Peter" , Ingo Molnar , Peter Zijlstra , Stephane Eranian , Borislav Petkov , "Hansen, Dave" , Nilay Vaish , Shaohua Li , David Carrillo-Cisneros , "Shankar, Ravi V" , "Prakhya, Sai Praneeth" , Vikas Shivappa , linux-kernel , x86 Subject: RE: [PATCH v4 13/18] x86/intel_rdt: Add mkdir to resctrl file system In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F3A200144@ORSMSX114.amr.corp.intel.com> Message-ID: References: <1476497548-11169-1-git-send-email-fenghua.yu@intel.com> <1476497548-11169-14-git-send-email-fenghua.yu@intel.com> <20161017215025.GA5702@intel.com> <3908561D78D1C84285E8C5FCA982C28F3A20010B@ORSMSX114.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F3A200144@ORSMSX114.amr.corp.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 Mon, 17 Oct 2016, Luck, Tony wrote: > > How so? CLOSID 9 is using CLOSID 1 L2 settings. Are we just keeping the L2 > > setting of CLOSID 1 around and do not reset it to default? > > No. When CLOSID 9 arrives at the L2 h/w, it doesn't just take the bits it > likes an discard the high bits to map to L2_CBM[1]. It just turns into > into the maximum allowed value for an L2 CBM. So all CLOSIDs >= 8 will use all valid CBM bits for L2? That's even more insane as this breaks any L2 partitioning which is set up by CLOSIDs < 8. So effectively CLOSIDs >= 8 are useless in the L3=16 and L2=8 case. Thanks, tglx