Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2776253ima; Mon, 22 Oct 2018 16:02:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV61AK0PTkUncwagOpS+OXXJehN/wu8/V+hRcJzGZ3dZ3v9wvJ/AVrNxm8W23nL7mUZwJio+h X-Received: by 2002:a63:c642:: with SMTP id x2-v6mr44007031pgg.16.1540249368264; Mon, 22 Oct 2018 16:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540249368; cv=none; d=google.com; s=arc-20160816; b=vsk0SqC8o193/Az3K33SzeJzNen3wUzlkAc9YMe+ugWLLnhafV8ZHB7Tv+UIZ04PIC Aits+rUxQ0rbSzGjOfZ1/lYDAk3IEkMvy4C51Z+G5q/q/aJI5HCSBrSE5NR3yhHAtt4k /lE2x+IPQjbvgkz08/a5t5H2WRX2PNB6GOswvSig15MB9CUCl0XlGGupTFqIRR3oQrEc 0fS+CW983dHXayCxBHZfeK+a8Zg/inxa1JIWGfFyvtbP6bQJu+9N3P/+0JeWtif2rd0K /rmwSr6xKQLl02UKZDvCBoBURbPsXdq46NOrwo6V7VF5Ufevbnz1+MsEIr8fbnedjbf3 E8hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=c1Oa+IRkYwPderRIVvtEEtzyAXNblGH/njUv240d/b4=; b=MGLW0B2cdjmUB73OKtHyljbtGe3CSTwDj26WVdiFim9yfE/VN95Q2ZNo3iV5oJO/Ci UNeyb202eaDiYAFPWwAspih+UC27LXHkBZg1DwY1qciLC2zbcgJ9mh5Oe2gW2l5CJkH3 Jg5JczSYUXJk8ZlhTNAio1kNDFwbLAEzkrEaKUWk5KQlIXxZQ0ZnCQI3NeGSumNf3uco Zl0H1mM6PYhvelrOjnbXHmR48TOjn21k31diKMbVjaTINWqvVafdM5679ONRTkdW9MO8 JSq1auUiyOIU9WWiAbc2lyrnfmrmAwUSmJ/bq0BNc/z3N0v7AsSPB8+4AqoTsCVWkaaa sc3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=miKOEuam; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si34422957pgg.265.2018.10.22.16.02.30; Mon, 22 Oct 2018 16:02:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=miKOEuam; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728975AbeJWG3G (ORCPT + 99 others); Tue, 23 Oct 2018 02:29:06 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43527 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726286AbeJWG3G (ORCPT ); Tue, 23 Oct 2018 02:29:06 -0400 Received: by mail-ot1-f65.google.com with SMTP id k9so41669463otl.10; Mon, 22 Oct 2018 15:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=c1Oa+IRkYwPderRIVvtEEtzyAXNblGH/njUv240d/b4=; b=miKOEuamywGQAq1g2vpAFLhmi85mvXUBS5j77o26r+mP2nrz/Yj0/P8h9GVJKpmMY3 JCbhDFgGndzDSvXUIeQP+SJCh1Cw36c2j4vDdoHHDkytoXUfYwi6PmEjeCjUdOIV3CwL vOixaLg9rfg1Eui+3DcqOnURs4m8lnL5xxokPFAhMbl/Ex3CJLUn/GGfIUw2LUrqJHj4 B55+yLVfMvmjAo1anWnm5iXOuUctg4o2Hn/6olBZ0g7TA6xGMhLM0TdMBz5U1SXCBqAA P814KWXr/iTJtHirjavoGQi1SuYksRZO+z52fy/uWSK4CdgwG9rf79WEeAgjus7JP2Qy DHmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=c1Oa+IRkYwPderRIVvtEEtzyAXNblGH/njUv240d/b4=; b=OWwC3BoPGUS2Wx8mixjtOqJWt4l12TdrupSt1zfct82HSiYjcGEqW9yuf7MZ9MLlLO H08cfjnnfqmICHP/zu2rUwMhcnIEnWohs1YwU5jeQp9lNnkaCuSqoIg5PPa3oCanC0rc Zrr8Ujn3G3IIbHGKUmdrX4j9aeJyXBVN6gXrkjetHoHKEgfefa5VbOuircTGbPCpUhy9 4mCAQTC7poAjSQXcNjVccstJYxPkz5l3e9gl0EjBSLc/KPkM0DvQWQNNff+EAnrErlgs hvbm0JlXxirw2F9o451JZiKMNge9mmlth5+oZ0ttv6RvrSJtq64KmeAD8O5GpkZred7L 1Qvw== X-Gm-Message-State: ABuFfogWghuNBbYVZcE3RujrJVvf1zWeF7UWxK1HplIjOax6CCE911FV ZpIJbd2Q+YsutrWdIqwBDCK4ZU+k5E4hx6pfQ0qD5A== X-Received: by 2002:a9d:ec:: with SMTP id 41mr28871320otk.322.1540246122976; Mon, 22 Oct 2018 15:08:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2eab:0:0:0:0:0 with HTTP; Mon, 22 Oct 2018 15:08:42 -0700 (PDT) In-Reply-To: <20181022203218.7007-1-zwisler@google.com> References: <20181022203218.7007-1-zwisler@google.com> From: Tom Psyborg Date: Tue, 23 Oct 2018 00:08:42 +0200 Message-ID: Subject: Re: [PATCH 1/2] thermal: Add notifier call chain for hot/critical events To: Ross Zwisler Cc: linux-kernel@vger.kernel.org, Duncan Laurie , Daniel Lezcano , Eduardo Valentin , Zhang Rui , linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/10/2018, Ross Zwisler wrote: > From: Duncan Laurie > > This will allow drivers to register a callback for important > thermal events and log critical thresholds that cause the system > to shut down. when you have proper implementation of thermal support the cores should throttle to 80, 60 and 40% once reached passive trip point so they never even reach critical point that causes shutdown