From patchwork Fri Mar 3 21:28:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Pearson X-Patchwork-Id: 13159466 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDCF4C7EE30 for ; Fri, 3 Mar 2023 21:28:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231728AbjCCV2k (ORCPT ); Fri, 3 Mar 2023 16:28:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231292AbjCCV2j (ORCPT ); Fri, 3 Mar 2023 16:28:39 -0500 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90064113F3 for ; Fri, 3 Mar 2023 13:28:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id F145E37E2A81DB for ; Fri, 3 Mar 2023 15:28:37 -0600 (CST) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FJR9yXqXDmcU for ; Fri, 3 Mar 2023 15:28:37 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 8720837E2A81D8 for ; Fri, 3 Mar 2023 15:28:37 -0600 (CST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 8720837E2A81D8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1677878917; bh=x/LPKEqVCU9oQc2icWYyBd5KbfQKfd4ccf3nU9BP+Z4=; h=Date:From:To:Message-ID:MIME-Version; b=j/3Sm92M1YN9PLk3w3abkIHwkzG4MFeZWE/fcuk60OXuGE4Z3/YeKB/ScSPPaOzLP 8T33h4vkRNibwxkQaXiAQdBz8u29lyfGoQ1r/77y35t0ekCZW90g3wkXH2EwiA2FaH 2lFDJ2nmDqrW+7FKY8GMNxSSvxOI6K9J5acSaqkY= X-Virus-Scanned: amavisd-new at rptsys.com Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id F-3sbRhkCO1B for ; Fri, 3 Mar 2023 15:28:37 -0600 (CST) Received: from vali.starlink.edu (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 6C74437E2A81D5 for ; Fri, 3 Mar 2023 15:28:37 -0600 (CST) Date: Fri, 3 Mar 2023 15:28:37 -0600 (CST) From: Timothy Pearson To: kvm Message-ID: <1940263767.16280459.1677878917410.JavaMail.zimbra@raptorengineeringinc.com> Subject: [PATCH 3/5] powerpc/pci_64: Init pcibios subsys a bit later MIME-Version: 1.0 X-Mailer: Zimbra 8.5.0_GA_3042 (ZimbraWebClient - GC110 (Linux)/8.5.0_GA_3042) Thread-Index: W/WW2wreQjIlVEtt3fmQBtlfW76wbA== Thread-Topic: powerpc/pci_64: Init pcibios subsys a bit later Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The following patches are going to add dependency/use of iommu_ops which is initialized in subsys_initcall as well. This moves pciobios_init() to the next initcall level. This should not cause behavioral change. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Timothy Pearson --- arch/powerpc/kernel/pci_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 0c7cfb9fab04..9cd763d512ae 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c @@ -73,7 +73,7 @@ static int __init pcibios_init(void) return 0; } -subsys_initcall(pcibios_init); +subsys_initcall_sync(pcibios_init); int pcibios_unmap_io_space(struct pci_bus *bus) {