Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3047707rwb; Mon, 7 Aug 2023 07:31:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGb1fynAnCSRKMGjE7dEyClgTLhEljke9oWJt5ZhenVg2/L4m6DdzttTv0DLH6BrIN9F/Vp X-Received: by 2002:a05:6a21:6da1:b0:134:11c9:46bd with SMTP id wl33-20020a056a216da100b0013411c946bdmr11571108pzb.3.1691418688009; Mon, 07 Aug 2023 07:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691418687; cv=none; d=google.com; s=arc-20160816; b=ZEwpJ38Z2gKNr61MxqyshPIEm1yrZEMxICm4rhu5obvKpK59GdZHzTrQy8dXBGWMWj Y6fNy+q5Z9x85Ty/JXsnkC+LTA9rMFtzkeavrcv9Q6T+sNwIxJoFBLbpwO59nJIZFoev /XlX83fX6N5vBEd5Z3A5Q90B4jd2lrK6sA/qKOGEVHSAL/mkX41Bop1OH5TTt85PRGns qDuSLArM9TY3mhQVby03vvKUoPtfGTH8i9mnBU3d8ZcD2E3Wc+xt9V+cTlopayvwrK2Y a1iydgdyXl3s1JdBou9YB11D2N/gGIno6NP4XutElQyBXIWv33i6hDOSxHJeyEjMCG3t HhRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=VT3e6NN7PgE82Og+WaclHeJcI+6c5zm7tVy4Rda9bOc=; fh=/92WVKYrcN3rA268QXyKzVtm/UtxHeI2lnbU295XDiQ=; b=Xy+mnZSc5eTAsExXWSdCAQmt1U3fYy0ZoO98u/KGiw8KiUizAMg6sGnn8FvarUlPqR 3VTDTJ1ExRIsoadeE9qK+wSj/Vm6mSvugouS2JMuv9w7WbCVQ3OtPDMiuAb1KhHvhZhz eRO9qZeXfSficWmgQihGRYN9P0yLwbPwwx/ce/EA4R9wkWuB+Rd2oQQ3gRwJUiOOUiqe vcf0/JcX+WgScwc2tDFBeiZnKuTMBEIOmUievX3lMKi4juTcSv8E+ZGZshzhMt/jtupc vvbXm/90cfBrdJEA11KLlHMarYYAZIOcy5sE3+eLfmle95hAQ5ZgUeHgv4xbysvuhS6S yxcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nAPyiYOp; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b191-20020a6334c8000000b00564fec7cb63si1257555pga.159.2023.08.07.07.31.16; Mon, 07 Aug 2023 07:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nAPyiYOp; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234613AbjHGNxp (ORCPT + 99 others); Mon, 7 Aug 2023 09:53:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234577AbjHGNxB (ORCPT ); Mon, 7 Aug 2023 09:53:01 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50B51171E for ; Mon, 7 Aug 2023 06:52:55 -0700 (PDT) Message-ID: <20230807135027.116024518@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691416374; 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=VT3e6NN7PgE82Og+WaclHeJcI+6c5zm7tVy4Rda9bOc=; b=nAPyiYOpE3R7FVPD7whSXhVfyWwIyd3HSmO7TchobLaeuBZCnG+k1AguAZRgCms1/gUX1R p7tjfuZrDYwdQodpFLBUB/1Th7SwQg52n2RnKuuxuScd87M2FY4Ah9NV403HMHkK0CXAi/ DCqA9KTwn1gV1a/bswWlK90aJBfCKXLMHKCMq6HZkSlVY0j4DBJ2EVX0BGC8VO6is1Lg49 M827KFJ1cgNxYAlEvYuU/7se7VmSkF+V4MCjkwM0oU6TXUOvWBhik7bvbgeVbAtf8iC/Yo 4yKxZJSdf5lG0k5OlJyhH2dq4ABHmtHXiZHi8yHSG7UkK4KF2VMUueQCermwGw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691416374; 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=VT3e6NN7PgE82Og+WaclHeJcI+6c5zm7tVy4Rda9bOc=; b=gdmTjHtSrcED4YAbdTEQuqDd4Roi44XV3/3Rm/+5+I7SnCzPZCsye6Bp9rreOW/GkiRwuq Lgb31IA7CGCb1rCg== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Michael Kelley , Sohil Mehta , K Prateek Nayak , Kan Liang , Zhang Rui , "Paul E. McKenney" , Feng Tang , Andy Shevchenko Subject: [patch 13/53] x86/platform/ce4100: Prepare for separate mpparse callbacks References: <20230807130108.853357011@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Mon, 7 Aug 2023 15:52:53 +0200 (CEST) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/x86/platform/ce4100/ce4100.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) --- 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