Message ID | 20230408154814.10400-7-pali@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp951545vqo; Sat, 8 Apr 2023 09:06:24 -0700 (PDT) X-Google-Smtp-Source: AKy350a3UfEUqcQcP7oA7SbdRT4iP8fXnNIB9htZIQkVKtPwVDkrAB5r4l46Iei28fH0fPqW/34O X-Received: by 2002:a17:906:8399:b0:907:183f:328a with SMTP id p25-20020a170906839900b00907183f328amr2784361ejx.65.1680969984435; Sat, 08 Apr 2023 09:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680969984; cv=none; d=google.com; s=arc-20160816; b=bbTpxu1EQSqat1baisW/UDC6XmgpZ283iH3JDIXpCPUPuNTie1srjn6Z8ySjiOob+K vKUv3lrgxwBfDaBoZHjZs6XOXhHX1y1bObXxVJ8djFNBOiAGHwtnLSDlxSByyfvfuPFO YtivSL2uN1jGs1wrhx2Ug5E+HWPihglw8Wjj9RUrRSUvHsw3HDd+PdG0uauR7hea9WEX 3w2Z9s2Mecyy3/MinoZYKinYSZXz3kYqwJ/rMVwbbs6yT11YXGeYYme6AOpMtKvDhlAg 5qfKcDlNnJk+jAYfC5yXcIuQswjeR6UbtxgMrtGUQmZTs4ksSQrZ7OS8i7DfTPQWryhc FtLg== 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=r7q/van2Jh2Bpc/TQzaKNO+gC25Ihrz1gr0zf1aDIqQ=; b=HAXW9+A7DFY0SmhOA3ZXHdbm6MxYnXxQKB8PjKzCrTpXYUP1M36MXFsiUzkgYu8GSq RBxI7jwWZiZaRbcy33rem+tprDTRMR2TGiQG9nX4EkWL3CBipg7Htc3CLA5hG2XCAyu4 GR9W1dVxRHQnNk4zTBU9Gald9cJ2jrmOTYH7AVZ1EZ5duAJfKf0fd65iF5gjmADeTLBy /s9KNIp5FrPtSE9VjEqTyuB/dlCOWuB+b0nxSz8Y+EyI8hr+TeqBYhHSJOFfWnX07u3h Y+hVSepBbok/lTDzGQxldF+kIFohSMJfSq7VGbAJ6GPQXD6lgievtPjJOkOmL2gdEXiF ORkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D0cSpYiM; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kf20-20020a17090776d400b009268b9aa263si4701891ejc.306.2023.04.08.09.05.56; Sat, 08 Apr 2023 09:06:24 -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=D0cSpYiM; 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 S230144AbjDHPtc (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Sat, 8 Apr 2023 11:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbjDHPtX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 8 Apr 2023 11:49:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD240CC18 for <linux-kernel@vger.kernel.org>; Sat, 8 Apr 2023 08:49:22 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 0F81D615AD for <linux-kernel@vger.kernel.org>; Sat, 8 Apr 2023 15:49:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D154C433A4; Sat, 8 Apr 2023 15:49:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680968961; bh=zh3lTgBmnypZA5+Nw411DMxgOKCSc/q0VjQ8IrqzJ2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D0cSpYiMP05DWQGandv0MdgSHCb7PcF57c7Kruu22cBKJJeb/xwfsK7uqnUqRCJq4 3iibTHnMNmuaocs+8coSWtyzf6v2Rrh8Q1N1HUzX/ycFYEDUPdQEN2aiyn8SZHo6IN xHzigkereflhHOQ6WDo34btAJbxZeoVwnUzjqE8wyKZoTJsyDxnaIvI66hNt16d0Ae 6EkaK+mFUlM9skl86ilpKd2m9gppZCxrViKSLAPc2UvsAgX9tEYnTf4LV6289AaQV3 cu0GVKyElizORVBPQALxqQP7uXFe8Lzezaohz2JXwhZwTD78apRPndV66omtI6adGe 4T3wh+i2rRBBw== Received: by pali.im (Postfix) id B87A020C8; Sat, 8 Apr 2023 17:49:18 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org> To: Michael Ellerman <mpe@ellerman.id.au>, Christophe Leroy <christophe.leroy@csgroup.eu>, Nicholas Piggin <npiggin@gmail.com> Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/8] powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support Date: Sat, 8 Apr 2023 17:48:12 +0200 Message-Id: <20230408154814.10400-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230408154814.10400-1-pali@kernel.org> References: <20230408154814.10400-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762624781946414283?= X-GMAIL-MSGID: =?utf-8?q?1762624781946414283?= |
Series |
powerpc/fsl_uli1575: Cleanups
|
|
Commit Message
Pali Rohár
April 8, 2023, 3:48 p.m. UTC
ULI1575 PCIe south bridge exists only on some Freescale boards. Allow to
disable CONFIG_FSL_ULI1575 symbol when it is not explicitly selected and
only implied.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
arch/powerpc/platforms/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Pali, kernel test robot noticed the following build errors: [auto build test ERROR on powerpc/next] [also build test ERROR on powerpc/fixes linus/master v6.3-rc5 next-20230406] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Pali-Roh-r/powerpc-fsl_uli1575-Misc-cleanup/20230408-235055 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next patch link: https://lore.kernel.org/r/20230408154814.10400-7-pali%40kernel.org patch subject: [PATCH v2 6/8] powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230409/202304090737.4gZF6L8c-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/c6f089a50f49ce965f0f8ee3a2ab0126cb519366 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Pali-Roh-r/powerpc-fsl_uli1575-Misc-cleanup/20230408-235055 git checkout c6f089a50f49ce965f0f8ee3a2ab0126cb519366 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202304090737.4gZF6L8c-lkp@intel.com/ All errors (new ones prefixed by >>): powerpc-linux-ld: arch/powerpc/platforms/fsl_uli1575.o: in function `uli_exclude_device': >> fsl_uli1575.c:(.text+0x36): undefined reference to `fsl_pci_primary' >> powerpc-linux-ld: fsl_uli1575.c:(.text+0x3e): undefined reference to `fsl_pci_primary' powerpc-linux-ld: arch/powerpc/platforms/fsl_uli1575.o: in function `uli_init': >> fsl_uli1575.c:(.init.text+0x1e): undefined reference to `fsl_pci_primary' >> powerpc-linux-ld: fsl_uli1575.c:(.init.text+0x7e): undefined reference to `fsl_pci_primary'
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index d41dad227de8..d4b43dade51e 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig @@ -261,7 +261,7 @@ config CPM2 on it (826x, 827x, 8560). config FSL_ULI1575 - bool + bool "ULI1575 PCIe south bridge support" select GENERIC_ISA_DMA help Supports for the ULI1575 PCIe south bridge that exists on some