From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754950AbcKVJIn (ORCPT ); Tue, 22 Nov 2016 04:08:43 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:58684 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbcKVJIk (ORCPT ); Tue, 22 Nov 2016 04:08:40 -0500 Date: Tue, 22 Nov 2016 10:05:50 +0100 (CET) From: Thomas Gleixner To: "Pandruvada, Srinivas" cc: "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "Zhang, Rui" , "rt@linutronix.de" , "edubezval@gmail.com" , "linux-pm@vger.kernel.org" , "x86@kernel.org" , "bp@alien8.de" Subject: Re: [patch 00/12] thermal/x86_pkg_temp: Sanitize yet another hotplug and locking trainwreck In-Reply-To: <1479770177.6544.195.camel@intel.com> Message-ID: References: <20161117231435.891545908@linutronix.de> <1479758532.6544.169.camel@intel.com> <1479770177.6544.195.camel@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Nov 2016, Pandruvada, Srinivas wrote: > Your change below fixes the crash issue. Now I tested a case where the > last cpu offlined from a package, it removed thermal zone and added > zone back once any cpu from the package onlined. So this is working. > > I want to try to run some workload on those cpu to bump up the > temperature and check interrupts. I am hitting some issue unrelated to > this change may be. I onlined three cpus from the package 1. > > [189443.567728] smpboot: Booting Node 1 Processor 15 APIC 0x2e > [189656.625947] smpboot: Booting Node 1 Processor 8 APIC 0x20 > [189829.545851] smpboot: Booting Node 1 Processor 24 APIC 0x21 > > But I can't schedule anything on those CPUs. For example now can't run > turbostat, it complains > " > turbostat: re-initialized with num_cpus 19 > Could not migrate to CPU 8 > " > > Same with > > #taskset 0x100 stress -c 1 > taskset: failed to set pid 0's affinity: Invalid argument > > I am on the latest linux-pm/linux-next tree on this server. I will > switch to latest main line and try. That must be something unrelated. I can use turbostat and taskset after doing the above. Thanks, tglx