Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2711443ybb; Sun, 5 Apr 2020 14:42:42 -0700 (PDT) X-Google-Smtp-Source: APiQypIo9V+jDypnhSEjZ7sxu6zUVbe5PR31aszU5pV8DBm48UUQ3WlqBpj2lEaXXBl1lFPxskgS X-Received: by 2002:aca:cdd1:: with SMTP id d200mr10324773oig.153.1586122962446; Sun, 05 Apr 2020 14:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586122962; cv=none; d=google.com; s=arc-20160816; b=KQQ6nVIMWX//ePn7sJfkF+30AkU/e3YONoR039DGL/sHs/MrkMIPy+tbNmodr41+vU akw/B3/t+MPDfWmcDEhF6wW1aAguzdTSiYScVh5ID/mLrh4SlICt6OHsfQCBUjXR9sC6 wXRVp1XAp2INmm/qKIvywT6mRoORXF8k9QnByzFuqk6FPplZpUdtuIkdL80v5Hv/2rYv ZvO16MoXIc7aG+Pdv+Z7S2s/uhZimB3R0D/6PdyPuFF9Vb3NgmjzkbNX4qO1oXBSb8bf AMbmWHJoqz8a+wEIjc9wBnxGAK/rAzfxh9JGid3q0B7zpbmSIcz6DCea/f3zA558KmiI +6KA== 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:date:message-id :references:reply-to:subject:in-reply-to:cc:to:from:dkim-signature; bh=iEXppqwpoMBOh2qr0SqnBfGxYXKP3b9krysxUHHkXZQ=; b=wC6X/lgslEgaVVnNCNtlrrvpPisQYtEm6euTSBfZ+dYvAOiux9ckCezyPDvBhRFQNd WDsDMjlIC41+DS9qubznixt2UxOj9zMyKX04wRLv0YcV6eTvzUE/f5DDZIu2uHTBaTCd EASpJwJjQ2DEkYCgsxf6pfKGlw5AqXaKuQzjbnqD+/utUOvVSzDKpP4VSZknVkuGTEIC k27/kSxywC713PxxJPC7qo2JFjKHveiyhUOL19+qKcf5zfkbF/XIL1WejaToQJbcH5d3 f5Qw6zHktBKSeonismhUtt2xNdsDTmJ/GZjcYcf5e5JxDgXujYUH/mna81SjjUDyKRu+ fGGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Cfer6HJR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p21si7373501ota.291.2020.04.05.14.42.30; Sun, 05 Apr 2020 14:42:42 -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=@gmx.net header.s=badeba3b8450 header.b=Cfer6HJR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727687AbgDEVlJ (ORCPT + 99 others); Sun, 5 Apr 2020 17:41:09 -0400 Received: from mout.gmx.net ([212.227.15.19]:44335 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726887AbgDEVlI (ORCPT ); Sun, 5 Apr 2020 17:41:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586122863; bh=zHDc8GRgLA5wNlFBNah8ScqLeFFv9wstN0o9j5Fv2xg=; h=X-UI-Sender-Class:From:To:CC:In-reply-to:Subject:Reply-to: References:Date; b=Cfer6HJRxL8d+OQo67Je8s0XpIyOKL1ybIgom5CENqaKFWgrXLNJ2kycVLku8enea Qsttzpet3waw7BprwyS7VeqsU9tMltkRBihC9lTumMQZ8Lmg34TcLgUlO6VEhjFx7G neirg8QK0fjaQPr/gauA662hxAJ3n9Sb5MmcTJYE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from corona.crabdance.com ([173.228.106.188]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MvbFs-1j4Een0HQs-00sfU3; Sun, 05 Apr 2020 23:41:03 +0200 Received: by corona.crabdance.com (Postfix, from userid 1000) id 91F97899799; Sun, 5 Apr 2020 14:40:59 -0700 (PDT) From: Stefan Schaeckeler To: wsa@the-dreams.de CC: luto@kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, andy.shevchenko@gmail.com In-reply-to: <20200405180510.GD6313@kunai> (message from Wolfram Sang on Sun, 5 Apr 2020 20:05:10 +0200) Subject: Re: [PATCH 0/1] i2c: imc: Add support for Intel iMC SMBus host controller. Content-Type: text/plain Reply-to: schaecsn@gmx.net References: <1582498270-50674-1-git-send-email-schaecsn@gmx.net> <20200405180510.GD6313@kunai> Message-Id: <20200405214059.91F97899799@corona.crabdance.com> Date: Sun, 5 Apr 2020 14:40:59 -0700 (PDT) X-Provags-ID: V03:K1:jOepkKGAFfNVxHEsj5xp1TFnupuc2G80nKz/gExucwfUDwNtjzs o+NT55lyU9naIUsafOv1rmHLLqJEba1SFMbknPuWFX8Ei2U6aQeYhiduQfr47YdVl+YEWMQ aevlayL3i58crcEBCp6Jpiz7JmWPQgZFMajbA5Dy3IblNz3sW9PUBs7xg5laqHKlrcIfrTK SMxuejQeBQe8jm7ntUvZA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gecnlN20pCc=:k9Yv3QBWiiquqkwCkimDMA vZDht91Z1sEyA819JQwFoXmVr/iE8GKEGmxinWff2mPJXZjhUkeWqJzjjKUymRYku6sxEwKkU b0HDoS+CXTSj5QcHU9i3VMNwew0I9P8ihCH5UH0zU3riIReJUpbkHXYczKmzC5DUaHviyoQw3 mMc5P+vugSldH8UdkONBRALekGn4xrtf81RIVB8J63eQ+wbmCkeD6AKOllXZVBxR133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printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 kerne= l. I hope > > > this rewrite will: > > > > > > > > > Overview > > > > > > Modern Intel memory controllers host an SMBus controller and connect= ion to > > > DIMMs and their thermal sensors. The memory controller firmware has = three modes > > > of operation: Closed Loop Thermal Throttling (CLTT), Open Loop Therm= al > > > 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 Stefan