Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4203197pxv; Tue, 27 Jul 2021 01:06:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUbZFBxdTvvnTVrtGXFyoqRvQSDPB7+Ou/lYGwIV/RStkOFXaV7PzL7ogWWJ4Htmb3jMgY X-Received: by 2002:a05:6402:221c:: with SMTP id cq28mr26478877edb.115.1627373190230; Tue, 27 Jul 2021 01:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627373190; cv=none; d=google.com; s=arc-20160816; b=x3X+V6jWpQz/OqQAa/8h1fYJjdJ3eKQsvk8XrCqf9OCbBc6gVZADo4UjaFfB1SWQFf FYD2bLJ8ktCO5R5I5k08c3uBss0cZnBu5pHHXShlhK4c+FNQDf4+cuyJD7yGh/UB1FcG hek3SJyRhaFwGXQEWV0BCKyZrFKHkyu+NfpqECRkiE7poAaN78HMI1EPYhf91tWsKunc gt/gX+jt7AITsmvtxRJBE/BZbSm580O40VHxKzw4InHRVU1MuuZLtzbacF8NKRGsFxzz 47j7vHXUer6lpEwDrnBi7puFrLy+GT9QwJCg0Oo/DNYC3N7gRBIUZaJniZUosiHxqxqL N/uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=VEF+PbVhheH7JnZW+8SC/n4EtwpjI2RwJe4pHApaeZI=; b=zPQafj0qEW2PuLyxikNLR3GzsQtj4uGTRKAONQkyuOBzfgFVf5E+boPD574tanP9PP VrY9MCJPD8vVxcOnRYOXxnBzdITFcuv5MJ1MP/mdNta2WqG3wtWtTr+3WlIvVmiPJcDp kNW3EVRQdPkTxWy7UIbdhOZOiuNJIQwW7PQDFUKbo+JZsGHeXm2LGauEsWRhDmO49YQG AnuQZwnqULj1LwU67DO0MEOh5pSMOeVEhnxKTn3KYOSbV2A4qubSzncGHE5+ARH+WSU6 WNhd6Up4Zbdgwa0+XFfcBOrKpXsJDprjjEN7j7Cq+OQy7zIBTSPHmpkt1iZdtCnNo9jz ke5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si2319181edq.593.2021.07.27.01.06.00; Tue, 27 Jul 2021 01:06:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235786AbhG0IBL (ORCPT + 99 others); Tue, 27 Jul 2021 04:01:11 -0400 Received: from david.siemens.de ([192.35.17.14]:52299 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235675AbhG0IBL (ORCPT ); Tue, 27 Jul 2021 04:01:11 -0400 Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id 16R80LnR028664 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Jul 2021 10:00:22 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.2.134]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 16R80Jbi010200; Tue, 27 Jul 2021 10:00:19 +0200 Date: Tue, 27 Jul 2021 10:00:18 +0200 From: Henning Schild To: Thomas Gleixner Cc: Guenter Roeck , Peter Zijlstra , , Ingo Molnar , , Borislav Petkov , xenomai@xenomai.org Subject: Re: sched: Unexpected reschedule of offline CPU#2! Message-ID: <20210727100018.19d61165@md1za8fc.ad001.siemens.net> In-Reply-To: References: <20190727164450.GA11726@roeck-us.net> <20190729093545.GV31381@hirez.programming.kicks-ass.net> <20190729101349.GX31381@hirez.programming.kicks-ass.net> <20190729104745.GA31398@hirez.programming.kicks-ass.net> <20190729205059.GA1127@roeck-us.net> <20190816193208.GA29478@roeck-us.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Was this ever resolved and if so can someone please point me to the patches? I started digging a bit but could not yet find how that continued. I am seeing similar or maybe the same problem on 4.19.192 with the ipipe patch from the xenomai project applied. regards, Henning Am Sat, 17 Aug 2019 22:21:48 +0200 schrieb Thomas Gleixner : > On Fri, 16 Aug 2019, Guenter Roeck wrote: > > On Fri, Aug 16, 2019 at 12:22:22PM +0200, Thomas Gleixner wrote: > > > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > > > index 75fea0d48c0e..625627b1457c 100644 > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x86/kernel/process.c > > > @@ -601,6 +601,7 @@ void stop_this_cpu(void *dummy) > > > /* > > > * Remove this CPU: > > > */ > > > + set_cpu_active(smp_processor_id(), false); > > > set_cpu_online(smp_processor_id(), false); > > > disable_local_APIC(); > > > mcheck_cpu_clear(this_cpu_ptr(&cpu_info)); > > > > > No luck. The problem is still seen with this patch applied on top of > > the mainline kernel (commit a69e90512d9def6). > > Yeah, was a bit too naive .... > > We actually need to do the full cpuhotplug dance for a regular > reboot. In the panic case, there is nothing we can do about. I'll > have a look tomorrow. > > Thanks, > > tglx