Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2795917rdb; Mon, 4 Dec 2023 07:47:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6gVYSILHix3pvKUyn626S3Hd4g6LU/o1PCzkFD/fBeWB1xXO3OiasZHBTD9qB/awXtFqk X-Received: by 2002:a05:6a20:be03:b0:18f:9c4:d339 with SMTP id ge3-20020a056a20be0300b0018f09c4d339mr4058426pzb.41.1701704848646; Mon, 04 Dec 2023 07:47:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701704848; cv=none; d=google.com; s=arc-20160816; b=KTkHWzdCtM4r1oDxJO0jCAW2lbml0g5tmY7BLD/Fc2mMz2jp7oqkeD6IUVS53z2q+e 171tBq+lbij1dlNf876GbUR1+wh+YdXY2ypme2dbuMR0EuWuYjttvvmOeOUr6Xby2rM6 eS/anbYdPSIVGHOft1Ya9EWPmAU8KlIRobMLK8pAKycK8ufsFtEy0wK8kSw5EF1A63Kp wM6JZY9sS3M8Xu0Xbtn63Ikc+yzTpHmTkxB2hTfhTXSQyHwR6omNXRLrVUyKSjxUZNQl Gm02MH5LNX6HHXy9Rg4J6uxkWazhtRGAL1QBprC5G54h3XqJ5HhAWhh/aBukhamrYlBm AdiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:to:from:dkim-signature; bh=4k9OkIXWhb9Y5R4snSAYuTCmQlEiPtl63Z4dI4iOU8M=; fh=K1sC9fO08XjGvVGeyqLaKhA5rtjbOpp7zsH0uSZ5VNM=; b=pmcCCSoKikfNu0ZlIxnA+/otEP+ybgAiYmOkNuFlrZUhUEdBxwo/FHAsEPkwto/PWY +Su6mNGMIJdJu00ON8v1m7PH/UCz4HIjXC14bg53iXex25FhuxOLCRBuDAtLbvjcw8zf XapNOakyOS7tAhY9ZyhCuvWEW+X+gCch7o9kRk9qsALUOWHRUONfn+7aRSB16z3IU9J7 3vfDI1bEe208t/XM6B/758dr3+3kfEMo36akf+71pnqKNkASuq5Y8LetM9QGHy2NYiNd iXtDCbdoxU1AjYseJpNsnbCiKVE/lHSMZ9IdHqaJjwzLNmedWttE+Bm2sem4LZSC3o4X wqoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=meJzE08A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x20-20020a634a14000000b005c62a23ddffsi7744446pga.778.2023.12.04.07.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:47:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=meJzE08A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 38DCD80A4F4F; Mon, 4 Dec 2023 07:47:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234755AbjLDPrM (ORCPT + 99 others); Mon, 4 Dec 2023 10:47:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbjLDPrL (ORCPT ); Mon, 4 Dec 2023 10:47:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51B9DC1 for ; Mon, 4 Dec 2023 07:47:18 -0800 (PST) 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-5c066 X-Spam-Status: No, score=1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,SUSPICIOUS_RECIPS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 07:47:26 -0800 (PST) X-Spam-Level: * 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