Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp831801lqs; Fri, 14 Jun 2024 07:02:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfKwgba/xXO/j+bmRTW89egUzM3AsC3GFA1dP6m7rMru8vv5JvBYI2jPQxvTgLt1UZgUjakXGzBv8xFe/kXDAR7HvPdiQplA8pHSJywQ== X-Google-Smtp-Source: AGHT+IFZQRFKtkPCdtgrbBPyopAYlNmXTVJIRymB+NLiy09QJBeG3gx1Bmq/EQIaGBaTLQ7LZpaY X-Received: by 2002:a05:620a:3710:b0:795:4d37:82a8 with SMTP id af79cd13be357-79810103a8emr912193785a.22.1718373776600; Fri, 14 Jun 2024 07:02:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718373776; cv=pass; d=google.com; s=arc-20160816; b=LMLmcCUpsGwPZatKB0AA1y9pWJhIDuvPGzmYFkG9DZhwTC1sndEEuhqMnr/Phqa5eJ l4p+DBZOsiCSbimYXTJIOC9YBAzD2AEjB/7N3BQOv35odeoaY6LIXb+cwTDl6c6NC5EF pwwQ4DF7kcGwx85B8ZzqcurmxO9W7Bjt9Y59AXSv/Le0v+Qyr/YORs48ngHEvCQzEkSp Kn8dpSDrCt39eD3GTOMiOoruJ3kq0uAQ/Umbliz+5v9jfHHgZEdOk83T92hs/TRugWMA rw0OJF2nTMF5Mkr0J3spcKX3VUFlzHa1BUKn3XMsbF1FDpP6qVwHc81h47xwLJWJIuyj y7GQ== 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=vU9jFUgCjLQVS1CjVyb92xRLTtWCXahLss538JkpSUg=; fh=O6+HSdNmRNubx/0jiT96UowlBTTdcTYXeyuJ2JzWngE=; b=vrfpzc5pZPp+ve8VxoLdsCuG+vNjAan6bqT+cMNkPCxuVNsFF81JgN4Ly3x7WRKaeF psMoHum/gwx5piz3+UcxcQww328ALLAznIgx8OcGc9MWeLLkbTUxncp29nD2nO3qH7lo B5Xv4bephd9iRGzfGEpp++6eb4GrsVyEcUKDjIYR7kBdeP7z1KIhxIJX7l8C/Emr9SPW dA2QTx3GA8XvOPaJJRwt/aVUOvMoPIUntc0xeNgPJtG4vekOejqSKyptKqE0tSkk+AdS GCq/QSEt+1zssYh75fqQRhHOBkrEqmJ7TU5LnT7n7mh2gz3KQpAPhBB5NNFGmV2q6/yD VxNQ==; 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-214982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214982-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 af79cd13be357-798aac9d2e1si373795285a.153.2024.06.14.07.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 07:02:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214982-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-214982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214982-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 5615F1C26FBD for ; Fri, 14 Jun 2024 14:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 793F41B5AA; Fri, 14 Jun 2024 13:59:51 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C70017BBF for ; Fri, 14 Jun 2024 13:59:49 +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=1718373591; cv=none; b=tKATzyfQfD1m3Qh3b0mhGMltD8AqfokLwJGdP4UF0VvjzTL+8J1Ng517Pde5TqPHKLNKqpQ3WgjDjKlnGe6Isneg8Rdr0GXZd+4iRXYVvUZkp6lVp2SPAQsgy4sPFRcfFeVy24ksiRLjQekN6ZBkYugO1uVMKpCme5hGH3LBNF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718373591; c=relaxed/simple; bh=eSL6R6gPnLa90fKl76Z8ZljcuJVJNJ3a2a05sj7PkaY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=evtWxABk5ejBghKI8LiJOv//NNEevOB+eQGXvhL6Z44gK6DJdGPv2wb2eRgRfW3MFdbQ088kQMRRYMtZd4MDZtY2jeY2lQ6eXi2RjdMqlw2BR/Du2apX9/xWGNYshX+aqKa+Ja5F+CQZ2VJmEuqg0LPd9aweSM7NIK7c01kz2iY= 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 93317FEC; Fri, 14 Jun 2024 07:00:13 -0700 (PDT) Received: from [10.1.196.28] (eglon.cambridge.arm.com [10.1.196.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 28AE43F8A4; Fri, 14 Jun 2024 06:59:45 -0700 (PDT) Message-ID: <62d59c45-c154-43ed-86ad-c2d2461054b6@arm.com> Date: Fri, 14 Jun 2024 14:59:43 +0100 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 v1 31/31] x86/resctrl: Move the resctrl filesystem code to /fs/resctrl Content-Language: en-GB To: Dave Martin , "Moger, Babu" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , 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 References: <20240321165106.31602-1-james.morse@arm.com> <20240321165106.31602-32-james.morse@arm.com> <99ac181d-d93c-4b11-84aa-48953d9eb5a3@amd.com> From: James Morse In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Babu, On 17/04/2024 15:43, Dave Martin wrote: > On Mon, Apr 15, 2024 at 03:44:48PM -0500, Moger, Babu wrote: >> James/Dave, >> This is a huge change. Can this be broken into multiple patches? >> It will be a major task in case we need to bisect to pinpoint any issues >> later. > I guess this might be possible, though when moving groups of static > functions around that refer to each other it might be more trouble than > it is worth. > > I'll need to discuss with James. > > Either way, I think this patch will need to rebuilt when spinning v2 of > this series. I've been rebasing it by hand, which is not exactly > foolproof! > > It ought to be possible to break this up into one patch per affected .c > file at least, if people feel that it is worthwhile. That is how I keep it in my tree - but the intermediate entries don't build, so its only useful for keeping my sanity. I don't think the intermediate points are useful, it would be better to spend the time generating confidence that this thing doesn't introduce any functional changes - if it does, it should be reverted. To that end: So far I've done this by hand, but recently cooked a python script to generate this. I'll include this in the next version instead. Hopefully this is a better way do demonstrate 'nothing up my sleeve' - it certainly makes it easier to regenerate this after other series have been merged. Obviously I'm not expecting this to be merged as is - as suggested in the cover letter we need to find a least disruptive moment. Thanks, James