From patchwork Fri Feb 16 15:17:14 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: 202181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp587932dyb; Fri, 16 Feb 2024 07:25:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5bU/+t+NIrL3gBawh5OtJqBf6S27FPp4uvl9gI8BNkvnYcaPLAUjpn8VaSOqh9lLP4J3F38SAGG/8u/ZIRYXVT/LrOA== X-Google-Smtp-Source: AGHT+IG1sInMbfkWrbubhULRFjVhuEc8bZZyiEEtMSpjzrTaKYVCw7ITOK3SrkWzj4xYl/h0EiPe X-Received: by 2002:a17:903:98c:b0:1db:be91:c5f8 with SMTP id mb12-20020a170903098c00b001dbbe91c5f8mr167613plb.29.1708097134075; Fri, 16 Feb 2024 07:25:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097134; cv=pass; d=google.com; s=arc-20160816; b=M4a2rez9HTGiXo/4mRiF4cqSoPPuoo7X3ngU+sIxtik9sOsc5BQJLFBd6aLRUyAGy0 2TXxDrQmxWCcVRV3Ax+TrIwZeiPz1FVNSmkEQ1Eaq/rNKOnyjR8SaV1o475G+xAiSNbY Wx3gx8tTXc3DRssDp+sqfv+nL4HIt7SQ/MlyxE59uY1/NWztL0fluvEk8+EMaAivB+f/ o+C/LU4CywwfHRSM4ajiTCtg1GwdCuQ6MozFuddaKJh81TyibPhLYs7LZvDPTNrAIkan 9v1hpUTlDg0Up6NyBlFQXzwIc8LM9272KK8o4C6j/RR+6ckB1NULRzqEGL6r3ytKTR9T b9Zg== 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=TwCoe0KOv631+89TBjbCyYTq51enKo1mEUrZUtr7kmw=; fh=HfXWoIhgCc+vt39DMIJv/Ec0aAKnw0eFA8QxuIQTUoQ=; b=ibmTeezAYWXdo2/zKAt2YKdVy1zcsIlWip5Sh9VN87Zrv6EqcicKcHN7YyqSP+UTp/ rKyDqZ8/OlZR7Ratp2Rf3BAeUjzsh+4eeY9ziHmac6jvKHYjTrYXNXaWOLTzzs64V+sB M8dS++HFDVoaJ094M6/zWMLQbZLP2u2q9D+I6AtNu0VzNPKQVoHHXo0XWTFeE6b3ZyFA ZLnsCXmdwHRrErU4oltcYMU5Ic340hkrIJB/wuNF+AA1b9FIO0Y9HioV4VAeYbV3y7m3 uw4+10jzXjf9ODVJfZv7+VIaikQGVn7WbtUESnZUQDOwQ4tujDAEeG5386CCO+4/sXFY viHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ncVgyyRB; 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-68826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68826-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 mb8-20020a170903098800b001d6f49c2a7fsi39791plb.0.2024.02.16.07.25.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:25:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68826-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=ncVgyyRB; 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-68826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68826-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 8A26E281B38 for ; Fri, 16 Feb 2024 15:24:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09AF5148FF5; Fri, 16 Feb 2024 15:17:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ncVgyyRB"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qY/YY+eU" 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 CF82B1468E0; Fri, 16 Feb 2024 15:17:16 +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=1708096638; cv=none; b=qIUc7mbxBvVSLxaMmoWzm/MLyQbyLkw1wZfmkeFbkFiI4rqsgB80GUaU+VEtU7OrAAQpfjPdquXpR+jjhM1fttcbCUsayBAKgjv/ShvBc2ShltVNNEY44LGHvNDY98tKXzFDarKQKrk+JZIiRLwpkEEV4CvJe1nf5JPBZLH0QnE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096638; c=relaxed/simple; bh=LgmqsFVYDLPKU2mGo+sXS/WNK228bWXA5+BAO+nbEcQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Y+YvWWcujitq1LWXSm9kENnfDAei2wn+0HAFfz8/hJ3y5LmJf7P6trQwUi+fBfFNXgFr9cyFyTLXi6kpnLMPzQXaF32PE7VtaFWIRVFqj5tk6Woid9dPi+XpkDpbJ2Y9POaL2KmgWzScTv6CRSWCQ8wqN9GE6pFvPkbfeoxl4eo= 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=ncVgyyRB; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qY/YY+eU; 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:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708096634; 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=TwCoe0KOv631+89TBjbCyYTq51enKo1mEUrZUtr7kmw=; b=ncVgyyRBW2TlW7RQD7TMM72iC81WC7S9VIm2Wxqa/XroqOG4ilQ650laeI6IDINdz2YTq1 KTf7eXwwM8mbZMkQJjt+pIFYsdZoJDbLbmVVq7uO0indz32eEYTpaecamP4CWk17adQylS TUjELkoKCoWwpa1NnVcTrIgWFZGakSK2caR3UuSdTBOeRUlLtIEfXgx7fhk81uORU7VGem pJ9uGgr9qb71e/ykgZWHKqlNEYoAr1KoORabMGUl2TOd+O8WB/+Ae3WamZbfChjkSpw2t4 KtDz1wqbP/7v/EF3T9067cDxVHl0MU6vdpSI+Z2ajtvD4irPlFCrZTAqCJyIqg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708096634; 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=TwCoe0KOv631+89TBjbCyYTq51enKo1mEUrZUtr7kmw=; b=qY/YY+eUsxp+FMWZ45EvS5ht/mXFleaSgaXkSHYjmPerF8Zum2O8lNam9lj9G3OxOLh62q g13sZUurxAvS2cCg== 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/hyperv/vtl: Prepare for separate mpparse callbacks Cc: Thomas Gleixner , Michael Kelley , Sohil Mehta , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240212154639.808238769@linutronix.de> References: <20240212154639.808238769@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170809663415.398.9214649384592672164.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: 1790819731536434243 X-GMAIL-MSGID: 1791069660231214181 The following commit has been merged into the x86/apic branch of tip: Commit-ID: c22e19cd2c8a8f8ef8cfc0a0aaaa95d8cc064309 Gitweb: https://git.kernel.org/tip/c22e19cd2c8a8f8ef8cfc0a0aaaa95d8cc064309 Author: Thomas Gleixner AuthorDate: Tue, 13 Feb 2024 22:05:13 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 15 Feb 2024 22:07:41 +01:00 x86/hyperv/vtl: Prepare for separate mpparse callbacks Initialize the new callbacks in preparation for switching the core code. Signed-off-by: Thomas Gleixner Tested-by: Michael Kelley Tested-by: Sohil Mehta Link: https://lore.kernel.org/r/20240212154639.808238769@linutronix.de --- arch/x86/hyperv/hv_vtl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/hyperv/hv_vtl.c b/arch/x86/hyperv/hv_vtl.c index 96e6c51..f573cac 100644 --- 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;