Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp887658rdb; Fri, 20 Oct 2023 02:17:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJ81iEAPBr8yKdQLBKXSjrjF7jZpztqp/Q3WHVjEKvMfcCvn4DMCKsMIXjbZLX+EhcKrr5 X-Received: by 2002:a05:6830:1da8:b0:6bf:5b30:5b69 with SMTP id z8-20020a0568301da800b006bf5b305b69mr1379566oti.17.1697793440708; Fri, 20 Oct 2023 02:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697793440; cv=none; d=google.com; s=arc-20160816; b=cQy9FBfifNnLp9g+Q76rddAje1RCr0dURXgExqgAQlhjfM+QWyuB4Tc95+15Tp+jx3 g04YHOCLiLClWG/THFjb5wYCY+cfYiNTFRyqCabYkpzoJ87tXJhl0ZByL9IDe629wZXo vpjREI5oen3KelrX301KLFcvx8U79CsCYm4OBsxGXcBLVcaG7rN7Hy8xNDsX9xBG+ar/ 3V2TJvRJyGrxMIVtNXwel2FfoFtpw+XT8W4cI0vwJ48b8qmAzG+824sgIiqrzjdnpXL/ 4ai7vla+ETZtdqimBI9eYeJKjgo+RSvfP2AyZz4V1D+/4OUjcJmtLyeiiDP5WyA6NYXZ sZxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bsKqsxAuwdh5CCWpFpBiom6yzIXH9m3JolRs8BXfeeM=; fh=5tsIuji9id33OTNL9x3nafQqm3R5rHKN/+vCSiXzHbc=; b=nmgwfmmc5wrXE73+sbJxhYZi8PMzX8k1Ld6IMfYmf5tU7pvQ92LzxCmn5PozxvQ4JW zOjif6F0nq2jXnA8w0+lHn41Wv5VMoWi1I4yUmkCZd/pcSfVslw9AkmtRkmouI9V5yfN VtsU0jhOjLfJ2xUTQsFDSJH7BKmWHS1shmfGpv+q5mGNIFaarii7YrjRvzsvGcqvOvsN 9XrC0ESIQgWDvq/fBnYZ1cEwIIhQjYWv0KhjyjZWicELibxoSRYlaMxN2gU8qvKxuBIc k3zv9mkEz58uvuO8/2MKd2ZrGN3Tapxk6DY4Dji+G2L4+K/0qAFbFACQvhClEZ6VO/Ba iMfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=A7qmhd6d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f17-20020aa79d91000000b0068fe9c452acsi1445183pfq.376.2023.10.20.02.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 02:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=A7qmhd6d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7830380843DE; Fri, 20 Oct 2023 02:17:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376584AbjJTJRM (ORCPT + 99 others); Fri, 20 Oct 2023 05:17:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376552AbjJTJRL (ORCPT ); Fri, 20 Oct 2023 05:17:11 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6A0BAB; Fri, 20 Oct 2023 02:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1697793425; bh=sPAwy1nmQ+bMmXVeWg91iZOlITJ2nlMgIJjpN+TvSZc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A7qmhd6d5T9MZvmueUe4nFdFcfraAt8oZt3LXY3weEa1VC+xwb22qc7iXHlcq/nYr Kfd4VlQNouYsC8LDo4XTO8qPBKxrpx9ltnAsFlqkq/o/nsmTjWc+KABxh7PcqlUr2X 0xfMrjTYLZ3grQMTTZl6aStMAfQR4gusQkGYLWkg= Date: Fri, 20 Oct 2023 11:17:05 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Ai Chao Cc: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, markgross@kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH v5] platform/x86: inspur-platform-profile: Add platform profile support Message-ID: <7c58ab73-abdd-461f-9d3e-31b02db2b7af@t-8ch.de> References: <20231020024007.1677962-1-aichao@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231020024007.1677962-1-aichao@kylinos.cn> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 02:17:18 -0700 (PDT) On 2023-10-20 10:40:07+0800, Ai Chao wrote: > Add support for Inspur platforms to used the platform profile feature. > > This will allow users to determine and control the platform modes > between low-power, balanced and performance modes. > > Signed-off-by: Ai Chao Reviewed-by: Thomas Weißschuh Thanks! > --- > > v5: Rename inspur-wmi to inspur_platform_profile > v4: Add select ACPI_PLATFORM_PROFILE > v3: Remove input device, using the platform profile interface > v2: Remove Event GUID, remove inspur_wmi_notify and inspur_wmi_notify. > > drivers/platform/x86/Kconfig | 11 + > drivers/platform/x86/Makefile | 3 + > .../platform/x86/inspur_platform_profile.c | 216 ++++++++++++++++++ > 3 files changed, 230 insertions(+) > create mode 100644 drivers/platform/x86/inspur_platform_profile.c [..]