Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2155847rdb; Sun, 4 Feb 2024 18:29:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0/xwgVg9pvo4BALyoBia0hF27dK2Y8fb68CXhwe0tcnR7ZDzM/xRHj3iAjS/LLrqAy/Mz X-Received: by 2002:a05:620a:4493:b0:783:dab2:521c with SMTP id x19-20020a05620a449300b00783dab2521cmr15510872qkp.68.1707100165209; Sun, 04 Feb 2024 18:29:25 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWwBK/i0xKpVmdhn0Hq6jEtcSBoVnqOI1tWZxxp1u3kVYlYeE2IYwxFx9MWn+MkLGmACKsYcFRoXQCUcYH13djv0+lCikToJ41DsfWBJg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e12-20020a05620a208c00b00783f9af3d97si7389017qka.612.2024.02.04.18.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 18:29:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=lI3oqi9j; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-51992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51992-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 E307C1C20F62 for ; Mon, 5 Feb 2024 02:29:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBDA279E4; Mon, 5 Feb 2024 02:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="lI3oqi9j" Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2044.outbound.protection.outlook.com [40.107.92.44]) (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 2B263AD4C; Mon, 5 Feb 2024 02:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.44 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707100156; cv=fail; b=EPjCjKVVvDAMGx1AMBkQlVAix3EJmBI7NllhwOrJk9uz0QkJEJ12MedmuQY4NT/WEokninczz48iNHNeT3RZrRAXVpltMmGvOR76XV6FB/YW/VOjy3HNF9H+TM4WSlpbD4d3dRvx1G8VZrKLg/5+WUyv7L36j9H70/SdlNnj07c= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707100156; c=relaxed/simple; bh=od8nnf0ufytT5u32T9g14JxBMiQyPCZ59W0IsFyWaQ4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=qlyAb65RPm2PMz87vv6uZwRmzbqN8qyOFUC5KH0419k6rxFD+6BXm8Fn+OJvgj96w/v0oIOQMPRW48bZsU0Ljhrj42JdnYaQGxtkSP97D0Z4XRACcBUW7S6QcRYcaW++wXGPHCHBLwr628PDW8gKajyW/M6cOnxatIeJEsn/fQU= 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=lI3oqi9j; arc=fail smtp.client-ip=40.107.92.44 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=TyjYqv5094amzeTftmK3YONygX/1KyHRZWSjRIzCjE5lZ1hudBQqwoKvk7ZlQdLpvhYF4/aG/Dd638BxT06aUpGk5yWbyXajOfEg8M3K4i2xuZHY9yTHwLYCZJ/2tba+YQ7IthqZKV4VOpEd7virMGrSZVKQvTKzCZh1FgV5KR0lDNy5bGuz53nOOC6ZwGN8VB1OHTc7aAlevIezme8zyjOpOfuUhONwI2WhSoHSckf2ULNOnHI8gqdhXz7htDFSdUdGIAauA96zhwFZ3yGdPlGX0juJjUtvIv3UJqV7XssHSEhX5CrupdHosW0FFdqH5XhDq1dZyeRsiuFSVI/omg== 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=od8nnf0ufytT5u32T9g14JxBMiQyPCZ59W0IsFyWaQ4=; b=UMCI9FAKUmOINxJ+CAh+WKv1zUOne+2QPtOfLSwP8FedZehyabRBiOg2esKz7VJ5YMDrsPukMbv/ltzrZIK70f+M7zxxvTFOvj6qrqD4PBwOg06pAPTN9i+L0JETIEGAxCEvOy+Q4BFcwBE93mtXNzcMlnE+1VujSA0ZhTTqu2QMOLaP9quoCMtpu0WqwQnSfz29U52e/6nfhZF1//pjG7AGKNuO22NuatIrTYcNtfK5fFiHWvDhGMSqKuK/hTTMGRv3Enyx1x8f/QVdOBKsxx3lPrd46C8w3WJlj5lE4qtc2x2y2bN9mohtEdlaOw7PeCn2wYbtHR8183Uhsu/ukg== 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=od8nnf0ufytT5u32T9g14JxBMiQyPCZ59W0IsFyWaQ4=; b=lI3oqi9jKHsgLEulzQclfKxLo5nvS5smKWNsNBpQ18RniOdryLAIZBtYM1iSCV7PNkHZHjjr5joAhMbL0kT7htFCMNrg81XMd5gPf5/AJ8rfcbCU7Dn8mzxLa68Dm/ExgG1yFH0ONNQ3hP+i3/+uyBDRKM2v7Z2WtAuAjBUmooQ= Received: from CH3PR12MB8657.namprd12.prod.outlook.com (2603:10b6:610:172::6) by MW4PR12MB7238.namprd12.prod.outlook.com (2603:10b6:303:229::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.17; Mon, 5 Feb 2024 02:29:10 +0000 Received: from CH3PR12MB8657.namprd12.prod.outlook.com ([fe80::69b9:e23:ec27:6dd0]) by CH3PR12MB8657.namprd12.prod.outlook.com ([fe80::69b9:e23:ec27:6dd0%3]) with mapi id 15.20.7270.015; Mon, 5 Feb 2024 02:29:10 +0000 From: "Yuan, Perry" To: Oleksandr Natalenko , "rafael.j.wysocki@intel.com" , "Limonciello, Mario" , "viresh.kumar@linaro.org" , "Huang, Ray" , "Shenoy, Gautham Ranjal" , "Petkov, Borislav" CC: "Deucher, Alexander" , "Huang, Shimmer" , "Du, Xiaojian" , "Meng, Li (Jassmine)" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3 6/6] cpufreq:amd-pstate: add quirk for the pstate CPPC capabilities missing Thread-Topic: [PATCH v3 6/6] cpufreq:amd-pstate: add quirk for the pstate CPPC capabilities missing Thread-Index: AQHaVxo3qlgZyfm8w0qvGghzLuIQ/7D6Q1eAgADDpuA= Date: Mon, 5 Feb 2024 02:29:10 +0000 Message-ID: References: <2719030.mvXUDI8C0e@natalenko.name> In-Reply-To: <2719030.mvXUDI8C0e@natalenko.name> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=4045d797-ef88-41bd-bfc2-dcf7f474d1fe;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2024-02-05T02:25:33Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR12MB8657:EE_|MW4PR12MB7238:EE_ x-ms-office365-filtering-correlation-id: e5ffab89-8f02-456e-6282-08dc25f23c5f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XbQe/lTvY/a7o3bmm5vzmO9SdhBJALfQoGMxjb7b1kfBVE6ANEh6+B6NkXDpAxr7J9QUZuek+dQ73hEmKAjUbK7trTjSdyv/UvxFCU+mSodK6HuCiN0BUyywPgCzwXsXHGQi9DrNpWw36ay9/QCNpHAVUZxdgy5Xoiia7ZsM2uHfV+l8XxaQsj0N+jT0KrWmtA3tnMv/Stmb3pKRpy7kEAM0Uv1PATokcNhTkcYkObk9U6Kb9UQ+1/64hq87j55s8NOsda+KVUPR45aBoLkAEPWrt+vF+czZw/PnR1SPmGH8IFDJL22VsJXNhQ+89+lTduW664qwkeARrRrOLZR7G+okIssAoCb/bGKN7FdhSWCYTpHyMcdwbv+ANcr38b36oUjxcCe6kg7hys5+wus31VqHlfI+sFNkzpLbiBydQGtYQ+KhAuJX6JduYZuxd3pZvIJ5CR3cU7yCS4AOKef71l324xRoamiRTzt/lqB2I8+gM1lHpDyyo1nBdHN1s6Qh2VTwtpozDbX8+TlTLhxSFL6u7yjJMqnTFa85E8fhSejkSYBdckr/ahf5xvjmDk1FUXckw9AM8F3gp5KsRH9vQHhy8A//4cgM7tINdNRDojnDjNBCidEhNJEJOFh9eCz25N+5LreweEXQKXI8pgBLaA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR12MB8657.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(136003)(366004)(39860400002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(41300700001)(4326008)(8936002)(8676002)(52536014)(316002)(6636002)(64756008)(66556008)(66946007)(54906003)(76116006)(66446008)(110136005)(66476007)(38070700009)(5660300002)(122000001)(2906002)(38100700002)(53546011)(9686003)(86362001)(6506007)(478600001)(7696005)(83380400001)(26005)(33656002)(66574015)(71200400001)(921011)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NVlKWkZWS011NW9tWUYvR3JoQXlYOWNkc0NLNHN2TEpxV3dNOFJFZTNMTU5M?= =?utf-8?B?WHpoaWZBWkRHRFpXRHdaS3N5OFBjdGR2dmV5NGs3cnpvb0lPTkgxcVQxMC95?= =?utf-8?B?TUNodjBoME51UmJwbHlqMWdKVkVJd0ljbXpRWS9KTVhQQnVwOHR4RmtvMkw2?= =?utf-8?B?OXROQVNPNVNUQU5Lb2hmU2pVSk5ueThiQWdUWm03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SDZrVlhxNm1Zb0NZdlpTaDhRZEY2UXRieUd1SjFBS09HNHZUYVlP?= =?utf-8?B?cGhid0FXQUhieVdjTk40aEV3UHB4eFJFQlVleVg2UFNlZXFUQTZDcTJ4a09N?= =?utf-8?Q?FMPk=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8657.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5ffab89-8f02-456e-6282-08dc25f23c5f X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2024 02:29:10.4781 (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: RhTg5xaOA1Vqa2jTyJwvRQYsx5t6SgEyBzFppAZTE4gPjqgr7/4a2IkqKT2s/yna8/XkOi5nYcE4aOmDkps9mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7238 W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4gRnJvbTogT2xla3NhbmRyIE5hdGFsZW5rbyA8b2xla3NhbmRyQG5hdGFsZW5r by5uYW1lPg0KPiBTZW50OiBTdW5kYXksIEZlYnJ1YXJ5IDQsIDIwMjQgMTA6NDUgUE0NCj4gVG86 IHJhZmFlbC5qLnd5c29ja2lAaW50ZWwuY29tOyBMaW1vbmNpZWxsbywgTWFyaW8NCj4gPE1hcmlv LkxpbW9uY2llbGxvQGFtZC5jb20+OyB2aXJlc2gua3VtYXJAbGlu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