Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2069904pxx; Sat, 31 Oct 2020 07:13:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVQkcBfg8cvFq6c5DO4SLO3hJvLucJRl9K8P7AhjyiIowfAkNA3MkUAWcC/nGWA3U4FpvC X-Received: by 2002:a17:906:3852:: with SMTP id w18mr7087824ejc.551.1604153620599; Sat, 31 Oct 2020 07:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604153620; cv=none; d=google.com; s=arc-20160816; b=bwEYMkeYIdjZk1Uf5E1bHxs66pl7s5YroOg/j6WV7CV3oXuyB1rYpNXdDz3OdNWDzg i7LbB5nkIhorEajNrALKtyNNuHuvoAhGjIuwcYteS6Lr5WQywVZRNDnIGEephk3Pbr2b 0Cjkfy7KLlfindoeXQ8uy/XLb0Rx61WZpsF1Ql0nTgPL7U3BgmsZ9va64I6YAzx3fLXF 02w1pKyZ+KE/ALA/2hM7IPAW3ORzyYxUVmgHN7vzSirgd0Pr8Qs5AEYt1gBNOizJushw YBslLA/A3SEmml7Tu5PFVXhV9TwEj548eeE/yOXBecDUaTvnOBKH4Z6PYp7apLxQZCMY Y59w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nnqpdwBRoGTj+JO7bkuaUY6oKrUxMavYYaV/d3fKDdQ=; b=kimP0jnnjmvq5kcN0C4XaQNMZgnibiGgccYF7Fdievqqb6YlMiIxRMQqviaNf8i73Y A3urYV/wu3HTkT/2KtH2blFtOiEwBxZGB3cMXqqxFzFnrluIyWz5bokiLfCcmPnkWHsP j6Z0AiAtpXzoYCpIPVxllkUvxWIAMnoF7uyH8dJtAfmdbWZ1txmIPNvZprHseq8zCbGh ctFZc5b32e3a2hsoK12Vu5inXiTagr0Qq4i97uFNydUgf7O63TTIKGVJFMRVxe7tMQYy V+Uap3w9ZBw6aX2AODzwST1aPdvuC8mdEldtVrkE9U1FpQY1HtDs9S/wa4BnIINPKrSl 8tPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=bVQemA23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id da19si1064358edb.541.2020.10.31.07.13.18; Sat, 31 Oct 2020 07:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=bVQemA23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727688AbgJaOLG (ORCPT + 99 others); Sat, 31 Oct 2020 10:11:06 -0400 Received: from mxwww.masterlogin.de ([95.129.51.170]:44316 "EHLO mxwww.masterlogin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbgJaOLF (ORCPT ); Sat, 31 Oct 2020 10:11:05 -0400 Received: from mxout3.routing.net (unknown [192.168.10.111]) by backup.mxwww.masterlogin.de (Postfix) with ESMTPS id 720EE2C522; Sat, 31 Oct 2020 14:03:58 +0000 (UTC) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout3.routing.net (Postfix) with ESMTP id 7AA7D60131; Sat, 31 Oct 2020 14:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1604153030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nnqpdwBRoGTj+JO7bkuaUY6oKrUxMavYYaV/d3fKDdQ=; b=bVQemA238/wVSfo5rW9auRUYepbmAnKBqLrz9KJUXnluHpXQv3wtzei+B9qRorOmKRxj8B C3e13ePdrdgOfaDFXlI2RPzevDEsoiN3L2pG8pCQAuiBmH1uBXPnRo2rbG8u1yHCBG5/9B AMQAt6gYbCUhbPxmX1I9Uae1C1Z7/EE= Received: from localhost.localdomain (fttx-pool-217.61.156.230.bambit.de [217.61.156.230]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id E134D360085; Sat, 31 Oct 2020 14:03:43 +0000 (UTC) From: Frank Wunderlich To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Thomas Gleixner , Marc Zyngier , Bjorn Helgaas , Matthias Brugger , linux-pci@vger.kernel.org, Ryder Lee Subject: [PATCH] pci: mediatek: fix warning in msi.h Date: Sat, 31 Oct 2020 15:03:30 +0100 Message-Id: <20201031140330.83768-1-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich 5.10 shows these warnings on bootup while enabling pcie at least on bananapi-r2: [ 6.161730] WARNING: CPU: 2 PID: 73 at include/linux/msi.h:213 pci_msi_setup_ msi_irqs.constprop.0+0x78/0x80 .... [ 6.724607] WARNING: CPU: 2 PID: 73 at include/linux/msi.h:219 free_msi_irqs+ fix this by selecting PCI_MSI_ARCH_FALLBACKS for MTK PCIe driver Fixes: 077ee78e3928 ("PCI/MSI: Make arch_.*_msi_irq[s] fallbacks selectable") Signed-off-by: Frank Wunderlich --- drivers/pci/controller/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index 64e2f5e379aa..8345de010186 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -238,6 +238,7 @@ config PCIE_MEDIATEK depends on ARCH_MEDIATEK || COMPILE_TEST depends on OF depends on PCI_MSI_IRQ_DOMAIN + select PCI_MSI_ARCH_FALLBACKS help Say Y here if you want to enable PCIe controller support on MediaTek SoCs. -- 2.25.1