Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1677014ybt; Mon, 15 Jun 2020 06:44:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG25y0g+ITHAhqYBGc2q2xzKaW5CUhrxSXOG8XVCA+BkdwMQmrM9SWonNyiWsFuvg544ko X-Received: by 2002:a50:9fc2:: with SMTP id c60mr24732809edf.319.1592228653016; Mon, 15 Jun 2020 06:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592228653; cv=none; d=google.com; s=arc-20160816; b=pBZF0qjZwjmfXmx5enQlIly6X2slyF+UWgDoQelSpzAnevYwejU6UWs3XdKpu0LejF P9YSPZsU10va3zlEQiONNIapzAWMQJKgtyXRuh/OZSFST7QknHCq1rvYkpFPhnfzxnHg wsBq2eQM5sn25V58DTgaP2+okW3eIoxfpsePrZ/GVz+Odf0kZFfrs/6l6zUKjPdkQX9D 9HDRxXD4gvrKvzuDiJw4JjKcG37gBjSMKs8/PucBRMHx4BFrxBOWXizlz30yAjvJFn7S keyS3NMaXu/oHss86qFNyqYZQZtuSYsH3Vc6iwzQs3rFiSo5KE1aLRv/0/7qo0FO9+fm R5eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ldZ3qHesEPGPxRDy2PP+eNgQCVg0OujHEQewstkBEeU=; b=UYem6Zi4MEl9MwEWE2FIY8IPeLUhVe9AnmaN+TCyyA4fx0JglTyj07VpN2JBLdgMjF /v9M/Idvc2jWMTnVmzTi82N5xjOHe3xMUwetrpsfdM2jhS36X7rkElNvdkGMV8gZBoRq bh+3qYesXui2M99uory0kSNt+8TMWkL1U6QBj3dADEflX2a4TGN9+l273fLy/koEiFvs Plx5q9D05It4V3T1RFZu1Ga2GZRqIMDKXVrxNhiPnHls1RGpLhZvx6UAF/kjxXQJIEGP ccnfO3vEr+AG4QIYEBlBB5Cw3Bv3nmHRIeHlIB5+zBxW9dno3xD3qlsR3sNfyXpjCrkx 8GpQ== ARC-Authentication-Results: i=1; mx.google.com; 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 op23si8362308ejb.354.2020.06.15.06.43.50; Mon, 15 Jun 2020 06:44:13 -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; 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 S1730525AbgFONl3 (ORCPT + 99 others); Mon, 15 Jun 2020 09:41:29 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39964 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730144AbgFONl1 (ORCPT ); Mon, 15 Jun 2020 09:41:27 -0400 Received: by mail-wr1-f67.google.com with SMTP id h5so17211889wrc.7; Mon, 15 Jun 2020 06:41:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ldZ3qHesEPGPxRDy2PP+eNgQCVg0OujHEQewstkBEeU=; b=jA5k23mlbwIzkQE4LMtlQnpaoBh53mSiTfiId1dOw8Mf2cErvL1nzI+UjNswKEwgO6 FPV4SF85jTtX3Cl31PQz++97s2ouDRvaGms2ThOWd5DBG4baTMwDrsk/oVkjpddxLyth npGk2RY+ieASVplZEd0bTOx91lUDX/xvlmJqOSYFD9iZXuXs7pssjnhI80lWkJ0d0Eky E7ZlnXxy1jpy4XhZ6Nv4cFzWdZAStzxBD1tLDgUU1GT95hdXMFFeBOIbeXp0dSk243W4 i+fty3zoSFWv/7JDB0vtlcLIlX2LUFFknQgXw8KUQ311LADnL6rcV3//idIk9zD+tDyp xeRw== X-Gm-Message-State: AOAM531lBy6rLnL+wEUfwVqa5MvRtTsvB8uOWaYuwyI7ZDL0azv9+MMG tmef1QIui/lAPZgdo+q3MFk= X-Received: by 2002:adf:9205:: with SMTP id 5mr27655753wrj.232.1592228485925; Mon, 15 Jun 2020 06:41:25 -0700 (PDT) Received: from kozik-lap ([194.230.155.184]) by smtp.googlemail.com with ESMTPSA id 104sm25964040wrl.25.2020.06.15.06.41.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jun 2020 06:41:25 -0700 (PDT) Date: Mon, 15 Jun 2020 15:41:19 +0200 From: Krzysztof Kozlowski To: Vladimir Oltean Cc: Mark Brown , Marc Kleine-Budde , Thomas Gleixner , Vladimir Oltean , linux-spi , lkml , Wolfram Sang , stable@vger.kernel.org, Pengutronix Kernel Team Subject: Re: [PATCH v2 1/3] spi: spi-fsl-dspi: Fix external abort on interrupt in exit paths Message-ID: <20200615134119.GB3321@kozik-lap> References: <1592208439-17594-1-git-send-email-krzk@kernel.org> <20200615123052.GO4447@sirena.org.uk> <20200615131006.GR4447@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 04:12:28PM +0300, Vladimir Oltean wrote: > On Mon, 15 Jun 2020 at 16:10, Mark Brown wrote: > > > > > It's a bit unusual to need to actually free the IRQ over suspend - > > what's driving that requirement here? > > clk_disable_unprepare(dspi->clk); is driving the requirement - same as > in dspi_remove case, the module will fault when its registers are > accessed without a clock. In few cases when I have shared interrupt in different drivers, they were just disabling it during suspend. Why it has to be freed? Best regards, Krzysztof