Received: by 2002:a05:7208:31d3:b0:81:e143:7c29 with SMTP id v19csp414571rbd; Fri, 5 Apr 2024 08:11:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+sWc5gF1KMBmDFyWvJZKK9ZkILMxIL9pOjH9Xm/js9xLXz/axwNoADJXV5C7L3f5QjzlkhIKft1cw9MuNwrbhxfdeVqzL9ZhSl99VhQ== X-Google-Smtp-Source: AGHT+IF/6RpqhLJ07dk/A+Wn5x5RGUTqiJ+ahNOn92+nPF6DjNjWQhPTzWvZ4qcF8st9122kAG8u X-Received: by 2002:a17:906:af7b:b0:a46:1d4b:d81 with SMTP id os27-20020a170906af7b00b00a461d4b0d81mr1193601ejb.62.1712329916736; Fri, 05 Apr 2024 08:11:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712329916; cv=pass; d=google.com; s=arc-20160816; b=ldYF8s2dQvEEu5XXgQHTPKCOVd3BMiiDF3nUYM7Qz7kTSAkXKcy+GwsaSpXVGLzSdW RWsYuU7eEeFg8SzzEsLjjqPr4rDdAzzRZ9356CvkwhSdwrvRT6WP4fcFe+s+cC66zLLh nQc86QGvKa78nyrPWv7n8woaNhcFm62kXXgKrtZfx4in5UjfKYSjnx4cCKkKeKywB+i4 lNy7ZkUyqIJmF2L+dBdWT4KRlowBli+bO7WQo+o3SgxUdwQ9UAjjYF6xfaKk4pzEOm0K 2fiGF50Hl7ws678rt8hfbXEj0lc93P+7kzzwSuGLbZQdgCD2THm21E24bhsygVf29mJ4 DJ4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=6CbXOq/C6yEQwlReHz1yEL3Ba6l2jK2jJJv8AXL2LzE=; fh=wwCDf+VDfY79LM2JqgEkrJM7c7q1MvBx3e7Ul1E2f1o=; b=OX5iRDnPb892yGVSvneESehz6fjp6ESVxoAEixaeerTPp5uhUjNvaFszmMrnyVwXII F0k2KXiE7S9WdPjxoSRKAhMfoRAnKfpiMBnVUVoub/Nn8838XRKBsUuWEyEIEfBU088k C26i4QWo6noM1fazHbxS1oQgeMB3us3xJ0KoUqt4sZHg+vzUdDxqT9k6KYB9lgT6sQ9w DFrXOUZMOKV87xndV8ZyW5Va1ZYCxuAgyrYbklMlOAFIGlsTPw2zmorghS6VfCNTPWos u3drVCzzhwmfSVrLH03G0Iil9F/+87CkLVmz8A7JH2DVcSJhrkA5vsArurQsnfC2CsGm jA0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=KAAtwnPj; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-133220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id sa5-20020a1709076d0500b00a4e25a2001csi855761ejc.155.2024.04.05.08.11.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:11:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=KAAtwnPj; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-133220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7E8991F23424 for ; Fri, 5 Apr 2024 15:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AF4116F849; Fri, 5 Apr 2024 15:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="KAAtwnPj" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED67F16EBF3; Fri, 5 Apr 2024 15:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329909; cv=none; b=WOXAleSo0wzYr5XT6k6OLpUldrIV6KI+lWvqcq0eV+StQrGXEgXchysBcIPiTEUfSGwT8or5VCDG2lnCsOnSGbGfYEgM+Vg8oR5WFcML7JCK56zcV3e5jYH0da6WY0i8+1dLu9PunhhPpFCS+DOvsnOyOyZTkiKZIS6DtCGYHz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329909; c=relaxed/simple; bh=i/FBrmXeRYRAkZo+w8z9IKfnevF7NzMKdBcR5i1GyaM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F443aVuFKkdkpS12sG8fpctS5fBl3PV0thXZdzFoBFbc4s4fI3OF3vpRKPrpWJhWlDc1clujUyN/b5tXQZCeJZKSxSnyKENfm68UGq7LssYSWYfkDpl3cX9xZuEvXUpeNzT6bRjix9uYasN4GQ26qC+DECIwzMymYQ1gDx4CavM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=KAAtwnPj; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4VB1yQ1vzLz6839; Fri, 5 Apr 2024 17:05:50 +0200 (CEST) Received: from [10.10.15.20] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4VB1yP6kvsz680y; Fri, 5 Apr 2024 17:05:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1712329550; bh=6CbXOq/C6yEQwlReHz1yEL3Ba6l2jK2jJJv8AXL2LzE=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=KAAtwnPjCFUeznelsBSSFkOTTnV258nZcPC+4Ie3DHVGsOl5E2LGvjPvWv8SY0tAu beI/vYsBcUWaA8xVC0CbFQCSwViXKnjvaOHG/5byuWOMgNbyGSkc4G5DN9EPfwTJon 3kMOc8fNBTousHgMdaARXBuvBApkqf6cEEQ+cnLY= Message-ID: <5f022f30-e1f2-46e3-b75b-0cb4b157448e@gaisler.com> Date: Fri, 5 Apr 2024 17:05:49 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: PROBLEM: Only one CPU active on Ultra 60 since ~4.8 (regression) To: Linus Torvalds , Linux regressions mailing list Cc: Nick Bowler , linux-kernel@vger.kernel.org, "David S. Miller" , sparclinux@vger.kernel.org, Sam Ravnborg References: <1df92fec-7f57-5080-94ed-b149ed384280@leemhuis.info> <14dcd743-144a-9f7b-849c-0843d50e4c04@draconx.ca> <4dce7447-678d-4e60-b76e-b01988bd6515@leemhuis.info> Content-Language: en-US From: Andreas Larsson In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-03-28 21:09, Linus Torvalds wrote: > On Thu, 28 Mar 2024 at 12:36, Linux regression tracking (Thorsten > Leemhuis) wrote: >> >> [CCing Linus, in case I say something to his disliking] >> >> On 22.03.24 05:57, Nick Bowler wrote: >>> >>> Just a friendly reminder that this issue still happens on Linux 6.8 and >>> reverting commit 9b2f753ec237 as indicated below is still sufficient to >>> resolve the problem. >> >> FWIW, that commit 9b2f753ec23710 ("sparc64: Fix cpu_possible_mask if >> nr_cpus is set") is from v4.8. Reverting it after all that time might >> easily lead to even bigger trouble. > > I'm definitely not reverting a patch from almost a decade ago as a regression. > > If it took that long to find, it can't be that critical of a regression. > > So yes, let's treat it as a regular bug. And let's bring in Andreas to > the discussion too (although presumably he has seen it on the > sparclinux mailing list). Yes, I am aware and I agree we should treat it as a regular bug. Reverting it as a regression fix would lead to followup issues like canceling the effect of commit ebb99a4c12e4 ("sparc64: Fix irq stack bootmem allocation.") but with misleading comments left in place. Sam's fix looks like a good solution for me to pick up to my for-next branch. Thanks, Andreas