Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp64724lqt; Thu, 18 Apr 2024 08:32:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU43jLCKcjHvB3B7k2YlVzZP9ZGPMLxGqdKUg8RGwLbBJmgMmXRgJ+WbUdSBy3RCOpiqybOod59I0lEN37v8HiZ68PquHCHtjH4nfit7g== X-Google-Smtp-Source: AGHT+IG5x+vKDi0UeKmWPqlInbsyKYlOzAGv7rGlLasUZQRSqxC643dM+onHiteWl+tRKlmnnnQV X-Received: by 2002:a17:903:484:b0:1e5:556:60e2 with SMTP id jj4-20020a170903048400b001e5055660e2mr3025526plb.5.1713454359195; Thu, 18 Apr 2024 08:32:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713454359; cv=pass; d=google.com; s=arc-20160816; b=xaTg4qBG68sL7qx08gUBBQcRBCLbDx/hOB06p5WwxMboJuAzXaKHdFmUr2O8JBl1IH S2YL6j14IGxKlsbJoT3+RoNguDec3tiVUVGQ05k7j5lGc/GgKnw7P9qRv27Qr7ISZi96 nRm2miQI+peov0pP6WSJYSTwHNINo3mrBlk4myPpwbmzG6poIJ9gFtbJLMa5MJyXx9u7 etQX0caUVDvmfNXmEYz1LxPistzk0ZbzYTEC5yKCuEx83uzqOeYMUpuGz9oiWZlpoDlm a/iJqVl52LELoxerPIfzYfpFszc69LxRv/gjEbg/dPdy76yREA7gMwUOv/VNHvwf3sxh LK5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=eA8jwd5g/gfTFN8Oe7s1EY91LQYGusNTXmazAXPBcTc=; fh=QpfXcl1MWRNwK/PrSFDaf8vyLNOqSjtq+qtJ/l97qlo=; b=YG4/bkTtnMQ9tzyIjM/xIsREYizDGusA/wvSV7M6x8V6DU5dwpggR6l/1do17SpHfH jTPyUTVUGMMw2dUA8MkgIVBuCdNjOa5meUT7MB+cFlUGVKGTstdatQm6cKybkC2x8qrf IBWpNvGSKEdDvFhuyidAvnFj2OZLi/jnWgAkxwvMXq8RyKlC9/LjLlOCPTope+Z+CNpR bnwIUqZGvVIv6XBdei0GN/gx/ax3SZpKEC8vfxlCvwKY8g3REaj4cX0c060piWBXE2bX qY3ki4I/GuJ82VcR7HzwnhSTgMgsaaWqBorHleH68J388hEhSvCGtyP/27nHMCoAB+be Eb7A==; 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-150395-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150395-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. [139.178.88.99]) by mx.google.com with ESMTPS id lm16-20020a170903299000b001e43f8cae4bsi1700956plb.65.2024.04.18.08.32.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:32:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150395-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-150395-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150395-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 1E42E2851B0 for ; Thu, 18 Apr 2024 15:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 728DC16C84E; Thu, 18 Apr 2024 15:32:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 791BC165FB0 for ; Thu, 18 Apr 2024 15:32:21 +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=1713454343; cv=none; b=oA3tMPKzGZCihvjJ5tyTKqBsg0mBiFlwctY3HbqtrT4H4DCPyLRaJcY2gKVT2stkOcf6WVSm5iYbA1zb79trqWIbv6KyFVgDm5m5JNLMbMVvK+Xqg16z3Qa3Ib7zSayP5ZDRb58DmCgS1pLMQdVxp17SAbgxTMEvUfFRsNKJlbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713454343; c=relaxed/simple; bh=z0DehEfRO8ggrUCoH6fWCMlA+JKhSjb0bn72SUK9AvU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q0mSb2JbBbg2uaoSO+luKQIK7xqX8B1C+lh3EfikD27LkhYQvhIPKlZ2p6qFOgI3vrr4uWIoMSYIjFypQdXJb/etSl+82Cx892xLEUAmqWuthlqNXc9Vc8fnwF3Q3WyYQ9x6caOEGigShA37MgSZvylzzpKGrpNDkYf7fiqNv9Y= 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 9B9D42F; Thu, 18 Apr 2024 08:32:48 -0700 (PDT) Received: from e133380.arm.com (e133380.arm.com [10.1.197.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 816B43F738; Thu, 18 Apr 2024 08:32:17 -0700 (PDT) Date: Thu, 18 Apr 2024 16:32:14 +0100 From: Dave Martin To: Reinette Chatre Cc: James Morse , x86@kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, 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, David Hildenbrand , Rex Nie Subject: Re: [PATCH v1 00/31] x86/resctrl: Move the resctrl filesystem code to /fs/resctrl Message-ID: References: <20240321165106.31602-1-james.morse@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Reinette, Since we seem to be getting to the end of the outstanding discussion on this series, what's your preference for moving this forward? James will be back towards the end of next week AIUI, so it should be possible to apply most of the changes that have been discussed and post a v2 for review fairly quickly after that. I'm happy to apply my fixups branch and post an untested "v1.1" for review if you think it would be useful to see the de-noised output of the review so far, but I don't want to fork the discussion or create unnecessary work. This interim respin would be subject to what James wants to pick up. Alternatively, I can try to follow up on the string parsing discussion from patch #3 with some real code if you'd prefer to get a clean interface in place for that. Cheers ---Dave On Mon, Apr 08, 2024 at 08:13:19PM -0700, Reinette Chatre wrote: > Hi James and x86 Maintainers, > > Please consider the file movements as captured in the diffstat below: > > On 3/21/2024 9:50 AM, James Morse wrote: > > MAINTAINERS | 2 + > > arch/Kconfig | 8 + > > arch/x86/Kconfig | 5 +- > > arch/x86/include/asm/resctrl.h | 45 +- > > arch/x86/kernel/cpu/resctrl/Makefile | 5 +- > > arch/x86/kernel/cpu/resctrl/core.c | 119 +- > > arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 506 +-- > > arch/x86/kernel/cpu/resctrl/internal.h | 433 +-- > > arch/x86/kernel/cpu/resctrl/monitor.c | 813 +---- > > arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 1126 +----- > > arch/x86/kernel/cpu/resctrl/rdtgroup.c | 3929 +------------------- > > arch/x86/kernel/process_32.c | 2 +- > > arch/x86/kernel/process_64.c | 2 +- > > fs/Kconfig | 1 + > > fs/Makefile | 1 + > > fs/resctrl/Kconfig | 23 + > > fs/resctrl/Makefile | 3 + > > fs/resctrl/ctrlmondata.c | 527 +++ > > fs/resctrl/internal.h | 340 ++ > > fs/resctrl/monitor.c | 843 +++++ > > fs/resctrl/psuedo_lock.c | 1122 ++++++ > > (sidenote: James, please note typo in psuedo_lock.c) > > > fs/resctrl/rdtgroup.c | 4013 +++++++++++++++++++++ > > include/linux/resctrl.h | 153 +- > > include/linux/resctrl_types.h | 98 + > > 24 files changed, 7244 insertions(+), 6875 deletions(-) > > create mode 100644 fs/resctrl/Kconfig > > create mode 100644 fs/resctrl/Makefile > > create mode 100644 fs/resctrl/ctrlmondata.c > > create mode 100644 fs/resctrl/internal.h > > create mode 100644 fs/resctrl/monitor.c > > create mode 100644 fs/resctrl/psuedo_lock.c > > create mode 100644 fs/resctrl/rdtgroup.c > > create mode 100644 include/linux/resctrl_types.h > > I would like to check in on the sentiments regarding maintaining the resctrl > contributions after this work is merged. Considering that resctrl will > be split between fs/resctrl and arch/x86, would it still be acceptable for > resctrl code to both areas (filesystem as well as arch) to flow via the tip tree with > help from x86 maintainers? > > How will Arm patches flow? > > James, are you planning a separate MAINTAINERS entry for the Arm specific code? > I would like to propose that you add yourself as a reviewer to the existing resctrl > MAINTAINERS entry to learn when any changes are submitted that may impact Arm. > > Reinette > >