Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1632502lqa; Mon, 29 Apr 2024 14:26:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWn073zUXzYcq7pZQILusY2DReq09KlPkKrRqqjK1asUUwKwkGz1um8DaqT2kdVdN0SzPuMbDCbqzzf/8/tYl5rWtkfiyyIb/vIYfEkAQ== X-Google-Smtp-Source: AGHT+IFOan30FtXS1l7AfoPyHqjiQHn0TnowNWHefFFJa+VYgPyWExDuZkbF+oWTFTDn2wyskQUN X-Received: by 2002:a17:903:11d1:b0:1eb:7081:3e23 with SMTP id q17-20020a17090311d100b001eb70813e23mr995410plh.66.1714425962082; Mon, 29 Apr 2024 14:26:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714425962; cv=pass; d=google.com; s=arc-20160816; b=sYpxPKdLNFRlMI2i+RaDukU/qEWM+RukP73Yd/EZB9aZG2NJIHVB2BiSYZxRJ5Rk2P H8re6rarrYDfX/KeO0XArc7X5PaNGw+fijU7ocolIDI2PleND2Eqi28VmVecwaCWZ2cd Uuw1Tl0EmnyhOfSYsvbYuG7FXBQdoGAL5/o4hpJ4AB4iOuYOfNZ6pZqQUfDHew9eU9xm tEkx+u1eXxJdk7/Vc2PTeTRtgH6SNTDzfHVLMkiTNT3MPAqcxaIl9S2btB/nMS12GNU8 GEftdtUX5BiJf1qYGCaKIyTYKisD3qpRqHPZpm2cjXgPNyn/9gTC1lrNzTz49ZJNYRWH jT0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:cc:to:subject:from:date :feedback-id:dkim-signature:dkim-signature; bh=gS3ckrq8vtl0jimEpRPVb4E0YJmt16m/9Kirg4P9Ces=; fh=GJjxgD3rKKMl9OVYjDME9oUCk9/K3tSbqlSb8VCu/w4=; b=jllOt+18vQItIjtLuEkxZEKUo7dDn+hPWZQ/CNVprLG8AcOQ4cNWMwN7ZkGfImqzaR NOY0CnPliwvzBHIjdNiARqR21v0dd0TXSKrLKwJwSdd7N/NEFXlX+IsZgA6eUdSCN6PB 9ZQFIuvCqEhJtAz5HEiN/BQtGSpSWW6brt/ugYgokSdKORg3rj4Nsj47h9UnrcQapaxu wUg86fsSU0HUDNVAUv6UpWvXB5UJDtbtBIrfRoXZTmpWwpagxkU3UnO9VuSKulPBUg+o we6pPr3kUFMKKL5BM3EgpM10IQkBlcmfssL3RoXG+3Iu8Zj0eGU1eu7tJ8rW5pBmIvPL oXlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lyndeno.ca header.s=fm2 header.b=XYM871hr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Bb2KdSON; arc=pass (i=1 spf=pass spfdomain=lyndeno.ca dkim=pass dkdomain=lyndeno.ca dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=lyndeno.ca); spf=pass (google.com: domain of linux-kernel+bounces-163069-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lyndeno.ca Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k10-20020a170902d58a00b001eb3d68805csi5388193plh.29.2024.04.29.14.26.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 14:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163069-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lyndeno.ca header.s=fm2 header.b=XYM871hr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Bb2KdSON; arc=pass (i=1 spf=pass spfdomain=lyndeno.ca dkim=pass dkdomain=lyndeno.ca dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=lyndeno.ca); spf=pass (google.com: domain of linux-kernel+bounces-163069-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lyndeno.ca 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A2EC828946E for ; Mon, 29 Apr 2024 21:26:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C83AC1836E4; Mon, 29 Apr 2024 21:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lyndeno.ca header.i=@lyndeno.ca header.b="XYM871hr"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Bb2KdSON" Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (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 0859882D90; Mon, 29 Apr 2024 21:25:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714425954; cv=none; b=DkK6cKRUJa8jO3tBb38OUWdjEqV9jf0rKK2JUi87JuhUfzmC5nAeg7AUreuP+Bb238snZittk/dJeUKczo9+cT63gj795kCIPLcBu0CXj39bofHLIuPxTuE7vyLWUK6UzC3XHpQkur6AZtU3nCNTI2SgskKIDFwin2lWdWgDLys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714425954; c=relaxed/simple; bh=dQBRubZsYQuMnytLZJwJqxHoVwRnluEMpe2562DEkrA=; h=Date:From:Subject:To:Cc:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=DgKdQBeVuuKcVZ0Pw0NwhducfJjEHXVksE61UxrA/FKxzdDsUNnvwt9zTRUab/YyWL3K8OR7YK8OJ7FeDSnVgr+0k3KxBzJTsXTWiSYQh2y8noK1NOZEJBl5i/qb8W+cnoIuXcMzHP26GyRwT3AR+v7LKHm4rrXERAqE/3uu9DM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lyndeno.ca; spf=pass smtp.mailfrom=lyndeno.ca; dkim=pass (2048-bit key) header.d=lyndeno.ca header.i=@lyndeno.ca header.b=XYM871hr; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Bb2KdSON; arc=none smtp.client-ip=64.147.123.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lyndeno.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lyndeno.ca Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 94D9B180017B; Mon, 29 Apr 2024 17:25:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 29 Apr 2024 17:25:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyndeno.ca; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1714425951; x=1714512351; bh=gS3ckrq8vt l0jimEpRPVb4E0YJmt16m/9Kirg4P9Ces=; b=XYM871hrI/Ql5AeQdoCidhC2+3 cvFPplvPY7ZnOeDztmgc9r3N1a7XX7fDq/KnlC5XfekG97zol8K5mFT4NVGUj7mk FPnfdGxW9jEn3sUHzP2QpxQWkFEpAROHWkv7lIS4Y3IW3MYO4wVsVkIqacPbR14a onh1Ck/6iGB2WLSKl3URtsHPoJETq9nbqpkhAu5QVMmQX982uLMvfGHgOpEUKzWC wPTeFOEerZA72zszTCS3qcGJuSrnYpXH7uumd1sl2EBcto5PEIYF+gKlILFx0oOq g21uWKCJf4Wnr92KzeNMPT37tBcpHqjUDLKmQrMvwklk0VO6Hud3H2Gw1g9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1714425951; x=1714512351; bh=gS3ckrq8vtl0jimEpRPVb4E0YJmt 16m/9Kirg4P9Ces=; b=Bb2KdSONS9lRPwk8A8DfMxLIXfpZGO0AwOy/o/BwO+SI c9bo7VJ6/sQ5O/iONReLza5k3MGWbn8W4FvCxwFm+EfzvP9wZzuT1DBMTvfLmkan rZHaOpCUOxUXsbEtl5DSm6QVcBEpDwcHnGm8rnqJ08HuYGmK8oS1bBgqTaClh6qs o6CrfdENFHU0Y9w8piHgVnLC/S2mxfnRfxAJ6Zkw25+NaBSYVGTF7n+9LwpflSuA imfRpQ9KSuhuup5Qmxb9ImgRVKdho4TnaorQO1QvdbJCzcPEWdPx4kOvnGHU6h4s uXj/4OIePHVeB5L5+MMHLQgAV+G6686sl2PvYiNDoQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdduuddgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffuvfevkfgjfhfogggtsehttdertdertddvnecuhfhrohhmpefnhihn ughonhcuufgrnhgthhgvuceolhhsrghntghhvgeslhihnhguvghnohdrtggrqeenucggtf frrghtthgvrhhnpeejffeukeegieejhfdvudegtdekfeevveetgffhveefueffgfdvveel ieduhfdtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehlshgrnhgthhgvsehlhihnuggvnhhordgtrg X-ME-Proxy: Feedback-ID: i1719461a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Apr 2024 17:25:44 -0400 (EDT) Date: Mon, 29 Apr 2024 15:25:34 -0600 From: Lyndon Sanche Subject: Re: [PATCH v3] platform/x86: dell-laptop: Implement platform_profile To: Mario Limonciello Cc: pali@kernel.org, W_Armin@gmx.de, srinivas.pandruvada@linux.intel.com, ilpo.jarvinen@linux.intel.com, Matthew Garrett , Hans de Goede , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Dell.Client.Kernel@dell.com Message-Id: In-Reply-To: References: <20240425172758.67831-1-lsanche@lyndeno.ca> <20240429164844.7544-2-lsanche@lyndeno.ca> <5cbb8981-5e24-4dce-a78f-1cabc29f08e3@amd.com> X-Mailer: geary/44.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed On Mon, Apr 29 2024 at 12:51:31 PM -05:00:00, Mario Limonciello wrote: > On 4/29/2024 12:45, Mario Limonciello wrote: >> On 4/29/2024 11:48, Lyndon Sanche wrote: >>> #define CLASS_KBD_BACKLIGHT 4 >>> #define SELECT_KBD_BACKLIGHT 11 >>> +#define SELECT_THERMAL_MANAGEMENT 19 > > I think you should insert this into dell-smbios-base.c under > call_blacklist. This will prevent userspace from fighting with the > kernel on the same data when this code goes in. Good idea, I have been using smbios-thermal-ctl for checking the state when testing. I will include this in the patch, then smbios-thermal-ctl cannot interfere. Thanks, Lyndon