From patchwork Tue Feb 13 21:05:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 200620 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp811137dyb; Tue, 13 Feb 2024 13:12:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWvw8cR+ImxPW8pDG0oBmWF3HbbslSnhkLWYGLgUj5X8dkIXLF6MdAXAMse+fQdMO0b9s+zZRz4BgH/6v544xJdTVZMUA== X-Google-Smtp-Source: AGHT+IHVGE8l5vapEg5T6GzrU2spgGmxMDUoHGNlmB+m9DFjeJS0YIB2T/P04JL7HTiRHFndFT2j X-Received: by 2002:a05:620a:2986:b0:785:cb9d:6547 with SMTP id r6-20020a05620a298600b00785cb9d6547mr934678qkp.35.1707858742215; Tue, 13 Feb 2024 13:12:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707858742; cv=pass; d=google.com; s=arc-20160816; b=KvUlqV1Yvriv5cf6VhoVBy0bO51zvVdslfzMRPTK2lRaRtx+TCIWnmmjTE8fgo9rY5 1m3A52k182o6Wi563TdHI1AgjYLn0huUTqZv5EBJZlb0AagluxeEgY8emICc4VvHxyh8 2PKK31cGHEjhTZxKBp2T4vqVMKXA2MMY9fGPUFVhOAn5Y7Yldrcs1OND3jwMRV3k7Sxr v9q4pPiqXYFxYEUAIWZqB/6cSFYLZM4b4ewl/qyZkqhA5r8pQVDFkF3S0Ql2CqKHBA7u IXRjGQOaLDfZ43GgS0k1tbs7zkjmjGUD6j0WYtVt3/SQI9uAW6avhVDWJJ9MsKMF0Ah6 OALA== 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=mrB4vahaHa7U0bZXTGnENJFdxSJcGIGsy6PYJVAmkLY=; b=XVxB7Sj9vMDqK4j2TZ1TSpl2Ega6kUzVgKRBtjgeF/4sohxtA41MvcPb/cKf74b3Vh t7VkweVuuCLw0u89aQsf1C5v8a/c9poAq6IYK4AU4VP9SXdyxoFAvfKy9V04hO+hJYZ0 NHlVH/fcEX+tXD6eF/uwEFZRmV6UIRpZigq8MVyyMqfNNDIX0yJ06wPPrrtf/GFoT6Pb neejSebRVHKYz0TeqZ7hvZ3si1xFXmK6vIb+Y4N0W1SIWsIE/65lKRF84n/FJv42bkaR MLCqLlXNuOYU+ed5Xxov8eiyKPD7OjAzsl6bChbA0uDzXpcOyEXkLH2RVOzLXAQxhijM 3JJQ==; 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; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64274-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCUiBHrwC+0U+rXBf9Lz9fKCLnJ38tkzvKeB7wK84tYGrSa3LTBF2WGwZwXxgxWxucMVVwoahLAMqoHrc+rD2bfdqweoVA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i7-20020a05620a27c700b007871ce70855si2428240qkp.432.2024.02.13.13.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 13:12:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64274-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::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; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64274-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 07FA01C222A9 for ; Tue, 13 Feb 2024 21:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1071A76902; Tue, 13 Feb 2024 21:05:15 +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 Date: Tue, 13 Feb 2024 22:05:09 +0100 (CET) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790819688109176166 X-GMAIL-MSGID: 1790819688109176166 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); }