Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2753220ybb; Sun, 5 Apr 2020 15:56:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIG5a5UF1DIt43iho5p4WtYB6nTiHezmP08Rw2vvn8j69dQGxG/QpmhYc4c0sjUMzxta6S9 X-Received: by 2002:a05:6830:1382:: with SMTP id d2mr14639787otq.214.1586127406014; Sun, 05 Apr 2020 15:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586127406; cv=none; d=google.com; s=arc-20160816; b=glrcKvoCGyH8SgfHkrmbiy0PMRwUnZ2nIWDZKHJ7Ii5sjz/QgB+Ajx2uHBunPmq7Z2 FLIatp0Lt7DptoAs79uwEDc/FzO07akvRygfu3A5BcKnjfwPflfxTBuxeGOYQvdlWOAs V6074FOGBVmbzpHp4DzEhn8qQ1ICgstvY+PH+RLFWsEZqpeKM+K8I1brRJsTf9iwICcU HHJHz8Sh9+QRKH9Oij6NqPNki+ZsQyg+JpEZu7NJauRYjwDNr1oEirR2E3bNVFMgTOTX M8lUrdPeRFqu0fSSbsULj4a3v+yDeUd8WHWvuECAyy4C/fJCQ4rEdbMPH7zAC23jRwLn +HtQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=XQM7hISS48Ksxvgk/V/au0A9BwP9xBp4zvBjaIxyeJQ=; b=Y+NN6GyiJHsXt0Va3oUUQySmXNBPkb87nrCU5ar6mFwlDQrYvpr+sHvWl+fvSVIlsQ QDQF9+hDchOfdhRcOZLY2Z3tbSQ9Bunqrt+8GfXodT7SbR28C6aulkWcsqBz8Bww8cq4 dmlbY1QgLRJ+krqZkstMYI7U/wrKzPqmrxy+pGw42GvuZhfB63Bj/1KkwyRFtf0bjoET 2N+keyQm/GeP9ggESXsDzc3XT3pthRibo1PL1GKhGYgvwm/pXfPT+eYLNE2qT6SbjeIN baF+ZCPbl8tYbCnBmTb+ynDF4KgO2zM/0yJeWYula/vTiyQkRNvQsv++dYElpRtI+vIo Lx3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f7N8j9bT; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si6777939oiy.151.2020.04.05.15.56.07; Sun, 05 Apr 2020 15:56:46 -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=@kernel.org header.s=default header.b=f7N8j9bT; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbgDEWvn (ORCPT + 99 others); Sun, 5 Apr 2020 18:51:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:54940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbgDEWvm (ORCPT ); Sun, 5 Apr 2020 18:51:42 -0400 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EAAF7206F8 for ; Sun, 5 Apr 2020 22:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586127102; bh=+qkpE/VzZVJjNYp14D0CGe0j5+UI5EbcqBZ0isMWYz0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=f7N8j9bTEuX2pG7W41IR6FqaiigUcXyvSGQ66YOVJA02bYSkh6emWYqiN4GluXnBm sO7A1MZJJpNwgiFW/AV4zpbaScDAR/kEqwGHOAJzBqArfyuiGi9RTiwfzU0y0NNwFz 7uWbIv7/7cx76niUT/3fD8KvowuBbWTTSAtl05e0= Received: by mail-wr1-f50.google.com with SMTP id k1so5788266wrm.3 for ; Sun, 05 Apr 2020 15:51:41 -0700 (PDT) X-Gm-Message-State: AGi0PuZPN5BmZot42mnAmkjMivNiA0dva7QmTeLlhKDsYYy2AfGZnAyJ wUlaFl9VUa0fybu7VrfrtPMFlvgoD0pCis11pCFmow== X-Received: by 2002:adf:aad7:: with SMTP id i23mr20451094wrc.184.1586127100363; Sun, 05 Apr 2020 15:51:40 -0700 (PDT) MIME-Version: 1.0 References: <1582498270-50674-1-git-send-email-schaecsn@gmx.net> <20200405180510.GD6313@kunai> <20200405214059.91F97899799@corona.crabdance.com> In-Reply-To: <20200405214059.91F97899799@corona.crabdance.com> From: Andy Lutomirski Date: Sun, 5 Apr 2020 15:51:29 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/1] i2c: imc: Add support for Intel iMC SMBus host controller. To: Stefan Schaeckeler Cc: Wolfram Sang , Andrew Lutomirski , linux-i2c@vger.kernel.org, LKML , Andy Shevchenko 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 Sun, Apr 5, 2020 at 2:41 PM Stefan Schaeckeler wrote: > > Hello Wolfram, > > > > > This patch is based on Andy Lutomirski's iMC SMBus driver patch-set > > > > https://lkml.org/lkml/2016/4/28/926. It never made it into the kernel. I hope > > > > this rewrite will: > > > > > > > > > > > > Overview > > > > > > > > Modern Intel memory controllers host an SMBus controller and connection to > > > > DIMMs and their thermal sensors. The memory controller firmware has three modes > > > > of operation: Closed Loop Thermal Throttling (CLTT), Open Loop Thermal > > > > Throttling (OLTT) and none. > > > > > > > > - CLTT: The memory controller firmware is periodically accessing the DIMM > > > > temperature sensor over the SMBus. > > > > > > > > > > > > > I think this is great! One question, though: what happens if the > > > system is in CLTT mode but you disable CLTT and claim the bus for too > > > long? For example, if there's an infinite loop or other lockup which > > > you have the tsod polling interval set to 0? Does the system catch > > > fire or does the system do something intelligent like temporarily > > > switching to open loop? > > > > Any news on this question? > > Thank you for your interest in this patch. You can read my reply here > https://lkml.org/lkml/2020/3/1/216 I think it could make sense to upstream this driver but to require a scary boot-time option to enable it. Maybe i2c_imc.dangerous=1? > > Stefan