Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3583536rdh; Thu, 28 Sep 2023 16:55:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExDSYTOrfCyqWYhM6RvlHX1n9vwgbK6TKrG4dN9/zvxrPnrtvs2siwE1rUiUzPKFHVLaOB X-Received: by 2002:a17:902:e88e:b0:1bc:25ed:374 with SMTP id w14-20020a170902e88e00b001bc25ed0374mr3565814plg.49.1695945333759; Thu, 28 Sep 2023 16:55:33 -0700 (PDT) Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id d12-20020a170902f14c00b001c732b6869csi3485175plb.63.2023.09.28.16.55.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 16:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q7Mefe7v; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id DCE6A83FC3B5; Thu, 28 Sep 2023 13:54:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232052AbjI1UyM (ORCPT + 99 others); Thu, 28 Sep 2023 16:54:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231387AbjI1UyL (ORCPT ); Thu, 28 Sep 2023 16:54:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6479D19C for ; Thu, 28 Sep 2023 13:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695934449; x=1727470449; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=CWQpb3nag/XXkDzGT3Qv+I3GHwFaEcKGpNDCVPtLmJ8=; b=Q7Mefe7vJJq37sK1+cGBdCIfnXFC9fB9r58sbm3ilgoIQRcrO/8k7XvD PSfTQbPxVP7s5sIgDLfoPXNLv8F9a0nYy5Am7/1xEFyh9a8uuyQlT4e/p 3Ssghe72+yYIapVkvDpY3Wnhx1agZmjR3AxSmSXZNXs3MuzqPJyx2BI5K mnEgbmCnInX5qLggpEBHDWVcuqBL0Bkyu8Pe3fRyWzgad+okR9RVSXF21 zvAcc1WjVJLfWwHdhyZC5CNlLiporiL6dndYK8seZV+pGpkxF2WEEFgVq jvv0dUqgwMk1TL9QjwB6UrDRPGmxN+qAhTT15Z5PO46/3HV+UNNqBFBOl g==; X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="381061826" X-IronPort-AV: E=Sophos;i="6.03,185,1694761200"; d="scan'208";a="381061826" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 13:47:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="923387885" X-IronPort-AV: E=Sophos;i="6.03,185,1694761200"; d="scan'208";a="923387885" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Sep 2023 13:47:35 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 28 Sep 2023 13:47:35 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 28 Sep 2023 13:47:34 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Thu, 28 Sep 2023 13:47:34 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.45) 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.32; Thu, 28 Sep 2023 13:47:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VaOZhgRdZO6AWgdiG+/RjU8xpROEzRKO+eth7LigHpSgyiQ65ds+t0LLOqi9XyQhB1ZYuET/qvhDZ59AY2jsTsv73wRg6Qka8wDE8Qk5gq9WxyWZdLReqtiFWQp2fgSZeGgvWQhd42zSDuPnMkYYlfTAp4Yf06gcw3UT5vYQaQHN3RB/4VKFdRA95oWBTk40d6JMMqf9Go/wfVE6TNj9yjPC1v6oUejJiDs8biQmFWSBaCoKLx0e5bn4bYZatzcjd8b/BdtBBo4jvUKRSbcVvrwvPKavnbe4BMXzhpZCO5NuJlwY91griAxUks9wQMbT9uzY9SdSPEzpnq+dQPODkQ== 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=CSre/qjYZ6ewLMQ3EEly3sQ9V6dBLM+Xi51EKNKrwpA=; b=IKqPzisdsGx2ieOuBlFQiVLyIcEfiytzAX/EzhMvq+W6EBemSuKEdEQodVAqWqpIWjDvuMY2u4OZcCM2y1zLwPmyPFqn/qA41klhexpyFx5ATlqz8IaW9nvFVK1ErZLopsVdAFINvmKK5t1G104OLL8QNQArqYkg6+RIj8+VRW1D03vqvDxxUdbQgPMaFFj6mjIZjl2PqFQwUVYh+NqbpRs9fcl6jOuuEeQxqMRLRYNO2/zdRASRLd5KEHe8XwOuO5fxUC7UDm9S++RdyR4c457CR84GlS4Txz47ZHWv3EKkFfHfhDKJBsFaYppam3nm6Vb6biB3v+H2gK7+UI/qag== 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 DS0PR11MB7458.namprd11.prod.outlook.com (2603:10b6:8:145::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.24; Thu, 28 Sep 2023 20:47:33 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::bd70:f215:4a97:c84e]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::bd70:f215:4a97:c84e%6]) with mapi id 15.20.6813.017; Thu, 28 Sep 2023 20:47:33 +0000 Message-ID: Date: Thu, 28 Sep 2023 13:47:30 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.15.1 Subject: Re: [PATCH v2 2/4] x86/resctrl: Add sparse_masks file in info Content-Language: en-US To: Maciej Wieczor-Retman , Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" CC: References: <3b7f8c61f0f443e303bc9c5075566b89ffdebe7f.1695371055.git.maciej.wieczor-retman@intel.com> From: Reinette Chatre In-Reply-To: <3b7f8c61f0f443e303bc9c5075566b89ffdebe7f.1695371055.git.maciej.wieczor-retman@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0041.namprd04.prod.outlook.com (2603:10b6:303:6a::16) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|DS0PR11MB7458:EE_ X-MS-Office365-Filtering-Correlation-Id: 08e002e1-54ca-4101-e533-08dbc064239a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EArBnKvT4Yi+YyHAgEgoipyeS/ka1vSkMT7EG6OgKZEMM41JAyoIun/kHWIBO0WyKR5WyeiZepSKwp70Exii+fPJZgHHkDSW7IYl0J2Jt/js1qKQf7jBfBYTvhkPT9TNJdylasxIY0gGin52MeCW6As2xCL8DApOODRvssqKY2uHbmPuyUj4Uayw+U12yc8Em5bP4V9rB7qnLom8qbZwfN2J1043KB261JrWuLDjkEc+Yh4QpzNkAHRFxNSaX9wJDWILQU6tiwX1nwoyEUV79YOv8tOCPPCsrAILazUnL6RFnNVtzVvzCj1zrS2+d1oqJ4pUYkfzw1s9m3q+pc9xLCrq//utQ1ZAlKfqFNIREDvkDMjJzKgLKCzUq81qcpYyWI+hvaMPnT3dFW0oAJ7//Y3wFOL9cmhi+OZPCuqOohr2nM4taBbSaOUSviqdYtq3N3YMUupg91LHpcJjct2B7PW3jMdnYBYUMnk7RD05DHx6qSBf36bRObcnJUBrcO9ka9CnMdVkRbaqe9t/+t6y99vaQrvssZd/mceKHK4aAI2nCK/34fXkZH4DOBfYjwe4LILgTrLZLPqP5TEs8Ebh+E63WTE/IzR1wiRqbEB1+GkubE4Z5ZiOXcBtsETvqkov2C/2V+1vT/dudPYpQ+khcQ== 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)(396003)(376002)(39860400002)(346002)(136003)(366004)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(2906002)(6512007)(6506007)(38100700002)(2616005)(110136005)(66556008)(66476007)(31696002)(86362001)(478600001)(53546011)(6486002)(26005)(82960400001)(66946007)(4744005)(5660300002)(36756003)(44832011)(41300700001)(316002)(4326008)(8676002)(8936002)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c3NjTUVLaU42L3UyWDNtVzdHaWYycVR0dXBjTGs4Q0s1WjRkRXpuYkRETElQ?= =?utf-8?B?eU5UaWxvZG5iazlFMXBvNWpFWHR1LzJLRnJxZmd0NEdsQmhGeDRDRmRyd1BW?= =?utf-8?B?TklEdTBQYW9HQ1piRjJRUmYwTHlOWEhWckIyVFpMUVk2WkxDVXl0UUNNcFhv?= =?utf-8?B?bGVhY2R0UG12bmdkaHNwRitpVGMrSlVySDFNUFpxWnNIQmFQcVkwZHZzTTRI?= =?utf-8?B?Y05tVUxNaTB1WTY2L0w0RjltaFgwa2pRRU5IRE9KYzRPSHJUdWJHRmdUdU1J?= =?utf-8?B?SHJTYkViWFROWjBDb1VScHVYL3JMNm5NeXArKzQ3UXc0cVQ2cldidTFaVjBM?= =?utf-8?B?NW00eEwwODBzdm9iOUVmV3d4SzN1RUZNMDJ4YVJ4UlZ2ZzRwK0U2eDR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9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 08e002e1-54ca-4101-e533-08dbc064239a X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2023 20:47:33.1404 (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: 2IcNfbkQ4i5GgellwmQioRiZN5pa1KjbAAD5HsqZVRr7b7DybeL0Xe05XCXU6Wn1eYtRBc0snNmv+cxU85XbnKel4VKzVbuddEnYc/UTMvY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7458 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 13:54:21 -0700 (PDT) Hi Maciej, On 9/22/2023 1:48 AM, Maciej Wieczor-Retman wrote: > From: Fenghua Yu > > Add the interface in resctrl FS to show if sparse cache allocations Should this maybe be "cache allocation"? > bit masks are supported on the platform. Reading the file returns > either a "1" if non-contiguous 1s are supported and "0" otherwise. > The file path is /sys/fs/resctrl/info/{resource}/sparse_masks, where > {resource} can be either "L2" or "L3". > Reinette