Received: by 2002:a05:7208:b08c:b0:82:bbfa:f723 with SMTP id c12csp390058rbb; Fri, 26 Apr 2024 07:13:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOA+CH/JQMjm2a/upjwfIkjGMTJQ0tNo+x/ytBFLlFEBF5PfQBaXlacRknSO770R+eBPMXmzN/nocg5pZce3I0ujviaAKsEEvWlLLfCg== X-Google-Smtp-Source: AGHT+IEgeMQUk6Pcfy2yG/O1so6siKMEZBnnnPF23HHk0+HnDT1a1fK0wAn+invmZs6lO2Vl/XVA X-Received: by 2002:ac8:5802:0:b0:43a:3fce:32c2 with SMTP id g2-20020ac85802000000b0043a3fce32c2mr9201901qtg.3.1714140818455; Fri, 26 Apr 2024 07:13:38 -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 fb27-20020a05622a481b00b0043a42b98b5csi4622444qtb.434.2024.04.26.07.13.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 07:13:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160131-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=@amd.com header.s=selector1 header.b=VJNOvLbi; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-160131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.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 117231C23D0C for ; Fri, 26 Apr 2024 14:13:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FD8D148820; Fri, 26 Apr 2024 14:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="VJNOvLbi" Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2089.outbound.protection.outlook.com [40.107.220.89]) (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 D6F4D7E573; Fri, 26 Apr 2024 14:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.89 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714140809; cv=fail; b=uoNqJqrGPoT5SDqqghkPdocSTHP5SkvoyD4kUPBiFfkX3u01aZhsUuBuDB82//FIlb3A1ZMUz041pN+jzmd6laKX9yxBBkruyO8Z3bl8Wbt083Az2pMZkWIoW64oSiXgkh3sn2gFvzHnV8BXGKAFBKETCcxK0EgU0rlEVKd3qKI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714140809; c=relaxed/simple; bh=7nxGj0szOaF1eLjNoNBBYTDsFQDNQmCqws7iM/M90Nw=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=FFj2jcJ/9LRfGNtzvp41scdySfQaSg2n/xQAEv6tJriPB26L3lnf9uo+Gdmz7YBSIejwjddh60jmjZbJI86FDwWc0qod8zdeIh+13K5fP+0iJRRjfJdBaP0bR06KjatR8o7XRwi0ppRG1ad1GWikPi2bOvSFmK/yVFBFjoERNcE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=VJNOvLbi; arc=fail smtp.client-ip=40.107.220.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SUHTlYSgQfbLLoh3wcABNMj5M70NlHdydSyDPGfdWJwQLKG3HdPQhMfw3jUWtAWAdbjTzU19oZzeWPHsuMbWDwNDHHOzZdUTD8+ZCfhqOr15f8Byb/Iob6l32J70UI4TuaCwOXl/w19BOmHCNnKnT5HdftofwnEgKgndNDNfv2Bk+TFdQt2a7yh1Oa7oj3X6w8ZoeNkOZfCoWdD1bgaop60lI2969OpC1BZeC6+tH00Jw8Kjiqz5E8Hfm8jOLMcNsD3XW6fl0ap/Hqz4YACWBocvtTdFw1BdD7twyyPwmEUwf3yc7ec/xzNQgVmxX3W7zMELP0ypX4v1vipa1p/wWg== 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=oHWKDmNzcpsqdH2SQGWoLANMHWnsUWp90cxKzUcsM1Y=; b=PcYpsm2wf5J6TvNcA1nxLTZcy7qjaDqFb7yoFVeNrezKdzVrGj6Xq7L6JVWHhPaqcEI12rqI2b6S0mkVGutInmTujh2J+gGhtxuX3a+4JNmb9EYmq3Id0Gr1iIt3XizhjFgA+Ifgu+DluObFWfE8oUsOmtGxjWBjpZtJC8IFwcQQxDKkIUq9+9yGlt3iNvgfuNn0xeSLOcFmNMqEDS/cH/SfQGykXGb35NqBnXzdtfEI3T9iPUeJH1MtQba5QznpX/1w8uCmaBeVUhnWEPHKYPAZ/IEs4Cygksfqb41m53HMB2yntL97sQqtDscDSHbIUksrwSHZKDOylhmQoNHtWA== 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=oHWKDmNzcpsqdH2SQGWoLANMHWnsUWp90cxKzUcsM1Y=; b=VJNOvLbiTLFobS3U4GlMHcKSND25B54zdu+p0GOwjYQlzJJIlKPuRX+hwsoG5wsXZsbVANSH1pA3A6lSxZDUkcWog2i/2jSrCWITs9RXmn/QfHPdIlG+a3pZ8+Y724Leys0/8dnCkvGx39+NTpUd+tU32QtsqOsKzUBROn1XSjs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by CH3PR12MB7667.namprd12.prod.outlook.com (2603:10b6:610:14f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 26 Apr 2024 14:13:20 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca%4]) with mapi id 15.20.7519.021; Fri, 26 Apr 2024 14:13:20 +0000 Message-ID: <12d5ddcb-1a26-499c-86df-2919994e247a@amd.com> Date: Fri, 26 Apr 2024 09:13:17 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 6/6] cpufreq: amd-pstate-ut: support new cpb boost control interface To: Perry Yuan , rafael.j.wysocki@intel.com, viresh.kumar@linaro.org, Ray.Huang@amd.com, gautham.shenoy@amd.com, Borislav.Petkov@amd.com Cc: Alexander.Deucher@amd.com, Xinmei.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Mario Limonciello In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA0PR11CA0039.namprd11.prod.outlook.com (2603:10b6:806:d0::14) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::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: MN0PR12MB6101:EE_|CH3PR12MB7667:EE_ X-MS-Office365-Filtering-Correlation-Id: db57e4de-a5fa-4d98-1b15-08dc65fb06a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TVBnRi9PYWRGTklNQWl5alUxdWppQVhNRFBpczFIcmV3NWlod3FOUWMrNGZS?= =?utf-8?B?RzdPMHZmbmFaUk1iNTNuVm1EVUJBbkR1WWJHeW1lVW5wTS90SmRjRWtKMjhV?= =?utf-8?B?NWg4L3M4NDFYWDFZeWoycDlNKzJ2SVY3SU1jZDBFNkRLbEJvSGttTFUrQlRk?= =?utf-8?B?WnhTNmw0TEJyYVR4V2wxV2xLWDY1K0FhMjFHWDM0UnI4eW1jMzhTUURTS1dz?= =?utf-8?B?TWlOczZSdjZZUE42b0J1S3hzTmVYZWxkTGM1KzVOMXNMQUpISGNzZjVZcXRQ?= =?utf-8?B?Y3J3S3dqL3E2TElQamc2RlFqU2hqb29jSTBEOFlTQ3ZUa3VXZkZHRG5hQnhJ?= =?utf-8?B?RFFPWXhaOHlZNTJ6UEo3blJJYi9mOWhhT2l6NUJ2d1AxWGcrZFRxcGNpQ2dF?= =?utf-8?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VZUkN1WjlPMVkyWG0v?= =?utf-8?B?ZmdrVSs2a2xuMmlYZXVicTNrbks5VjhoWDhYZERXOTQ1aGNHeUNTWm5Ua0RJ?= =?utf-8?B?a3UvTlNwOTBNVE9adVIyeXJGL2VIN0ZDMHlIYlkwVUMwcmQ1dStKeC91WVdz?= =?utf-8?B?a0JZVUNUSWFsaktuekxRcFBTVEs0V1I1ZEI4OUttVHlFZWZhTDF1T0JzQitr?= =?utf-8?B?ZUV2T3hKUTBuWFpKaWRwOWY5R0pFNExVM3BuSXZSVUJ1UXpvUXFtMnNHbXFE?= =?utf-8?B?ZkNtRTFDUHdwYnNQc0JRYmhFRDBFNEZYZWFJYm5mQk53cVNPc012OWgzK2tl?= =?utf-8?B?MVBxbSt5dUVUSDRTemptZW1QREhqczh2OWpoS3ZhQkNtcURScXFxZFIxblhB?= =?utf-8?B?dFJIckVhVWE3ektOaHlvTlhrcHo3cCsrNTIvOGJyLy83TGRlN2pkRnJBPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.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?MWMyZiszTUpDejhXdm9TM1A0ZDJRS2hHY0pnbkNWekRmbFJMZlRsaXN2ei9n?= =?utf-8?B?bENmbTgzYlk0MnB1TnQ2VWxxSHRQVUlLelNTQ3ZJK1BvMWNVbVJTUWt2eG1u?= =?utf-8?B?MXBUTHR5TXpqbWNuN01DalRzMkYyTkEzSW1GSjBRQ2lobEp6enZNZ2VSUXJQ?= =?utf-8?B?bER5NmsxRC95aThKTUdBZ0NjZEVEc2tKUmh3ZjI1bVlFcHM0YmM3ZmhrTUlk?= =?utf-8?B?Zm9hSjZHeVZUaDRQTWZ2OUxKZ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s?= =?utf-8?B?eUtNT3gwdi8zNDJUdE9kNTNnZ1E5NDEvRmVtV3k4VC8wZ1N5REptQ0l1U0xI?= =?utf-8?Q?RXfu4ugbrEYXxMVC3A6+TQkSF?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: db57e4de-a5fa-4d98-1b15-08dc65fb06a1 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 14:13:20.4408 (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: /jOtBXB2u5hi3+pwa2nK8j7kM0GLA1FR/AJKJBvjVgbRWwkQGhyfh1jchMp1MIaH5z3AuGKn8HzNZ63DFZLYTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7667 On 4/26/2024 01:34, Perry Yuan wrote: > As the new CPB boost control is enabled, pstate unit test needs to remove > legacy `boost_supported` check and start to use new CPB boost control > interface `amd_pstate_global_params.cpb_boost`. > > Signed-off-by: Perry Yuan > Acked-by: Huang Rui > --- > drivers/cpufreq/amd-pstate-ut.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/amd-pstate-ut.c b/drivers/cpufreq/amd-pstate-ut.c > index f04ae67dda37..b3601b0e6dd3 100644 > --- a/drivers/cpufreq/amd-pstate-ut.c > +++ b/drivers/cpufreq/amd-pstate-ut.c > @@ -226,7 +226,7 @@ static void amd_pstate_ut_check_freq(u32 index) > goto skip_test; > } > > - if (cpudata->boost_supported) { > + if (amd_pstate_global_params.cpb_boost) { In order to keep unit tests working across a bisect and with how small this patch is I think it's better to fold this into patch 3. > if ((policy->max == cpudata->max_freq) || > (policy->max == cpudata->nominal_freq)) > amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS;