Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2323FC54E94 for ; Wed, 25 Jan 2023 11:17:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235383AbjAYLRD (ORCPT ); Wed, 25 Jan 2023 06:17:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235255AbjAYLQM (ORCPT ); Wed, 25 Jan 2023 06:16:12 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8451858291 for ; Wed, 25 Jan 2023 03:15:59 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id e19-20020a05600c439300b003db1cac0c1fso964515wmn.5 for ; Wed, 25 Jan 2023 03:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6mB64iuBa8pKznC6MUcQfOEwFniluU0ciUXbkSKaGwA=; b=QYyLw1kTeP5So/QCN7Ua5W5M/XYvoAVts5afkWdLSEsJeS2p4s7GS3DzhX8hjPtJ/G J77k2oSJ1pQLAJimQGKBbeK3CSsgRZKgOwrktkNsl7+RVNuDkHD4fF6IMXdslzwwo3qb XyPCigtWQtyF7V+CP91YP348VKF+cesLAwqnQVIlyFnKeXrTKQksi2nz3lreZ6suF+Lq 1owtQiUR6Iy9fUWMIwqQo+aG7BEseV6NeIp/TLKSjuanWDhSVNAsIiROZpxPvXwa/Jus bz5520A1Kg2nanjqeHmOIvx/dt5/CbESmzRKiU1drHrSipDsRoSMPEuEBmATh7dqjKd8 yLUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6mB64iuBa8pKznC6MUcQfOEwFniluU0ciUXbkSKaGwA=; b=2AMSTpYUVYDLukGdVDGhVEgQVLzfF1+MKw4Zl+QcNo4CoBt8w1IveItvpLaStekFu2 2IcrTA4zeDcc8IOGLxlORwIm376YYPYq/vwamt37E6Ldk9bATX/Z5FXHzotBiD8SLTC2 YHmwkv9TALCRM3fYvhnw5pzT+edUVpj7+x5ed58nPCNSen0y66Sx/G9BLM9gamqMvCgI GpMFcH4qBwVgTyd5mRB1CrGQfeXPKIaNB1kYtBs/Vk6eCdqdDjSDCvKiUu+35mtUHnfi QjoqTO1Y/XC5+xcC6dkBcqOsabeDVQ9wd6z3PECkcFPWQnuy3FJFjhRq+8xu2rvh0ABj Jf5w== X-Gm-Message-State: AFqh2kpWRfTFmE/UFqZZBXpzxHQEsEIwnADElNUDRbAgYELo2ePJqTQj SyIWDDdS/cwLF851lvr0fRei3A== X-Google-Smtp-Source: AMrXdXvFrzG/q8e4eRt/EbNavYLKHtg2DXIzG87RROwBG5FJ19KMFtyhSRwXX6q7SnswJ1I/PY+XcQ== X-Received: by 2002:a05:600c:1695:b0:3da:f502:83b5 with SMTP id k21-20020a05600c169500b003daf50283b5mr31575274wmn.2.1674645357913; Wed, 25 Jan 2023 03:15:57 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id h20-20020a05600c351400b003dc1300eab0sm1710936wmq.33.2023.01.25.03.15.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Jan 2023 03:15:57 -0800 (PST) Message-ID: <3e2c6c44-f562-28ff-26cc-933f386e9719@linaro.org> Date: Wed, 25 Jan 2023 12:15:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 0/3] Misc thermal cleanup and fixes Content-Language: en-US To: rui.zhang@intel.com, rafael@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230123152756.4031574-1-daniel.lezcano@linaro.org> From: Daniel Lezcano In-Reply-To: <20230123152756.4031574-1-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, will you take this series on your branch ? On 23/01/2023 16:27, Daniel Lezcano wrote: > This series is based on linux-pm/thermal > > It unregisters the netlink generic family for thermal in case the thermal > framework fails to initialize, removes a unneeded ida_destroy() call and moves > the thermal trip code in a separate file. > > A couple of changes have been removed from the previous version: > > - Ordering the trip points. Some consolidation is needed in the set_trip_temp > ops before ordering the trip points, so this change is postpone > > - Remove the mutex destroy call. Even if the call is not needed, the > justification of the change is not accurate. So it is postponed also. > > V2: > - Removed ordering the trip points change > - Removed mutex destroy change > - Added "No functional change intented" as requested by Rui > - Added the function declaration for_each_thermal_trip > > Daniel Lezcano (3): > thermal/core: Fix unregistering netlink at thermal init time > thermal/core: Remove unneeded ida_destroy() > thermal/core: Move the thermal trip code to a dedicated file > > drivers/thermal/Makefile | 4 +- > drivers/thermal/thermal_core.c | 93 +-------------- > drivers/thermal/thermal_core.h | 4 + > drivers/thermal/thermal_helpers.c | 62 ---------- > drivers/thermal/thermal_netlink.c | 5 + > drivers/thermal/thermal_netlink.h | 3 + > drivers/thermal/thermal_trip.c | 182 ++++++++++++++++++++++++++++++ > 7 files changed, 199 insertions(+), 154 deletions(-) > create mode 100644 drivers/thermal/thermal_trip.c > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog