Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp326641lqg; Thu, 11 Apr 2024 04:28:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2HuydDv/9NdnOZZpUtdwfLybg+BRzH9aGQiCVYMRNApLb695IpYkqVlUNbVZC+zCJ91PcJIGTIIFEZ+X9F8alZ5IFWq1Xg9DNhDIT+Q== X-Google-Smtp-Source: AGHT+IFfFNAAvxFG3GBNDZV5ysSAEa7C6wHxSU3NxdtB+kSDatxDaRyCgeoiR5qiWkxg6nP7X+by X-Received: by 2002:a17:902:8603:b0:1e4:8870:7758 with SMTP id f3-20020a170902860300b001e488707758mr4494548plo.39.1712834902239; Thu, 11 Apr 2024 04:28:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712834902; cv=pass; d=google.com; s=arc-20160816; b=Cvyhoj3ONxLgOdBW3CScix9E5YEoPRCx+VpJTk/6O0yZ2SdBU49Q5/bEov0yE+nrLg CfdEEXWxB6dy9nX4EKQB1g0VXuTWKq8hA850Xafivx/WBPMMenWwrcgd4mIjTpLBO1q0 OcqtMmMexKFmRyQbHocsr8zwojyjwi1PVHCG25g/Jd70JiQQkyJ7WJr3zQc4JIai1TX1 sZh8bRdDkpmKkj4XKQMzzmTaJV5uZn9JlDnwKot6orXtUy8pQue/OOWBu6G31hLvrsPE M5Z8jQfm+fseXCd4R6SBTsZlVsIFFJkNYAcW7YnaaP0iWz7nFgRZg1NbPABZOCDfJkbc 9w9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/VESpdyjuCAwkmX54uuIjQMKz7Wp/aJv5kyxTbBuQok=; fh=gTi/ofDtwpml1rHFeguElcTK98KU2qwgZ5unW2SPWg8=; b=cWFdn4uEORuUuuKqNDuknwOIh2B4ThwNr4y6lBWLnJzQr1oGTxwfqX4avWmEpBsZBj JcBsKzMf1pTMTf8OMKKftAFEi0Zd01esI7nxVmgzqLhtTkY+3M9P/AafH6fNP4ab/7xa 21BCg54RNt+9sEKRBGMWWVniiDm6yw414DJ0VDlfbGDp946KBvH7BdlP03TDB2feKyWX AJrm8VP5WfMAA1ZiLl7j2xOQ2jsQxyzByF0zMN1SWsCjsI2op7nbfVFjiFcsZWLzGpRo eQpYxMSmgkSOxRGVcPqL8tLAS7feVRvQvZckNK0DofIC3WhPwt7OsqanvaNwa843CPpF 9TkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vvAFkGBE; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b4-20020a170903228400b001e2b0e6247dsi1181302plh.415.2024.04.11.04.28.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 04:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vvAFkGBE; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DD37F285098 for ; Thu, 11 Apr 2024 11:28:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A249F14A4F8; Thu, 11 Apr 2024 11:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="vvAFkGBE" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 4620D14A4D6 for ; Thu, 11 Apr 2024 11:27:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712834859; cv=none; b=PEGpe1o11JVynILKyq6oCMzuhxEvMUNz+Zz4baNB9wfblZTSQmdTV312xNPvN54SyvYSccSYXFEI5aoVT27L1eYu+k6t96qT+bfXWBlQsXUM3Rz9OutO7N7RMhz4RLdNBniB1DJvCVQRfvjS7J3DBHRtWonmtNPm6JoNOlHUHt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712834859; c=relaxed/simple; bh=6UhPqP7WY/fhmTWWvAmCBusG5RaOuI6S3pgD3LIFLFE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wwk4fnFK0ceZpo4uSSMHxqY2ApDty7CUKAYKRuFtsCjdKo1NNHKrt9k8WjK3loytvwhO0nIfoxfxAmz3vRZEvTHfhFDf2m77NdikZOpeOketiZEHwUcBQXKrt4mM4Cy9SCHqyMnn+C7p92j25CGd4U5ya9IxUo45fUEThpDW1r8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=vvAFkGBE; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712834856; bh=6UhPqP7WY/fhmTWWvAmCBusG5RaOuI6S3pgD3LIFLFE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vvAFkGBE5Cw6eaqOb+YAYcxpW3do2gxI9M1RsF9qcDxPpXHxX+OP4qELGkUjIFYhR i3vbBDyF+A3/l7r6il+C39UPnm0k58MSmbtH6ke2wtJnWnZvAT6eKbyEOh4xN8GYM4 4cdBmBqi+EhPP+YY/pg0Ld6syjD1Ka8RdLH0zb7PE+KNBqGF9cnzJm1VnXaNigZ1bq fPvbkrb6NQJN8SQZ3oXH2GzTJznvpMObR8YT4hHTXwwbxllDzv6aK13O+K4fSQV7td OkSZhukw0RiaIl3QbPaAcCOF5Z4HvNJjWQgHjyLdWKDxsSGtZm+/2UmEpj0YT57VrJ O+rDcEsgzPqkg== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laura.nao) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E155B37820A1; Thu, 11 Apr 2024 11:27:35 +0000 (UTC) From: Laura Nao To: tglx@linutronix.de Cc: kernel@collabora.com, laura.nao@collabora.com, linux-kernel@vger.kernel.org, regressions@leemhuis.info, regressions@lists.linux.dev, x86@kernel.org, "kernelci.org bot" Subject: Re: [patch 0/2] x86/cpu/amd: Fixup the topology rework fallout Date: Thu, 11 Apr 2024 13:27:43 +0200 Message-Id: <20240411112743.232798-1-laura.nao@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240410194002.909839385@linutronix.de> References: <20240410194002.909839385@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Thomas, On 4/10/24 21:45, Thomas Gleixner wrote: > Testing at Collabora unearthed two issues in the new AMD topology parser > code: > > 1) The CPUID 0x80000008 parser initializes the wrong topology domain > level. > > 2) The NODEID_MSR parser uses bitfields in a union wrongly which results > in reading out the wrong value and finally in a division by zero. > > Many thanks to Laura for helping to debug this issue. > > tglx > > Thanks a lot for investigating and solving the issue! I confirm that with this series applied the kernel boots correctly on all three AMD Stoney Ridge Chromebooks that were affected by the regression. I tested the patches on top of c749ce39 (culprit commit identified by the bisection) - reference test job: https://lava.collabora.dev/scheduler/job/13339645 The series doesn't apply directly to next, but I manually applied the changes on top of next-20240411 and can confirm the kernel boots correctly with this revision too - reference test job: https://lava.collabora.dev/scheduler/job/13340321 The regression was originally reported by KernelCI, so: Reported-by: "kernelci.org bot" Tested-by: Laura Nao I'll make sure to update the Regzbot tag when the series is merged. Best, Laura