From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752525AbeEQP7u (ORCPT ); Thu, 17 May 2018 11:59:50 -0400 Received: from mail1.microway.com ([50.245.10.177]:45574 "EHLO microway.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751047AbeEQP7s (ORCPT ); Thu, 17 May 2018 11:59:48 -0400 Subject: Re: [bisected] rcu_sched detected stalls - 4.15 or newer kernel with some Xeon skylake CPUs and extended APIC To: Thomas Gleixner Cc: Linux Kernel Mailing List References: <831e8a53-05d1-edfb-6287-fecfba22b8bd@microway.com> From: Rick Warner Message-ID: Date: Thu, 17 May 2018 11:59:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Success! This resolved the issue.  Thanks Thomas! Rick On 05/17/18 08:36, Thomas Gleixner wrote: > Rick, > > On Wed, 16 May 2018, Rick Warner wrote: > >> I've attached the dmesg output with the kernel parameter and supplied patch. > Thanks for providing the data. I think I know what's wrong here. Does the > patch below fix your problem? > > While you test, I go looking for a big brown paperbag. > > Thanks, > > tglx > > 8<---------------- > > --- a/arch/x86/kernel/apic/x2apic_cluster.c > +++ b/arch/x86/kernel/apic/x2apic_cluster.c > @@ -124,6 +124,7 @@ static void init_x2apic_ldr(void) > goto update; > } > cmsk = cluster_hotplug_mask; > + cmsk->clusterid = cluster; > cluster_hotplug_mask = NULL; > update: > this_cpu_write(cluster_masks, cmsk);