From patchwork Fri Feb 16 15:17:16 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: 202185 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp588730dyb; Fri, 16 Feb 2024 07:26:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVXnEWajbh4l9s1ASZ4y9vWI9Nnl9Zg9ET+oP392LfOUsTahB9Pm7BzVIiE2+JGRsf+axT+P/6DNxzDKTaB+Rxn1v8ldA== X-Google-Smtp-Source: AGHT+IGE6sEQwmufI4Trgj8O1xin7H53RmK1/bPK0ZOg5fXZlx6vkcU8VFDJGKDcQeYUrmEkTdXh X-Received: by 2002:a67:c902:0:b0:46d:2b65:aa16 with SMTP id w2-20020a67c902000000b0046d2b65aa16mr4057012vsk.34.1708097205646; Fri, 16 Feb 2024 07:26:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097205; cv=pass; d=google.com; s=arc-20160816; b=UfyTma434ASRhucW1ugh/k/K4CbLQ4O/ggJRo9HoOFriVCO+X+Hgt2EZ0Kd4lWE5S6 HOdwl2KFdcAHuYvVSCs7dNU0mg3QiqTJKHUGdN32d0Gs+u32l83GZLn+QH9w3n0F2wYK WCxzhTtUSGTyjCrHsPU/AkxXq9OzTk6WX0QbuNR6M8oi2xp5rAnoqPa1i222ActZybT3 ggnrEpDgm7fiJL3L95YFvT+IKGe0CJknI7VTxYU7zsqfr65OHPP4j0UrLn2vFuwXsAod OZkhiPJKtWpRty4pHJJP02VTL7iVhrfoOQrVeG8QXk+ipA1clNIgQ99WCQSNHr47W+/V 5nzg== 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=tjw5Gd8QL6WScQLD3qdiHU1qXyi1rIgaUkBwAm0F9ik=; fh=HfXWoIhgCc+vt39DMIJv/Ec0aAKnw0eFA8QxuIQTUoQ=; b=RwJISh+EYRvTRmrp+ZA8kYV8vj0rax1o6HcH06cnq8NehD0L7ZdUHFVjAD+HtMpkSn NRv4JRSDH6GFTxwTJPv/fgHfifDWmeRez/5evK57kCI+o1/wTuDOwvKk80bHL0s+jrXH la5k501DZMUKA2Kf4K9oiAol8M2a56Qrk33wChIX+fEDItWkl8hEuH460hn0p3SkpnRZ NVEDrnz8X5jT0LHGd+cSrA3E/FRq1ZHruWN5r18ha03Y2zA+7pVJQdeLzEdgNyof2Frt YL4CcOJw/aiUUGokgVMpP+nTvow7Jh29UFX57AxCRjl9tggEwzqbVYJS+00VSAUWxFDx 4FNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3Oacum98; 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-68830-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68830-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hx10-20020a67e78a000000b0046eba3a7bc9si16984vsb.368.2024.02.16.07.26.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:26:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68830-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=3Oacum98; 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-68830-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68830-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 4EEDA1C229D2 for ; Fri, 16 Feb 2024 15:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ADD014A4E2; Fri, 16 Feb 2024 15:17:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3Oacum98"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="L1rszmAf" 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 7B88B1482E3; Fri, 16 Feb 2024 15:17:19 +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=1708096641; cv=none; b=IKABym5QN9BGrdu+6r3G1Pt+IjrDNtwETYb/hmjtpVyCTW//v9bL7DRh4gesOK3J4z6LbEZqT8mkNWMeM6Dq0PKBTZUAaZ/7DktbQFz9uF/8Xoe6bDOzUMnVby4oJslBxWDcIrTQQLTmgk/4/zq9WDUqsSGhMtlCO4EBVRqtrtE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096641; c=relaxed/simple; bh=FkXtQ/S5R9eAYJJTDoGQOFx+437pFbPQ5NtK1qKQz44=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HddHa6Wk2zlEETrIvWkeYUmPN8c7/gOQuLBVbR5OTKNDEY5eSV3I9mGNCXK4mlYnKgOSmJDZ1MyPZtt0nS1uLDigCjqKMzPtvQaRMZUXdkaYiKgF7mpeYCYUAWo4P/YK6nHuqnJn4/SAdWzuB3vZSQfBo7FY27zMMU6DnWxyUBM= 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=3Oacum98; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=L1rszmAf; 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:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708096637; 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=tjw5Gd8QL6WScQLD3qdiHU1qXyi1rIgaUkBwAm0F9ik=; b=3Oacum98P9V1VgP+3BE2brSh9B/5dLHgfvK3Rc9dl+FUrvLqjarqq2KUB1GjYTfk53oCsM IEN3Mee9iLhOZKQUDU2jpWEgGdjk1UDSrrpKOtOsU9GmDsv5cYA3FuMcZEoHDiJ/p5BiTQ Ft+1OnW2EOUTsR9TTsBKTqkcm+vLdIsKJEFH3FIj+ZhXWG9C6lw3Ns3KLmJazXx15M+w+o FPlHlwpAy6+bKwgCRHIyQ+mgacoY1U7OBXrWJKiM68V6FVsI6QHQDgcsfv11lp6ed2ZCl6 mvYdBi5wKaN107Pi16cnhi+jLdJB17W0d3GVzTLlXAC45D4Tsojo/kY/MoYPOg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708096637; 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=tjw5Gd8QL6WScQLD3qdiHU1qXyi1rIgaUkBwAm0F9ik=; b=L1rszmAfcsYDotB+9+/v5y+vxOrbICvAHaFqHEQgXetixFVWly1Zk1HgdaswqkOTiN5Tyn 0CkCFillh66VupBw== 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/platform/ce4100: Prepare for separate mpparse callbacks Cc: Thomas Gleixner , Michael Kelley , Sohil Mehta , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240212154639.558085053@linutronix.de> References: <20240212154639.558085053@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170809663700.398.8460274450627867381.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: 1790819688912574584 X-GMAIL-MSGID: 1791069735338145277 The following commit has been merged into the x86/apic branch of tip: Commit-ID: fe280ffd7eab3dd63fd349d12b449666845e905c Gitweb: https://git.kernel.org/tip/fe280ffd7eab3dd63fd349d12b449666845e905c Author: Thomas Gleixner AuthorDate: Tue, 13 Feb 2024 22:05:07 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 15 Feb 2024 22:07:40 +01:00 x86/platform/ce4100: Prepare for separate mpparse callbacks Select x86_dtb_parse_smp_config() as SMP configuration parser in preparation of splitting up the get_smp_config() callback. Signed-off-by: Thomas Gleixner Tested-by: Michael Kelley Tested-by: Sohil Mehta Link: https://lore.kernel.org/r/20240212154639.558085053@linutronix.de --- arch/x86/platform/ce4100/ce4100.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c index de7f1e9..6378082 100644 --- a/arch/x86/platform/ce4100/ce4100.c +++ b/arch/x86/platform/ce4100/ce4100.c @@ -135,12 +135,14 @@ static void sdv_pci_init(void) */ void __init x86_ce4100_early_setup(void) { - x86_init.oem.arch_setup = sdv_arch_setup; - x86_init.resources.probe_roms = x86_init_noop; - x86_init.mpparse.get_smp_config = x86_init_uint_noop; - x86_init.mpparse.find_mptable = x86_init_noop; - x86_init.pci.init = ce4100_pci_init; - x86_init.pci.init_irq = sdv_pci_init; + x86_init.oem.arch_setup = sdv_arch_setup; + x86_init.resources.probe_roms = 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_dtb_parse_smp_config; + x86_init.mpparse.get_smp_config = x86_init_uint_noop; + x86_init.pci.init = ce4100_pci_init; + x86_init.pci.init_irq = sdv_pci_init; /* * By default, the reboot method is ACPI which is supported by the