Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp70187imm; Tue, 22 May 2018 14:10:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp1spW058/PN+8SRGANRasQ+1GmPT3B/Dv6x69sVZCRWtqc5vmo024ktkGVPiHdVx9jNHO5 X-Received: by 2002:a17:902:a716:: with SMTP id w22-v6mr74881plq.215.1527023432535; Tue, 22 May 2018 14:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527023432; cv=none; d=google.com; s=arc-20160816; b=wTaT3oW+kSFXmzdV1tPhJysukrcvtzhwsCgxHTx1ZxRGIrHcNn6V+f+6Pov+UMl0tp aScG/9RrSm7e+uLWt8kd4nec8t3S4exYigi4GY9LX9d+G59OD5BKmFrIX7yBovWHap3y eV37RHdYOodgRwlUcBBBz8+4pFcfMibXcQQmdHkZL6PFPyFzIYO+tcvaEsmK8B7SmWBv q6+WKMBJO10CapVy/uN/pIu7TAoLXTYsAtUaVNtsK521ggPUdC5mYQMq1bgNnLLUq3yJ M159yU37nc0aI2bN61fCaqZwHXn7T8L2aOmVo/OB7pvmFcQxG+UIfT/Z8vA/Lj43OFx7 OAAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=P7ft9tHCLg8YFsyKNIycjE3uAMMx3oFO0zbSAPlYz0k=; b=WESjOrw0G9DGsqe0uHfDH7iCQ6uzYtEObQh3HR+t/13iyLx8tRznCaUcD7ps7igpiM v37m2H0uXSeP5xnQiZVmZowUOfOO+/C1XRoygPlt5553qmg9Olx5McITY1I4huLNOT+w rRGpUEaE/VmXYLOi9y1VGGR3NOZd1cv/zg5neVO5CeIkUOCoOJH2iVH2Ts/ec0dcSwnr DvZJzgZzG4pS4ygUrPwzaVZ58jmm9pKdC50YZnSBHx16oMjQwSKWrkbqoW6HeGZQKALT kna5nYd2XXivg/p8PWKQGicmFq72/3PkqjzrSwmJOUOtWIkC78Nxpw2BOHL7/fCR4YK1 oNZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k14-v6si13780093pgs.418.2018.05.22.14.10.17; Tue, 22 May 2018 14:10:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752832AbeEVVJu (ORCPT + 99 others); Tue, 22 May 2018 17:09:50 -0400 Received: from mga14.intel.com ([192.55.52.115]:1541 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752717AbeEVVJt (ORCPT ); Tue, 22 May 2018 17:09:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 14:09:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,430,1520924400"; d="scan'208";a="43396067" Received: from rchatre-mobl.amr.corp.intel.com (HELO [10.24.14.198]) ([10.24.14.198]) by orsmga008.jf.intel.com with ESMTP; 22 May 2018 14:09:47 -0700 Subject: Re: [PATCH V4 13/38] x86/intel_rdt: Introduce "bit_usage" to display cache allocations details To: Randy Dunlap , tglx@linutronix.de, fenghua.yu@intel.com, tony.luck@intel.com, vikas.shivappa@linux.intel.com Cc: gavin.hindman@intel.com, jithu.joseph@intel.com, dave.hansen@intel.com, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <06e4e2d6-aeb0-21c1-1472-47c14ff37f00@infradead.org> From: Reinette Chatre Message-ID: <949cb2bb-a5b2-3287-acaf-48a0fd53df87@intel.com> Date: Tue, 22 May 2018 14:09:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <06e4e2d6-aeb0-21c1-1472-47c14ff37f00@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On 5/22/2018 2:03 PM, Randy Dunlap wrote: > On 05/22/2018 04:29 AM, Reinette Chatre wrote: >> With cache regions now explicitly marked as "shareable" or "exclusive" >> we would like to communicate to the user how portions of the cache >> are used. >> >> Introduce "bit_usage" that indicates for each resource >> how portions of the cache are configured to be used. >> >> To assist the user to distinguish whether the sharing is from software or >> hardware we add the following annotation: >> >> 0 - currently unused >> X - currently available for sharing and used by software and hardware >> H - currently used by hardware only but available for software use >> S - currently used and shareable by software only >> E - currently used exclusively by one resource group >> >> Signed-off-by: Reinette Chatre >> --- >> arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 79 ++++++++++++++++++++++++++++++++ >> 1 file changed, 79 insertions(+) >> > > Hi, > > All occurrences of seq_puts(f, one_char_string); should instead be > seq_putc(f, one_char); > > Same for patch 14. Thank you very much for catching this. Will do. Reinette