From patchwork Fri Feb 16 15:17:07 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: 202173 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp586230dyb; Fri, 16 Feb 2024 07:22:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnZy5FUW4cV9e7zQNz8QZbEGPC1kqeVWf7+q4Tb2YIvHNtPAKXyPYQxylIS/w/Lhy7FT8xjsPnddOHqF0AGQPkJVhHvw== X-Google-Smtp-Source: AGHT+IF7buopqTfIkZquUusW0Eoa9qARVXu4mSeJokWQUXYqsYSx7dPzkc+9gJpn//D40IeP0RW7 X-Received: by 2002:a62:d452:0:b0:6e1:e25:73f9 with SMTP id u18-20020a62d452000000b006e10e2573f9mr5927483pfl.7.1708096971877; Fri, 16 Feb 2024 07:22:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708096971; cv=pass; d=google.com; s=arc-20160816; b=kZ5ThSQiSohrYMFVK60ypDzZxWdwFclrtmm9CuXN66jCW2ppBe62a3RoflD6xBIYzY 7GWW6pDsJQAnfY5bwRQp7TqxyYRMMzt+VHPlWh5M9TLDaI7yT+PsJlMzCSbbsPVdM91P vmL4aLB3nwmXTbTkezj1JKwfbS+UySho8fx22OjfuXvy1H+5FXoxcVd6tPg1TdgCCXK0 mcJ7rAJNNqzWur/eZApZeXlxG51r8adfC7qtJ9ZMBrufNm8rDx1KQQ7cORTfQM6DBSMb r//jirN9kI6uAgBDAvRuw5huCnrwEm7wTurZKKPNh72xV8OIqJ7ChD644j7HiKOywDYm ovsA== 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=U+WP56T35oaG9qtPO/O/xxIOlhFHajSoEmFhKDDE3Gk=; fh=HfXWoIhgCc+vt39DMIJv/Ec0aAKnw0eFA8QxuIQTUoQ=; b=iLy1OtOQNAnwqWv4OekEmpvjpAgcvYo7Tl9xarg9uGRlT7fy6X2aCJzQQlh9AJL10j 56AGShfYGSA0vGeDbV3hS/13YF2QXMZJODFgbasnH2+jDFNqNp/A8tsE3BEpLcxc12f3 Sqc9JcET1P7RUwDMjC7Of9FVg1yxo0F7WXK3mxzM/MJBd4iC2fVJw7yE0Bc02eI4ZASj AzLKAJvuaXCorNiKoDnCz+cSqRZ81I564qd2ricVYioE/BMlEnjshCGzCaMiyQUPM8C7 3SgnuDWjkoPFpJ8GfHQuG7CYeP/HMMSJkiVlhCIxTAmrP/vPIxmcn7Rj2h/BhLp1F77W UYUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CBeUt+Ic; 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-68816-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68816-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v18-20020aa78512000000b006e13ce606c6si66688pfn.110.2024.02.16.07.22.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:22:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68816-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CBeUt+Ic; 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-68816-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68816-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D0575285F43 for ; Fri, 16 Feb 2024 15:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7498145347; Fri, 16 Feb 2024 15:17:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="CBeUt+Ic"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zv4u1ACl" 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 6371F136988; Fri, 16 Feb 2024 15:17:09 +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=1708096632; cv=none; b=dAfs/TXEKft2L2qZaksH1ALYMlqwqDUbRw5UDHjHwyI0APfhBoZ87yVC/oD7TiThDMMrpb+QsGDUARyZog5hrZDkdUU7i4crj4az8RUDvWpM24eTMoIIJzhjt7sAoBGMcuhD4yXym482gL95f9V7NEENr/UM113rMedJH/Zxonk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096632; c=relaxed/simple; bh=fMSrKV24IISfeLkmj0p/LE9DV6MQTY/zoBgAmx3G1Gg=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=XH9mfyE8JFqL9KPj4QM/b2setDF15P4dW+WrmMUrU6nL08oQCUCtuukxPlnhFNjIfeG5RH0w9Z/MFSPRC0HWLUFWGh+i5FdA7f5s29WDSrWQlNJJAhvxwiM5lRF4glyf/JIocm/BN0/kanaEE3iAR7PCw97ToWuZERlrk/awrTQ= 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=CBeUt+Ic; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zv4u1ACl; 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:07 -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=U+WP56T35oaG9qtPO/O/xxIOlhFHajSoEmFhKDDE3Gk=; b=CBeUt+Icf0iMxgO8R0CdNRaXI0kOYjqq7haMZSr2ndTR3qkZth0boaG/nuQeNJ4XJsoGWJ HB06jFLI0RxmlgqBKACIPMqatsG9LWyOUhxSxm4BPAKPzEIlryCDyi6mI0rgeJB4OKV2yT af7tG6+UFtoUNf3f+SALVveg6NDIwVscxZH7u1NkPClU8kDBpvYUxlncPccxcQ/Z0iqnhg hH1qumeuxHsTtAm3c3IwfMxa9UJAv3Yz9a85WYaEj5dqlSW2zYFwTqVytADJisYIDgSAWd tVX9MFGimBz51sURQJyrar/rdNn58Sd8L2R7VMp0OVdZSmvaSsPPF9pmuu1Zfw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708096628; 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=U+WP56T35oaG9qtPO/O/xxIOlhFHajSoEmFhKDDE3Gk=; b=zv4u1ACl944Bibb7EYLSbO1WUm3zVCipyK/0Az740sbPKB+5YUQ4kyqvhjUSgBPJEvkuZ5 2tA719UqQu1f3jCA== 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/jailhouse: Use new APIC registration function Cc: Thomas Gleixner , Michael Kelley , Sohil Mehta , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240213210251.720970412@linutronix.de> References: <20240213210251.720970412@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170809662719.398.8016500441467651334.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: 1790819946085290357 X-GMAIL-MSGID: 1791069490508067559 The following commit has been merged into the x86/apic branch of tip: Commit-ID: 8cd01c8a68b083e2a0af601c5464e2dfa64f1421 Gitweb: https://git.kernel.org/tip/8cd01c8a68b083e2a0af601c5464e2dfa64f1421 Author: Thomas Gleixner AuthorDate: Tue, 13 Feb 2024 22:05:39 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 15 Feb 2024 22:07:42 +01:00 x86/jailhouse: Use new APIC registration function No functional change intended. Signed-off-by: Thomas Gleixner Tested-by: Michael Kelley Tested-by: Sohil Mehta Link: https://lore.kernel.org/r/20240213210251.720970412@linutronix.de --- arch/x86/kernel/jailhouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index 5128ac8..df33786 100644 --- a/arch/x86/kernel/jailhouse.c +++ b/arch/x86/kernel/jailhouse.c @@ -102,7 +102,7 @@ static void __init jailhouse_parse_smp_config(void) register_lapic_address(0xfee00000); for (cpu = 0; cpu < setup_data.v1.num_cpus; cpu++) - generic_processor_info(setup_data.v1.cpu_ids[cpu]); + topology_register_apic(setup_data.v1.cpu_ids[cpu], CPU_ACPIID_INVALID, true); smp_found_config = 1;