Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1178839rdb; Fri, 16 Feb 2024 07:35:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUSWrZfdmq0m5IIIXiX02zolbhkQ//pxfD7Ddh1LLho/efEXwmF7+Rcj6QxchcTDRQIc9lbaUovU/MHIEHzdYP3xAeuGJHG7FOyn9VTfQ== X-Google-Smtp-Source: AGHT+IH7DMyIJwoDBx1X50nZGwR4c3Bb2ClcnG66zfhMOyS/44vQhx0ejcEpafZD31ul1mxto1uw X-Received: by 2002:a05:6e02:170a:b0:365:1685:c65d with SMTP id u10-20020a056e02170a00b003651685c65dmr278234ill.10.1708097722944; Fri, 16 Feb 2024 07:35:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097722; cv=pass; d=google.com; s=arc-20160816; b=pvJjfIdfzslYjyxgJUW6SEAtYM1EIpZE2Fg8OJomZyTqWgqZi/u8e3/itg/bKomTys VAxNIo+YPS2bcZJK/jjNsTa4zHRRjWgkZu384+MNVhnVHf4PS6Owk3BAQPwtOBeXGvCK DlZ4ax1Ild4l0A3kAN/HioF/jRuPQKuZ41oek2udoB7UT8pafnUU1y5PgEPgzgLvR5vz qrtXH8EdfMndnvmF9bwSKmYw+lgq9MBKRyz9KaGIgIRpcaljS8dVfBuAR7kbYrEC833W 1ewzGNQrWKu5ll1fQ8HUKoe1jYtd20rLvzHtYNnBsHcaHwty2XjEpIvENPHrcvSGLHMR yhbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=HfYsugg5on+ACsZdxXXf8cD7R5sMllkQzwF0wt1kLcY=; fh=bKFZC7eFAaoHEVJ40HlAwnrPNXnqvg4zDQ5eWTP23JU=; b=BEzeqANn/l/zuo8AswXhlXzmMXCcwDQ8ni6YcC/PyHCZsNz1ZzVanhhaOfLS00sLGd /dadS//GFjfPEeDNAVLmyPDoseVkt9R7SmqmTE0h3dUAMzxvzEsB8Cm7fSSzP6PSn3z8 0s9DP8ogAoAFkGMNnnWZFsRumzQX2+B91VILwOD/EKI5Rer3dozd32AAiSPYdMv03uo3 mx2jj43GF7Q7xF6xAxi/YZiGvBAMyvn1FWkXfHaPeHx5+Tfug2lzUoxJutP9v67q6e7r liuVYi3zYaT70uLpYKgZj9QcngjutuUUJrS40O8lZ8VtXr330MeNZosJ8c1iNVm1rtLU 2/mQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MrNgT+Ty; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=mvSsCX3W; 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-68842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l22-20020a656816000000b005ce0a1164aesi33275pgt.616.2024.02.16.07.35.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:35:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MrNgT+Ty; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=mvSsCX3W; 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-68842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68842-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F38EB249D6 for ; Fri, 16 Feb 2024 15:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8A53146001; Fri, 16 Feb 2024 15:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MrNgT+Ty"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="mvSsCX3W" 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 9FD8114C5AB; Fri, 16 Feb 2024 15:17:27 +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=1708096649; cv=none; b=usi+7//ktID1NhapRpe3zuAiYXPdR3/HILl7X/h11cn62tjSiQpiCxuwjPx0RZKYJgaFftwyzpl7DGHCtnAGv9bXBzJzODnce5qKKJZLGovGLTZ3reNbMyE4zYWtHI+sDG3FobRH5n+U3p6cRvZ+8uYQl0dsdCtlllEYlDbw2F8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096649; c=relaxed/simple; bh=MQs4Sxt3kgCW9f39A48G8wZuyE2036JcE1LffFF5VQM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=WzKsCj4+Mp/Cuqw7XKGKSim2byjVjS/qpClZTAQ/sHZbCArLy8SA7QBYKR1EVfwcKngsLvjwi49Mfb+38VnZUN+n2T6NQcVJYXySUyY0Du+CHth2FO3T0CrGyADVDKzbXGun00d+J5vzfgxPICCO4JL2WGvr5WXzVO2FKPI9S/w= 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=MrNgT+Ty; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=mvSsCX3W; 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 Date: Fri, 16 Feb 2024 15:17:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708096646; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HfYsugg5on+ACsZdxXXf8cD7R5sMllkQzwF0wt1kLcY=; b=MrNgT+TyyTIYVnufNDXeLjPo0XlnhfI8dbzCh/Stcex+SsDoTG3H/o0gPs2uSZrTqjm0Xn 7jWA9yLcW79ctyNB22ZM/4kY3MfMd4quQHSBm0nb1BoKCEEZEsWpVlkHjJrEV7sHNbrP4K T3q8Cv/0bIHfegQvkzS5oXj/jV6f5cYlHjeiG1S0w4cSQaewB7VSalQB0BhEMYbJ1LgQvk /aMoTtdC9T9K5BQvT6y8o44MLAa/Jn1HUeCauu37YHQnCZK59K9S1J1n4zbVq202jpVUWw x6VxTN4tQ/IHKFs4sYTRT1742rPy70zS11gCmIbC8nTqMc0eW/4YJkBYBVY/ZA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708096646; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HfYsugg5on+ACsZdxXXf8cD7R5sMllkQzwF0wt1kLcY=; b=mvSsCX3WKAXVdKk85uCPAmhYXqBS/d6ps/yJZaw6oIhefUNG0phHj+6gZyznbLiQcMoupe adWCtqdTQeLucTCw== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/apic] x86/xen/smp_pv: Remove cpudata fiddling Cc: Thomas Gleixner , Juergen Gross , Sohil Mehta , Michael Kelley , Zhang Rui , Wang Wendy , K Prateek Nayak , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240212153625.576579177@linutronix.de> References: <20240212153625.576579177@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170809664543.398.14970045765304774752.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/apic branch of tip: Commit-ID: d5474e4d2c91b3f27864e9898f7f6e49daf26d93 Gitweb: https://git.kernel.org/tip/d5474e4d2c91b3f27864e9898f7f6e49daf26d93 Author: Thomas Gleixner AuthorDate: Tue, 13 Feb 2024 22:04:24 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 15 Feb 2024 22:07:38 +01:00 x86/xen/smp_pv: Remove cpudata fiddling The new topology CPUID parser installs already fake topology for XEN/PV, which ends up with cpuinfo::max_cores = 1. Signed-off-by: Thomas Gleixner Tested-by: Juergen Gross Tested-by: Sohil Mehta Tested-by: Michael Kelley Tested-by: Zhang Rui Tested-by: Wang Wendy Tested-by: K Prateek Nayak Link: https://lore.kernel.org/r/20240212153625.576579177@linutronix.de --- arch/x86/xen/smp_pv.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c index a0f07bb..3ae29c2 100644 --- a/arch/x86/xen/smp_pv.c +++ b/arch/x86/xen/smp_pv.c @@ -73,7 +73,6 @@ static void cpu_bringup(void) } cpu = smp_processor_id(); smp_store_cpu_info(cpu); - cpu_data(cpu).x86_max_cores = 1; set_cpu_sibling_map(cpu); speculative_store_bypass_ht_init(); @@ -224,8 +223,6 @@ static void __init xen_pv_smp_prepare_cpus(unsigned int max_cpus) smp_prepare_cpus_common(); - cpu_data(0).x86_max_cores = 1; - speculative_store_bypass_ht_init(); xen_pmu_init(0);