Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp22655rdb; Mon, 22 Jan 2024 10:36:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFD4oaGt53h6+n+eazIDQynZGmo/T36MJk9ezD8gmSTcFB5wET8CYoTyyLo8TDACwAWP02v X-Received: by 2002:ad4:5d43:0:b0:681:8f5d:1613 with SMTP id jk3-20020ad45d43000000b006818f5d1613mr7816994qvb.128.1705948589656; Mon, 22 Jan 2024 10:36:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705948589; cv=pass; d=google.com; s=arc-20160816; b=Jq7k9Y5KyrTjCfsXFRv4iEnhNNDX1wVCt+Z38RczFUAb7iCa6pkGJ9HDFz21hhlcgU KFGyRrRpJFtcvgVDLcuF3Fl8eBLtVKGR40h3VMFGQ5L/okxHTJkuVtRmDl8wQUee5jhr KE4uCzKROJZaNpcEwW88T+/6Bm7fFXwYXqfvqN8EdbX3kb3u2DETO6IuEzkWvOt7F00x dLXq6yXHU4x8PT2NCJ4+CTGLg8YeOIzq5YP5BVk1bDq4umYttbZcE72uuJG7hfvaOMlJ 0h5gLTJllD/kvuFDf1z7BQv3Tj6AWEcCyEna4DgmnXSWRT8AVEHQ6KeLebPJFpvBEMK9 pmtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=kkpd0TiUCcUA40NrhV3YBZn1wFhOEYp5OKOoo/WEwLo=; fh=tPGygjeOxZkPpoa7QLfsXExQTIdkuMxM5PBa7tF+FoQ=; b=YbRqYy8RYzxwSDec3+UXFRa0e4L68SZ9tuRR2Bc0FRYTMLkMhJZbvvPv6HAC/kDo6e vM5nVKRGz/bvhdMPfovEZGnqX45u8MoTnuxU12zbqBVTct3tTactWAgSKoZjIYY5QuMx 6CddMNSXfBy96/H2AOe80Zmq9Tu6qjJEKSBa9KslcAhDmWBs3RnL3Xr2bf1KSKqA3aBU eiRUQ/VE9+ebHvVI59ymCWeyQxSNcjWTTpRAiHOHqjYPsVZkw28/tC0uQVIJaqMq3Plg FcI9ZwuLPyO+y6H6Mz5FtC45U1qAhcdK6Sy93JGAJ/8Rf0OTj5HJ6eLiT+jBdC+zU2y8 lvAQ== 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-33907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33907-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f12-20020a0cf3cc000000b0067f229293f3si6174027qvm.209.2024.01.22.10.36.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 10:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::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-33907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33907-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C46C51C299CC for ; Mon, 22 Jan 2024 18:35:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 254965FDD1; Mon, 22 Jan 2024 18:07:00 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01DAC5FDAB for ; Mon, 22 Jan 2024 18:06:57 +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=1705946819; cv=none; b=EFWU2GW995G1BY4OWj6z8kJBMq6j7YCgqOg+MlTfZQ6/nK0MO9UHXJkeVqEQE9p9nj/8owy9PXLvdeRaHyR28OJqwfdhOAfH12B2xbTVFXyRl95f9kLjNs5G8zcpxt9DgHpYQMHIaGgt/S666eOdahw9vg9Aornt2/qS5/3d4gE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705946819; c=relaxed/simple; bh=qDzRawGw69D2q6DbodKoqIW02mR+bt5R7SUpFXqkdCE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kVu5KZnDi/wUFUXeS3GG0YZaOr0+JXoGz8K+rvNKflHWdaCsSLMF+udrFCz5cNpU8fl53gBdHHMznW363NHrdSObXzLLbyWDlpiUd4mQOiH8FkfEAqoEr7n8NWh0c3VF0uhdtxDhHZt8L0Eo6t2LHNyheCt3H1zfTjLAbjkNtls= 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 9FD831474; Mon, 22 Jan 2024 10:07:43 -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 B3B3E3F5A1; Mon, 22 Jan 2024 10:06:54 -0800 (PST) Message-ID: <4ffe1482-62b7-ebea-def5-9239320002be@arm.com> Date: Mon, 22 Jan 2024 18:06:53 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v8 00/24] x86/resctrl: monitored closid+rmid together, separate arch/fs locking Content-Language: en-GB To: Carl Worth , x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, amitsinght@marvell.com References: <20231215174343.13872-1-james.morse@arm.com> <874jg9rh7k.fsf@rasp.cworth.amperemail.amperecomputing.com> From: James Morse In-Reply-To: <874jg9rh7k.fsf@rasp.cworth.amperemail.amperecomputing.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Carl, On 22/12/2023 22:43, Carl Worth wrote: > James Morse writes: >> This series does two things, it changes resctrl to call resctrl_arch_rmid_read() >> in a way that works for MPAM, and it separates the locking so that the arch code >> and filesystem code don't have to share a mutex. I tried to split this as two >> series, but these touch similar call sites, so it would create more work. >> >> (What's MPAM? See the cover letter of the first series. [1]) > > Thanks, James. This is really useful for us at Ampere since it enables > the MPAM driver on top of this series. > > I've tested this series on an Ampere implementation, by successfully > using resctrl to configure and exercise MPAM functionality. Great! Thanks for this. > I can't > speak to the effects of the refactor on x86 since I have not tested that > all. > For the series: > Tested-by: Carl Worth Thanks, I'll add an "# arm64" on the end of that to preserve your above comment about not testing this on x86. Thanks, James