Message ID | 20230707135852.24292-7-bhe@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DD0EC001B0 for <linux-mm@archiver.kernel.org>; Fri, 7 Jul 2023 14:04:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1BBCA8E0003; Fri, 7 Jul 2023 10:04:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 144AC8D0001; Fri, 7 Jul 2023 10:04:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ED9B78E0003; Fri, 7 Jul 2023 10:04:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D6D018D0001 for <linux-mm@kvack.org>; Fri, 7 Jul 2023 10:04:15 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 2F2EAAFDD1 for <linux-mm@kvack.org>; Fri, 7 Jul 2023 14:04:15 +0000 (UTC) X-FDA: 80984985270.22.338AA5B Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf17.hostedemail.com (Postfix) with ESMTP id BABBF400A6 for <linux-mm@kvack.org>; Fri, 7 Jul 2023 14:00:44 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=ZExKTsPg; spf=pass (imf17.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1688738445; h=from:from:sender: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:dkim-signature; bh=CWfLRI5TOebRN6fQYNsjbIhOePrgTeydAOSGhfAOwjI=; b=pTsXwZvaN4SYe4uPTJSy1aCYfF+xD/jhyCRcye9L3UwFw7TObJ5Kufx6uKDhgApnOeP9KD jNIorYdEV60tm7iwOYe5tOWnxzebGXOPsn/+6wXvWt98QfuPXzPQ6hL0YWO9EaSQnEkfNN l1IFiB26eQRlg5JfquZsKj+gnpFWFOA= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1688738445; a=rsa-sha256; cv=none; b=WpyQohOJkPN4NF/6MXds2LEUdCkYBeSzOEwEX4NG3XpAkMslhG7GFbGMedlWKZbPJ+yt4B UGdRl93JHkhXdZevVV9NApZ5y5Gur18u/TOADxM6tBsRq68iiAtU2ANkFuHddJNWbQSELr 8Fvo84IF1Nwv7UrHOMpST+57P6zxJwA= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=ZExKTsPg; spf=pass (imf17.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688738439; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CWfLRI5TOebRN6fQYNsjbIhOePrgTeydAOSGhfAOwjI=; b=ZExKTsPgmCYEZdZVQYqSir9ElisNgST4rV23LV7uPTmsIkznw6jbzZ1UbyI19HGc/X1N1F H9K+RX/grXEboDxgTJTKyY9r+tamYvPdOnxK+CtnXPLaqeZt9Gf5LUFKL4hrJhvZOiapwJ AKdKqR1Jx15WtBJQ3Y0f0y9PZY9KbHw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-464-zGZQbIWXMSycsrfTt_BANg-1; Fri, 07 Jul 2023 10:00:38 -0400 X-MC-Unique: zGZQbIWXMSycsrfTt_BANg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0AE34104458F; Fri, 7 Jul 2023 14:00:37 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-39.pek2.redhat.com [10.72.12.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0FAD52166B25; Fri, 7 Jul 2023 14:00:23 +0000 (UTC) From: Baoquan He <bhe@redhat.com> To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, linux-mm@kvack.org, schnelle@linux.ibm.com, vkoul@kernel.org, eli.billauer@gmail.com, arnd@arndb.de, gregkh@linuxfoundation.org, derek.kiernan@amd.com, dragan.cvetic@amd.com, linux@dominikbrodowski.net, Jonathan.Cameron@huawei.com, linus.walleij@linaro.org, tsbogend@alpha.franken.de, joyce.ooi@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, tglx@linutronix.de, maz@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, frowand.list@gmail.com, Baoquan He <bhe@redhat.com>, kernel test robot <lkp@intel.com> Subject: [PATCH 6/8] irqchip/al-fic: make AL_FIC depend on HAS_IOMEM Date: Fri, 7 Jul 2023 21:58:50 +0800 Message-Id: <20230707135852.24292-7-bhe@redhat.com> In-Reply-To: <20230707135852.24292-1-bhe@redhat.com> References: <20230707135852.24292-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Rspamd-Queue-Id: BABBF400A6 X-Rspam-User: X-Stat-Signature: upwtjfq5tctohhp5crcfu7ukcn57qszm X-Rspamd-Server: rspam03 X-HE-Tag: 1688738444-851427 X-HE-Meta: U2FsdGVkX19uBeH3SdlUHBg3w7eCCwgtgl45XiyslFx5fNv3u62HmSLdxKBBKm/325DUsTcX75XY/iy09FL39hSudpF8wmzRKTEMv0iCspsTAYD6V+AY0ES5LL6KWIMF+BmD/kf3rVPP2boLyZ9HScQuJ1VWehwjwEfeCL+vFpUDyom/zHC52SoAF3PxIRI9LOtkTXiY54EamgW8D0eosSeFGZa4KtNaryFBCjUzgaurwTH6JaZz/iV/tSAkcdVI+deb7HMYiBKV16jDruLjDTqTehesV77WOMNu8nvdzsnfo54BaZ70yGePlubMW8yeXEeWgXMC+wJ5dzPLp6cts7WTAwg55GhruFDVs1aC2nqR5ZL+gbmeFwUVVfKMwj+jMepAivHyJIpTN+TMsB3wwR3a0KrEa8TOM1++gq/aurjJ+W0mfNS7QLoi9CC5o1l/tq0VXqFeKZejKINF91m+mdHEvkaeTRMaoR0TrEp/nI5VMOzFI+dApBwfnNj8c8xKeIoti5q1AXj+Zm/1tMBjcsev5OZp03/IjyC5Uo0cpEKJIBvBdJRWqGbXoKZibAFIrFJ0yrWX6Z5CrBu6GEnS5FjwU+aH1K/6AFqS8SC+yM1ZIpc+AL6IMAIa6JGc9+dAOlKpP4l/21B+BNtCHpHH7eMnrv6H/XZ28gxtRlKR1u3GzdgZLLFf1ZKw7DuE5tKoYhVmVlLI3/phlHMeoqGUEcsghLtWICAT2ZerZqi+9V9BT0fzNTNJv2Db1mgU2QIMUrjWAxKhO3lkpPRNhPrVNOkS1WPAyety8lenM6O90bmfGNRzLkNKi2Gr+iUqlX7pXf7R7jt+2GVj7jIQUMXaALIph0kLqbz6104iEZ7XPhk9aPT8Mbw647QCMGQUo8jh5Ok2ISubsajPMvaSXklFN5u0+uKrtz2sp44+B2tpyWp5pmhwaE/M7WZO2DO2eUjCcvTkTGAF9fM7pMKTQ3c f12zul/B 5EOh6zvjjcCafJosgrzkTwuIV7JdEZYEAe3MByHbbBOFo0OnFu5Hsi7eGSc4z1AelgxIHEovTelXyCNPPDGYRfV4aqnWyWC4/6ETe1Ia3oyBpzQENeYYZxBgm389MKjLCaOqSNwyx3FiK6pKfwoq6bTBihHtrMG00Wtrp41h+WSRixQPc000WI59iw1hx8bWkeYeN6/0y9phfqQ6GDpGw5zG1Nbz9f9qbidoLsX2xFF/FGXx6/oUDagIj7kKY4bSLhgxJ9Goaej4dLT72ZV1D6JwdE840dgZ+Z3BkljguFRZVMlz2gYKxapdK2gbWO2pqmCzmKWT7R1j6olvR3aiWXUXdW4RMnxY/qA7rdnbjdA1RFQYB+JN8ca3Ndw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Make several Kconfig options depend on HAS_IOMEM
|
expand
|
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 09e422da482f..4b9036c6d45b 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -89,6 +89,7 @@ config ALPINE_MSI config AL_FIC bool "Amazon's Annapurna Labs Fabric Interrupt Controller" depends on OF + depends on HAS_IOMEM select GENERIC_IRQ_CHIP select IRQ_DOMAIN help
On s390 systems (aka mainframes), it has classic channel devices for networking and permanent storage that are currently even more common than PCI devices. Hence it could have a fully functional s390 kernel with CONFIG_PCI=n, then the relevant iomem mapping functions [including ioremap(), devm_ioremap(), etc.] are not available. Here let AL_FIC depend on HAS_IOMEM so that it won't be built to cause below compiling error if PCI is unset: ------ ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt': irq-al-fic.c:(.init.text+0x76): undefined reference to `of_iomap' ld: irq-al-fic.c:(.init.text+0x4ce): undefined reference to `iounmap' ------ Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202306211329.ticOJCSv-lkp@intel.com/ Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <maz@kernel.org> --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+)