Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4124157imu; Fri, 30 Nov 2018 11:24:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/UUt7BfAv3f6EzuW+UwbeJ93qmF8MQsK72WjgPEUTYFHE9pohpUd5MW1hM2aspGoFuCmow6 X-Received: by 2002:aa7:8286:: with SMTP id s6mr6644414pfm.63.1543605884695; Fri, 30 Nov 2018 11:24:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543605884; cv=none; d=google.com; s=arc-20160816; b=NIChDK1aJ2u24uEpM9X6ld2LKy5SwevmMHKa5Ow26OApa4cUJDh2TsVuhBclbkVlt8 8RjwHvkHz07Lh8jAUywsayzUyMLYit4vjWurxhK2vewJOH1oLY7UY82XLPWi7tbaK7tK xTXazuCf1UzYhXLL6wqLLlKnukl1uUQ0ZtE/a6AY9hAYvPi5va4UZsCkvLQoinwCeCrW ZUxgtnNOXMWNcfzw1XMXfxLXwooRKA6awfaoLTtlAJWt++gDrpKlkzSBhtdwXl+KXttK Gx+OCTD95EWqxk9k1NKZYxqvinJoxQHWu5WjYazYPOmBhhw+QrmbWx32vxlzc2mf6q15 qTPw== 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; bh=vSyMQ9fNaaZvLDIJH8KbzJMcljCMMK/GFtCaAXgc8pA=; b=brb5qJ+vKqgDG/7RlI5Aq1jLpguJpShlRGpC3QWHCrCWw1NaECP1KZ23a26ZVAR6fx FE5UJWdXlzEsZtMnQa4G/bTNZMko2cueqd0cXZnLfzKSv/cd+9nnwEsVvU14nSFcmAQf cS18IdrxFiur+rLzft5pjZjN9XtjwO7tibZqKuORpfIfeajrAQz26sekgPf6pm/1xKGH H/VuBWNXB9/hx3Nr2sH9a6v6rZn2V97FKPYsvV+G74963htLEG8OPVMQHiywFuwbHvwx 8rlxlo8ozBbFZzeneU/a8aCaZ5WNblzqGV7Pi0Jr0Y+X+Ujtx+il2tx17wuixqcnqbK1 vKYw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb2si6370813plb.298.2018.11.30.11.24.29; Fri, 30 Nov 2018 11:24:44 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbeLAGeC (ORCPT + 99 others); Sat, 1 Dec 2018 01:34:02 -0500 Received: from foss.arm.com ([217.140.101.70]:35440 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbeLAGeB (ORCPT ); Sat, 1 Dec 2018 01:34:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E52A4165C; Fri, 30 Nov 2018 11:23:42 -0800 (PST) Received: from [10.1.196.105] (eglon.cambridge.arm.com [10.1.196.105]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 14BE83F575; Fri, 30 Nov 2018 11:23:40 -0800 (PST) Subject: Re: [RFC PATCH 00/20] x86/intel_rdt: Start abstraction for a second arch To: Yury Norov Cc: "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Fenghua Yu , Tony Luck , Ingo Molnar , H Peter Anvin , Reinette Chatre , Vikas Shivappa , "Norov, Yuri" References: <20180824104519.11203-1-james.morse@arm.com> <20181127123319.GA24166@yury-thinkpad> From: James Morse Message-ID: <378bfb14-df9c-bb89-8177-b4a5f6c7b226@arm.com> Date: Fri, 30 Nov 2018 19:23:38 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181127123319.GA24166@yury-thinkpad> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yury, On 27/11/2018 12:33, Yury Norov wrote: > On Fri, Aug 24, 2018 at 11:44:59AM +0100, James Morse wrote: >> ARM have some upcoming CPU features that are similar to Intel RDT. Resctrl >> is the defacto ABI for this sort of thing, but it lives under arch/x86. >> >> To get existing software working, we need to make resctrl work with arm64. >> This series is the first chunk of that. The aim is to move the filesystem/ABI >> parts into /fs/resctrl, and implement a second arch backend. >> >> >> What are the ARM features? >> Future ARM SoCs may have a feature called MPAM: Memory Partitioning and >> Monitoring. This is an umbrella term like RDT, and covers a range of controls >> (like CAT) and monitors (like MBM, CMT). >> This series is based on v4.18, and can be retrieved from: >> git://linux-arm.org/linux-jm.git -b mpam/resctrl_rework/rfc_1 > > Thank you a lot for this work on cache allocation. > > We are very interested in enabling CAT on Cavium / Marvell devices. > Could you please share another two series you mentioned above? I'm working on assembling the whole thing as Fenghua asked, there should be a tree that shows the shape of the whole thing soon. > Do you have a working ARM64 CAT driver? It will much help us in our > experimenting. For moving the arch-independent parts to /fs/, I'm afraid its all-or-nothing. Abstracting just the 'CAT' parts will generate much more churn for both architectures. Thanks, James