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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44533C433EF for ; Mon, 4 Oct 2021 18:00:03 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 02BE761213 for ; Mon, 4 Oct 2021 18:00:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 02BE761213 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hnss4u/H0m734c3NofyEtTCtlD8i9u1frm7OUiQq5s0=; b=Xpk9Uqs4Fc0ahALvtoouULKWjA TxI5+JFkQHI6N5dVmnWvXPKLX3q5mXy1zbXLbutVNVFFSg3bnpANKYRMt7lxDa9CdKnCo4fXeAaPU 10InobTWFKbfrvURawKo+JgYgZhEO16oCeE6fT2JrHgSoTeRS4/mw5LjNiIe9A9XDMcX1CQThv2cg chCRYV5LiT3j/kAbQn0t9G7Qs3gsx03petZQMkmJ6mCoim2ZZYpSpdz74DX8yS2cY0HiFrS+PtktZ U2Ghkivj6AFCIkDEJDTyBnmNtV/RiLW/yTjmCCsSf4lQHs4PPgX12C8ZFHOe0opVqFbB41NdnG8vC WA/fKjxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXSD1-007VUN-KT; Mon, 04 Oct 2021 17:57:05 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXSC7-007V3D-4u; Mon, 04 Oct 2021 17:56:09 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F5F761207; Mon, 4 Oct 2021 17:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633370166; bh=iihWtpxgSsYd4yX5WcJ7ebWvE0XP2NH1ko0MEkDEqI4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QxeiIafKt8gaBHAQ5/ukADuqigQu0UGFqrzNQh2bxpXyDJ+O1T3tpxgEIpqDc7or1 fZXJjmvKTB5KCXNNeVwnctypruPuQsTKOPVh53mC1EGOGq8gSrBT39JIhRbEGQ4P8l ZRNDkjKMlKsmyehoFJdnZllqYKlfkqdK+juxkuoh4y3ECNyLvNYbEfFqDq6Nzi46iF 9hmBp3/mt5KdKiGo4sI453c9w4VO9Fn+qWj43TY1KDQ65Oew46MqBfZDSxeHMXudjs 0KJlToErN3yp8IUNvrEFSk7r3wb7HPnX4HeDRIVWbOuJnuN8Y38SCpye1SecygvhMb ICOT+2tg2IT7A== Date: Mon, 4 Oct 2021 18:56:04 +0100 From: Mark Brown To: Florian Fainelli Cc: Jason Gunthorpe , Lino Sanfilippo , rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, nsaenz@kernel.org, linux-spi@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, p.rosenberger@kunbus.com, linux-integrity@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] spi: bcm2835: do not unregister controller in shutdown handler Message-ID: References: <20211004131756.GW3544071@ziepe.ca> <20211004154436.GY3544071@ziepe.ca> <20211004165127.GZ3544071@ziepe.ca> <20211004171301.GA3544071@ziepe.ca> <8513334a-1de4-bc9c-0157-e792e8ff4871@gmail.com> MIME-Version: 1.0 In-Reply-To: <8513334a-1de4-bc9c-0157-e792e8ff4871@gmail.com> X-Cookie: If it heals good, say it. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211004_105607_247851_35F7DCD7 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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: multipart/mixed; boundary="===============1870017528063950085==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1870017528063950085== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tDeEGRM3Etvfc3kD" Content-Disposition: inline --tDeEGRM3Etvfc3kD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 04, 2021 at 10:44:34AM -0700, Florian Fainelli wrote: > Anyway, we are divergin slightly here, how do we go about fixing > .shutdown here? Implement something in the core which will stop any new operations being requested and flush existing ones then update the driver to just do whatever is needed to turn off the hardware. --tDeEGRM3Etvfc3kD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFbQDMACgkQJNaLcl1U h9B02gf8DMJ9GV0eTB6jdz3mzbfIDKFWtRDU0DAiDmtHoX71kYjzVqPBjrSgej+h FePNNGAjbv3Vw5i/aPtJjdScC0CcsDDqdYqjRD3hALn2RmnKdHfzIc4TbAfH0Bhy DtobtvArYdFNdP5lG/SHmHi7b8+ObIfV/bj1SsyxmrPd9xTY17smH7WYgKCeTZRC XLldyg+mn+wV0fGrSOCwpAAoEifV2mq1stJTg9TLI7nNbXEGqBJlMfVEdhlrSix6 j1yoSqXz3FdLyHySBogmAuPcREHpPkUh601cCiK3lqlFy7O3lCckyt4VCruNaZCB dTPjFsh5QBjcK9BZU4cX5gG9WnFifA== =9ZgA -----END PGP SIGNATURE----- --tDeEGRM3Etvfc3kD-- --===============1870017528063950085== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1870017528063950085==--