From patchwork Tue Feb 13 21:05:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 200632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp812988dyb; Tue, 13 Feb 2024 13:16:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRwK+lITAMADez4aslA178Dty3yqIz8Fu2iuLCJcXzfu/PQEP6JzUpnJZbLS2WeYbu3UiQN1Ih+xnOMv251lgjESPF/A== X-Google-Smtp-Source: AGHT+IGofOIf4w0I22YdbYgWoIOf3yQIRM30oQRZ48SAUsXPvbZFwqCWqtDaM1sZtmImUSaj7CbO X-Received: by 2002:a05:6512:3ba1:b0:511:a0d9:7836 with SMTP id g33-20020a0565123ba100b00511a0d97836mr514833lfv.27.1707858982187; Tue, 13 Feb 2024 13:16:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707858982; cv=pass; d=google.com; s=arc-20160816; b=GiKFRVUKCpaOzmpnRu/8mFtGg8omSZJTIGBkai6FmD073XRhojfpdpwXclN6c62d0Q Ft4ZVX8vxI/bs6LaR+Kv540RcOPHYgYDi4YNlEkLqZmwtcVcvCMO26Fym/+zwJnKY5k4 TWdsDMzOiMj1IRPbGINamT9U+eC/j1rf7LrxLauD38W2S4CCxamfWZO4y5fBQkT/QN6h gaMtdcV5OoLlPWhPZpsdQCvzgOY695ZVSNcrwtQqDdZRyWyKiTfy8yQVl3gU5rg5KgDZ +HqHo15Mcty6taOxHYiDhQFUhZZZz+dQcb30awG8HTJytZ+LMB+Z5f8FtFOqfj9MIHVl o3Jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:subject:cc:to:from:dkim-signature :dkim-signature:message-id; bh=s6fgiMIEgPG7owWaaV7G3Dyc3ZHmfeJa/L4kuQIYeNY=; fh=K6Ey6Tmnl3G2xoNXw9lyskE6SmPzIHL+dhWkDFMCqMc=; b=HW3qT7vtJ87ciJotDEKn6V0eUeDGnr2r0GdKuh3gwzfA9y0gz92q0RjqqOIUfzWowa yXQVB9/RNkqkakpe/f939Co5hgZsM5UsEhdTEo9Sw4Lv2yyUCIk5xManSMWss/oKIYh4 IGBjWpw8ybGXbTn+URq4TmKvFlW/jCd3neL197SgUYcN3TQUaljxDVUBFjJlPSAV0qLr gcAz0xcar7qSxv452IP3QIGBrbLPn+S9Owetbl1Dj1kAQG+Zb/05w/yMO14zsJcRvtXT bsu16q3d6/1CJyqReMGxL2q5OLJfv6zC6ure0lmPeIowkUCHyfaYbQcZ5ltFNm88RfXC EoAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SLxYehef; 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-64290-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64290-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCUPEuqh0WytGA3rEzfVd3QSjZxbjy12NuoZfZGTh0xAAZempRwnaHfK3cfKKPUTRddE3ArPAoI6iEErN96QSbp1C+Swfg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jx17-20020a170906ca5100b00a3ceb4caf6csi1232972ejb.328.2024.02.13.13.16.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:16:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64290-ouuuleilei=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=SLxYehef; 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-64290-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64290-ouuuleilei=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 F18671F216A9 for ; Tue, 13 Feb 2024 21:16:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C8A17C6CE; Tue, 13 Feb 2024 21:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SLxYehef"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="1s+/pqMo" 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 86E5E6281A for ; Tue, 13 Feb 2024 21:05:43 +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=1707858345; cv=none; b=HO0arEU2HIzNDpQyYCoZC7imsxFpoEGGLV2hONB6O7jri/o7ZN6RCfoe1AfPvRZrH4B1xHgSF+h+DEKkPFZ6TpXWV4h+9ITJLPAUSK7IqhR2JFYoh/+PJHXcJZHUjryAEZsMWHReXOCuEDUqUYsp5PCLqIGFP00Uk6Zey9uRSeg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707858345; c=relaxed/simple; bh=H+sFDbIcixHvFwoCWW7yHeVhJ3NEd3vsw/iUdXIypEI=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=lzub9jU/Xgi1x6lwK7Qov0klvDsZvrm/KHZnh7D1u+2WMO2Dns4AgpVGPcQPuoqVnYZgwwiCBAhbwpF9aVjCmUikBu46u7WRe60mFn5SaQbzpK4uzZRk3qdM9Fw82yGaVa9mOlX1ObvjYf3XkVD1O/ViaT8c21Ztxd7BwBp61GA= 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=SLxYehef; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=1s+/pqMo; 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: <20240213210251.776009244@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707858341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=s6fgiMIEgPG7owWaaV7G3Dyc3ZHmfeJa/L4kuQIYeNY=; b=SLxYehefZ3oWP5c9SW7HtdB6e1H2ETs7uQFvNCqJ47Zzdip/Mk7nJ7QsFLuHEzqWlYtLN5 aKnFOaqWhiJGfpo3ec5JM/d0k7FwKniKT7Nrz83UscojjuNV2QrnG/FarjVg2W72JLGl4L LvR+pdUhGhG3rTzjvYlPoz4/hYD1uSOgPZrevKMr9n4BlC9LYkw4SOoh3roe+ZCTYPNA80 KSiSSHs+CtMhq52TRBhleL7BYDt76enW7Td4OI2S2Fml+AZLJRwWC/nwjeoXJ+p4bgKz7i amhQ+MbMAL5SkcdgzpoCNsqCBPXdTPadskjyKoLiSrQoMLN+8wtz3kADKaraBA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707858341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=s6fgiMIEgPG7owWaaV7G3Dyc3ZHmfeJa/L4kuQIYeNY=; b=1s+/pqMo3AlYkf+YkEiiQfhZMvo8yhh6aO2HwAJg0GH4T1VoHGl09WdPxJ7Cg4i9C55qbj L0sN4RBo0iQau3Cw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Sohil Mehta , K Prateek Nayak , Kan Liang , Zhang Rui , "Paul E. McKenney" , Feng Tang , Andy Shevchenko , Michael Kelley , "Peter Zijlstra (Intel)" Subject: [patch 05/30] x86/of: Use new APIC registration functions References: <20240213205415.307029033@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 13 Feb 2024 22:05:40 +0100 (CET) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790819940109409048 X-GMAIL-MSGID: 1790819940109409048 From: Thomas Gleixner No functional change intended. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/devicetree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -136,7 +136,7 @@ static void __init dtb_cpu_setup(void) pr_warn("%pOF: missing local APIC ID\n", dn); continue; } - generic_processor_info(apic_id); + topology_register_apic(apic_id, CPU_ACPIID_INVALID, true); } }