From patchwork Tue Jul 23 13:27:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13740028 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 015C2C3DA49 for ; Tue, 23 Jul 2024 13:31:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=WJ8/yjG0WAqafZH4QnFUXuIlg0fGGpm7eTD57+1xNB0=; b=fZvGi+lxLqFWwSNocqFE1VdAAz K+ZF2u/7GX+RFF6AHzVprk7m4XE/DKS0sMwdEYexI8+pXRgLKgQNBWXbX0TqINO+PBU6ObPVJ86/Q 95zMOeipnJ1tDNpkpmMp9sn5Tp4S+VgOqLenHUcCV8PCxnf/H/8QtHKo174KhuOWMcFi0FGOmHIWg rbsmqeuojjbD5b8pSY3GYkVh8qZ6KfOL9zbEjDxJlxfpqIhEInS5IqlTDFV4S9vA8MEg6aiVVLXt6 Agt25zzXrfDDrqTiLBwzNfix3Y/3KEgRMBKkwbLlgv7kzMWJ/6hsaPVCmvHpzqkUVf1VoUkI26VSL QlHoP3vA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWFbk-0000000CXRe-23bd; Tue, 23 Jul 2024 13:31:12 +0000 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWFbL-0000000CXGj-2ABm; Tue, 23 Jul 2024 13:30:49 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4WSyhK2Yh8z9t1n; Tue, 23 Jul 2024 15:30:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1721741441; 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; bh=WJ8/yjG0WAqafZH4QnFUXuIlg0fGGpm7eTD57+1xNB0=; b=Y2AWuERVyPuw/GTZNMVtyONT95Qxumb32NOxzmHcLNu7eGdbSYQ6DczalHND0QoOMXmD8t 6gW6hcdE83i2NsNBn2SnTPUt9Zv32knky+0BJb5uV4NoleS1X5gihaDj7OahzJXqQxCk6z yxkYlDd1gf8xlzJPHsJLmu/chdkjqz280BKTR0i0PKSZPpv0ntOzVgn4j7OcKlEnQFx+6u a5adpEVLiO06NOOQSjCTAroaBjS+A3X4UcyFljrhD028N9W6ww2TJyEfw+9li4Mp6R/SHL SjHtirS9qTgPiq6gN8O4ZoZG+xG1rX3C1JZrTLkfY766bJ5MqHRdC5KYabvghQ== From: Marek Vasut DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1721741438; 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; bh=WJ8/yjG0WAqafZH4QnFUXuIlg0fGGpm7eTD57+1xNB0=; b=PLmOVbuC7j5gXqf7qT3AovYU/pGlBsypJW8jnkV1SOru4ZB8uTTc6yV6nR+9Mvv/RBme0u QTNXN3XalBgpD2CQS9sBuTjNMT3FvXEHnJmCrf7sjRBKd1426BYzynwdEBT0X+xajUTOWZ WHibepjww8tHrfv4h1P/MQMHaiTAlQMxrUGYw5xkwQy3nOH9by2SrA4QIYYCOqxQOP2sOF C/Hm3cPFMyZxl8juQzyQp6Rb+03fHHkuGQPTZhSynWR7GwwMeWAuWpDcspsql0w/NeYz1c plp09d0ApXfdMWSmOpPDSonTkebE+KqC9te83Lcu1rIgMqvUxDB+0rzCz+XhEg== To: linux-pci@vger.kernel.org Cc: Marek Vasut , =?utf-8?q?Krzysztof_Wilcz?= =?utf-8?q?y=C5=84ski?= , =?utf-8?q?Pali_Roh=C3=A1r?= , =?utf-8?q?Uwe_Kleine-K=C3=B6?= =?utf-8?q?nig?= , Aleksandr Mishin , Anna-Maria Behnsen , Anup Patel , Bjorn Helgaas , Broadcom internal kernel review list , Daire McNamara , Damien Le Moal , Florian Fainelli , Hou Zhiqiang , Jianjun Wang , Jim Quinlan , Jingoo Han , Jisheng Zhang , Jon Hunter , Jonathan Derrick , Joyce Ooi , Karthikeyan Mitran , Kishon Vijay Abraham I , Koichiro Den , Lorenzo Pieralisi , Manivannan Sadhasivam , Marc Zyngier , Michal Simek , Nicolas Saenz Julienne , Niklas Cassel , Nipun Gupta , Nirmal Patel , Rob Herring , Ryder Lee , Shivamurthy Shastri , Siddharth Vadapalli , Thierry Reding , Thomas Gleixner , Thomas Petazzoni , Yoshihiro Shimoda , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH v4 00/15] genirq/msi: Silence set affinity failed warning Date: Tue, 23 Jul 2024 15:27:00 +0200 Message-ID: <20240723132958.41320-1-marek.vasut+renesas@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 24178387527e202062d X-MBO-RS-META: sw67y9k81nzs14pncsmk9zd98aj8jr41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_063047_762514_62756866 X-CRM114-Status: UNSURE ( 7.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Various PCIe controllers that mux MSIs onto single IRQ line produce these "IRQ%d: set affinity failed" warnings when entering suspend. Remove the .irq_set_affinity callbacks and make sure they are NULL in all affected controllers, so this warning in kernel/irq/msi.c is not triggered. This has been compile-tested only on all but the R-Car PCI controller. The clean ups are done per-driver so they can be easily reverted in case they break something. Marek Vasut (15): genirq/msi: Silence set affinity failed warning PCI: aardvark: Silence set affinity failed warning PCI: altera-msi: Silence set affinity failed warning PCI: brcmstb: Silence set affinity failed warning PCI: dwc: Silence set affinity failed warning PCI: mediatek-gen3: Silence set affinity failed warning PCI: mediatek: Silence set affinity failed warning PCI: mobiveil: Silence set affinity failed warning PCI: plda: Silence set affinity failed warning PCI: rcar-host: Silence set affinity failed warning PCI: tegra: Silence set affinity failed warning PCI: vmd: Silence set affinity failed warning PCI: xilinx-nwl: Silence set affinity failed warning PCI: xilinx-xdma: Silence set affinity failed warning PCI: xilinx: Silence set affinity failed warning drivers/pci/controller/dwc/pci-keystone.c | 7 ------- drivers/pci/controller/dwc/pcie-designware-host.c | 12 +++--------- .../pci/controller/mobiveil/pcie-mobiveil-host.c | 11 ++--------- drivers/pci/controller/pci-aardvark.c | 10 ++-------- drivers/pci/controller/pci-tegra.c | 10 ++-------- drivers/pci/controller/pcie-altera-msi.c | 11 ++--------- drivers/pci/controller/pcie-brcmstb.c | 11 ++--------- drivers/pci/controller/pcie-mediatek-gen3.c | 13 +++---------- drivers/pci/controller/pcie-mediatek.c | 11 ++--------- drivers/pci/controller/pcie-rcar-host.c | 10 ++-------- drivers/pci/controller/pcie-xilinx-dma-pl.c | 11 ++--------- drivers/pci/controller/pcie-xilinx-nwl.c | 11 ++--------- drivers/pci/controller/pcie-xilinx.c | 9 ++------- drivers/pci/controller/plda/pcie-plda-host.c | 11 ++--------- drivers/pci/controller/vmd.c | 13 +------------ include/linux/msi.h | 2 ++ kernel/irq/msi.c | 2 +- 17 files changed, 32 insertions(+), 133 deletions(-) Cc: "Krzysztof Wilczyński" Cc: "Pali Rohár" Cc: "Uwe Kleine-König" Cc: Aleksandr Mishin Cc: Anna-Maria Behnsen Cc: Anup Patel Cc: Bjorn Helgaas Cc: Broadcom internal kernel review list Cc: Daire McNamara Cc: Damien Le Moal Cc: Florian Fainelli Cc: Hou Zhiqiang Cc: Jianjun Wang Cc: Jim Quinlan Cc: Jingoo Han Cc: Jisheng Zhang Cc: Jon Hunter Cc: Jonathan Derrick Cc: Jonathan Hunter Cc: Joyce Ooi Cc: Karthikeyan Mitran Cc: Kishon Vijay Abraham I Cc: Koichiro Den Cc: Lorenzo Pieralisi Cc: Manivannan Sadhasivam Cc: Marc Zyngier Cc: Michal Simek Cc: Nicolas Saenz Julienne Cc: Niklas Cassel Cc: Nipun Gupta Cc: Nirmal Patel Cc: Rob Herring Cc: Ryder Lee Cc: Shivamurthy Shastri Cc: Siddharth Vadapalli Cc: Thierry Reding Cc: Thomas Gleixner Cc: Thomas Petazzoni Cc: Yoshihiro Shimoda Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: linux-pci@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-tegra@vger.kernel.org Reviewed-by: Manivannan Sadhasivam Acked-by: Thomas Gleixner