Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp176548rdh; Tue, 13 Feb 2024 13:12:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXDQmIIO3JC4A7ytgtMdTevyqAMhxfqS2rBcEDaoaCvB7RuV6TBuEktrDarU9CfgRuZwCQJsdLdpUV97/1ygmSDiJoC45wqt1cha1fppg== X-Google-Smtp-Source: AGHT+IGMKcZEpd/JpVYZNlHIUp5QgpNjhe9rBXBuWHdhx5f88/Gmc3YG5LHkIUC3xWExEHjn3148 X-Received: by 2002:a05:6a20:a8a2:b0:19e:3c4e:d0c6 with SMTP id ca34-20020a056a20a8a200b0019e3c4ed0c6mr623588pzb.59.1707858740131; Tue, 13 Feb 2024 13:12:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707858740; cv=pass; d=google.com; s=arc-20160816; b=KOrRHivbjMWwGdvRqKsvvZSKPCrHY3Xn6jZrjpzujW5JW5e8OvIniDHLv2Z7PrOEer vUUIX6/hDXLYp95qxJsTvAMZ0ES0DesHF/aC3fmCY/9XdT6MX7AWa8Gp0r39qfYiupon 852F98IwZv10LspoxHEy0MllT5RFMcfmdC7SZGZ5OIWxZFf56+ETExzLX4OVVs7scHCU GPo2JDcP34xrefLGDJNaqLTYuWDGp5C3jYh3rsqfQY6tTM1+BfHj8YfGFiJgRIsSOANT 84qVsKoS3JP6qG8ysBTuDSgwY8q6XPWHSVyTgkyu7w2bTXJaCrloZVV0zLzS2xNqhGvM JjPA== 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=MTiFDhrEOf2dPraImN0Bu4vIK51eYxfBKP9GjoHID8k=; fh=yOFe8HUNb83BnMRWy1xmT4mwhFhsotrlE98wnfazVr8=; b=DSBXumtuts8qWeoQjpYO8iYezDCFozxD3no8lOTPz00b1Z0Y4RZAabWILE6npsijCn 4tymCKv95XmzJfIrmLg8kO/J9AKqUWRPYnfE1BZWwhsk/LJMye/w+ScvX05oWYEkE0wW g3yFZhfVbVG1AlvXvDlFzgSXHfdmEii7lJC3CP6DHXFeaZRBr6xgZjVJPImUEkC26zZi O9QRcla7htudCuim9YFVhaAHXQZ8sXYFmqFdNb+YsSxhZT8QUDd3WkQuXEMb05N6ZnL0 v6FWJPksakptE51xhKCQhE5OygD9Ml8A5L/Q24kBq6Ism3XXle4vWTEnvvVcPIe/nOJI UInw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=iq4gfSGX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="yKI/ivqo"; 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-64274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64274-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; AJvYcCUvz8Q/Hh7xpXbWfyVxDJf34TJB2ikBgoy9CcQTqZDTPvAf7KyVdJO1KX+TOrXzd9wUYIMWEBJOiUsWd8QjHxqHKeT+FsT13NLjn4R1fw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ls53-20020a056a00743500b006dff98a5709si7186616pfb.14.2024.02.13.13.12.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:12:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64274-linux.lists.archive=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=iq4gfSGX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="yKI/ivqo"; 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-64274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64274-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B0047286249 for ; Tue, 13 Feb 2024 21:12:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 474887429F; Tue, 13 Feb 2024 21:05:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="iq4gfSGX"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="yKI/ivqo" 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 008BC6EB65 for ; Tue, 13 Feb 2024 21:05:10 +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=1707858312; cv=none; b=RmCRw6eU8ASGbKIqhPq/en+j9RpTlxR2/A4dZDIBRAeIla9v8qSzzGUEYv0tx72o5XsZpznkI7jjOGyrgd6s3PYa2Py8rvDDS6JrX/ATwWu13B8lnKNXAOVH+oMaQtEQBW7Ew5fKWCqWbbna2oeGuFpYzJ0JXQ5wfOry2tlDCcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707858312; c=relaxed/simple; bh=5VbdEqmGt9mY/CW8lckh7oENIeogjb2X774d0QfXU7o=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=dWqY4HXZbymB26nIGtg0ioWFIrC+fohVlR0JN4sIvI1Gt5pgQlaPI3xHiJq+pDK/LeoJ4AUt5Y5bQPh2M6HTy7xs6a65uYWfvofjwDRgJq8OIDVsht4mSXwEXRDfNao+d0mGfA7MV014dxPZdHEZJUD3E4P/2swnfcXJ7wcFyVE= 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=iq4gfSGX; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=yKI/ivqo; 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.620189339@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707858309; 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=MTiFDhrEOf2dPraImN0Bu4vIK51eYxfBKP9GjoHID8k=; b=iq4gfSGXcffk1w7tnKhrmc2MQES7u3HpNnfDqs0NO0J3bTFTWnUIeo21LRpB7sVYCAmhyg qPLC1nKyftaiO4XJv582VKxkfwewAH/FWQJ5iwsDVNrGbr6JmZ48NFFPXwiu31+PC8x21f BmSo0euYWxkHdN+eN8gNuFSyzHuLSPAf3EDPmNanuUnU73R/2SNdPKbaCvfJAYwOaadjUX Vat3CsOSj/TiwAGnk2K2fnhiyAZAKxe9D7p2XOnbgF0gyBog98HJz+DBmqmbj6ouBANeSM 2+LZyA08ck7sCQN2M9riVKIMRcwqTdaQp5/0RXPZpke3sVBVBRdNN5/A5ZIjlQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707858309; 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=MTiFDhrEOf2dPraImN0Bu4vIK51eYxfBKP9GjoHID8k=; b=yKI/ivqo/muWE8W3p4yDugMot2ZnNkuoAEX1Eq4cd90LMkbD4Fg4QD1AA+5jpXt0NiG+nQ 6vKnzLwqrzg5r3Dg== 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 13/22] x86/platform/intel-mid: 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:09 +0100 (CET) From: Thomas Gleixner Initialize the split SMP configuration callbacks with NOOPs as MID is strictly ACPI only. Signed-off-by: Thomas Gleixner Acked-by: Andy Shevchenko --- arch/x86/platform/intel-mid/intel-mid.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- --- a/arch/x86/platform/intel-mid/intel-mid.c +++ b/arch/x86/platform/intel-mid/intel-mid.c @@ -118,7 +118,9 @@ void __init x86_intel_mid_early_setup(vo machine_ops.emergency_restart = intel_mid_reboot; /* Avoid searching for BIOS MP tables */ - x86_init.mpparse.find_mptable = x86_init_noop; - x86_init.mpparse.get_smp_config = x86_init_uint_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; set_bit(MP_BUS_ISA, mp_bus_not_pci); }