Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6044749rwb; Sun, 11 Dec 2022 17:59:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7hA//NDB4eRAvqS+iF91y2m9fR5CIDjw0eWEOObbjctgf6t6eG6TGt20LA+FZsaqMIbg3j X-Received: by 2002:a17:903:26c6:b0:189:6ab3:9e6e with SMTP id jg6-20020a17090326c600b001896ab39e6emr14312400plb.25.1670810398961; Sun, 11 Dec 2022 17:59:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670810398; cv=pass; d=google.com; s=arc-20160816; b=BtOU2Vk8Ox8zVoR6NXnJLOjFFegsDzcYEtyeOt50xx7O0OqgvbcB3Vat+ahpxrSawp 2tRwWFw+6R9QVjkJ3t1M05e8QZNt7dwsjPN5/f1+bAuMT6pr4wzn1H6aq2KCHygOAQjs MSAyZFon26qZ9cAX7YnJcMfoirMLxW74Wv/tGpaM2qHdHKYoWKL1hm71ZFGWFRQwgKHX KAAQXZn/h1FXfLZs45j0Ktp/r2MAKeTJQ5/qHR0oqRwSpZgMRP8JxAD9S5rhQqNWmZpf C/TiXBC0U/JdowdnGKcgJfP5S7bS4y7v12RAZcUBYq1Y72hl1Rb9Utele5grY2RPlS9K pIxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tfUUSlBDuku0o7ju9+02eHfs3hcXdq7SC8XqHFh3Vuk=; b=SFL/VFPCjIB69mbfflHuopQLJFTLw7xEumGQA0fWuNvVLQwG/SfHZSjZxf4hGtC4eH omhln/tDLVzD4hw+sxXn8aWD3JpTnb7o58JdvkbMwpegeVyr5CeKf14uWDtADqxqI9Di BS+oZUD8TxAeCo7iD9f7MPBWzE20Q6I2W2/uEmBRO0icHl+92c3k40JmWpHz/8tZMmpf pTCvSyzAhzY71bMV4kdWYipZ0i+nzpi3dCFM99l66kad4EsWpMtFmLaECWToVmE0haiW yPYAXOgi5L7ksXETttX1AkaiTU2EtyCBxIcx/Co+Sk2LvbbKvoTBDvLfZ+dL6TK97JIL 2xYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="GRW/LZrw"; 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::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a170902704700b00186827cc5e9si7699295plt.562.2022.12.11.17.59.49; Sun, 11 Dec 2022 17:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="GRW/LZrw"; 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::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230516AbiLLB30 (ORCPT + 75 others); Sun, 11 Dec 2022 20:29:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiLLB3Y (ORCPT ); Sun, 11 Dec 2022 20:29:24 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2058.outbound.protection.outlook.com [40.107.220.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA4ED65A0; Sun, 11 Dec 2022 17:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOrjdzEKWSlXes/NIIJJvJ3rrwcEPlZZ6PBU3OG5e1yu2D8sGMVMVjkkkng6yd1UI5Gs7XDUKqFG6MYVBh5CguXuCl2TJWaxdBAzhGDFlU/xE2n7SQaptz4Za3Cn1JRZFcaDiYGzHgnxjB/bqt+VJpI4GtqxUs/Krne1o7boAf9AnF3wEkyF8RerZI5isOuHqpfA2A0T0kCUc/04hGNV4hZ6d+Plu1xjn0BCj+viiO3AcitGS24/XTt1pldBDq9j5ash1/Ny76u7t+nt/PRKj647JcteCrj197+GRwaZhZrcWSAaro9LqyV88vDwH4+4KwHQwAmVRzge/g1HiEZAZg== 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=tfUUSlBDuku0o7ju9+02eHfs3hcXdq7SC8XqHFh3Vuk=; b=AkFmD1pi7xm4yP0ukmlXb9ruRoSGHcYl6EVSlWduu9fDttxVtt/Cs8BI0LV+Ly/XeDs8sjHT6NN2ykRhPsjKsP0Kz5esIuVYXhh4Lk9tUB7jSRckpgDSrlEVIFYpcpGSHmbifLpkvMVxmNhsngSebMCGH+TzWAg5R/jqn+0Wo6TdSAgZPBg5OivYXjGyT2wtWCwMMYd6xH40XntY/gtuI9e2Z3V1NLS0g2aoR10qng4Vuf0pmc9M51xx8MOo3u+Mkv1DjGql2Kzy+3LiYdnod5Gl3Cx0a3HpGaduLKsDNstS3lFla1SgShjSmW+pkwg2okbkG0v9HQs1Ce2/uDtqyA== 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=tfUUSlBDuku0o7ju9+02eHfs3hcXdq7SC8XqHFh3Vuk=; b=GRW/LZrwn64xpGAjPU2QpCsnlqsrMBwa22IahnAGlS+CsaOydwaanMxfp9iHGx8bOFCgAt0L3SMmE4IzYzuggdjtLszuKp8L/rrQ0qaxXtk8UYl+/dQRgJWwWYyZrcnimzQyiLTn80cySswcMHAOG/7Zi3hn13Gr4j44+HwT500= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB2504.namprd12.prod.outlook.com (2603:10b6:4:b5::19) by SJ2PR12MB8157.namprd12.prod.outlook.com (2603:10b6:a03:4fa::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Mon, 12 Dec 2022 01:29:17 +0000 Received: from DM5PR12MB2504.namprd12.prod.outlook.com ([fe80::2443:424:1c7c:17cc]) by DM5PR12MB2504.namprd12.prod.outlook.com ([fe80::2443:424:1c7c:17cc%6]) with mapi id 15.20.5857.023; Mon, 12 Dec 2022 01:29:17 +0000 Date: Mon, 12 Dec 2022 09:28:53 +0800 From: Huang Rui To: "Yuan, Perry" Cc: "rafael.j.wysocki@intel.com" , "Limonciello, Mario" , "viresh.kumar@linaro.org" , "Sharma, Deepak" , "Fontenot, Nathan" , "Deucher, Alexander" , "Huang, Shimmer" , "Du, Xiaojian" , "Meng, Li (Jassmine)" , "Karny, Wyes" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v7 03/13] cpufreq: intel_pstate: use common macro definition for Energy Preference Performance(EPP) Message-ID: References: <20221208111852.386731-1-perry.yuan@amd.com> <20221208111852.386731-4-perry.yuan@amd.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SG3P274CA0003.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::15) To DM5PR12MB2504.namprd12.prod.outlook.com (2603:10b6:4:b5::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR12MB2504:EE_|SJ2PR12MB8157:EE_ X-MS-Office365-Filtering-Correlation-Id: 3181de45-a660-459d-f5ba-08dadbe04934 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z6uJ2MKwG73ANS423swGgblhSru/RRrvMWSIcU7UB/3AmIGHHnBT87cBWXDPR9Q7uOAhb26gJN52KmiIiONkPRM1VhlRPn0/5xnsURxROz+C9aia8TLJv98iDcr0qLjVTX9q0USReQMBbN8fd7NCJC7TXCqYditQuJ5JeosK1N+njbDf8B6ADd2rPYJufXz4q3gykHm4+FriN4Ht/jJXCqdIc5tAZpv7D24BvEMsZjwutciQCb0bzRJmk34DB0YeZWIytdmX0byJl2uaI1kQKsosaGDzsk7fUPfYmSwZ/FwelnWzwF9kzayu0QmCsoXmLuDXpg7FqUF+FiuqqKhu+W1FmDjZeii9A6wk1JqWQONW4E5Vw4E8skicUIGQ6T3Y12zyYZMeyRd6v9RXJn7EbwwAgFx/om/Q9jnNZichiYYRs9HF4u9REsx7lyGxYAJ9fGC11cshAEJ+u0yo5OyXi0VGY5mlIsJBEXYbw81j4coLnXYWAj3KSl5/EIDcSR86gv656GY6fu/sm8Za7AVPiDhTyuGAyPu5m5ToDNuQKlQs0oVV45AGzF/N0OZHaD6nPWCcSKDCKht6DRAo3LYyLFHGGzDozK3AZYPgjVKXch29Ps5zSCPp6Kcj9ZFnKveh3/JhRpz+MzD/w8ojWr5B9J+anfYGuaL9ghw/JH3Lu64= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB2504.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(451199015)(6512007)(478600001)(53546011)(966005)(6506007)(26005)(36756003)(6486002)(86362001)(6862004)(6636002)(186003)(83380400001)(41300700001)(38100700002)(2616005)(8676002)(66476007)(6666004)(66556008)(66946007)(316002)(5660300002)(37006003)(8936002)(4326008)(54906003)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?D1mgxSBr4Qi8wxB9y3jaYEz8uKFJs7PLV/5K3NEexBRl3hRirLpTU96zRtq+?= =?us-ascii?Q?qFOb5r1nZSRzQNWsKncgrvya5CSavI5gh4CL2FDZ/bo9DVvkl7MnuKfBtzl4?= =?us-ascii?Q?mawJrWrg2Z4Jm2RbS2en1y8v/v+qKPuOYGq6RfCmPXVPAMGkX5v5iRzMFPYt?= =?us-ascii?Q?cm8NCcfMkyM72HBuKGeynyl2mTc3PfqGqX0sD7sytc9xWlaLK+ESLWgoklFb?= =?us-ascii?Q?8BM9Zrwt0esNUmCH9ik4zv2Xyyyr/ClW0ULOiPWn2CwYQYvLtWUKYlP9033W?= =?us-ascii?Q?qaPEBEnramWlgeU2OBEAdcMl04xj1U7s8XmJrUiAQsU1L+vjUAGMV2AihYgg?= =?us-ascii?Q?q5OpvpovijsWcCueHVjFfnVHDP6sQtCmtrdhW/Q2waIiATma+OlkwMjanV36?= =?us-ascii?Q?5Ging1mHqYGwNX2x7gI/XSIEQMENW87cyBVUn+dOHGmDCsXTxF0AlF68e/47?= =?us-ascii?Q?SVB4+XMMlFwuV5oAQoY0ZsguEA8lbNkIHaC2UKqmshVgPrBs1iN2/D0lRMSz?= =?us-ascii?Q?igwOpwPQoQ94KcC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DdI6B/3pPSAqKFKRCOC?= =?us-ascii?Q?rkntuWYo7MP94lDo2dGYg4+6ooftH0QSJjcP2kpxRLVFJNT43FJ2TgmTyb2a?= =?us-ascii?Q?nt/PUN1nNRHJRMttLXNOKzzfCgNzQJK74IunYwNPO7qN8qI2S+ORDqOesd5J?= =?us-ascii?Q?kj7sNVRJHxzj0aVJrV4BZXVDn35Wy750W1xFNGng?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3181de45-a660-459d-f5ba-08dadbe04934 X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB2504.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2022 01:29:17.7304 (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: lW8kAGpXEYVyEydSg/7eMsQa/ZymGtAaB5rZ1TCnShT8aavW5jM8HSWnqfbup3b0vvTdz+/dNbfek1qn/lGvEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8157 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 On Fri, Dec 09, 2022 at 04:54:54PM +0800, Yuan, Perry wrote: > [AMD Official Use Only - General] > > > > > -----Original Message----- > > From: Huang, Ray > > Sent: Friday, December 9, 2022 4:01 PM > > To: Yuan, Perry > > Cc: rafael.j.wysocki@intel.com; Limonciello, Mario > > ; viresh.kumar@linaro.org; Sharma, Deepak > > ; Fontenot, Nathan > > ; Deucher, Alexander > > ; Huang, Shimmer > > ; Du, Xiaojian ; Meng, > > Li (Jassmine) ; Karny, Wyes ; > > linux-pm@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH v7 03/13] cpufreq: intel_pstate: use common macro > > definition for Energy Preference Performance(EPP) > > > > On Thu, Dec 08, 2022 at 07:18:42PM +0800, Yuan, Perry wrote: > > > make the energy preference performance strings and profiles using one > > > common header for intel_pstate driver, then the amd_pstate epp driver > > > can use the common header as well. This will simpify the intel_pstate > > > and amd_pstate driver. > > > > > > Signed-off-by: Perry Yuan > > > > Please address the comment in V6: > > > > https://lore.kernel.org/linux- > > pm/Y43aq2gMKnFRIhxh@amd.com/T/#md503ee2fa32858e6cc9ab4da9ec1b8 > > 9a6bae6058 > > > > Thanks, > > Ray > > Talked with Mario as well, will fix the build failure and get this changed in V8. > Thanks for reviewing. > Please make sure you addressed all comment, then send the new version of series.