From patchwork Fri Feb 16 15:17:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 202193 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp589481dyb; Fri, 16 Feb 2024 07:28:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXAUzpmwBZr5tXaWEOViXEdhf/HLtXgLlBWCrjyD3dHaYGshDNggav7pxW7xe0tXIElL/b8DkT0TMIYwa1IYoK9JHy0oA== X-Google-Smtp-Source: AGHT+IH1EmMlb5WMVhbn2+3hCUy32/tp6hHtYDmW6Tbos/FBcdKX7GqVEhIAGE0BJFad2JTpc0Ae X-Received: by 2002:a17:90a:c296:b0:299:3b8b:af8c with SMTP id f22-20020a17090ac29600b002993b8baf8cmr1492590pjt.34.1708097283837; Fri, 16 Feb 2024 07:28:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097283; cv=pass; d=google.com; s=arc-20160816; b=aI8woitnH7SR62bgH4sX5E1u4W7b7x7aG4bY2GIl1p7qMIlzFm8B0it/0J/dyi7Wnq Y9xKt2vXEkoDV+BV/7qHPvP7zhqnvGS8wC8M6r2T16lfv47MP3TPDMyyxf3xxrh1sIL2 9TbhnL8bFP147zPIKyAsQuym14+sPQWvBuQ0Ac3bxX7T4FnHHtDCOqUMid9C1fYxGYcq qFxBWC7X7rx+Aq6Jd3fLh15qmu110STlvKjs1jpczBjFohwZneT+zYRzJ5qaenJqvoUg 9vrvXjwgd4/Z/gQpB5vpnqcHulWfkEK5Q8Cpo/dF/TSZZ3ZnfyH3LN3E3VC4J0Nye4sh ApqA== 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=KwNwCQt4ZVuTypbVsBSMWfLlHk0glqJObtImo6yj+eU=; fh=HfXWoIhgCc+vt39DMIJv/Ec0aAKnw0eFA8QxuIQTUoQ=; b=P6myN1tpNMtRp7w1W/RSyDl2mSMRfO3DTH+HhDqELYa8A1kT72CYXh1akTA0+TTlgR w+2y2EIgRiXrwCj39DLUDn6Mc1Ah1sysgrlgiloyshwP53R2kXBxJYbI/y+MYj5JAsF+ A7vHAma0ZaNdY9Wlf7e0ip2bCG2kF+WEKgi3ujfvvWnJGeWTrJTqBB/+cVYwXRsVjue6 0NbvR698tuU3EFy7N9gllaAFVqVjxPcdfOcTaatt31Ol6xV7imujicEIDt/VyGpJDdDO jURR68rYX0NdiNIUDEGqwCd653i+nbY7pI2LCI4g0qmTL9y7QiRPbpGcZ/4ng5+l1Ivc vHdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fbmX1Pjz; 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-68815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68815-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id om4-20020a17090b3a8400b00298f693c1f9si121533pjb.32.2024.02.16.07.28.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:28:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fbmX1Pjz; 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-68815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68815-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E209EB21C1C for ; Fri, 16 Feb 2024 15:22:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DAB2D12FB1D; Fri, 16 Feb 2024 15:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="fbmX1Pjz"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="au5Pbws9" 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 8D365135A6A; Fri, 16 Feb 2024 15:17:08 +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=1708096630; cv=none; b=PRJCt2ETOT3WGcoHMAsF8s2X5hP1Ml1Jnu6GphpcgaeQMxTaN0Im8eEZn/pJvxPIFZQ/sBMLql55mZddLmhqEjPwEGJDlLwVTuiksKBd8vMDkihPbKNodmw25GqzG0bVxyiDhnC2Llwsp5eALtG2zI3SPjTeMkMVbErIwhuOwq8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096630; c=relaxed/simple; bh=reeE0IXgN5cS+pbrBjwrRWeryJNTK2tDGL+DxHmgEaA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=N0JcRDFr758csOsgaYvs+bNZDbcmJbWO92L8y+YSf9G2PJbbSO2cyi/BvsmlVMI0SEd1KKfR+k3WRwZl8/hIhJe37R8+I9IV760YwhIFmVh+ebTNdJaXNkXvZwl/4feDMnHFXbOcDppLS4mcV4AngM8UvLlmrfgeizT58E3E3I0= 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=fbmX1Pjz; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=au5Pbws9; 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:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708096627; 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=KwNwCQt4ZVuTypbVsBSMWfLlHk0glqJObtImo6yj+eU=; b=fbmX1PjzKlQ/P5iRJ9Yh1cDjpKAc0ArrFupUfgS+m+o7GZdnUH60Wca7ettUC5bS+J7wsl bWV7km4tEQ+cPuM/UC480zAkkypmwrQ7hBPEpDFvENVzf3k9AMOv5tuJ4wEJdAhfji2H86 a0FEgL2hW/YOUktL+Z3ly+gNSP0RVs+Q2zkWNw5bngM1FXmFRtx/V67l0Q5Us0VIbJzC+L 5xxZ4jIvQI0w5Y8NyMyleeLHN9YZTobxazIBS5FKRik9yeTAb6YVoddjQ9w2jSOkLeYc+5 Tz6lNETW10yAgG2igz+TmIME9dDD+ro59TQDQW8ajDc4gDuousiSBVqbXV0kFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708096627; 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=KwNwCQt4ZVuTypbVsBSMWfLlHk0glqJObtImo6yj+eU=; b=au5Pbws9J294u1dXNfDGFdafvhV/3aEFEkt90aYXz/wQzrtggwdy00HID1xGghBfpxPJWn qmxLKuqjC28VyyAg== 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/of: Use new APIC registration functions Cc: Thomas Gleixner , Michael Kelley , Sohil Mehta , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240213210251.776009244@linutronix.de> References: <20240213210251.776009244@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170809662632.398.13034441289371547401.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790819940109409048 X-GMAIL-MSGID: 1791069817366494518 The following commit has been merged into the x86/apic branch of tip: Commit-ID: 7d319c0fcae68e489fcf806cdea46a795062eaf7 Gitweb: https://git.kernel.org/tip/7d319c0fcae68e489fcf806cdea46a795062eaf7 Author: Thomas Gleixner AuthorDate: Tue, 13 Feb 2024 22:05:40 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 15 Feb 2024 22:07:42 +01:00 x86/of: Use new APIC registration functions No functional change intended. Signed-off-by: Thomas Gleixner Tested-by: Michael Kelley Tested-by: Sohil Mehta Link: https://lore.kernel.org/r/20240213210251.776009244@linutronix.de --- arch/x86/kernel/devicetree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index c05b900..4aeafe6 100644 --- 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); } }