Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4804826pxv; Tue, 20 Jul 2021 11:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFO6hY7UmMKNyu64sXG2jgGDme5gU23SmhdoDr63/7xxiw80nT5Z0fNwVML9px+n+mnOdN X-Received: by 2002:a92:ddcf:: with SMTP id d15mr8558651ilr.184.1626807086554; Tue, 20 Jul 2021 11:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626807086; cv=none; d=google.com; s=arc-20160816; b=MNeP+YsSua1PNI0llLjOIg84gm80f7yWCMirawvSFpqm7Wsf4YB83ljG+qFc2oGjCD H54X4eSMpfkNcxdioxkUkFtMVi1igPnvbOK6Iw/CMgYmIrbH82ZLltYBLEsoRcs/lMgb H/lHtClosMUyMfWcy375IcfctMYE/v2ksnPSIdjYVhMkhr9yHgBamYZBuUtTCGrV/LXb sN4QjDTDnSisxUJq1smcoiAOy4elXozgSSt6gkjNs6yBkJdIFjHvlAPsUDylCzVIYzAd WthfGDuilTbYc9eGV63nlUIi/Ttv2rBMMPnHeqPaKhy7Tx32asrYB9uj6hD5TdYkaGfm z6UQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nOJxC1Q/bNwKhxkiG+qjKRkHKgDplwQriYjCk6vsf/g=; b=Cx0wbPV9qy7PobOzNfbp3vlrzMjb6qNDW5L3J+mO1lh2rg2jBPpDEm+vv4Bk76b4j8 aBC1WgC+5UlMO8MJ5+or1NZDr8tD9k3gxWeEkWM9UtZuFK1YYQIvW9F8Gxy7FPCdvTEg QOppzzBuG3JuVD1v2JEORa8Qp3VYKN+8jYt1xtLGA0PDxTIAKTDoFuFkeryd4X0NHxgm XE/5TyGUEqqv5ORO53l0mQUT58uwbzZBU9vhvMp5gxGeUmSW5X9fve0R1exb65qvsH31 zLbkgNXMMNYJOHeZ7Oo6TBIxjVdODY4+lkwVeiGT7OXWrGqmCFp9HBjasg6orOS2IjxR utpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KE/UGNHv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si17090220iov.62.2021.07.20.11.51.14; Tue, 20 Jul 2021 11:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KE/UGNHv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232035AbhGTSIG (ORCPT + 99 others); Tue, 20 Jul 2021 14:08:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:33936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232512AbhGTSHp (ORCPT ); Tue, 20 Jul 2021 14:07:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CFC7A61009; Tue, 20 Jul 2021 18:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626806903; bh=pDnPWStFctmWL6EDjvYaPuRJTNwmF3Oh0LAPMY0O398=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KE/UGNHvwnMLz4mEYnFJqcoeVEZnQYbzw68vzjo+7M+zdtVm8i89Kz3AbdMIamM8U 4wd2WGXgFln6d8jHKycs0eu/6BWnION81zZDcFe3j/yvNGdvvAN0GC/MMQmbVp2sE6 vlncgFgx9u2wBcLe+yK+WtwYN2dTFMkjnYo8WhyP9IipEofzJlJtUVN8+yT4QGc/hS VBcbmB2cKRj5VM+eV69UCzQJCrO5AhwvjgQWUlMMA2nZCLEGf/6SLCWxdSFWctNXHk gGWGORsDmO60BuqfwlKcOE3aF5QIUOrO9yM1OoymyYY/KT/aWzfQHNKiktlgpIBpcc 6FSLiw6c/bGDA== From: Mark Brown To: alexandru.tachici@analog.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Cc: Mark Brown , nsaenz@kernel.org, f.fainelli@gmail.com, rjui@broadcom.com, swarren@wwwdotorg.org, bcm-kernel-feedback-list@broadcom.com, bootc@bootc.net, nuno.sa@analog.com Subject: Re: [PATCH 0/1] spi: spi-bcm2835: Fix deadlock Date: Tue, 20 Jul 2021 19:48:16 +0100 Message-Id: <162680680557.11423.14003826010912823109.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210716210245.13240-1-alexandru.tachici@analog.com> References: <20210716210245.13240-1-alexandru.tachici@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 17 Jul 2021 00:02:44 +0300, alexandru.tachici@analog.com wrote: > The bcm2835_spi_transfer_one function can create a deadlock > if it is called while another thread already has the > CCF lock. > > This behavior was observed at boot and when trying to > print the clk_summary debugfs. I had registered > at the time multiple clocks of AD9545 through the CCF. > Tested this using an RPi 4 connected to AD9545 through SPI. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-bcm2835: Fix deadlock commit: c45c1e82bba130db4f19d9dbc1deefcf4ea994ed 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