From mboxrd@z Thu Jan 1 00:00:00 1970 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 91FCDC4167B for ; Mon, 4 Dec 2023 15:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-Id:Subject: References:In-Reply-To:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=O3JiM7RA1eSlKf2RGPJozKqbIL4lfG+tp4RKDXMWfLg=; b=K6TtXEy0yftT47 Jttgk3+G+5lysmdMJjXWylz3IHG4U0DwgBwe8v4Xu7ffP6lcYGIpxoMja3Gj0hiKGS73C2kF3pBfX T60ha+XxSOLj/MIXMWiln1EFtnRu9eqrG7UtSbprjPF5QIgGbe9F0Kxcxfidw3V+yYZgR+dfarCRr shXsJ2HJBT9qF5QXB/bSEX6x/Q5ijPUuYMqxvDRHK5ijUvZ8P4Nl9CAwn8OO+2k/zxZ8jK9XfOYT5 0o4P2Nl22lmp6ZrZEjKI1yOlHiKrkeRRdQSHGDl+IV62Wd6woiPLDkdpkcgzWyfZ4Qg84W8r7CCo5 OgLUu2SbeaHo+yJ/T0FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rABAO-0050UZ-0l; Mon, 04 Dec 2023 15:47:28 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rABAI-0050SV-1V for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2023 15:47:26 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B07B8CE11AB; Mon, 4 Dec 2023 15:47:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0298C433C8; Mon, 4 Dec 2023 15:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701704838; bh=Bi0EF5oXT4+t4j1Amj/0GO9G1Yr34yBAmoGJx5pBhVY=; h=From:To:In-Reply-To:References:Subject:Date:From; b=meJzE08AKAc7RHyEYNWcJwrRKMDBYeh2Jv6wi1vUMS30f1wt5DT9au9vq72AfYiWf CVJZm4+K15Tju6BJtbNmS1j74ftqCTueGkF066F0Z053ukgUWRJ7FcyWIVjDjVgbzI H/uip5GCNECzmI6D+oTpa9+Y1C6d+mRvc545UYO1ER6vgwgL0UNSbhLGDwL+5xxoyD AaJgmymYfmmd6jvl0nli11iaexy2gLLW0NKCNEWMsc1iYuPvqb759AJwEGWWznQ5X/ 2ymO+qcWLxdF4h3qnLebmrF/7IDw1gkEGt4digZIklLOr02vFxGFY69m+Ptam+gezf E6tl3sdNCsF2Q== From: Mark Brown To: linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Nam Cao In-Reply-To: References: Subject: Re: [PATCH v2 0/2] spi: spl022: fix sleeping in interrupt context Message-Id: <170170483664.64566.7462447970982303814.b4-ty@kernel.org> Date: Mon, 04 Dec 2023 15:47:16 +0000 MIME-Version: 1.0 X-Mailer: b4 0.13-dev-5c066 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_074722_902571_BC7EF72E X-CRM114-Status: GOOD ( 14.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 29 Nov 2023 17:31:54 +0100, Nam Cao wrote: > While running the spl022, I got the following warning: > BUG: sleeping function called from invalid context at drivers/spi/spi.c:1428 > > This is because between spi transfers, spi_transfer_delay_exec() (who > may sleep if the delay is >10us) is called in interrupt context. This is > a problem for anyone who runs this driver and need more than 10us delay. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: introduce SPI_TRANS_FAIL_IO for error reporting commit: 39cefd85098d12439586824c39f8e1948fac186d [2/2] spi: spl022: switch to use default spi_transfer_one_message() commit: 9b2ef250b31d46f7ef522bd1bd84942f998bb3f9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel