Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1902894rdb; Tue, 20 Feb 2024 10:15:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUIeCv0+mA2aAzvQ4QzYQBBP8arfPmAYxetU6SGDeyV8XKKxqQ43uNF4JcC0BJYkaViN1d0lFKjLHFxSiunvlVjX+mrtL8i83j+U+km8w== X-Google-Smtp-Source: AGHT+IFpO4GW9BJUcgU6bdZbJq7Gd+LDQMsRrtpf6jAk50Ku3B/PGDIj7srkkykq0SQAupWoDfJc X-Received: by 2002:a05:6a21:1645:b0:19e:3136:1727 with SMTP id no5-20020a056a21164500b0019e31361727mr12090575pzb.53.1708452935422; Tue, 20 Feb 2024 10:15:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708452935; cv=pass; d=google.com; s=arc-20160816; b=QovOSI6H+hatv8TzSTrRxGTKz0O/gfkERFmq4LFph2q9SI1DRZX6dTBAEOcgsJ/fZq OU+pm1yO5fXLACfjOLdDVYKefY3N48ceETkMuf/f/ggpxKmzgJXer1D638jjE2+ArtvJ cY3N+Ne5iVMUrT5msl9zktt+fr6nzijJcy9ZdskGb82pr2nmI4inM8fI+sYWjKlISkhw 7OZz9tIQbzqlbzo47hL9nkBD1MhWKUmD7NkhJ5L8l7yko5Z22MvDvGAehiJE5plOQHZg EL+9UtxNts8qcXIH8WMnVd9b73p9uKosXNgi1vCnjTporcEPMH0M3K4QqxijhFyhFGT/ HrVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=/ynjGAeQqEvhZ93KruTyPeOVmjFP4hfFO8nd6g84A9U=; fh=JJNKnh+rM/T2q5SCuskpu1HOXgMHKQDcbKx0Fl5m8bc=; b=St9Z2to63+L4PPFWNN6O5VPKGtVAfLn0HwyIMclpq2jgo6JiQPrnQvQl56E1QqDmFZ U1+7aeaM0+7XojQ/T0u+2mOC3KOjXV1Gosdm3xabpWuNqzvarTvRer+e2sjkmOygwNM2 m8HrH+PFQNPbQ2Lxazc0nj4xh6adDMam9ZAaFFAqv1hh1qFZfy6U5uFMUh+rmOR4aAIE YPr4r7SB+T4jVlmfVLR4FFtmMa7x8h+GwyUN2fm1nuoLw6jAzCqwszQ53jkol1UHp3p8 GjlkhiQw8P6eGo9OYZVgBz/2ilKS4cu2pdqa77+IIpxU149Kii7jRrJXi4OKWmzzEOOU EPnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-73494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t190-20020a625fc7000000b006e46cc24704si2831771pfb.55.2024.02.20.10.15.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 10:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-73494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3BA512871F8 for ; Tue, 20 Feb 2024 18:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B00278B51; Tue, 20 Feb 2024 18:14:56 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E55D762EC; Tue, 20 Feb 2024 18:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708452895; cv=none; b=jKFTn5ghAY2Dk3O0FhhXEQ3O5yke+nTaddQDm8VqKyH/x5tWGEzBwiRjAG/Vgw6ysOezaMgRkEHXu8PdoTI7Wzl7Hy/Lh8QRArDkgiVYyXpfSAk4y8x5vH+entjwc7xfS7qLTwXfP9z7Q2Zvd4CvEBZBvIw89jrkCoyJ9UVASjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708452895; c=relaxed/simple; bh=/ynjGAeQqEvhZ93KruTyPeOVmjFP4hfFO8nd6g84A9U=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=KUzqUk5p/1OFxDAu374iyyRWUSBfJ5jwzTaNqvjaGWxb3q/fRyd2TGbS4162fqjzmIan2f4mScjWCWHE2GCYFgfYA4humMY8Ttdyji7rFiZKVF2tkVLDEk2fzroAu1G0GcvxrPIhLtzAyrYyGOpgR+4881Ccoq/67D5+9dMJZTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7B9481007; Tue, 20 Feb 2024 10:15:32 -0800 (PST) Received: from [10.1.197.60] (eglon.cambridge.arm.com [10.1.197.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 50C2F3F7F4; Tue, 20 Feb 2024 10:14:44 -0800 (PST) Message-ID: <0ca1f2aa-913e-4b8e-bd63-dcfbb9af149b@arm.com> Date: Tue, 20 Feb 2024 18:14:42 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/17] x86/resctrl : Support AMD Assignable Bandwidth Monitoring Counters (ABMC) Content-Language: en-GB From: James Morse To: Babu Moger , corbet@lwn.net, fenghua.yu@intel.com, reinette.chatre@intel.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Cc: x86@kernel.org, hpa@zytor.com, paulmck@kernel.org, rdunlap@infradead.org, tj@kernel.org, peterz@infradead.org, yanjiewtw@gmail.com, kim.phillips@amd.com, lukas.bulwahn@gmail.com, seanjc@google.com, jmattson@google.com, leitao@debian.org, jpoimboe@kernel.org, rick.p.edgecombe@intel.com, kirill.shutemov@linux.intel.com, jithu.joseph@intel.com, kai.huang@intel.com, kan.liang@linux.intel.com, daniel.sneddon@linux.intel.com, pbonzini@redhat.com, sandipan.das@amd.com, ilpo.jarvinen@linux.intel.com, peternewman@google.com, maciej.wieczor-retman@intel.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eranian@google.com References: <20231201005720.235639-1-babu.moger@amd.com> <2f373abf-f0c0-4f5d-9e22-1039a40a57f0@arm.com> In-Reply-To: <2f373abf-f0c0-4f5d-9e22-1039a40a57f0@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Babu, On 20/02/2024 15:21, James Morse wrote: > There ought to be some indication to user-space of how many counters it can assign, this > number might be different for different resources. This won't be a problem today, but if > we had 'mbm_total_bytes' on the L2 cache, the number of counters may be different. I found this in patch 6 - sorry for the noise! Thanks, James