Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14097611pxu; Mon, 4 Jan 2021 12:36:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsME8JYujT52upmvZlqmYgVm2ye9S2mvtTqwLVaiY123Stjp+JJEtRQbPJnum6nQV53nRY X-Received: by 2002:a50:eb44:: with SMTP id z4mr70996014edp.167.1609792572624; Mon, 04 Jan 2021 12:36:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609792572; cv=none; d=google.com; s=arc-20160816; b=zTHVOWIsPUyLhWIp7wjaYRXftRBk99RqPaMHzGPIftP8oKnxG7n1S95HB9jbLXziyV IL231wc9d/2Ytmxlg7Fq/wZI4ZH780ttJAYnJVd9tC3oMZUoalkWxTAogxkpRG4ENF1/ BMONUzPBxWXFKw0ZicLItSUjeWKA3ABC+K0+rGaVUZsGXai4LcwSkyFJXNK5SjO9osR+ Jc8p2TqRvu2P94OkYycNBznhmNPUx4KEjs9ePr4MFLGyP2dFagGLO2LXPaSkLl/fLJRz gAiqYHvv9rj9f0GRz+oTFZN8JCOdpVm6FVPOm+hrMCnrFl9wDNjVtKwndnkIUOiv2wEQ bBZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=jgrAU8KM4ELdBDdDZ1NUdXMOaBOszDUdOPw2PaPAN/Q=; b=0MKQPKleNfFx47lb9tiV6kzBeL0SCQDdAeEmYG2MroQPE0A0Z3Ml6IoAWtArjCM+RG dzudYqV34yX5Z4uwr71JeqxgcRn/9+AXiLsG8aFTFkpIlmzqH7RwyDfp+XpxlfVlPgPQ 3jjczk5MkPSmdmeB0rZAUVXjahjclTiCcchP4XtgQBViouy4HCIG1VpS2iCNzwNst079 bn7gfShQRiPtRAzuW/TEfLHmnd5vBhXxdVrM2z9DQhNtbUiDnHA4N/dsGBHd8x3x+OCu xFae4pQE7p6uxqlIfNHE9tECogXQeUeuXKafc8MVAuZjfi2+e+2LQDDctn2FwK9e0ysy B2bA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si32611795edn.541.2021.01.04.12.35.49; Mon, 04 Jan 2021 12:36:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbhADUeV (ORCPT + 99 others); Mon, 4 Jan 2021 15:34:21 -0500 Received: from mail-oo1-f49.google.com ([209.85.161.49]:41512 "EHLO mail-oo1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbhADUeV (ORCPT ); Mon, 4 Jan 2021 15:34:21 -0500 Received: by mail-oo1-f49.google.com with SMTP id q6so6586174ooo.8; Mon, 04 Jan 2021 12:34:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jgrAU8KM4ELdBDdDZ1NUdXMOaBOszDUdOPw2PaPAN/Q=; b=ivaojlV8macIYtOzqd2k5Lsq8T8JlGrP3kD4cJZ0vKp27jOKK/doHQ83LfaCH0o4M6 QSgSiFTa37+h4aRvMS29NjjRBk6TmCHJzBhyto83aBo5jWjsQOT3CJyXK9eLiwtwiWMZ pN0yCfm81ekPAdaFhPSgadwFfjjapFmqZWHSTPgApmcgHER0AGRm3YPU1Gl4GD5v/1LR lHdfBauLCFaQQjOiQhxig/Bo9scOPX4LUj/IysMiVciS1ioYFAEUr7m3A4I49gNkMcll fld2e6AlYXkP+rjaIx/jrtcsXqjpfaTR5UJfJbogH5/U3kkkhWPzt80wP32DQm5JwJHm 94ZA== X-Gm-Message-State: AOAM530bqNgQn95aDaQpOkYAjfA3CHpFU371NJQnhpIt9LFL4VLXAWhY 3wdaNW1Cs3bMF6LfShtowl7e3D6B+JhLzd2dOE9V6PBT X-Received: by 2002:a4a:9873:: with SMTP id z48mr50521121ooi.44.1609792420022; Mon, 04 Jan 2021 12:33:40 -0800 (PST) MIME-Version: 1.0 References: <20210101125629.20974-1-jiaxun.yang@flygoat.com> <35ac853a-266c-6944-6e5e-6286456865e3@redhat.com> In-Reply-To: <35ac853a-266c-6944-6e5e-6286456865e3@redhat.com> From: "Rafael J. Wysocki" Date: Mon, 4 Jan 2021 21:33:28 +0100 Message-ID: Subject: Re: [PATCH 0/2] IdeaPad platform profile support To: Hans de Goede Cc: Jiaxun Yang , Platform Driver , "Rafael J. Wysocki" , Len Brown , Mark Gross , Ike Panhc , Mark Pearson , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede wrote: > > Hi, > > On 1/1/21 1:56 PM, Jiaxun Yang wrote: > > Tested on Lenovo Yoga-14SARE Chinese Edition. > > > > Jiaxun Yang (2): > > ACPI: platform-profile: Introduce data parameter to handler > > platform/x86: ideapad-laptop: DYTC Platform profile support > > > > drivers/acpi/platform_profile.c | 4 +- > > drivers/platform/x86/Kconfig | 1 + > > drivers/platform/x86/ideapad-laptop.c | 281 ++++++++++++++++++++++++++ > > include/linux/platform_profile.h | 5 +- > > 4 files changed, 287 insertions(+), 4 deletions(-) > > > Thank you for your series, unfortunately the > "ACPI: platform-profile: Introduce data parameter to handler" > patch causes a conflict with the pending: > "[PATCH v8 3/3] platform/x86: thinkpad_acpi: Add platform profile support" > patch. > > But I do agree that adding that data parameter makes sense, so > it might be best to merge: > > "ACPI: platform-profile: Introduce data parameter to handler" > > First and then rebase the thinkpad_acpi patch on top. > > Rafael, do you think you could add: > > "ACPI: platform-profile: Introduce data parameter to handler" > > To the 2 ACPI: platform-profile patches which you already have pending for 5.11-rc# ? I'm not sure why that patch is needed at all, because whoever registers a platform profile handler needs to have access to the original handler object anyway. Also, on a somewhat related note, I'm afraid that it may not be a good idea to push this series for 5.11-rc in the face of recent objections against new material going in after the merge window. Cheers!