Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp629093rdb; Fri, 6 Oct 2023 13:42:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOs9r9AiGWesP5iUj1YB1SdYItjndzApFUr3gJr9DZDcF9fXJnh9t3sBV8EZRsghqMG5P1 X-Received: by 2002:a05:6a00:2196:b0:690:24ff:c80f with SMTP id h22-20020a056a00219600b0069024ffc80fmr9511646pfi.34.1696624958957; Fri, 06 Oct 2023 13:42:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696624958; cv=pass; d=google.com; s=arc-20160816; b=GFCuZ5pt9s+7LGEuC2pCOIr9iwLi9brx50/ZZVk4gOz7QXeqLIiHegC4spyiJiPc2w CdWzaHaa4WktD+xtU+Bt3g8zVfUK3ZnQYBv6Cwpk8BJmZzyJpZF/ZPR/X2ooxDLi4bPm VYmGkdcMdvqdsTf4dQNPhFJrrQgq7l5fCRrx00phzI4MNCz64HFhsFr13Lx6R9F3LlXl E97/XjYBFJfEcqe1igyHLk7fkzb/CP3Fh6elOfjRUsVaYmuNMtc2vV35hocy+8+lqJMI GFZ1Mhz++AuwTZD993ed4C/+hjwiICnYhAXK90PeyFG4M9JvVbU3jQ/rB01gDIOn+MFy OemA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject:reply-to :user-agent:date:message-id:dkim-signature; bh=2oOZHVcqEta62Fn/crVWf1b/byqz5RcCADjOGXL0RBE=; fh=NS7epz52TNpCECe1yRh6bvxZ55Oxvkodk9ua7OVXOD8=; b=LG+d32/xWimvHOGHCxozqZAg0jvqE/9su6+MmWud5V6pYuf4r+uGOqEupkpgV9Wrj0 WuTovJknn9xkoBK/Ac7rlBmeLvf3eGCdcsruv47fcnkKOXLjlSnNEzVknBScTJddLqsU LGx1GGN77s9yUDJaSB9kF8qD8gOceuttlkTRf8tL+0Dot2K98XVe4DPswaiUsLd72NAX PHG3GoNZUItqrpWMxvATmK8WerCoBzb22xruY75q7J8KA7YNNLBKUYL31ri+6Kylef1i Kj8pI1uDGWnReV7pqHuemy38gm47ejeX1JyUmFGWo7O4+oYbiXs+gajMU2IaAPphigSD CcIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=FuBJ+hgL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i5-20020a633c45000000b00578a2466521si4294911pgn.676.2023.10.06.13.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=FuBJ+hgL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 295EF8267657; Fri, 6 Oct 2023 13:42:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233541AbjJFUmb (ORCPT + 99 others); Fri, 6 Oct 2023 16:42:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233534AbjJFUm2 (ORCPT ); Fri, 6 Oct 2023 16:42:28 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2087.outbound.protection.outlook.com [40.107.212.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BC66BD; Fri, 6 Oct 2023 13:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F/IBRK0uTecvRa06rCkzOPwmrrCKCe5piU+VlHA/qxWqBoJWnxiuXIsOEJU0oI14eRSwXWn/94xOoiXv4YA9G964m9PrK5/yZplkAEyldlA7tKUcgdO7jItfkTPpMlSLkqv58w0lEkFDWvN2PB+iTIG34Ol/dbKFIOJKqpZn7dXbetAECV1XLBQiOvh6ImHhVSQFrtJelyJYCIcgK16PvkH70xV9EDS3p6V7QV9q5kV1bxkOQHZnntGZL3dypZAX0FbGEiXRiI9r6qOCG7WCnK7UJQ+BeaCI9tXCj09koNnLENxhV9wVOd6KJPmZ+QGVs1hEnLYhP/97gtYZx3Hv1Q== 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=2oOZHVcqEta62Fn/crVWf1b/byqz5RcCADjOGXL0RBE=; b=dcU5NkfWJPBzlVti2gN0eXfj5c1DH1KtJrTjvoOKANyOYjOVnI+tYaHuB1ryijeOKJXMuZKoxgPgPwDLaHqlTI1cJYwn+ImLOxSyItbdWOtT2VQKOGXbAwR1pJbSoArE7cjH7K6un59Q4iL29l7LWCVtoSa34MyHxX8ab5jO30vAxxdsJ8c67cbKviM9iDucIgisNoURZ3EO/z7+/2SEkL7/uZeddIBqo2wz4k5gRiqQ3SPO92qBnCOeAZeXe6EAkVnz6zaKQp5kMnVLxdqXV+z70DCx8jj7vcgKMDFwf5EaivKyUFErBQZwAeEnn03ER9aby7KVc46MN9Ka9G7hOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2oOZHVcqEta62Fn/crVWf1b/byqz5RcCADjOGXL0RBE=; b=FuBJ+hgLH8lzvNG7U1J2gKwxpZyi+sjGovNXMnguXz0cCZZLLRTuqvmyNfIB/OxI/FyMQz1J95xq+8ZoLbTOJ11Dg6Th4r/xFUY5XNwyB/v9V3P80gEMxHklfEdNFqivzbAAzbw3yghvcvGajt+DJr4B/N77GzsnxQBrno+Qk58= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MW3PR12MB4553.namprd12.prod.outlook.com (2603:10b6:303:2c::19) by PH7PR12MB6540.namprd12.prod.outlook.com (2603:10b6:510:213::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.31; Fri, 6 Oct 2023 20:42:19 +0000 Received: from MW3PR12MB4553.namprd12.prod.outlook.com ([fe80::b5d1:8b74:fe73:bd39]) by MW3PR12MB4553.namprd12.prod.outlook.com ([fe80::b5d1:8b74:fe73:bd39%6]) with mapi id 15.20.6838.039; Fri, 6 Oct 2023 20:42:19 +0000 Message-ID: Date: Fri, 6 Oct 2023 15:42:15 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Reply-To: babu.moger@amd.com Subject: Re: [PATCH v4 4/4] Documentation/x86: Document resctrl's new sparse_masks Content-Language: en-US To: Maciej Wieczor-Retman , Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Jonathan Corbet Cc: Peter Newman , =?UTF-8?Q?Ilpo_J=c3=a4rvinen?= , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <7bbdf55ac6f909a6701915d99d79c8f9977bd0b4.1696493034.git.maciej.wieczor-retman@intel.com> From: "Moger, Babu" In-Reply-To: <7bbdf55ac6f909a6701915d99d79c8f9977bd0b4.1696493034.git.maciej.wieczor-retman@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SN4PR0501CA0046.namprd05.prod.outlook.com (2603:10b6:803:41::23) To MW3PR12MB4553.namprd12.prod.outlook.com (2603:10b6:303:2c::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW3PR12MB4553:EE_|PH7PR12MB6540:EE_ X-MS-Office365-Filtering-Correlation-Id: ca827a8c-5d9b-405d-7c6f-08dbc6acbbd3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GLMHSfHuzgHNNH9bxHC2fbxpChMRkbqa30At5eZFgaKFlGMtNXIPOkX1VhSAxSUi011zGYqvUcJpVXVgpbGFBdQgnjkrKn6EIBTpQAkDtfkA74GrZrIuqEfTciLVWTWaVrIyJelOw51rPnY6rN34MkV6ukJwWfl6VINUYnAE15pa1jOhlbw9V/kbdsocppALj4McX1z2VQutFFbx7Btxi5ECp+p1WvWGYt7wzb6fsIlrAcNV0/nfMgzN4EW4vGZcnvXXtA0GndmdUM/f/IE9sempPvKzP6u0yKHZYvT7x8ZFFimiytYLpT78FyQcAWOfj2aaOaLRQTBOLt8PTQCCoVXFLoiHvcsXBiMvW3QkZPLEK1OAfgE1g+YZ4/EWqR9eFg5hHrsvsD9AdM8viqusSoyA82ddKXmBgRCTXp8ftI8NRfwlKkNpVSEUAfpSMUBs5ug9BhVIICQ0YqCztHKiqdlJlreoEwQfdu3doVe2aDgk9R1/HkonTzSWCcViRbu0lY546yhjJgAMfigeQPC01MznzdjpZ3OEybBQG86D63phyPGpLeJ9hUVjkOWIrrlzhYf0Tafu4M3+7nssXTlJiPivh45MMllXJQJcYeB+eAUDeoDKxBdC5JNmz1F9b80hRygraTEXUSaQUq5utZBmp4kyU6YZmqqx0+wV8X5pafI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR12MB4553.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(366004)(376002)(346002)(136003)(39860400002)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(2906002)(83380400001)(7416002)(31696002)(38100700002)(921005)(36756003)(316002)(66476007)(66556008)(6512007)(41300700001)(110136005)(6486002)(66946007)(6506007)(478600001)(2616005)(54906003)(53546011)(31686004)(66574015)(5660300002)(8936002)(4326008)(8676002)(6666004)(26005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eHFIWTNWVklBa05qQ2ZkeU1RRlN5Y0lnRm1XUmxpNTIxZ1J4QW1iUURBNERq?= =?utf-8?B?RGpTM3hHMHpXQXBaZkNieXdieXpxM0Y0MEY1dlJVNTRmT2xaY2htYjIvVzRa?= =?utf-8?B?bUxJY3lDaXJWbkdiTDYvVFg1YnZwU2ZUTXNEK1UrbmhRS1JmRm5SRzBlMjZE?= =?utf-8?B?TWRIUHQrdHJVWVQ4Vy91VGZ2cWlDdUo0UTJhT0dhNlJLd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TMHNMZlVNQ29uTm5hYk9tRXBBQTJQYVdOQXMwRUNPUUxn?= =?utf-8?B?L3Z2Rk4vb1hvN2FReU5Na1NEb3pFdzZzQlpFTnVyNUZKWDFyNmxKVGFQSi9I?= =?utf-8?Q?yXIk=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca827a8c-5d9b-405d-7c6f-08dbc6acbbd3 X-MS-Exchange-CrossTenant-AuthSource: MW3PR12MB4553.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2023 20:42:19.2486 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SZXkokP/V5L/PqZ9YBFL5ZhC4TSQQN2VdSbZixsn6gn/1+MvBxb2WEgCZ2dP8c2W X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6540 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 13:42:38 -0700 (PDT) Hi Maciej, My last comment didn't make it to lkml.  Could be my mail server problem. Commenting again. On 10/5/2023 3:15 AM, Maciej Wieczor-Retman wrote: > From: Fenghua Yu > > The documentation mentions that non-contiguous bit masks are not > supported in Intel Cache Allocation Technology (CAT). > > Update the documentation on how to determine if sparse bit masks are > allowed in L2 and L3 CAT. > > Mention the file with feature support information is located in > the /sys/fs/resctrl/info/{resource}/ directories and enumerate what > are the possible outputs on file read operation. This last paragraph is not clear.  All the information is already in the documentation. You can drop this paragraph. First two paragraphs are fine. > > Signed-off-by: Fenghua Yu > Signed-off-by: Maciej Wieczor-Retman > Tested-by: Peter Newman > Reviewed-by: Ilpo Järvinen > Reviewed-by: Peter Newman > Reviewed-by: Reinette Chatre Otherwise patch looks fine. Reviewed-by: Babu Moger Thanks Babu > --- > Changelog v4: > - Add Ilpo's reviewed-by tag. > - Add Reinette's reviewed-by tag. > > Changelog v3: > - Add Peter's tested-by and reviewed-by tags. > > Changelog v2: > - Change bitmap naming convention to bit mask. (Reinette) > > Documentation/arch/x86/resctrl.rst | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/Documentation/arch/x86/resctrl.rst b/Documentation/arch/x86/resctrl.rst > index cb05d90111b4..4c6421e2aa31 100644 > --- a/Documentation/arch/x86/resctrl.rst > +++ b/Documentation/arch/x86/resctrl.rst > @@ -124,6 +124,13 @@ related to allocation: > "P": > Corresponding region is pseudo-locked. No > sharing allowed. > +"sparse_masks": > + Indicates if non-contiguous 1s value in CBM is supported. > + > + "0": > + Only contiguous 1s value in CBM is supported. > + "1": > + Non-contiguous 1s value in CBM is supported. > > Memory bandwidth(MB) subdirectory contains the following files > with respect to allocation: > @@ -445,12 +452,13 @@ For cache resources we describe the portion of the cache that is available > for allocation using a bitmask. The maximum value of the mask is defined > by each cpu model (and may be different for different cache levels). It > is found using CPUID, but is also provided in the "info" directory of > -the resctrl file system in "info/{resource}/cbm_mask". Intel hardware > +the resctrl file system in "info/{resource}/cbm_mask". Some Intel hardware > requires that these masks have all the '1' bits in a contiguous block. So > 0x3, 0x6 and 0xC are legal 4-bit masks with two bits set, but 0x5, 0x9 > -and 0xA are not. On a system with a 20-bit mask each bit represents 5% > -of the capacity of the cache. You could partition the cache into four > -equal parts with masks: 0x1f, 0x3e0, 0x7c00, 0xf8000. > +and 0xA are not. Check /sys/fs/resctrl/info/{resource}/sparse_masks > +if non-contiguous 1s value is supported. On a system with a 20-bit mask > +each bit represents 5% of the capacity of the cache. You could partition > +the cache into four equal parts with masks: 0x1f, 0x3e0, 0x7c00, 0xf8000. > > Memory bandwidth Allocation and monitoring > ==========================================