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 0363013A406; Thu, 13 Jun 2024 12:42:58 +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=1718282578; cv=none; b=h6as9wHY7D9KOqFHIGCwCXAlHMh6AOBozUmVGETZTI+mrxvCFNCffodikixqv+q2oKnCKq55XSmJZh1FENRT//oIoxhT9hqPf14rIOxeLvcQogIHH//nRgSUWDE08pskBANeAT2Xo6UMpy3A+SReUErBccOVVX567Flq9xId1Ig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282578; c=relaxed/simple; bh=hmpShjNjwRdVEhfa4H4CxCl+JpD1PQ0KWGTIC6BDmgs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Rv7YEvKhcxklgLX07NwX5SLgNuWv5EtIzNBVbmtKnf5ojH41gpPopC+l0MrdLo5ubIAu3r8K75eeb+w+OsgE8GlRR2KX1aTa8Z2/n7lQc8HdYKTdfVSSzqQ3p1+aTeBgXE+mTlgl0WxhhbnNANvdqy1FZdhq4yIBhYPrbk+wjOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CrO2Ksxl; 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="CrO2Ksxl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54017C2BBFC; Thu, 13 Jun 2024 12:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718282577; bh=hmpShjNjwRdVEhfa4H4CxCl+JpD1PQ0KWGTIC6BDmgs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CrO2Ksxl8zsP8+kUZrNAx7wT+UFDc7spg2ztenS1fW43uWDoLyDET9bf8rteIK6JO wLVHeM3Azu4DUVxf70vAoo8sBlYkUh8LB4T0b+YOBRT/EOx0w1lZORqQLvbDnjcz8G f3dWkcBDxDpN58Sb2aJbi+PAF8RB+9HWkf4dwmb0= 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.15 325/402] spi: stm32: Dont warn about spurious interrupts Date: Thu, 13 Jun 2024 13:34:42 +0200 Message-ID: <20240613113314.813454843@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113302.116811394@linuxfoundation.org> References: <20240613113302.116811394@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.15-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 191baa6e45c08..e8d21c93ed7ef 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -884,7 +884,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