Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp779841ybz; Wed, 22 Apr 2020 07:53:39 -0700 (PDT) X-Google-Smtp-Source: APiQypLgbCZGD8MsDTTqepQBlV2As0fvR7JSLXyAl/cE0lEFhq41NzUs41k/9NiBghxyRmpD0r/v X-Received: by 2002:a17:906:355b:: with SMTP id s27mr27161701eja.184.1587567219089; Wed, 22 Apr 2020 07:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587567219; cv=none; d=google.com; s=arc-20160816; b=YizvLgSGujfMf40JBIFnNRT8L8w3/8ETcYX0RZD4m2biE2wpqcUcZpm5fypdbQ2CZY 2H/n0qpELrQKdQvxwVlM0Wyhj/CYTaqxwlopCIl9fiLKWRBkWh7i1vPfZ5BS1icoxD8W 0nLLH44Rf63FHQANk4wLk/Rk+sk8DsGThQYkSh6m0rdgXSZsT2kCmlnz0SYUtzsJcXFt GBVyFK6NLowIlIkhU48PhTRHlsksP3vNCVnsoiH25pAQD52VIAsMiy9cLRXigExNfB00 edw0GkSy8HQ/tm98vYEbSJGG0ilk+dbD2lu4216PIlOXgKPXVPmxDx/kX4/IdgxafhQZ 75TA== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=gElr2qWpylnc0R16aUbzu4sRn/2eRKy4QTee+ss6Jzk=; b=hMPW9UywP6NdguOEolw5BtHrFJ+16ftYmjbJ6eNZnnn/5cD0qJIcZJyYyAhq1aqMQA FiglqrQ/t3vJN7tW46WQhO9gbJYKlhvan3Ws4aGxclGVNAyqUbBHRi/tjT7SmlZUNUVD 4M5lXqa+X6jdz5N6n8PbMOLS0AKv4cCr3YvJSlq3qjV8+6DQHgbtNd+HCQ+48YH6rkfH /FoxXzktVIay6nV5EpH8dy1yrxXe8HHOyvvtlJAYfHKb9o+iNk5dwsRXyQjLsknFjEx+ ajr4VyVHvf+a4mUmbfyPB71amaBlxBs4NdPHR6OuWClmUy/k5cpZAexYwwo5eFkFdQnJ gJ1Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si3539988edz.258.2020.04.22.07.53.09; Wed, 22 Apr 2020 07:53:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726853AbgDVOtM (ORCPT + 99 others); Wed, 22 Apr 2020 10:49:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:51414 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbgDVOtM (ORCPT ); Wed, 22 Apr 2020 10:49:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9ED44AA55; Wed, 22 Apr 2020 14:49:10 +0000 (UTC) Message-ID: <1587566950.9537.107.camel@suse.cz> Subject: Re: [BISECTED]: Kernel panic (was: Linux 5.7-rc2) From: Giovanni Gherdovich To: Dave Kleikamp , Peter Zijlstra , Linus Torvalds , Harald Arnesen Cc: Ingo Molnar , "Rafael J. Wysocki" , Linux Kernel Mailing List Date: Wed, 22 Apr 2020 16:49:10 +0200 In-Reply-To: <5b9531e1-e0ae-cf5d-84f2-6bbb5c2cd089@oracle.com> References: <428bac87-b6dd-0867-c8f8-622cd606de3e@skogtun.org> <20200421212347.GV2483@worktop.programming.kicks-ass.net> <1587546150.9537.84.camel@suse.cz> <5b9531e1-e0ae-cf5d-84f2-6bbb5c2cd089@oracle.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-04-22 at 09:12 -0500, Dave Kleikamp wrote: > On 4/22/20 4:02 AM, Giovanni Gherdovich wrote: > > Linus, Peter: > > > > the panic seen by Harald Arnesen (and Dave Kleikamp) is unrelated to > > virtualization, and happens on all machines that have a CPU with less than 4 > > physical cores. It's a very serious (and very stupid) bug in the original > > version of my code and is fixed by patch 2/4 "x86, sched: Account for CPUs > > with less than 4 cores in freq. invariance" in the series > > > > https://lore.kernel.org/lkml/20200416054745.740-1-ggherdovich@suse.cz > > > > Harald, Dave: > > > > for peace of mind, can you please share the output of > > > > turbostat --interval 1 sleep 0 > > This is a Lenovo T410. > > turbostat version 20.03.20 - Len Brown > CPUID(0): GenuineIntel 0xb CPUID levels; 0x80000008 xlevels; family:model:stepping 0x6:25:5 (6:37:5) > [...] > cpu0: MSR_TURBO_RATIO_LIMIT: 0x00001416 > 20 * 133.3 = 2666.6 MHz max turbo 2 active cores > 22 * 133.3 = 2933.3 MHz max turbo 1 active cores 2 cores/ 4 threads, reported 4C turbo frequency of zero (i.e. bits 31:24 in MSR_TURBO_RATIO_LIMIT). This is consistent with all other occurrences of this bug that have been reported. Thanks Dave for your reply. Giovanni