Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp417328lqz; Sat, 30 Mar 2024 02:17:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbgtwFZYwu/lvwCFBPAnxnielSZmasGeNH1+1UWcnCj/N12G60WNlvXxSe4KCuuaaslAJRafF9GCYiZqID8TVShqcbuc2kCpPzb1i4PQ== X-Google-Smtp-Source: AGHT+IHL64vtOy4JVCd99ygUU0OtCmcxiR70PtkAemq53XqHxycoQUkkQIeHZKCvlIYhSGcAj0PJ X-Received: by 2002:a05:6402:35d6:b0:56d:c3f9:b8eb with SMTP id z22-20020a05640235d600b0056dc3f9b8ebmr501765edc.12.1711790244344; Sat, 30 Mar 2024 02:17:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711790244; cv=pass; d=google.com; s=arc-20160816; b=g3UL+LHSqib5ff1N50ao5/4RJAresHjVY3EsJywRjNgfR6GVCHeFBC2Nppg3RUMBrK woSjym14lhMBH3o0ubwUJV+FLi8p3/egtKEI7gTY3nkO5fDHJn3fAlqznq6v/+cYdYah Zna0usOYAmf0QUoLcL4O+ej3FwRosWOkdwcpwQuD9l6UM/mye7BX/Rns3PARH5h2rsni KynFbbECM9CBSVA8oyekugzuBxRgU5wlvFbfQtLUQV1uQSGNR/DncIKqMVyXTlWXr/9T a0syy3ccqqP4qCFk1PYJgrTZdTxxU3qqHCjTn3dCdK7FFJb9H1rbZnFEdLs1EM9Jj4JG gTjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=/mhpK7cMvkSIkKaWzItraRPcybJp/qChOJB5FME0Oy0=; fh=2Wia+q4dNzvPfk8Yll8a3aT8a3X1YcLEXpQbv+cQ1HI=; b=K1aerBx6ARzEdUGGQ30G4lgUnIAoJDpUn4ARAjm+EVpk0YPZxU1xPEtod9igjbAQw+ sV8yrVbaIewgmSnYjskOKL1uPUD82R63kM0BqvQDhanWeanEkZ0JQyYkLqFqL8x6SS4L lrR3fKJqCaZIPYTUPQKHCABt8DKq/o6CiFnWpESQk7i5nhAh2QSXk/FZJFwylL1oOw3v H8kjyGSj6mniO+tcYwOxZQK51duLm5jzESUEMn3C6QfzQpqkCk2fJq/9S+wPScu5CaCG 0lTNo3SWPtd7K7CanELdt1sS7Pk0NZN9W5h51VP8MwlsHO2oE3JnJiQdOvSneSAYe/MG 67PA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=bYitXpzg; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-125642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125642-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r19-20020a056402235300b0056c2c3bcc9esi2669893eda.204.2024.03.30.02.17.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:17:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125642-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=@ravnborg.org header.s=rsa2 header.b=bYitXpzg; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-125642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125642-linux.lists.archive=gmail.com@vger.kernel.org" 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 E48B01F21E2F for ; Sat, 30 Mar 2024 09:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9178C154; Sat, 30 Mar 2024 09:17:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="bYitXpzg"; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="YyUcNGh8" Received: from mailrelay5-1.pub.mailoutpod2-cph3.one.com (mailrelay5-1.pub.mailoutpod2-cph3.one.com [46.30.211.180]) (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 BDC1033D0 for ; Sat, 30 Mar 2024 09:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.211.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711790236; cv=none; b=dSPDnUZqa9JPXIqw7W8XBrw2EaAgiuwlpA2JmeXi02tUah08gkSb5W/eSgFRzp9qje5ErWx7Xcpl30nPQ2W8P0KaA1Q3lkHJ1l555zB+urMkfAot4qjIugssGBoNG2J2PRTEleN93ArjR8QbF87hbQ99AnLBUUkpVHoBjZJ1CAI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711790236; c=relaxed/simple; bh=4yCpOsncwsjmF7Gb9PqlOTig4TQC6m97ufbASYA4VrI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hJeprP9L2jqW+WNkIRbqnSd4ctroEejBfo6V4Sni8gNi9uDjhEMMvOG8juBRxBwiehYDfFq24fWrALC9p0vQ2U8O/AYUtkldVHjYb2ueqbtiIwsaTyTokMjY82t6k0QV5az7ZQ6p3B5HIHWq+0cCAWZLKmqPxOa/uf2wiaowjgQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org; spf=none smtp.mailfrom=ravnborg.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=bYitXpzg; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=YyUcNGh8; arc=none smtp.client-ip=46.30.211.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ravnborg.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=/mhpK7cMvkSIkKaWzItraRPcybJp/qChOJB5FME0Oy0=; b=bYitXpzgV0X8hkAiH7Oc9oyyp16nkEmYUjgtrQJ8JTwsZ30MjpFYDY4pM7S0TdBOL64Fe3oT78tWn r/UsUybpsmbJpdzoYDMp0MsNf0Jj2UnJ5X6wt4tE8HUsOsYaYl9iFlVisFjVoSnpUvKz5OKeyBRRQw LozuIQsu1ezgMT3RjMhrCzQduUuFvFXao5Gf649JI2zBelVN+BM/+HA+8fy6W7VFbf5LWUqflweOvb RhSlwE2e9WSO/KjDkSK6TSOasnwsZekrpmnIrMmPVnzfCRAVgzi4jW4Yyh5CBa0g/O/4rZITdvzGf1 Fu5j8vXpeMfccDo5pvFMHIviOLyYFRQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=/mhpK7cMvkSIkKaWzItraRPcybJp/qChOJB5FME0Oy0=; b=YyUcNGh8sEeSweAntykWQGuUlOERhyDOoKAbUkzhtUoznwfXfn8WTuE03pdG3G0+ar3RnJCE8kGwQ ihu/RiMBQ== X-HalOne-ID: 20560aca-ee76-11ee-99ae-657a30c718c6 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay5.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 20560aca-ee76-11ee-99ae-657a30c718c6; Sat, 30 Mar 2024 09:16:02 +0000 (UTC) Date: Sat, 30 Mar 2024 10:16:01 +0100 From: Sam Ravnborg To: Nick Bowler Cc: Linus Torvalds , linux-kernel@vger.kernel.org, "David S. Miller" , sparclinux@vger.kernel.org, Andreas Larsson , Linux regressions mailing list Subject: Re: PROBLEM: Only one CPU active on Ultra 60 since ~4.8 (regression) Message-ID: <20240330091601.GA128565@ravnborg.org> References: <1df92fec-7f57-5080-94ed-b149ed384280@leemhuis.info> <14dcd743-144a-9f7b-849c-0843d50e4c04@draconx.ca> <4dce7447-678d-4e60-b76e-b01988bd6515@leemhuis.info> <943c6d11-e214-43c8-8813-8e1aba6be15c@draconx.ca> <20240329094456.GA44268@ravnborg.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Mar 29, 2024 at 04:11:06PM -0400, Nick Bowler wrote: > Hi Sam, > > On 2024-03-29 05:44, Sam Ravnborg wrote: > > I took a look at this and may have a fix. Could you try the following > > patch. It builds - but I have not tested it. > > With this patch applied on top of 6.9-rc1, both CPUs appear to come up: > > % cat /proc/cpuinfo > [...] > ncpus probed : 2 > ncpus active : 2 > [...] > State: > CPU0: online > CPU2: online Thanks, I will add a Tested-by: Nick Bowler and submit the patch properly along with a few other sparc64 related fixes. Sam