Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1040175lqt; Fri, 19 Apr 2024 20:58:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+QzWuUQwqAkq9/ApzhihQSd4cJSi9OyxV1J6No7Kxgcl7abTA3RB24aSTMR16jAJSE+ePv35VYKQIGKcxP69zgZz/mMMHvWrcpzlc/g== X-Google-Smtp-Source: AGHT+IF4UxGyfxOCNgAoAZoHjqVfcdmJDpnvxE/9G7RI8XWotIu7ztXvvWY8H2U6fjtOUm+Yv0Rt X-Received: by 2002:a05:6a21:6d83:b0:1a9:c28e:bc17 with SMTP id wl3-20020a056a216d8300b001a9c28ebc17mr5062809pzb.45.1713585525240; Fri, 19 Apr 2024 20:58:45 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ln8-20020a056a003cc800b006f0bf99e500si2538748pfb.274.2024.04.19.20.58.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 20:58:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152113-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; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=QGLqjNia; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-152113-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152113-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.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 D50DB281744 for ; Sat, 20 Apr 2024 03:58:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66776D520; Sat, 20 Apr 2024 03:58:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QGLqjNia" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0F772563 for ; Sat, 20 Apr 2024 03:58:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.21 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713585517; cv=fail; b=XyfHO2YC8ClBy4ppqBZNcSlZUQhoFRsWf9xzKCBViXRONPVIFB6GPr0sF96Y91zBPKOR1LK+ch0Db0SCthH+GUhyL4zgl6cDeMbh+23UITxdTwGUoDVNKl83EOjUWELUJJhNsGzQ7qc2ZjJ5d3HZYBvHyFuCdBfZtn5HNmt8wQk= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713585517; c=relaxed/simple; bh=TIfSGzv5Z1RSUs5H8G27aQFnApVKqMW2zwqhKyFFPoU=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=NCloGWOd/zSGO4blicXjsabM9oLvIHB99bZtNJJ2F6cXCXI/bewFl8cKUsNGy9LR84clpYGX7cmDer8OBTuqQP/CFVeX4YtaRyHdXwdUXVi2xyImsCQEOjZWe35unMdrxdV7dg0it5y/kX9+ZQ0ROsoDAfQmjpkwhPaFa/wy4ic= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QGLqjNia; arc=fail smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713585515; x=1745121515; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=TIfSGzv5Z1RSUs5H8G27aQFnApVKqMW2zwqhKyFFPoU=; b=QGLqjNiaooEpi0cMPyPEjoTBb+8iXEUNiTj0QVG6EyXY5qJogmTBNq/w 5cUu5m2Wso/0D5z6NzFBX5A8/GRqLPwcRqsqWiE50vohGTuxUofJR/CtM YWAjkE+TPRMP1HHsVuu+IE75GPY05i24wteyUinW9OZYFqM4fs03I29rm z3PBWEdLLqZL86aTnCBdEWL10tn/mYGL2BP94VjK2hUl51GEW/UVqKzJo GQ246VLq7PTm/lyB5dKrYLqrHZCGS6pM7/B+yIxXP59jTySB/vCOjgVUa b8nhPR+3JxByD4VY4ckMdGFczXd8bGDCq9Z9jZ0O1z/oQDyFxJ2va5H7b Q==; X-CSE-ConnectionGUID: gXmkWyJRS+2Dy+ptHhNNMA== X-CSE-MsgGUID: arfHDJftQ9CNkTiTNrkdww== X-IronPort-AV: E=McAfee;i="6600,9927,11049"; a="9120225" X-IronPort-AV: E=Sophos;i="6.07,215,1708416000"; d="scan'208";a="9120225" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2024 20:58:34 -0700 X-CSE-ConnectionGUID: JH7EV6t6TKaKLXGH/+45yQ== X-CSE-MsgGUID: vzKRGeboTEKU665wCyPJUQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,215,1708416000"; d="scan'208";a="28170607" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Apr 2024 20:58:33 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 19 Apr 2024 20:58:32 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 19 Apr 2024 20:58:32 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 19 Apr 2024 20:58:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hqMJZRxcqxGucdN9H1lc+0XJZhq0bRwqpEtDeZQkj4YkS+MeLarEOP8UMQqvOCGn1nHgUX796k/Bq5dVgm3pm/ZZDF9I74/JXj4U5qh+7JRDMAVPVjPuwaVVr93qPbSp/uSNQEknGNElmXmOEYC5RVRpc8QhTWWhchszt6IjV8mRGN7oGzd3GeIulCdIisMUw+58JllOkpcmrmX8hTP9ToQePOZ+9nNonRjgPSAvEsQzDbTE4NPiPMJaF/zSwkcZ/YSl1agz6cHfpAJyS+h+fFywHONoyDCwvV+KbZ9QOi23soxazlU96IsaPgYYpVYGrqYxwxi7tcBGg22pwJlBOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hOY5gmXF5BkVWz9PCquLZpInw8uSaruyKsdOjOzgddc=; b=fQnTIWBKULCcnv/JMClm8ztVgTbictEaRbiWg6OAQQmnbD00g2Z4wKyoUrcoWo0wjWWClaRNjvhAGL8q6tqhH+24NVRyg0KhHqwrkLMIHjHNGZeLcCJGHLJZsTxOjZ+XGCvxR/1+Lmsj1CzvMxbuTlMojx6zadgN93JVqiQu5hGzvW+FhayV7jT7kPD20meVTcPxUosteMbGNgQnF8ga/28he/+lk4iY+99dKUZaLBWaN2RJ4oYvm8o9fxtEt7TIlUo4C8m3OtMPgjQgCeEIbEk8RJzJ5JJU149fH9DiGinoNd9423xILxjwRs1GXsoCymnv514a+yNHADBOapmZtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) by IA1PR11MB6267.namprd11.prod.outlook.com (2603:10b6:208:3e5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.14; Sat, 20 Apr 2024 03:58:22 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::d610:9c43:6085:9e68]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::d610:9c43:6085:9e68%7]) with mapi id 15.20.7519.010; Sat, 20 Apr 2024 03:58:22 +0000 Message-ID: <7e424ab4-e769-4eb5-b3d4-8ff7e7a76012@intel.com> Date: Fri, 19 Apr 2024 20:58:20 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 05/31] x86/resctrl: Remove rdtgroup from update_cpu_closid_rmid() To: Dave Martin CC: James Morse , , , Fenghua Yu , "Thomas Gleixner" , Ingo Molnar , "Borislav Petkov" , H Peter Anvin , Babu Moger , , "D Scott Phillips OS" , , , , , , Jamie Iles , Xin Hao , , , , David Hildenbrand , Rex Nie References: <20240321165106.31602-1-james.morse@arm.com> <20240321165106.31602-6-james.morse@arm.com> <6bbff669-cbe5-4284-b64a-4825a541b35f@intel.com> <0698418a-aede-40d6-90ce-dbf6e8796916@intel.com> <069c0e2e-81e1-4343-8a9f-21f1cb74bde6@intel.com> Content-Language: en-US From: Reinette Chatre In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0032.namprd03.prod.outlook.com (2603:10b6:a03:33e::7) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|IA1PR11MB6267:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b5c7e56-5775-425c-a9f7-08dc60ee1f85 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?SUFOaDhzWFFSNjZwQzFhNkJiZm9YeldhQTlrb3VvalplRXhxenJONEhWWU9W?= =?utf-8?B?dy91MFN6QjVrdTFrdmZMMmN3dTJWSDRadWJYWVRvbzl3dFIxTkFmSVlJTTJn?= =?utf-8?B?UFhoZWpHdnN3RUFlMkRzdktRNzVCWWJtNW9JekZpSEhrWDVzL0ptMlg3Zm9U?= =?utf-8?B?MW5ENnNsQzhkeXJjWnRqSHdleU00dGpTTS9CY3lybzM0K29vSzdpdG40UU4y?= =?utf-8?B?R3lxc2g5MjhkbngxT2pz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=?utf-8?B?a2JqTjc1amx1aEdoWHBQNGlRZndOV0JEd09LMUwyUW1PSFVFa1BvZVJWOG0w?= =?utf-8?B?QzdyRStXdzNkOG1zRUZjNWFERnRsQ3BDUXg2ckFCU2tya28zNlFieEV4ZDIw?= =?utf-8?B?eFJiL3AzaDVxK2VjVEhxMFR1aWVHREVGZXc4SGlGYUQ2RWFDZ1ZVWFZmNEdW?= =?utf-8?B?cVRpK1N5ai8rRlNkSDE5bXIwNUZWVG5LSXVXYXovY3hSTE0zT2gzb3FibzI3?= =?utf-8?B?NmpSQ1NFRlorb2pkV1VRbU00VXF3YTM5OWVUVU9aNDlMWGUrUHVSaXVzRTFF?= =?utf-8?B?bzZRYTNobnF5VFZJdHU3M3UyMlNYOVdXNWk5ZEU4SEtqWkp1L3hnV2NDbHZp?= =?utf-8?B?RzVWc2tEOEpTRG1MMnRyU1ZWekkzTU0xSGFOcEZrNUpPc0tuUVhLRHNwZnhk?= =?utf-8?B?V0pNODhMTkowU0JibkJjZ0lRUWhjNzM3b09sTHNseDJPUTZmOHpDN1duNWUz?= =?utf-8?Q?uG2ztUMLn8xBEDsFppqynUb335pt5rqrQ/SvtdQWZoms=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR11MB7573.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OGRESnBpbWNhUXpTL0Z1OEdtSjRJaTIwdWpQVVQ4MmRDQUZvcFR1VE1iQi92?= =?utf-8?B?RWVSYkRXdUtBTjRSNDFRUDU1VGM5aCtwT3hBSFh2RzYzRlhrdFFLVlZVR2ll?= =?utf-8?B?MDZ4eER4RTIrbk5kMW1qYVJlb2ZIMEpsY2RpZzV2b3ZNZDlCWDEyO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RnRtTjlsTjcyOUlBVHR2MEIzRVhjOENYdGVa?= =?utf-8?B?WWlUZFV6RkMwMEZOS1pBam1PVzdrRWxWclhnZGs2dFVNOVF3bExhZDZPMkt5?= =?utf-8?B?dVAzYXZNTTVsNUdEN285MFlBd2hBSmtlZGZpOEt1cmxOdUtJVm1EUHRWY3pI?= =?utf-8?B?bWNMOVN0Tm83ZEY2RStNQnRUckhaemwwN1hUQ00vN2FiNmx5aUlSK2pDd0tZ?= =?utf-8?B?VEE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6b5c7e56-5775-425c-a9f7-08dc60ee1f85 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2024 03:58:22.8366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: r/bAwWOrUyHNWTvqxF+37j5o/SfT0ohRjxJugdcbjdJfzvlqwttnJGzBO6fTv8YBv8REjJOSn9F8ySPNaKgREIhftKYG4TuUG0vYzpChENU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6267 X-OriginatorOrg: intel.com Hi Dave, On 4/18/2024 8:21 AM, Dave Martin wrote: > On Wed, Apr 17, 2024 at 10:12:35PM -0700, Reinette Chatre wrote: >> On 4/16/2024 9:16 AM, Dave Martin wrote: >>> On Mon, Apr 15, 2024 at 10:47:55AM -0700, Reinette Chatre wrote: >>>> On 4/12/2024 9:12 AM, Dave Martin wrote: >>>>> On Mon, Apr 08, 2024 at 08:16:08PM -0700, Reinette Chatre wrote: >>>>>> On 3/21/2024 9:50 AM, James Morse wrote: .. > > > >> >>> >>>> >>>> .. >>>> >>>>>>> + * struct resctrl_cpu_sync, or NULL. >>>>>>> + */ >>>>>> >>>>>> Updating the CPU's defaults is not the primary goal of this function and because >>>>>> of that I do not think this should be the focus with the main goal (updating >>>>>> RMID and CLOSID on CPU) ignored. Specifically, this function only updates >>>>>> the defaults if *info is set but it _always_ ensures CPU is running with >>>>>> appropriate CLOSID/RMID (which may or may not be from a CPU default). >>>>>> >>>>>> I think resctrl_arch_sync_cpu_closid_rmid() may be more appropriate >>>>>> and the comment needs to elaborate what the function does. >>>>>> >>>>>>> +void resctrl_arch_sync_cpu_defaults(void *info); >>>>> >>>>> That seems reasonable, and follows the original naming and what the >>>>> code does: >>>>> >>>>> What about: >>>>> >>>>> /** >>>>> * resctrl_arch_sync_cpu_defaults() - Refresh the CPU's CLOSID and RMID. >>>>> * Call via IPI. >>>> >>>> Did you intend to change function name? >>> >>> Er, yes, I meant to use your suggestion here, so: >>> resctrl_arch_sync_cpu_closid_rmid(). >>> >> >> I'm a bit confused here when comparing with your response in [1] mentioning >> a change to another name. >> >> [1] https://lore.kernel.org/lkml/Zh6kgs1%2fbji1P1Hl@e133380.arm.com/ > > My bad (sorry Babu!). > > I read that suggestion carelessly and assumed it was aligned with > Reinette's. > > The most important thing seems to be to transfer the "defaults" from the > name of the function to the name of the struct, since the struct is > about defaults (and only about defaults), while the function is about > defaults and the running task. > > To avoid extra busy-work, I'll stick with > resctrl_arch_sync_cpu_closid_rmid() for now, but I don't mind changing > it if people prefer. resctrl_arch_sync_cpu_closid_rmid() sounds good to me. Reinette