Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1342211lqp; Fri, 22 Mar 2024 11:56:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlm8bElnpgPT1hK9YpmlNxnyM815pz/b/7Owa2spJ1dPA9J9YhNecZ6dVXesZPaJICxpaKhY/pE99gQ1XyhG8xBM9s+J4Zpf49Gis5rg== X-Google-Smtp-Source: AGHT+IEORIQCpLI2gPgKjtzqpyJs/DdmPBKkStosNfFnP2Vveq5enRt8S7Y+GjBWtCXeXoLj8P+H X-Received: by 2002:ac2:514a:0:b0:514:b7ff:95d9 with SMTP id q10-20020ac2514a000000b00514b7ff95d9mr228685lfd.22.1711133808100; Fri, 22 Mar 2024 11:56:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711133808; cv=pass; d=google.com; s=arc-20160816; b=X6g/gWqF79oX2Mi4PqjcCJEvXgYTZvss4N0UJzVc9t9wjTSpvymw5m4JaBF+qJylQx h9bcbFd7ieLTmiRaB8b6Y+kejKDwLrbdBLw+LGZ82V6OUjdQy6RyQkN7X729snLVHSZy qHDhvfEsQjC9wH9+gf1ribernkNZ8x/gWNW1wUwqfK00e75X9n+11OvfACyjwQLGifCz LevZAXDNJXi+rADk80E2OUreKMZqQT12pMq9lYOZZsvJmJEeU3g53L6Ry7kOgQQNaKuZ gMZ8g0hTko/9rmbQnlTdMOXFCi+b2FiymqfwNX/NRlWm2U6G/oxvplEoW8Zb3yQnPaNw 6jfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:date:subject:cc :to:from:dkim-signature:dkim-signature:message-id; bh=OTy3h54e1kGT4Ez3ZfvdwcV/kPM9OYqTCCZrrVK+Uko=; fh=tUdGdByweHVV+wXw6qzBGm3LKsVsTQuKsQmaC89g1W4=; b=ZnVcW9UZO/VQkWuWP/Q1XyioTa+1Ij+sA0kydy9SMQac0Q0ahxhrn/IiZFbb3oanpH S5JleaQo1Vo/BzzkpYlejvKsag9BMJkWjGkNtThFYxsges3xEaxecWumtfL6kyAyTZ1U Q6jVOrpxfYWbEj8J7uAzVinJ/qF3yk4eNxbrki1nmz4lPuEMFPRnIGe5CPHAztIcHdTl RQSNnfxdn0tAh8XdWTPuCLOudFFjr3JkB5qRelqRbhAyevH/9MIMuAAK/VIwf0TQfBFN wnKZM2NokIqvo20VjfeIRCBfKarE+BMGS6qZNgl8MZ/7RHs7rUyZOGeYkSUfWqZcQLV8 uxzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MGeeBfB7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-111968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id um12-20020a170906cf8c00b00a46cbe5285dsi86375ejb.813.2024.03.22.11.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 11:56:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MGeeBfB7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-111968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 8E9F91F22B50 for ; Fri, 22 Mar 2024 18:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CD3476054; Fri, 22 Mar 2024 18:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MGeeBfB7"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HoBKkMlj" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 078147603E for ; Fri, 22 Mar 2024 18:56:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711133798; cv=none; b=YohNEdqvwxSNz+0Ng15fa0S+tqhHpNa6AWu9CRR94SUyAWLHUWDPwiWjF1WLcMJfWvFcki55HBHMsGT9JExztThZE84k+MJ/NagOeD/+tOiresUDZmoAJg7HCVp5sXR8caFm3VupKdHUY6vZqfnou/2n7WzOzn/Zjej10h4+oog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711133798; c=relaxed/simple; bh=L6JelVHvG2IqQvcLh08kyCpVpbp02m6DvQr4OiXJJQI=; h=Message-ID:From:To:Cc:Subject:Date; b=t+/fDarEUpibwuzcPUEGtGjUgoE3m8fFyGAAtmiX2+ULCaIV79Nau0nR68eUZgw5359UrnPZEIA32kRzYT0KPftryGCSqXIsturCgxxla9Vr9C9ZLPJou1+pWxFTn23FgYd6fOTEWBziaLp+6JRAs6dY9OabBqvcI/uuNfvGxs4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MGeeBfB7; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HoBKkMlj; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: <20240322184944.141421692@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711133795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=OTy3h54e1kGT4Ez3ZfvdwcV/kPM9OYqTCCZrrVK+Uko=; b=MGeeBfB7uSymtvWV3JxhHu9DhkxDHdsrgSBr/3nXTe1oyUTaGaOUbLEXAmmyyGPCY249JF G1ubxrJrq9UisD1maeYpt3i3sm8fQMc1AtqZvPahQ3SMDoeoP1vs5sn08mWtnzoPISHnKC l1B2Aqjaq5278wrvX6pkbgXMTTQbTnVr44NcLP7VI2xsi6YmjmVXrG8NoCKfAyDQ6/uPKU O5Y9oM9h2xvX2DMp977xsG/7u83wRHVHHBHQMslSjT8D9cOrrDuySapcHkswANYc0aUGjW AkhJeoFiV9Oz4Uq8eqWoJZVT7l+cPxpxGFHiYU/ncovYBrApw9iItvOeY7YonA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711133795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=OTy3h54e1kGT4Ez3ZfvdwcV/kPM9OYqTCCZrrVK+Uko=; b=HoBKkMlj/cLz3W+1kZCJ1bWAFqVMqqp5AR7vw1c3yS6XeVBxI57VheoyYnWz5cr143Q8+8 lD6oFU+QOlESi+BA== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Guenter Roeck , Linus Torvalds Subject: [patch 0/4] x86/topology: Cure fallout Date: Fri, 22 Mar 2024 19:56:34 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Guenter reported a crash on UP which was caused by the per CPU rework and this unearthed a few other issues in the new topology evaluation code: https://lore.kernel.org/all/e20d88d0-5fb9-4307-be67-88b04ae9a188@roeck-us.net/ The following series addresses it. It is based on Linus tree and also available from git: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/core Thanks, tglx --- arch/x86/kernel/cpu/common.c | 9 +++++++++ arch/x86/kernel/cpu/topology.c | 11 +++++++++++ arch/x86/kernel/cpu/topology_common.c | 12 +++++++----- arch/x86/kernel/mpparse.c | 10 +++++----- arch/x86/kernel/setup.c | 10 ---------- arch/x86/kernel/smpboot.c | 32 +++++--------------------------- 6 files changed, 37 insertions(+), 47 deletions(-)