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 48C8B143C5D; Thu, 13 Jun 2024 12:24:11 +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=1718281451; cv=none; b=seeYYSOnJttT4D/Dmtmkhm/adF/J9rx65zr2yGSpJB4kM4wXyj9kcBm1TCYx1s31ko+wqjL9O8dEUa6SWbVb6+Ra4P0RB2h6NpJMrw00iByH1O2/ArQvRJY55ZQS1NBMWP1radWqgAebQLRxE8EP5P3eW4QIFMcVZr0nnnN6yec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718281451; c=relaxed/simple; bh=pGHYS9rnCd40Fo+5jH8R2jaeTdkhdkUC86sCfr2RWvw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=roxO0QbM7WJofmTiUDPlolAAIV45NOVZHXGyEPGneodBsqSopL42PBECxA2T7fALe+pI6NAs9C6U8kjyunpWuMeCVxTkMe6o1phNUxExRqipXZE6ogvc8DeypMKkeGcXFXEs0+7l755UgJ3bdw7h++JVv7ryV6wtVfbuf/YacIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bDkK5Ez2; 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="bDkK5Ez2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C36D9C2BBFC; Thu, 13 Jun 2024 12:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718281451; bh=pGHYS9rnCd40Fo+5jH8R2jaeTdkhdkUC86sCfr2RWvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bDkK5Ez27HP9b9toPD1hdHiQqz/yAxQ3elpbx+m2yA5LyP/JVrWittXzzuI4nMVTN AOCTvkUYeIPWUo6ViygbWNOkPEhh59seMK8Em/kOQ9anQ/vLVf5oqarxB9UXXfzAJS gGVWwJWc286pgLLqJ7J91MciOGCwhrB8ygOj8NEA= 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 5.10 258/317] spi: stm32: Dont warn about spurious interrupts Date: Thu, 13 Jun 2024 13:34:36 +0200 Message-ID: <20240613113257.528010798@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113247.525431100@linuxfoundation.org> References: <20240613113247.525431100@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 5.10-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 9ec37cf10c010..f97b822cca19d 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -931,7 +931,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