Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp462891rdb; Tue, 23 Jan 2024 05:15:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1KFm/sor+2mBvBV/cPGFPYr+jwB0TrsKOyIyKNGmvFDWySDAdyHvZR/Bw2gYzmeHDAvFh X-Received: by 2002:a05:6808:1296:b0:3bd:32cc:ac71 with SMTP id a22-20020a056808129600b003bd32ccac71mr7070507oiw.96.1706015735047; Tue, 23 Jan 2024 05:15:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706015735; cv=pass; d=google.com; s=arc-20160816; b=wiswFcs4cYll2xDeo+zv757fKh7Coihgh99jUD3YajCOz+jkn/m1OxjMOdP8yu6WOe nYe0Z5iAJLkU1F4CwYEwNEkrx4xFbGIuGJzEXwRbFeqBbGS1jWjrv9sSgAw2vnvNF1vo 1Lhh1U6oz5hLAy1hNat4JUm1CL8lhNXcOUdxHczc7O1M3jLRcgggmIfAD5/wFhuLIWbS HXbonjsH3wvehjE9neZ7tpjPsU1eT8vNt+iCHmZdwzvgTS+uykcznatG4+xaguZ/aJdL 1WPL+1qSFOAfx6CQt/rB/eFBuU1DqNDbBF0qRr7Qe1zbZZ86+XUwBipTy4g11k7eAhzg TpLA== 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=TBfNjU4bRapJI6G71fRj5qBiI9axYldkNHvzZK2EV/U=; fh=54H3Pg8eKCiS9o7q0FmYQEsUV1Nk7A/CR4T5nMhGZEw=; b=H4NG/PZib+4oJIc6rlN/yfZ9vIkoarsC8l5R5WewmgH3D954FIa5l40E+VXQp4Quqy SisWPF95P8+TtURBKogquqcn1LvzDascsjaW5rXqbK+YIJVTtPAhk3cWLYKSQb+4EC15 vEyA9TmPB+RCzaHFSIslUoPl47OsRSsiXlHP2c1RAM4BlntjcztEJqNOHVLbIcgi1rGq ESuZH8efK3h0sa+sgb8c++gXbgNeh39gJFgzuU5x6Ut/qydKDwHHSXrAOOB6lEMIoXR4 vBxBGdvXvF4WKbzJEVwDXoujC3y3NJF/a2wolov7o/xD1BQoxF72uRxuJWWBJ8ZGiwGk hCsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=rzqvNDRB; 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-35335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 3-20020ac84e83000000b0042a53b932b4si600063qtp.9.2024.01.23.05.15.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 05:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=rzqvNDRB; 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-35335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35335-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 63FC91C28361 for ; Tue, 23 Jan 2024 13:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF71A605A7; Tue, 23 Jan 2024 13:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rzqvNDRB"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xKcB1ryR" 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 99B606087D for ; Tue, 23 Jan 2024 13:10:31 +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=1706015433; cv=none; b=Cc3iXNBTRlJVYplEtCwBjaXruZ1aJD0i0Ja0hyrMKiqdiVvSB65McR8TvwWDuQIcsFTeYAfncOCw3Gq3umJhMQVQX5asnMD26nTf3FEJSMv765aJ8grtHwK4JjWegrGomp4a2a/rVjvjFMREC/aRQrVNvCMesHWVudmYVqyYF+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706015433; c=relaxed/simple; bh=it2LjPraTJJ5CF/x0aPGOm+PhacKRRdsCsOrLlaSUSw=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=bU71hWaRKbVnj2QDSPuM8q9/Z2O0Nvsm1m7S7L35KcwPyfsTfCH7yDoK8dQEZvV0Q4gXLeo1fYirTyv3hHhDAlxXkKlXXET1lUX7l1OWMGri6B3bU1p31nQPgZf0PycSaysaZthlGgIkWAzKtAoCLFQETWC3tkA0biGSzi/i414= 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=rzqvNDRB; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=xKcB1ryR; 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: <20240117124903.373706090@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706015429; 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=TBfNjU4bRapJI6G71fRj5qBiI9axYldkNHvzZK2EV/U=; b=rzqvNDRBWWYXLopz3OU3KtPugTSjpsGXti0vDXfldpsqyRHjsoyfQ4/+byJ+N0zWs2tU3w zqyed0rgAjSiZEOeRiuZGqmhl68wKB6lP274VHZLMbItZYbnab4l009ZhGOD2EkDaw8/eR fAYDrebG1iQGv1CoMXjSw0AmN66g20un2/xJ5cQQDZODPecWHML1TeJdzhEnkr7M5oR02j HaLKgeMxtzXK+Cg4sQ2iDchH937hqj2lgApARHsJZ5RCxS+dkcr+Y37DMwI4e9UoDRjsdr iCnzQPSvvddTsKYxg6Dn6Z9/Eoaz0IlxslIilnYqNX20M/5RRw0bRy6D3FUklA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706015429; 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=TBfNjU4bRapJI6G71fRj5qBiI9axYldkNHvzZK2EV/U=; b=xKcB1ryRtJyh4X+nx9Z56BonS5hnmcaVkmrgXYmvt1RDwYUEI3bW58HMNfNFBlwxAf3ofG zMBtqyd5uRZfzlDA== 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)" , Wei Liu , Andy Shevchenko Subject: [patch V2 16/22] x86/hyperv/vtl: Prepare for separate mpparse callbacks References: <20240117124704.044462658@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, 23 Jan 2024 14:10:28 +0100 (CET) Initialize the new callbacks in preparation for switching the core code. Signed-off-by: Thomas Gleixner Cc: Wei Liu --- 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;