Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp470563ybz; Wed, 29 Apr 2020 03:41:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKKYszQWf/1e8V7USPUSYplgvn3kC5Bx3UNq6/7QQfI2vNupPkr06EAkVG+4WD7HmE2emuD X-Received: by 2002:aa7:d504:: with SMTP id y4mr1726582edq.295.1588156908564; Wed, 29 Apr 2020 03:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588156908; cv=none; d=google.com; s=arc-20160816; b=I0s2itJBIfMnSwmfVqCLnYDof8p/tA6lhwgwl7PuBG+a9yVXPwAe70Q1VgeIG8xNfa Kfxg0/Z+poAIwSLRC4uP5p3eAq1kTlWoOU6V3iBpJYILnaLPGKypMAionce92wMv6cFa BFgbBtLHgux52mr9HdjF69g+sJ7ElQM7xLNOuzcQZ1WU1+lGJSDDdNRnCLRkYtD0E7nq zIbXKrl4iHv06XEvwhVCIJZbZnqcl2TtGCMmwzttfHrKYM73tLyR81dosb6xe9BafTrr TTVZcGTFE8tBNL1lw+JbnjB/fSA4YnFu5Xby4Ir2DR+CNJsVx8dFcxtOGFsFO0FgEA3k h2Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=GttMsEeHxSRQEiWkFwaLHZKTBEqyMow0zfNFhprWC1Y=; b=y1xdl8TeptfmREwDjZ8Rm2pSax6QtNOL6MOT9YvYJ6hS1+3Vh+1AAr1+/1YSuBZt12 elXsKGhGVl2sS+v2Ad9IwlWHXBSzXIf5HM+GajudiyWvQpi9poRJ6/pLdbpKoLUYO1AA mtoYkPf+Qg31Mkrhan43MVTA4VIUoGhnZRlrcRYYfy+DrcZs371ynwg/dqm1twzkq73d piOm2DyCc2z8sVI2CkVpDGllAZxfldMnJViAyGYCY1UVYJg4IMPgO8v+dHd0OLcvoEvq bbXjwB00K8g3rVec4IvpdZXZ0A/Z14YGS10oH5n6rvW7kUc0CiFwW2FnRLk4jrXnI4sm KlKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CmfCYSMo; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si3637330ejh.469.2020.04.29.03.41.25; Wed, 29 Apr 2020 03:41:48 -0700 (PDT) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b=CmfCYSMo; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726625AbgD2Kjn (ORCPT + 99 others); Wed, 29 Apr 2020 06:39:43 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:39951 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726355AbgD2Kjn (ORCPT ); Wed, 29 Apr 2020 06:39:43 -0400 X-UUID: 653c9dc151524c91b10580ef3b03cc5d-20200429 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=GttMsEeHxSRQEiWkFwaLHZKTBEqyMow0zfNFhprWC1Y=; b=CmfCYSMo9Co6NOO7EqlVw5NZWDuDSk4MSEvRc9ZiZqMbH8En8VWFQHfzvRKxlarc4IBi2/tLy0JfjKeHBX8+Ny87PW1quQuQjKyjgm4jAvctNW3308aKiB/qiieaTEyKF/v5hDLxhNkKdSftg/N4ttO2jwVu48kGhsHXcaYe2Y4=; X-UUID: 653c9dc151524c91b10580ef3b03cc5d-20200429 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1213859366; Wed, 29 Apr 2020 18:39:38 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 29 Apr 2020 18:39:34 +0800 Received: from [172.21.84.99] (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 29 Apr 2020 18:39:34 +0800 Message-ID: <1588156776.3573.1.camel@mtksdccf07> Subject: Re: [PATCH] thermal: power_allocate: add upper and lower limits From: Michael Kao To: Lukasz Luba CC: Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , "Matthias Brugger" , , , , , , , Date: Wed, 29 Apr 2020 18:39:36 +0800 In-Reply-To: References: <20200424071601.2636-1-michael.kao@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTA0LTI0IGF0IDEwOjIyICswMTAwLCBMdWthc3ogTHViYSB3cm90ZToNCj4g SGkgTWljaGFlbCwNCj4gDQo+IE9uIDQvMjQvMjAgODoxNiBBTSwgTWljaGFlbCBLYW8gd3JvdGU6 DQo+ID4gVGhlIHVwcGVyIGFuZCBsb3dlciBsaW1pdH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