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: 13740003 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48213481AB; Tue, 23 Jul 2024 13:30:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721741453; cv=none; b=rzIpLyTuekPFFx80w46A+XH6owTRbwy1iFuHvTvwXiiSkz/YN0Pf8/CxF+UnXjO5n0TTLl4zPtRr50Vwu26RR50fNz6SH/6OvsQtVqBdqWwYAboT6AM3QnatjjRwD87uNcfF9n/BEtBGKmELmrPMwL/15WH5OK+MAg86Nl+Ncr8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721741453; c=relaxed/simple; bh=rWPTjngTc60gvinmaTVa3YHZr1tPjjrUKWHzz7oCCcM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UljMSQwKm/Ye21eJNmZmgopQmv7tPkDXBcOu3lYPY2AT6l7JRwR0i5Wmp7mZ5nF8ogXS0fK2Tq3wBdMEDbJ7qoG7hnNyHPJ7/C1WRS48TpiTtgdqpuB6elwD3N9uPQJhY61lRgGJow+nDMKDjFC9bvHwusjL261RvhFG2D2J8aQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=Y2AWuERV; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=PLmOVbuC; arc=none smtp.client-ip=80.241.56.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="Y2AWuERV"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="PLmOVbuC" 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> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MBO-RS-ID: 24178387527e202062d X-MBO-RS-META: sw67y9k81nzs14pncsmk9zd98aj8jr41 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