Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2114953rwl; Thu, 13 Apr 2023 01:41:30 -0700 (PDT) X-Google-Smtp-Source: AKy350YeSqAWzn6IwEDbpp+cmFSZMHmqBPO59BAL57GK2KBeKNuMQCFtj3ZWY9fCwhiZdZG/r9pJ X-Received: by 2002:a17:906:ad8e:b0:94a:5d5c:fe6f with SMTP id la14-20020a170906ad8e00b0094a5d5cfe6fmr2122122ejb.47.1681375290414; Thu, 13 Apr 2023 01:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681375290; cv=none; d=google.com; s=arc-20160816; b=lRPsig2nU8mXui2E2no6OWpmzr669NzpU7C7VajLJ25d3965kDYiekvZhU8HiFG8TB dEjx4Ow7dJ9JwMaDRnATMW6MILMZ20AyvuGyETamH00JkE17Ir+p7I/hxPTGzqUdm69Q r4M/Z77CdbgCXGoqTnndbDqBzrbOFudT5NuuSi/TNXVVVAFnVZBSd0f8L9MrHaV5x78V 2qDie64Ml3+mQfI3tqEvj1+zowBSDKXc4UaLBx/ponldObBLQC6XBvLx2x5D09i8cLRb rXLQFb4Qy60V/WKQrxHCol130K0ASkal0PfL8Y7nHRGr+kYADs2dIuY8hTaIloiQ5pSv WBjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yR9oAsEqqSJ0R2pFXfntzEB7epac7imvXHJFieh7XNc=; b=ScTegCWHc+PqSwDO9nlfl4m0WvLY7qP0cOS/orqRDJqMz4+gU8c7rAdWUjz7whBxrc nhfMyNrRwYQYX61utwX3Rc/N3e9K5h8LNYrq71Y2hYKX8hmGHHAGDh1YqAdZYLYOQOrF p9ucVlUeWrhb96Gh7FkayYPfA5pP4aT33PobFpSH22I77FRarwcIBlphWGpv+t9E/u3X /rMjFcpAlwZ37+J3+qOlDhNxIIzxftrKtIgoriwQQPgapHwv8tzXd3myL7MKrjZSCeLD KbuQJNQT+C/3KAURf81T+QmEl/oOMy2zlvXWz9Rwb31h7FOKq7sNiqXKSRPLGKgxQ/1o ebCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EXcOeKaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v27-20020a17090606db00b0093b6dc73d08si1376112ejb.780.2023.04.13.01.41.05; Thu, 13 Apr 2023 01:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EXcOeKaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbjDMIk2 (ORCPT + 99 others); Thu, 13 Apr 2023 04:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjDMIk1 (ORCPT ); Thu, 13 Apr 2023 04:40:27 -0400 Received: from mail-ua1-x930.google.com (mail-ua1-x930.google.com [IPv6:2607:f8b0:4864:20::930]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9FDE83F0; Thu, 13 Apr 2023 01:40:25 -0700 (PDT) Received: by mail-ua1-x930.google.com with SMTP id x8so1655197uau.9; Thu, 13 Apr 2023 01:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681375225; x=1683967225; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yR9oAsEqqSJ0R2pFXfntzEB7epac7imvXHJFieh7XNc=; b=EXcOeKawcDWaoVk5e3gqC3nUqXD42wxCOZWYFXFA29IwBkZWaiNm8kA6kFbkcm9ze+ GzxhBdeEUAHmMmkVqkzmyNtSOKoVkuTOsI4LoK2ZalJKLLsJFbMf08w0Kgc6DAB4UEGV gmm2fge7pAdLp4ZhwU5SuJ2f8kHXJDNVJv1FhKP0QgezrRjF3hK9dJXJshlDGJrSMEE+ te+ZtlZ6ZYE88SJsKfkeInljA7gKj9W7z6YB2Te+ouuHQ7oGa/MvQGbpeQWcswUYQ+5F DAKe1IXKQVD8wnti1NgTIM1atpOQOwHg54mA/UqbEfLZw57RdQP++B12jqzstnGQOc4K wbYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681375225; x=1683967225; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yR9oAsEqqSJ0R2pFXfntzEB7epac7imvXHJFieh7XNc=; b=VRajZNhSj7w8vqiqJLE2atgcqHzcQ2QfaIuLpGQvJahG3t0e/SRfC+DWY5Jq8ERxnV uq8zofLAonq3R0n92bPFS/7ufowljIDbnu2p6ApfJKTc/AUfU5b97a6qwQ53taz/8lRH kY1xHP8DHQFUIVKcUOdo2UJ+5enEmRQBI5BT47hQ7yzJ9oBulhu0x0L3/3MUKvIeNzTK tTbC/kxJ0AVi28vG+7WwQK4V6TUsRKU7hFQW96s0mOU+pcDRMwUyng0rNZrFgGhD6vwA Ipi1sv8EVtESZTR6IM58FrwsY/4el15kHQ1QBGs4bMIbzMtoaFxR8JcG+616X8Ro7+JI 3bJQ== X-Gm-Message-State: AAQBX9fV99KpEWsSsvBJD8M9D/NR67dG4qmiJw4HaCx2vbOBs1AXeW3o +QPjUDcUZKBiHZmtgR4pAi3i3M8jcWFvbfSwENpF00tJpbY= X-Received: by 2002:a1f:1694:0:b0:440:7b2:d101 with SMTP id 142-20020a1f1694000000b0044007b2d101mr493452vkw.3.1681375224681; Thu, 13 Apr 2023 01:40:24 -0700 (PDT) MIME-Version: 1.0 References: <20230320095620.7480-1-di.shen@unisoc.com> <6055bc39-5c00-d12f-b5c3-fa21a9649d63@arm.com> <637a3bb1-ba1c-e707-01b7-06c1358583ca@linaro.org> In-Reply-To: From: Di Shen Date: Thu, 13 Apr 2023 16:40:13 +0800 Message-ID: Subject: Re: [PATCH V3] thermal/core/power_allocator: avoid thermal cdev can not be reset To: Daniel Lezcano Cc: Lukasz Luba , Di Shen , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, xuewen.yan@unisoc.com, jeson.gao@unisoc.com, zhanglyra@gmail.com, orsonzhai@gmail.com, rui.zhang@intel.com, amitk@kernel.org, rafael@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We have discussed this question in patch-v1: https://lore.kernel.org/all/f6aaa5f1-495d-a158-14d8-ddb2bffbd9c2@arm.com/ Simply put, we use the trip_temp in the Android System; set different trip_temp for thermal control of different scenarios. On Thu, Apr 13, 2023 at 3:37=E2=80=AFPM Daniel Lezcano wrote: > > On 13/04/2023 06:51, Di Shen wrote: > > Thank you Daniel. Any comments would be appreciated! > > Still thinking about the changes... > > For my understanding, why do you change the 'switch_on' trip point on > the fly ? > > > > > On Tue, Apr 11, 2023 at 3:51=E2=80=AFAM Daniel Lezcano > > wrote: > >> > >> On 10/04/2023 04:09, Di Shen wrote: > >>> Hi Lukasz, > >>> Could you please apply this patch if there's no more comment? Thank y= ou. > >> > >> Hi, > >> > >> I take care of applying the patches. Give me some time to read the cha= nges. > >> > >> Thanks > >> -- Daniel > >> > >> -- > >> Linaro.org =E2=94=82 Open source software for= ARM SoCs > >> > >> Follow Linaro: Facebook | > >> Twitter | > >> Blog > >> > > -- > Linaro.org =E2=94=82 Open source software for AR= M SoCs > > Follow Linaro: Facebook | > Twitter | > Blog >