Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1633386lqo; Sun, 12 May 2024 10:58:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbSXVjv+ZTgWMtL2sLWNko0TZOJiJHDVoAU68ZzbpMp7/YrOUl67+rSbAn3PhUVec59qGAWw5MtPUjQcjwfJzbUAYYcg6zzEb/c5+gPw== X-Google-Smtp-Source: AGHT+IFt5ZhlJBo5Wuejat811eLHLd49e3F/mrU0qQ6O2m5N5bQv3LApWuSCzGbrsEeG1p8UoEEX X-Received: by 2002:ac8:59c7:0:b0:43b:7be:15a1 with SMTP id d75a77b69052e-43dfda8eb08mr94404341cf.12.1715536725391; Sun, 12 May 2024 10:58:45 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df566d975si80389481cf.389.2024.05.12.10.58.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 10:58:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176965-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=vBJYo8zJ; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-176965-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176965-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 10E211C20BF3 for ; Sun, 12 May 2024 17:58:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E90B04F1E5; Sun, 12 May 2024 17:58:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="vBJYo8zJ" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2044.outbound.protection.outlook.com [40.107.244.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 6539F5024E; Sun, 12 May 2024 17:58:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.44 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715536717; cv=fail; b=kH41zZx2NJclhCf3f2+GUbkjHjgI+FBxJRDR5nPh93qnwI3k4cwBLWY5C5rCPs+7xvNYlFeo13UKSfYbes6z61JUqggGaCDPUec2TEi1s61GbR55gt9HPV8m4ebua6jk9R562NVmWHeT1pkCPywMDmWZ49ydDEHpHIwkTBLgQgE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715536717; c=relaxed/simple; bh=EqcB120A93YR6HDgtmj+Sr9ZZjUCBuX/G5NODxlmvc4=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=q9swkSxp6MvR1ZJ6/6Ldb5jXzgIssS1rZGUtJqZ17+fDX3HZC0lgfbS/Opi6IWxDpQcCk0RzarLubcy2HGZFpk8nCaQky/DBmKUFUBgJZzSd0iM46AuCIyNwSkBVOwsGXKAwaGAIRGG0ygHYWt8mxAP/FxRRTI/X9xT4Pv+Fq18= 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=vBJYo8zJ; arc=fail smtp.client-ip=40.107.244.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=H/nYW39b4ZQMkkvMrnR5Qu7fwRYu91ZNs71N9UxjXbDAaxCBTwPhJS8Ep7WVjoKXZYFw5rCIWoavq95qnuPFl4eHsEtjIVZ3djbnoyhPVGpqwn64YS5U1/2T+wHnmWNN1N5xoBHemOQR8gurbazUihPzcvMU5Pm8aoKvSnmYcHCuoskoTitucVWxmWDlNhF95HFOCQUJrJnGFwf/pq0GPrvQMMJX9aQ/GOGlfeZRb78VDqJNMZsme/J5CxJqYoCr+vil4BHWFysEpLpj54wZWVM0xdgQS4W3Cz5pqLXoC0FkpNndj9Ylw/Q8Mo6bNMxscn1WLSVanMuvrOHuzGAMpQ== 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=pA8q9iDjmbznYdjKA0gMruZ/kYSnzOJq7jm2IJhty4U=; b=WGzUw1U5MrmocrQ4RnACvN/8rIhcNay93DOuIJrDBVCSwtZIr8grDOXKo2S041Duq2il8kKkWLdAFFgWYEQgK9vXvEAjCCAty+GpgUFCctNIJ6Nuf9IP8DEW3pkbjZrMm0zhq1kMqxCqw/FX5P2/jBuGOxsOVslISWmDXk0bCyQsJA7B3rFT3RHM1ig8dVEcp257beI4yLTOJeGilJog1lOz/tsABowTlLqWoTXRiefSW5wD+vgoPQCNFKA7jqSEKrkI3siUMmIwklF+tnmJ6OleFqvYxVmxTNsx1/bRYbCiupHUPc/W3MrCRiVZrUQMXTz+/nJEWBUZqrl0z9d6sA== 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=pA8q9iDjmbznYdjKA0gMruZ/kYSnzOJq7jm2IJhty4U=; b=vBJYo8zJeV9BnGuLuIIlG49cU3nmxK7p/Qx5+FJawtmc80UJAqKGBWofbFCliefdN2Tj+zKPl4EhmW0upuCiLmW/QUz18UWi1LcUnfcbW/KTDDpSCxN+QUukZL1lyEpnY8gYv8lqcPY/vzm4NUXYDZssMSuwvBFrAM6L9iF2XPU= 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 CH3PR12MB7715.namprd12.prod.outlook.com (2603:10b6:610:151::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Sun, 12 May 2024 17:58:31 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca%7]) with mapi id 15.20.7544.052; Sun, 12 May 2024 17:58:31 +0000 Message-ID: Date: Sun, 12 May 2024 12:58:28 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] platform/x86: dell-laptop: Implement platform_profile To: Armin Wolf , "Shen, Yijun" , Lyndon Sanche Cc: "pali@kernel.org" , "srinivas.pandruvada@linux.intel.com" , "ilpo.jarvinen@linux.intel.com" , "lkp@intel.com" , Hans de Goede , Matthew Garrett , Jonathan Corbet , Heiner Kallweit , Vegard Nossum , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Dell Client Kernel References: <20240425172758.67831-1-lsanche@lyndeno.ca> <20240501215829.4991-2-lsanche@lyndeno.ca> <63894ef1-c482-4646-8351-4d6cfc6c528f@amd.com> <4d8de625-9018-4926-9519-37f5a90a96e5@gmx.de> Content-Language: en-US From: "Limonciello, Mario" In-Reply-To: <4d8de625-9018-4926-9519-37f5a90a96e5@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: CH5P222CA0017.NAMP222.PROD.OUTLOOK.COM (2603:10b6:610:1ee::21) 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_|CH3PR12MB7715:EE_ X-MS-Office365-Filtering-Correlation-Id: 34493899-cb82-48d7-5a4d-08dc72ad2272 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MmRyL2pacEhmYW8zZUNEN0JRNVNoTy9uN01vUkZBck5TTk1sQmhxdkdYZjg2?= =?utf-8?B?ZlcxQzA2VGFwcWxwOXYrRit2RVE1dXNlTGszUHdFNVhkYlJxbGpMdWlYL1o0?= =?utf-8?B?c3FFeit2RnhXMUlaeWFoL2JDcmhZQ3g3aDJVZGhGQkZ6aTV5Y3hpSk1KL2Zm?= =?utf-8?B?SnJFTVF4OXg3MkJKb2U4dG5ndUNNcU1CWnVKN0V2ZUJPUnNiNEtYZlVaSkRN?= =?utf-8?B?Y0l0ZENxM3FUWm9oTFpUREVSZ2dCZjNhL3hmYzFFRDZrR2tYS2JjV0pZb0lj?= =?utf-8?B?bGRPQ3I3TTRoaFJueWhZQ3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=?utf-8?B?Wk1COE96VGQzYTBrakc3UkwzaERURStLUE13V2g1bk1VeHNzY1h2czhIU0Ji?= =?utf-8?B?VWJ1ZExmWkp4Tm5JVHlyZHZuYlZlcFYyaDBXRmxyVzRVM3lyYldSMnNnUC82?= =?utf-8?B?eDFSNFovd1BxSjY3bDdxNVdidnVkQ3VMUlljNS9Sb1BqUlovZVRnenlvU1RH?= =?utf-8?B?UW9jNnV2RXkzS1grdDY0T1BuWDZTOFBzVGhzVzJCWUZQaDUveVN0S2l6djEx?= =?utf-8?B?eUxOMm1OY09iaHZZQVJEZnVBeGR3Q0ZYblorUW11WldKd1FGRGFVOVY1cUxP?= =?utf-8?B?WkZuQzFqTjVieWRXN1hYLytvUlpuYnBwZzJ0YkVLNVlrTkpvT0w1cXdkL0Ji?= =?utf-8?B?M04rcGNSSnY0R2Z6K2RWU0lPbmVVT1huWkx3WVZqcHM5d1JKcUxPVXpIbkxC?= =?utf-8?Q?Zhk2KUdidf4up/KO9nxJXiyJsmkGTaZ2HWuSZLjgCweg=3D?= 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)(1800799015)(376005)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L1BCSzQyTDBPZFoxZDYzNlRhejJXSmg4Mm9qVDUwTTBuOFpidEFQQWRQb29m?= =?utf-8?B?b2w0Y0U0VktBZnN1QVJSMTQ1bHFhTnBvQTZva3JZKzVOYlIzcW96N096bUN1?= =?utf-8?B?d2YybWtkeVlxK1pjNHNqUHpTOUU0RHI0bVNpMzZucG1MelpHc3hCUHhpSmpy?= =?utf-8?B?bHc4cVBJZXR1Y3IwWHpHc2VIUWJhMyttZ1hOZUFXTmxVRXRWaFltY292N0ZY?= =?utf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5Na2FlK3JkalBVeURZM2tUR0g5NngzRExQ?= =?utf-8?B?SkttUEZXRzRHb1czUnVwdUlaL29CSExZbHEzNGpURFhFcFpmaWg5TGhlRFQr?= =?utf-8?Q?jgCseg2gWizkUYDlaeIKZFRo9?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34493899-cb82-48d7-5a4d-08dc72ad2272 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2024 17:58:31.3651 (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: 3guPlT4WYk7jxdJQChQccaOosqNUufHClAJIP91OV5s8iT+6Pq1bxFVdDBN5jSCEAU1bSMhQvdmCPqdz7wX7QQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7715 On 5/12/2024 12:53 PM, Armin Wolf wrote: > Am 11.05.24 um 17:56 schrieb Shen, Yijun: > >> Internal Use - Confidential >>> -----Original Message----- >>> From: Limonciello, Mario >>> Sent: Saturday, May 11, 2024 11:13 PM >>> To: Shen, Yijun ; Lyndon Sanche >>> >>> Cc: pali@kernel.org; W_Armin@gmx.de; >>> srinivas.pandruvada@linux.intel.com; ilpo.jarvinen@linux.intel.com; >>> lkp@intel.com; Hans de Goede ; Matthew Garrett >>> ; Jonathan Corbet ; Heiner Kallweit >>> ; Vegard Nossum ; >>> platform-driver-x86@vger.kernel.org; linux-kernel@vger.kernel.org; >>> Dell Client >>> Kernel >>> Subject: Re: [PATCH v5] platform/x86: dell-laptop: Implement >>> platform_profile >>> >>> >>> [EXTERNAL EMAIL] >>> >>> >>> >>> On 5/11/2024 10:05 AM, Shen, Yijun wrote: >>>> Internal Use - Confidential >>>>> -----Original Message----- >>>>> From: Mario Limonciello >>>>> Sent: Wednesday, May 8, 2024 11:53 PM >>>>> To: Shen, Yijun ; Lyndon Sanche >>>>> >>>>> Cc: pali@kernel.org; W_Armin@gmx.de; >>>>> srinivas.pandruvada@linux.intel.com; ilpo.jarvinen@linux.intel.com; >>>>> lkp@intel.com; Hans de Goede ; Matthew >>> Garrett >>>>> ; Jonathan Corbet ; Heiner >>>>> Kallweit ; Vegard Nossum >>>>> ; platform-driver-x86@vger.kernel.org; >>>>> linux-kernel@vger.kernel.org; Dell Client Kernel >>>>> >>>>> Subject: Re: RE: [PATCH v5] platform/x86: dell-laptop: Implement >>>>> platform_profile >>>>> >>>>> >>>>> [EXTERNAL EMAIL] >>>>> >>>>> On 5/8/2024 09:24, Shen, Yijun wrote: >>>>>> Hi Lyndon, >>>>>> >>>>>>     Thanks for working on this patch. >>>>>> >>>>>>     Dell side has an initial testing with this patch on some laptops, >>>>>> it looks >>>>> good. While changing the platform profile: >>>>>> 1. The corresponding USTT option in BIOS will be changed. >>>>>> 2. thermald will not be impacted. The related PSVT and ITMT will be >>> loaded. >>>>>>     Some Dell DTs does not have the USTT, Dell'll have a check if >>>>>> nothing is >>>>> broken. >>>>> >>>>> Hi Alex! >>>>> >>>>> Have you had a check both on both your AMD laptops and workstations >>>>> too, or just the Intel ones?  I think it would be good to make sure >>>>> it's getting the correct experience in both cases. >>>>> >>>> Hi Mario, >>>> >>>>    I've a check for this, for both laptop and workstation, the >>>> dell_laptop >>> module will not be loaded. So, AMD platform will not be impacted by this >>> patch series. >>>> Follow is one example output with workstation. >>>>    #lsmod | grep dell >>>>      dell_wmi               28672  0 >>>>      dell_smbios            32768  1 dell_wmi >>>>      dcdbas                 20480  1 dell_smbios >>>>      dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios >>>>      sparse_keymap          12288  1 dell_wmi >>>>      ledtrig_audio          12288  3 >>>> snd_ctl_led,snd_hda_codec_generic,dell_wmi >>>>      video                  73728  2 dell_wmi,nvidia_modeset >>>>      wmi                    40960  5 >>> video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor >>> Ah; right that makes sense.  In that case, is dell-laptop even the >>> right place for >>> this patch series?  I would think the same policies for the platform >>> profile >>> should be able to apply to desktop/workstation. >>> >>> The v6 of this series would block smbios-thermal-ctl from working on a >>> workstation too. >>> >>>>>>      Additional, with this patch, follow behavior is found: >>>>>>     1. For example, the platform profile is quiet. >>>>>>     2. Reboot the system and change the USTT to performance. >>>>>>     3. Boot to desktop, the platform profile is "quiet", the USTT >>>>>> will be >>>>> changed back to "quiet". >>>>>>     This looks like not a proper user experience. The platform >>>>>> profile should >>>>> honor the BIOS setting, aka, the platform profile should be switched >>>>> to "performance". >>>>> I agree, this sounds like the initial profile needs to be read from >>>>> the BIOS settings too. >>>>> >>>>> Furthermore I wanted to ask is there also a WMI setting that >>>>> corresponds to this that dell-wmi-sysman offers? >>>>    Yes, Mario, you're right. This thermal setting could also be >>>> toggled by dell- >>> wmi-sysman. >>>> But, for the Dell consumer AMD laptops, like Alienware, the BIOS is >>>> another >>> variant which is different with the workstation one. >>>> With this variant BIOS, there is no USTT and also no dell_wmi/dell-wmi- >>> sysman. >>>>> I'm wondering if both should be probed in case the SMBIOS one goes >>> away one day. >>>>    Yep, I think this is a good suggestion. >>>> >>> Great! Although something I wonder is if the policy when changed with >>> dell- >>> wmi-sysman is immediate or requires a reboot.  A lot of the settings >>> in there >>> aren't effective until after a reboot. >>> >>> If this is one of them then it might not be a good idea to make it >>> work for >>> both. >> Hi Mario, >> >>   Just have a check, the check steps are: >> 1. stop the thermald >> 2. run the stress test >> 3. Toggle the thermal setting between UltraPerformance and Quiet via >> dell-wmi-sysman >> 4. Check the CPU FAN speed >>   The system reboot is not needed, the CPU fan speed changes immediately. >>   A screen recorder here: >> https://dell.box.com/s/p2bhd2b6cv8z5buk9eao3bosgrrp1lf9 >> >> Thanks >> > Hi, > > i believe it should be the responsibility of the manufacturer (in this > case Dell) that > the thermal state remains consistent across both interfaces. > > I think that the official Windows utility only checks the thermal state > reported by > the USTT interface, so we should match this behavior. > > Thanks, > Armin Wolf > Why? Windows also does ACPI-WMI differently than Linux. It's not as easy to check both from a Windows utility due to that.