Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5035398rwb; Wed, 17 Aug 2022 09:55:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR7iEffHKlHRw4DHRZ1eWJhKOiJFLDy8vlrYW/6NRkNeCwOH4edODuW60iHlA0F8TWsVMN2d X-Received: by 2002:a65:5a0c:0:b0:429:c80e:959c with SMTP id y12-20020a655a0c000000b00429c80e959cmr3913527pgs.279.1660755339712; Wed, 17 Aug 2022 09:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660755339; cv=none; d=google.com; s=arc-20160816; b=tS9dP+HE6TaGZU69GKU5GYkJGC4RbEcH7Wb2GQmXIt7+oQtNhStpwSfFvIuDs8gIUj /P9gatlvqrcEoce3P/KYtv73mgg4CgpIcTqn1loAcdO28FO8R/zIEUV3I7RXiAryNcOp gXc8AW8xg2LS+gJU/uQYaLYXcSyFpb63KV32nRss8SrOPwBOIOCsvPL8FWJ5rbR0s9KO Jm+Sk9KLIajdv/96eF4Kwb1EDb93Au0DtkedR8fZiiXop9yENi0YFIw6xHyvlIpDn8Jx AckSMZpu41THs12j97wOEl5U6pJyfxsNKM5dMU6VxTQjqKg/39If5gRzFPqtgH9735IH v74g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6IpFIRDlG/SnXD4eGUZAPYOjpWuyvPRMAA9Bm5PleSU=; b=lXz3UuujZxQx9Of2zb4lx9bwOjWHt+HZ2vi584iXTQPs+33/MHvI24U1eVaj44Pnow MEDZvBmdsquUaD1v0y94eWvRS47RVmAWTZeMo4WLc3RwPZZxM+ffnX9cphbctIvkSWx7 3MI0Noy7SoYC5v0cyp5IVvcxtR64hL290cKH389CYThJfraa93j3ElvHagS8L4Z4eJ2g 0l0tVzan8hzL2lDn69Mc3Ob6panzgGqvpLGnbfEfBmbIr0Q1VMQc62o25kH8xlg9HBlR OU3Mx3jSMfDRv8NsPHDbobGCNw9dUfuJTU4czU2qj3sW5LOC5SK7dL0cqIyDGJNAhK8F /VDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ccHNnbQF; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t12-20020a170902e84c00b0016d9566ab31si243324plg.439.2022.08.17.09.55.27; Wed, 17 Aug 2022 09:55:39 -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=@kernel.org header.s=k20201202 header.b=ccHNnbQF; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237960AbiHQQkF (ORCPT + 99 others); Wed, 17 Aug 2022 12:40:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237637AbiHQQkE (ORCPT ); Wed, 17 Aug 2022 12:40:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36A87CB74 for ; Wed, 17 Aug 2022 09:40:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9BD0EB81E25 for ; Wed, 17 Aug 2022 16:40:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2407EC433B5; Wed, 17 Aug 2022 16:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660754400; bh=KkrryIdY2Ve2bs/hZ2Z+dNgS3oYZRsAd1ewH2lCViO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ccHNnbQFFsiz0tKZO71G5O4EaOl5jPLSluev94WXkiV1n/59tcsJQupsH/KTSIRJx bnwZBufeC0bKvFx08encF69lxLVAytblB3TNtZK7gvAxNApy+MF1UJPbxkgiJOeQqJ wCN0sGAYyhkIs4xSTl3ysjQt1eR1DWf903lOSNohBl36qv06RN0eAThuJmIE5cxwMz riHFym1D7iKGLDCllrDhKlwbS6ymbAAm/mFjOA03Kx5Veh0cS6vgi70bY+OggHk73X h0MRrHQ0p6C5Acj31iSLe9QwuXwRAdvmUQCPVzWoRkFs2ft6xwn2JNchlypP2lMOE3 LpoZi9djjVPdA== Received: by pali.im (Postfix) id C67F42799; Wed, 17 Aug 2022 18:39:57 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] powerpc/pci: Enable PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT by default Date: Wed, 17 Aug 2022 18:39:27 +0200 Message-Id: <20220817163927.24453-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220817163927.24453-1-pali@kernel.org> References: <20220817163927.24453-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 It makes sense to enable CONFIG_PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT by default (when possible by dependencies) to take advantages of all 256 PCI buses on each PCI domain, like it is already on all other kernel architectures. Signed-off-by: Pali Rohár --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index df2696c406ad..0905e4807815 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -387,6 +387,7 @@ config PPC_PCI_BUS_NUM_DOMAIN_DEPENDENT depends on PPC32 depends on !PPC_PCI_OF_BUS_MAP_FILL bool "Assign PCI bus numbers from zero individually for each PCI domain" + default y help By default on PPC32 were PCI bus numbers unique across all PCI domains. So system could have only 256 PCI buses independently of available -- 2.20.1