Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp449790rdb; Tue, 5 Dec 2023 09:40:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZZQTNSsSAjWoYz151DaUeTTKQEGGXL/0ppXK7DBr4aWjPK0aNjX+vNRpp3Ip7Ukd6xFuF X-Received: by 2002:a05:6a00:1491:b0:6cd:f423:23fb with SMTP id v17-20020a056a00149100b006cdf42323fbmr1899724pfu.5.1701798023806; Tue, 05 Dec 2023 09:40:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701798023; cv=pass; d=google.com; s=arc-20160816; b=vZUq51BQHGSsTSxdgB20h1iBEGcacUjr0aIz+AJR5bMINpV/fuNUrVExiyXOK6GG6N Qf9mn8h464f3/NV16XMlTW91/6LMMeU+X9g/FXdUc/9tID8DDe59Bcg0O76cx1Vylw9M Q7XTGotuRDF4NTmIyY9TuqsKHQiq2OiD/Rr91ry+xenfKt2ESUNm0/ub0CoYJanpFmDv RUJczue+IeMqpCU5hHY0kG91kPjdCq91b26b+g2gB6BdXZsenzGYg0SyaVToiw9omjZ2 rZX4lcPBciwbwDfXy5YH4yUBsE0F+DyULrHaGk0rYqui6nnfEsJR/yK11at8YpCUNwpY OQ4Q== 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=t3XcyhLGk6AMCBYppjyVD1YgtqJRktyRe1udqK3RRvM=; fh=gdGnxSVsM23ogXJhibeTv24D71hpaUyg+IW4OYkaaFw=; b=BlrmaGmtjWSO8txtIA+qePz79JF98IwejCPquByKs/AshLt4T+tYfjjKcoARi76fjq HNAkavFeHuU6O5zDhXU9HOt7U7LnF/QIMAtJ1aR8iRsB+GL8Ct3+UDrIMd/rFUlzudH8 h62aAOyv4LCOf3R4qUCHWqQDlTnX6Zg1qyUKuexcFeojj8K2LuhsN+QCtbsXUmXbpPIv dAKfgsjPl0fyJo4+FF/chRcqH8ROXWo1oojaY5kb5S+NP2kVX0ROzm4icsV44UOr5vmO Pkv1IsK2YPncTMig0Ea1GFrqVZVQnIPbSe8wdysqrYjzmaTG3Irc7moJAfzFDuAvvY+p MWjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ll+M7TxY; 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 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id s10-20020a65690a000000b005c66b8a7329si5398883pgq.15.2023.12.05.09.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 09:40:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ll+M7TxY; 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 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 584838042038; Tue, 5 Dec 2023 09:40:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345242AbjLERkF (ORCPT + 99 others); Tue, 5 Dec 2023 12:40:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231910AbjLERkD (ORCPT ); Tue, 5 Dec 2023 12:40:03 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2048.outbound.protection.outlook.com [40.107.223.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CC45D3; Tue, 5 Dec 2023 09:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nJ+SoHO+fiXtlUFhaOVShhVQM6tzi7r59fcilJ0xeArUMyuemiYEwN1PjglxKszayLTzVEl7dDL7bK6lSPnL1jn5tAMeTG+rbH31XniUGmWb7yAJxRP1FQsmerGYypI4CtACHK5rRejme+A/Tx24tbc8DYkbAeUsCqL0QIyTs1pC/OBs4kb+I7MMgU2M+orwTsL28p5vL6nZvzGF3ob0g+Ej914nZ/aC50CPNJJ1spgM3b/GdeIRJwBalnnIcRRylrIB4TJyNlpXipiBBIPHPP+EqwDa80Vr7+rkNhJ7yCxZbJvL1mHS+xXnltxF6yzmW4xNpXjXHWhFYr4RJ3DH9A== 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=t3XcyhLGk6AMCBYppjyVD1YgtqJRktyRe1udqK3RRvM=; b=arqBqw8JjxIFOsub9+KcO4IIb1TrRJuTEydDUwSxnHYALgV5g1Ovk8tVGDd9vxQteZoa03uoApyceDN6GZpLzIxx2rXAulzHe3+8UFfqLgSWazB/5BRlH0BAtBjRk2d8o4A/iFb8i8yHxII04kGJatiVgyzchnJf+en842BPBQK8ypFr8/MgWcKh/X2zNqv0SLuTu6O1bJa9z+2uIOAUpmuKoBI/cCTqfnwQoshxhNEnO8YDUtOEoWsdkzndG3IwcMSWqBP0N3cqjlwMKQA9VQ3GCwuL1rU7jndAkycqUAbzQzl4w3a92UoSA3RzVfXNnEnhUskay0ZHGaoBw47Oew== 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=t3XcyhLGk6AMCBYppjyVD1YgtqJRktyRe1udqK3RRvM=; b=ll+M7TxYnvHKAqqVghbwgIAGzq9Q/fW7WlQSKuMiyZWf/OaMO9/aEiEGE5Iqx8hBI/VYEi1d0BcCXhW2zo9SJvBvIpHxm1S401il6vS0JEFoUtCm0qEi6dWOcTFT5K5FQXulj23IjjgiPdqHMRCn+FlJmZTLQhOJ55RLCSFY3bc= 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 SA1PR12MB7223.namprd12.prod.outlook.com (2603:10b6:806:2bc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34; Tue, 5 Dec 2023 17:40:05 +0000 Received: from MW3PR12MB4553.namprd12.prod.outlook.com ([fe80::1549:8c93:8585:ca1b]) by MW3PR12MB4553.namprd12.prod.outlook.com ([fe80::1549:8c93:8585:ca1b%5]) with mapi id 15.20.7046.034; Tue, 5 Dec 2023 17:40:05 +0000 Message-ID: Date: Tue, 5 Dec 2023 11:40:01 -0600 User-Agent: Mozilla Thunderbird Reply-To: babu.moger@amd.com Subject: Re: [PATCH 07/15] x86/resctrl: Add support to enable/disable ABMC feature Content-Language: en-US To: kernel test robot , corbet@lwn.net, fenghua.yu@intel.com, reinette.chatre@intel.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Cc: oe-kbuild-all@lists.linux.dev, x86@kernel.org, hpa@zytor.com, paulmck@kernel.org, rdunlap@infradead.org, tj@kernel.org, seanjc@google.com, kim.phillips@amd.com, jmattson@google.com, ilpo.jarvinen@linux.intel.com, jithu.joseph@intel.com, kan.liang@linux.intel.com, nikunj@amd.com, daniel.sneddon@linux.intel.com, pbonzini@redhat.com, rick.p.edgecombe@intel.com, rppt@kernel.org, maciej.wieczor-retman@intel.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, peternewman@google.com References: <20231201005720.235639-8-babu.moger@amd.com> <202312060033.DCTZ5iG9-lkp@intel.com> From: "Moger, Babu" In-Reply-To: <202312060033.DCTZ5iG9-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR17CA0011.namprd17.prod.outlook.com (2603:10b6:5:1b3::24) To MW3PR12MB4553.namprd12.prod.outlook.com (2603:10b6:303:2c::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW3PR12MB4553:EE_|SA1PR12MB7223:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f48b162-4846-4f59-b8df-08dbf5b9377d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dSGDIBHOL1dVvEM7mAG2E5CakM4mOdydwidYIWOJ4Pej84OatTZ/vli1++LSiMZ0R0FFTf4zkvVatlZwo2VBIqNwjMV868fYBYpvXTsZnagh2MSszkZwkG+FhWpCz54QkJp/F7ei3cZZl1HK7VISiIFk4nsfFuXErbTmUB9sJN25RSl9m246VhVrQqltbkpbZW04+BXrGrzF28h/fbLG6To9dv9+mpCQdFzNO1o+U9sgdssVs1yS+tBp3ItGXFk64TJtxaAnluNxf+jY4g/VNikEHv0X75TxmbhNf62T/egPEKPy0YCKb8MRvsWf90Z4jELEXIgkQ50C+BCR1FfD2FSnbMYBJ4OUYSoMrcjtOaKuDTf5YIyxBFhyhZU05Y4Bve3kCmAqgps8Q3XXN1oIb+O7EjOUo13M4mNS/CYTh09GXjVPTv/Q6cSw5IzOyXyQENVV/0AyOfoUN+Q/4lOZx2q3l+7aS2oetqwkz8ATYmqOyB7juchLI2qj82MbSqqjZ5E0W2uuU8qlQ5u5gjqTv8KkZAvgpJ9zEkEKGQ+AZAdn6+Zreq/0+HNHaRY9M3pspRmCiIRBndtvpJRRk8+w8X4ayZkfZMoZKEnsakM7wgSEx2TgRof/AXXYVFeClslhbReMec9LG8C27PWlqSYjivuc+pFoOndXtN/RetgKEAg7Q/KItIclefDXecBQleI9EXCO7QiGsw8immHYVywusB4vXPlsWTWDXWy7C8jbc04= 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)(366004)(39860400002)(136003)(346002)(396003)(376002)(230922051799003)(230273577357003)(230173577357003)(64100799003)(1800799012)(186009)(451199024)(83380400001)(38100700002)(41300700001)(36756003)(2906002)(6512007)(26005)(31686004)(2616005)(3450700001)(7416002)(6666004)(53546011)(478600001)(6486002)(966005)(5660300002)(31696002)(86362001)(66556008)(66476007)(66946007)(316002)(8936002)(4326008)(6506007)(8676002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V2NZd1k4RDhtZ0MwM0hzdTZhL01WUXVHRjluYlpxenJMSkxPUFFPZ0hIRzY3?= =?utf-8?B?ekw1bXRJRmcxUkF3ZXJKaXR2SGl1UUV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01CSFk2alZ2SklObUJwZlNBUVBZV3A2dDg5N0h2OUZiOUNid1cxNVVU?= =?utf-8?B?SktIRlNvcVM2OU1uUnBlbGIwWksweFZER3J6Q3hNaHUydUtyL3RBVWxROW9w?= =?utf-8?B?b2QxaWxhVkFmMnJXM2ZmMHBZakFzZUpOb2JZb2RZOW1sT1FDaTEzcXRENjRh?= =?utf-8?B?YWZnK1NpRkNObC9YN0F5cjMrKzVIeHo0TlVVZHZuTXpTV3JXbEtuMkdxT1dZ?= =?utf-8?Q?ZUN0=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f48b162-4846-4f59-b8df-08dbf5b9377d X-MS-Exchange-CrossTenant-AuthSource: MW3PR12MB4553.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2023 17:40:05.4384 (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: xroBWhat8r6XAMRV8oeqW78GXJ8peWvaxtSfVR+N/IlR4qTCR5fhyWt6AK85cstE X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7223 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 05 Dec 2023 09:40:21 -0800 (PST) On 12/5/23 10:48, kernel test robot wrote: > Hi Babu, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on next-20231130] > [cannot apply to tip/x86/core linus/master v6.7-rc3 v6.7-rc2 v6.7-rc1 v6.7-rc4] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Babu-Moger/x86-resctrl-Remove-hard-coded-memory-bandwidth-limit/20231201-090621 > base: next-20231130 > patch link: https://lore.kernel.org/r/20231201005720.235639-8-babu.moger%40amd.com > patch subject: [PATCH 07/15] x86/resctrl: Add support to enable/disable ABMC feature > config: i386-randconfig-013-20231202 (https://download.01.org/0day-ci/archive/20231206/202312060033.DCTZ5iG9-lkp@intel.com/config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060033.DCTZ5iG9-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202312060033.DCTZ5iG9-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > >>> arch/x86/kernel/cpu/resctrl/rdtgroup.c:2419:5: warning: no previous prototype for 'resctrl_arch_set_abmc_enabled' [-Wmissing-prototypes] > 2419 | int resctrl_arch_set_abmc_enabled(enum resctrl_res_level l, bool enable) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yes. Got it. This function requires a prototype in arch/x86/kernel/cpu/resctrl/internal.h. Will add it in the next revision after the other comments. Thanks Babu Moger