From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CD1A41A2568; Thu, 6 Jun 2024 14:22:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683751; cv=none; b=lo77xJcq5hUmUSe+VF+OCGT8ob3P4csLoIii2wHxgrJx1Ex8ibNSuMzMkAWiPyqfAyABALO+OHUYp2FHM3/52RoBOH+Psaw+IQid1r/t7xT3jXnkzrEoSDfjWa/CeJ5QhIKGP8Dq/bwL6DpwtRdAqQDg9+aIAuBdNwS63L8nzLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683751; c=relaxed/simple; bh=kEM3g9YaH1K3RuLYnS100mnkw00myweGDrW4diqBIGc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gSNHANgUQmgycZSJaaYRq2PpnAesjOEUCEMRXa/iOCJLaE9IVOZY2xWZS3kSewxj8OydmRYbQo05N60R9hKSkBLaaXcCVhCaWT3mPnniHTsHPbRxrWHSoD36Bb0Ip1ncEM1T0PJiOuUnMmOxeMAK2qYDNUYaXGZ/NjSDvQtX5lI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iKtnXIDn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="iKtnXIDn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A08B2C2BD10; Thu, 6 Jun 2024 14:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683751; bh=kEM3g9YaH1K3RuLYnS100mnkw00myweGDrW4diqBIGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iKtnXIDnyTF95gPqWZGumP4ENwD4VTOqOc0nepcx8DJ3tx0fERHr3ZLSLSIHrVHMh MN+Sn6BTd7/XVAMu58KBRsLTpYQgKrnM6EZV7G7NT9tXEUUpH13yA5sQIuxxkvKQg8 x8M5TMUK4/BbydfKJ9VUIG9P7n2UlNBBM+jO4fDw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Mark Brown , Sasha Levin Subject: [PATCH 6.6 721/744] spi: stm32: Dont warn about spurious interrupts Date: Thu, 6 Jun 2024 16:06:33 +0200 Message-ID: <20240606131755.588960180@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131732.440653204@linuxfoundation.org> References: <20240606131732.440653204@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Uwe Kleine-König [ Upstream commit 95d7c452a26564ef0c427f2806761b857106d8c4 ] The dev_warn to notify about a spurious interrupt was introduced with the reasoning that these are unexpected. However spurious interrupts tend to trigger continously and the error message on the serial console prevents that the core's detection of spurious interrupts kicks in (which disables the irq) and just floods the console. Fixes: c64e7efe46b7 ("spi: stm32: make spurious and overrun interrupts visible") Signed-off-by: Uwe Kleine-König Link: https://msgid.link/r/20240521105241.62400-2-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index ef665f470c5b5..40680b5fffc9a 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -898,7 +898,7 @@ static irqreturn_t stm32h7_spi_irq_thread(int irq, void *dev_id) mask |= STM32H7_SPI_SR_TXP | STM32H7_SPI_SR_RXP; if (!(sr & mask)) { - dev_warn(spi->dev, "spurious IT (sr=0x%08x, ier=0x%08x)\n", + dev_vdbg(spi->dev, "spurious IT (sr=0x%08x, ier=0x%08x)\n", sr, ier); spin_unlock_irqrestore(&spi->lock, flags); return IRQ_NONE; -- 2.43.0