Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754010AbcLISRl (ORCPT ); Fri, 9 Dec 2016 13:17:41 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:36662 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbcLISRj (ORCPT ); Fri, 9 Dec 2016 13:17:39 -0500 Date: Fri, 9 Dec 2016 10:17:37 -0800 From: Guenter Roeck To: Thomas Gleixner Cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Jean Delvare , rt@linuxtronix.de, Sebastian Andrzej Siewior , rt@linutronix.de Subject: Re: [PATCH 06/20] hwmon/via-cputemp: Convert to hotplug state machine Message-ID: <20161209181737.GB24142@roeck-us.net> References: <20161117183541.8588-1-bigeasy@linutronix.de> <20161117183541.8588-7-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1172 Lines: 30 On Fri, Dec 09, 2016 at 12:53:30PM +0100, Thomas Gleixner wrote: > Guenter, > > On Thu, 17 Nov 2016, Sebastian Andrzej Siewior wrote: > > > Install the callbacks via the state machine and let the core invoke the > > callbacks on the already online CPUs. When the hotplug state is > > unregistered the cleanup function is called for each cpu. So both cpu loops > > in init() and exit() are not longer required. > > Can we please get those two VIA patches merged for 4.10? They are blocking > the final removal of the CPU hotplug notifier crap. > > The first one which removes that loop is really harmless as there are no > multisocket VIAs. Heterogenous cores in a single die would be surprising > and the loop check would be the least of our worries in that case. IOW, it > would never get so far... > I had queued that one already. > The one converting the notifier is not changing any of the functionality. > > I cannot test on all VIA SMP variants either, but at least on the one I > have access to it just works. > I queued up the second patch as well. Hope it does not blow up on us. Sorry, I got a bit nervous after the coretemp experience. Thanks, Guenter