Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp612242lqp; Wed, 22 May 2024 14:15:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDVRfEuDImIBBMId79kQeAh5W65VI4eSjBUyWYHZqbND6/Nb2BYgLsMAX4nu0NKDi3tHJ6y+veEpEkV7XhC1I0X84HkWVvF5YfDb2Hcw== X-Google-Smtp-Source: AGHT+IEnZIOVMpi2gCXYEXKDVma6vzJkhIvUlv0BPvKG2GnBoXGf1wxjY5c+3y0sjQm/mFjaXpOg X-Received: by 2002:a05:620a:f07:b0:792:beda:304a with SMTP id af79cd13be357-794993587a5mr465283085a.0.1716412507319; Wed, 22 May 2024 14:15:07 -0700 (PDT) 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-79308660111si1585090585a.740.2024.05.22.14.15.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 14:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186724-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; dkim=pass header.i=@intel.com header.s=Intel header.b=kmn4H6xt; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-186724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 02DA71C20F9C for ; Wed, 22 May 2024 21:15:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72B6B146A6F; Wed, 22 May 2024 21:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kmn4H6xt" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 DCF311422D3 for ; Wed, 22 May 2024 21:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.9 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716412500; cv=fail; b=qeMO088ab4XmNJHivDz1029gG4oddOJbYHl3Ayfc1Df+n/hQq4vWZR6f+x78d55zhQTEpAYbmyBrjzaqIgxgRSqHvCA9E+BnViMzvqAWjepn+xxc/k+b5Vu5n7Gzg7Cd3/Uvv/kmea7JqVFZjzJuTx2nG+69T2VZPETbE/nrEDA= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716412500; c=relaxed/simple; bh=djBbhbyKALYYW8ruhUiGJOrtCSUsAwWAVaTja9IfQSE=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=Xk28hvVtPRwbWWv6TvQDrW4NcNkhdNvSUJxMvYg5eFOKiyzH046MiV+m2QKEw1iMymGszUpPyF6zq/1eY8cRX1H5qPy1eE/jFTaX6FyY3+dbIkNsHbUY/INqZQnglR99C+JOr5eSsNrCEx6KV/DZ6iqsVf8VhWA1rwyhM954Y+s= 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=kmn4H6xt; arc=fail smtp.client-ip=198.175.65.9 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=1716412499; x=1747948499; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=djBbhbyKALYYW8ruhUiGJOrtCSUsAwWAVaTja9IfQSE=; b=kmn4H6xt/fMHyRWoTDs90yom4sPUNS5ZeFBr9Sw98/sMk1h00IjFJfFa Vn1JGcNnUtojdjv/C/5DA5QNXE5hVHQjJbagvn4Iam4rDfBfaJt3f2p30 9a0AlnRyxdzyBTZ3hVwqoL0wyL1ZcPINc98+Fj7/SnZV0UH5pq2gItiIz /Bfsy1tMFmTjieM13Of/jhlgmPUyGQ/qAsihhRYJTfufuS+wpQVUjyKZo OC7ouyb/tE6O1roqEMtAtKwX93LXKZCXgfFqPihgZx5UloCe7ZLC20bZL SniRDdGtfNldyLSzKwtEGWv8OXXKCYUyOlTRHg8gIWw/nubhmv+Tc3VFT Q==; X-CSE-ConnectionGUID: QAE28fVgRdq90hGXQtvD9A== X-CSE-MsgGUID: 0vcrnj38Sni0kWeNxjMCdw== X-IronPort-AV: E=McAfee;i="6600,9927,11080"; a="35205566" X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="35205566" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 14:14:59 -0700 X-CSE-ConnectionGUID: U2rmR5AoSJ6EhRc8MQjvRA== X-CSE-MsgGUID: pOkHKAkCSguKnxUYGXvjOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="70821412" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 May 2024 14:14:58 -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.39; Wed, 22 May 2024 14:14:57 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.39 via Frontend Transport; Wed, 22 May 2024 14:14:57 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 22 May 2024 14:14:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xh+5UQCxtatyRgpxZaI7XA7m+ha33G2tl8A24jUge/1qAgNKJdmAqgCGAli7H30f/rOuzpu0HMc7lGKCXOP46Ayx6YkeYSDG/yJlM2c5JJLfjo5xAhu+SCLCtWsWZw+BeoFjUmFqgD8dpWvv2x9vuFCLTLN6zKUAaUryoU2qHh1VF/CNlETRvqE1lk/meixuMVuh5/l4ExqZEUf8N/SpC+RKQKdFpiw72rxPxEdRWtsA5PFnpdoppx45x4PGqriVPhMKe+zqGDQoiPCpDLDHfAY934Bgq8qmv9UsgKXjNmU47JZQqkMfZgt5S5ViSrz2r+Qx0GJH7DreEgh+Hhl4AA== 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=UtU6CGXQ8qyIKEjgrada7Vn4Zl48THqKQIVKl+xjE3o=; b=PdOLuTpCxcyzq7pBK5cWVXYDCRkVSTwqc8xECMeMLRsMJhlbOvEXsgb9u8N3kS02ytC9xCUswQ3DgzDr9kvKg0Zws3EAJzUc4oRtCvxX1VJHee0UZPfAjOVR5x/UvhiZSufr6w9rewqWYNqOWJKWjZZP3E5CkNksktXp/ecGn4HvL1Bls4ps9sN2azFyK7gTSU1On9q3+yCeMNuamJtk5IgJ/FZvAoc3HdZUrQ+rqCnFhnwg3+urdCPQk1dPCUnN1BW+KyTAbDXNudfU/Dbz7cGnjWXQgl7HAovVWFTZhV0yIdGJ+088gZe1vmjXr3pP2XFS5SpL5IQzTEvJzrk9nQ== 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 SJ2PR11MB7671.namprd11.prod.outlook.com (2603:10b6:a03:4c4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.18; Wed, 22 May 2024 21:14:55 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf%3]) with mapi id 15.20.7611.016; Wed, 22 May 2024 21:14:55 +0000 Message-ID: <7569db4a-9237-4158-99d1-775fc0854d59@intel.com> Date: Wed, 22 May 2024 14:14:53 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v18 09/17] x86/resctrl: Add new fields to struct rmid_read for summation of domains To: Tony Luck , Fenghua Yu , "Maciej Wieczor-Retman" , Peter Newman , James Morse , Babu Moger , Drew Fustini , Dave Martin CC: , , References: <20240515222326.74166-1-tony.luck@intel.com> <20240515222326.74166-10-tony.luck@intel.com> Content-Language: en-US From: Reinette Chatre In-Reply-To: <20240515222326.74166-10-tony.luck@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0143.namprd04.prod.outlook.com (2603:10b6:303:84::28) 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_|SJ2PR11MB7671:EE_ X-MS-Office365-Filtering-Correlation-Id: 25117316-088e-44ea-5934-08dc7aa43a4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UkpxWCtrWTgvKytxMSt2OFFjc1M2ZnV4bko1Qkl5RzRRalUwOURGSGFwdCsz?= =?utf-8?B?dGd4ZkNibE40Q3JGMmtTcmdsa2ZTckdiZ0lYVXhRekNSQWNQT3Rsd05uOEhp?= =?utf-8?B?K2pDRzlaNTVwd2xXbG5lVU45aHo3OXVnWWllWEgreDdTc1JReitDNm9lWTBw?= =?utf-8?B?ZzhGc3RTYUFzWC80OGpXT2NOZGlwTWE4VnFva0FDTXFNeGF1WmtnRlAySlhC?= =?utf-8?B?cVArdE1FUU5JeEpnNmp3RXhKMmNxQTFYbjNib09FZ0ZiNjQxa2hueDFDUWJO?= =?utf-8?B?UlJiRUxEcDV5KzMraHBobUJZbUxOem1uZThjNzAzMGlZczRXT1VOM2NhVkNP?= =?utf-8?B?SWxFRExrbEY3c3NpYVV6N3kyUGNuandXYVp3aVVFY0tjU2FsVjRLNVNUR1VT?= =?utf-8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T?= =?utf-8?B?dVBqc05kcG4xTy82d05QMEg0UEN1R1NWdHJCaEQ5NVMyNFFBVEs1WXpQbStU?= =?utf-8?B?WnA5MEcrQVBCOTRtRy9MNVUvYUZ6cWFvZ0pBNHhuSlBiMnVxcldWSlpmYWZ6?= =?utf-8?B?bHRmcC9WUHhreE1Pb09Oa2VJR0RQa040MEJ3aWhJZWdJcUhLRXdzZmlnN0tq?= =?utf-8?B?dml5ODFmcTJ3WGozZVQyVVgvRnhHeGc0NE1CWi9Rekd3cU5mMTVtTkw1RWhu?= =?utf-8?B?WEtBUHRpNHNDaHJOMUdxUmFBcS9LMW82NEFnRFhDYmN4cE94Rzg5eW5VbW11?= =?utf-8?B?TDEyNHFpcWVJTGVGTkZEQW4ydzI4UmloUjRteUFIMmVrQnh3VXQwTzBSbHcr?= =?utf-8?B?ZVI5MSsvRUphSWF4c3J2VVJxQko1ZmV4alAzeVRhQjUwNG5KZGgvTU9BPT0=?= 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);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RDlaVDViZVY1dE9GRkk5TGtwS2JMSVJPWVhFNmhDWE5xalhKTmw4L3hTMWNy?= =?utf-8?B?REpqeWFpY0dTdmJ0Nm9kTy93Q2QyV21mY3g3SHF5bmI3ZmQxMVVFQUxhQzE1?= =?utf-8?B?bnNYK2p1VFlKeUhLUVJ1R3prbE5qRDdtWFA0ZXhqMXd0OFYwV3MxWG0xZytn?= =?utf-8?B?QktraWpJYWNoVSs0NjZTRWNRQXo3ajRIeDdRYVdDUStOWWkxdWczY3BqZng2?= =?utf-8?B?UUpPU25SR0pKclpZeTg2QjdnTTErU0l4S1BrakdVeitRcE5j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YkJtYlk4TUJMazBzSE56TmswWHNWMVZLbU01QURMWnVI?= =?utf-8?B?dDduM0ROdDZOZzdzdU0zRDluMzBqMm1nalhzQ2RpMk5kUjBxdFlpMWxQempM?= =?utf-8?B?Y0E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 25117316-088e-44ea-5934-08dc7aa43a4f X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2024 21:14:55.2498 (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: Ja/hpNDGMJdHuyAr014mXvVBW6UtutzXQVsad37TH5wktscHzE7PPuK6c0LMcZZJy/0ZLgB0KsBLGykGsmWAuAz0BHh6KfuUcSQknDjbqCo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB7671 X-OriginatorOrg: intel.com Hi Tony, On 5/15/2024 3:23 PM, Tony Luck wrote: > rdtgroup_mondata_show() calls mon_event_count() which packages up all mon_event_count() -> mon_event_read()? > the required details into an rmid_read structure passed across the > smp_call*() infrastructure. > > Legacy files reporting for a single domain pass that domain in the > rmid_read structure. Files that need to sum multiple domains have > meta data that provides the display_id for domains that must be > summed. ( ... and also for convenience pass a domain in the rmid_read structure ... more later) > > Add the sumdomains and display_id fields to the rmid_read structure. > > Signed-off-by: Tony Luck > --- > arch/x86/kernel/cpu/resctrl/internal.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/kernel/cpu/resctrl/internal.h b/arch/x86/kernel/cpu/resctrl/internal.h > index 49440f194253..498c5d240c68 100644 > --- a/arch/x86/kernel/cpu/resctrl/internal.h > +++ b/arch/x86/kernel/cpu/resctrl/internal.h > @@ -150,6 +150,8 @@ struct rmid_read { > struct rdt_mon_domain *d; > enum resctrl_event_id evtid; > bool first; > + bool sumdomains; > + int display_id; > int err; > u64 val; > void *arch_mon_ctx; These new members have enough obscurity to make this a good point to document the members of struct rmid_read Reinette