Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp176805rdh; Tue, 13 Feb 2024 13:12:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJ/54U/YkBw0NEq8MRx/WG/EOsxGQpjxNb4TV/IlvVglVNl/mJpH2hOOtkkC5QY9yrFED4v+tfQedIt8JUe+BLdLKFtDHi5A8J4UUktw== X-Google-Smtp-Source: AGHT+IHp5L++B7YmkQ/G/nGMgafJXv9WAYbhToTsxCNuuiv7TNFCVU1QxKV8Tiem583pdIzfakFe X-Received: by 2002:a17:906:3e58:b0:a3d:17be:8745 with SMTP id t24-20020a1709063e5800b00a3d17be8745mr365548eji.2.1707858769497; Tue, 13 Feb 2024 13:12:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707858769; cv=pass; d=google.com; s=arc-20160816; b=Og1iUSn8YfDvDgUyG+jS4u06lenuKXm9P9ibymBOvyZCsI9torpxogz3kfm99x/hz8 pPnefMxKH3/0ygmL5eheMmVAyXQjokIgfHMwVwpgsPvPjhe+61Sa0Yd8ggq7cZiStBk/ PXMojHqOG1SddavWcLS12GpQEpS+e/f7j9+Q2Pe0VCKC3QwZ4mTh3A6MZ9bXaIyX8Rqh WDUSP0Ai+CAwsmxOt/csT1YyqLhHGIcXKpf1dXWc6OhcT8F0LKfLbjjpWn8HTlF6cdJf pDK32iwFo2qvpXWJYNjoB1b154OfIGCS/BLpGbUJmjYMNLt/UaKDwVW+8nUWUgH2YqaH 04jA== 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=K89CMORbjEKKY+pUQ0RBLv6Of1M8KhQqpEbF+zotYIo=; fh=m0zlvTqdBUcrZP1CuoT5BlDcoL4n02JvaGcd1ysL/is=; b=kjvoziT1WgVY4fCXmWuhJoeY/uXrz6wi04fEHj9auHgn6gozvF9iBz/S7f/U4Hj0Uw XP46PVF/Hq/UXTYumktX+gVoF5uYUo/STbJeAxhV0uzxwWzUWkLPbuDCX/NnyJJJ5U+I RPNW7/nB1mbYWreLJPeiAdZojj3QqsiuU8U9fAypkKZquI4ac9wuL/65PXsBWDjLIYJG Na3yZ4jQB/t7AwxbcfJuCKUVCsmaRkEe5rge0zVzi+dONQBfq0jrleJWfs8QbVmcLMS8 ZvvfhIarZ8p3Riqx8fPc5WeANlCRIx/bh+5yVp78+RESKOENp05dvqs+GMoJZE1eYK2+ Rwfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=EsT9Z0Vh; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=10oVLj5h; 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-64277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCUQm0WW1AX+6u3B+opkL79m3iZEtF9UOgDInGNp5bSEKLcqAzTgsq4h1T5eBoFb1ywVbPP69zQOf9Ge/WxTJt4w31BjqW5BmIG4vfIyrw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j4-20020a170906410400b00a3d1e75ce59si510322ejk.218.2024.02.13.13.12.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:12:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=EsT9Z0Vh; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=10oVLj5h; 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-64277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64277-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 444E51F25269 for ; Tue, 13 Feb 2024 21:12:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCB3077655; Tue, 13 Feb 2024 21:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="EsT9Z0Vh"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="10oVLj5h" 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 87C127691C for ; Tue, 13 Feb 2024 21:05:15 +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=1707858317; cv=none; b=UcxGSl6nt/S65vddD4SVC3OYTvdHawd36xuu60qE6kGxaQJljhsU6fw0lvbH3jJ3jj6kMVEa8CuMo2i6EAjBT54Lst0jcAwlihPDI2GPsBic7Zs93lKcsg6jwyyNXc9Z4SZKo+5aX3bOn9SLRplpM9U4plo02wJVAwgDyJSDcgM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707858317; c=relaxed/simple; bh=5HSRVk5h3AkWg+lqq7ttEcP7WRyiUHD3Vc0ApyeScBI=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=rQF/WZYn0RIiY0VsjsHYzNNX5B81XnuJSpYwrWNjF0mCYwZ4jE9AJgEbIOY9sg4Yskjy0vBXV8ByNG9WWGZyF9XaNEUPiNL3Fk926WqXVoR6J22rIRbNT5F+J7j0/WgXCkzibTuEu76XicWDhl9ZTAZr59sqqModM5ZgW0LJR/g= 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=EsT9Z0Vh; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=10oVLj5h; 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: <20240212154639.808238769@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707858313; 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=K89CMORbjEKKY+pUQ0RBLv6Of1M8KhQqpEbF+zotYIo=; b=EsT9Z0VhoZ3THyVDW0T0Y3lkX0VOqMuemxxsh94Dxmvh4g0uJKRDAPiAxnmjKOuRJUhpCq qNTx/2D7c/GvHQhvXUqdSQ8uf6fdvZBga3AYJ8D0O+Mpj++tM6/2Tdc8D3u5qSS2uCGzIs yNUi73/WclEz+/HTinO3du7RnrKmhqVyFeXuI0SSoy04Oi7UKQpdgMFMTOp63gY0Lraqel mQ1FD39ws/bAoL0aouLh5MOSr6ps6zZgvD1RLzfdzlDLW8j7oew4FtNub9vhDhvJiFmxOh RlBbUZn1nvNVN8jVWsyDi/zJ/Bs8FIiWgYYM8gSfh8sU+A7DdnnBPR1hy+NiZA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707858313; 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=K89CMORbjEKKY+pUQ0RBLv6Of1M8KhQqpEbF+zotYIo=; b=10oVLj5hbkN04pOJL2gORds0hxnjAfGlivSFGH1R4tVEvLJ59QLQ/rjiiDqRSr2Whmy22W m1WoKYPemjF5JIAA== 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)" , Andy Shevchenko , Wei Liu Subject: [patch V3 16/22] x86/hyperv/vtl: Prepare for separate mpparse callbacks References: <20240212154529.402604963@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 13 Feb 2024 22:05:13 +0100 (CET) Initialize the new callbacks in preparation for switching the core code. Signed-off-by: Thomas Gleixner --- V5: New patch --- arch/x86/hyperv/hv_vtl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/arch/x86/hyperv/hv_vtl.c +++ b/arch/x86/hyperv/hv_vtl.c @@ -26,7 +26,9 @@ void __init hv_vtl_init_platform(void) x86_init.timers.timer_init = x86_init_noop; /* Avoid searching for BIOS MP tables */ - x86_init.mpparse.find_smp_config = x86_init_noop; + x86_init.mpparse.find_mptable = x86_init_noop; + x86_init.mpparse.early_parse_smp_cfg = x86_init_noop; + x86_init.mpparse.parse_smp_cfg = x86_init_noop; x86_init.mpparse.get_smp_config = x86_init_uint_noop; x86_platform.get_wallclock = get_rtc_noop;