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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D1F3C433B4 for ; Thu, 15 Apr 2021 18:34:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A9FF611CD for ; Thu, 15 Apr 2021 18:34:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234354AbhDOSeh (ORCPT ); Thu, 15 Apr 2021 14:34:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:42022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbhDOSeg (ORCPT ); Thu, 15 Apr 2021 14:34:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DDE896109D; Thu, 15 Apr 2021 18:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618511653; bh=Z7rlcf62/SeM90x3yXm6cxI0c7m0aB8KUv/uFZ4RNKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EHok+Ml7HW5qRCjFV0UjOhOwESORXNHFxjxbQfAmrToF17zUp9G1JyKI0IdvSpmeG Eia+If0gp7lug8g4pDT574Z8ro+68h74JfGMHVG3prNXFbgC8/h9Y9v7G9xfpRauhb L8I1E8rSll0HcULpn6JGcBi3nJJ0nF9lSuGTtx6bMm4KLQRvK2NiLNQMEm/MLT6tG9 XiQuMbYaDZdEMqWxWAZVAaR9hL1w1tuapPuWZ0BvJ8rHqyzoICbz3grkxBy2eif/Fx ijsXxWexN3Bx2YdCjMKm/w4p5Gd1T06zJ8N5tMv+thwkXd5QjviTqjbcM3F7dSGdZS B+5+lZAq4epeA== From: Mark Brown To: kjlu@umn.edu, Dinghao Liu Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, Naga Sureshkumar Relli , Michal Simek , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, quanyang.wang@windriver.com, Shubhrajyoti Datta Subject: Re: [PATCH] [v4] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe Date: Thu, 15 Apr 2021 19:33:41 +0100 Message-Id: <161851161878.23304.12649397818878323854.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210415074644.24646-1-dinghao.liu@zju.edu.cn> References: <20210415074644.24646-1-dinghao.liu@zju.edu.cn> 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 Thu, 15 Apr 2021 15:46:44 +0800, Dinghao Liu wrote: > There is a PM usage counter decrement after zynqmp_qspi_init_hw() > without any refcount increment, which leads to refcount leak.Add > a refcount increment to balance the refcount. Also set > auto_runtime_pm to resume suspended spi controller. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe commit: 58eaa7b2d07d3c25e1068b0bf42ca7e7464f4bca 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 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 X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40F2DC433B4 for ; Thu, 15 Apr 2021 18:36:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 0D9BC6109D for ; Thu, 15 Apr 2021 18:36:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D9BC6109D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k4UukS3nN5MCjw0RHy9D0PfooEe9fZ8bSutlYdOcBWk=; b=ZI4xVK5EHiP5q6AnFPuq8a5cK haeC2LEhTEisi+EbBacr+s4O0SYaULytGQy3C4DV/eLFanuKqGMNwDyyg8aq8iNRP3MagO/5SPdvh S7Zp8nXPy0tlSKR2AtuY5gnxAR/Uqq4TiLxWCF2Kv0UmZWanRIGVUIPV6vSEO0G0Bc9re9FyeugiR WbHBxTDdrXD9r9W/L7UJ5DdqfzWh+ZriOvZ0K4elm9jxKDnSuphhjYh0hFdHoAHOPvBePoK8LPuc3 fQQSbZ51Ho1lhJCvPHmBj0J5VZ6M416QSIQZW0AWSsREz1549EGkfWuMJRpRtkrOAQJvEpe74vnnh d3+yhUbxg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX6oy-00H0Nu-Pp; Thu, 15 Apr 2021 18:34:33 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX6oi-00H0LZ-Ne for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 18:34:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=1UqMZobPE1RwOFyKGnGzRXxSLfF+E0X2nMc+KVfV1PA=; b=0PWKXnaCjfnuwyc8jNWtDUwsoP /mMohhvCKuYGXYiMLmKMrIHnmzjxd0H7rfHRn40DKQvG0/U4GL1MEY8YtOdKNG/fSmUh61y5mB2V9 uzfFUyPJhkHp14dVMWSLVTFCtuyOdxEbAeys0ut4FIkUTsbpvNNNTdaDi6Jev5suUAztZQ4Lami1i cr8nIfeH0jmxBu15qCd3WeAKy6zNKVQloswh39OGXEsYbkPmoGG0bwMpZ4K+vs9j4STfQv/x3TxP+ eYMDAl64bPT7/OsHI10Q7MrQYDDneLRU1eu9mu2lh6eWNgs8rUOaCJFYtvPHVTsmgyvqxHk2v5Ncy +NB52tlQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX6og-008of4-0P for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 18:34:15 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id DDE896109D; Thu, 15 Apr 2021 18:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618511653; bh=Z7rlcf62/SeM90x3yXm6cxI0c7m0aB8KUv/uFZ4RNKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EHok+Ml7HW5qRCjFV0UjOhOwESORXNHFxjxbQfAmrToF17zUp9G1JyKI0IdvSpmeG Eia+If0gp7lug8g4pDT574Z8ro+68h74JfGMHVG3prNXFbgC8/h9Y9v7G9xfpRauhb L8I1E8rSll0HcULpn6JGcBi3nJJ0nF9lSuGTtx6bMm4KLQRvK2NiLNQMEm/MLT6tG9 XiQuMbYaDZdEMqWxWAZVAaR9hL1w1tuapPuWZ0BvJ8rHqyzoICbz3grkxBy2eif/Fx ijsXxWexN3Bx2YdCjMKm/w4p5Gd1T06zJ8N5tMv+thwkXd5QjviTqjbcM3F7dSGdZS B+5+lZAq4epeA== From: Mark Brown To: kjlu@umn.edu, Dinghao Liu Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, Naga Sureshkumar Relli , Michal Simek , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, quanyang.wang@windriver.com, Shubhrajyoti Datta Subject: Re: [PATCH] [v4] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe Date: Thu, 15 Apr 2021 19:33:41 +0100 Message-Id: <161851161878.23304.12649397818878323854.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210415074644.24646-1-dinghao.liu@zju.edu.cn> References: <20210415074644.24646-1-dinghao.liu@zju.edu.cn> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_113414_095596_7C45D35B X-CRM114-Status: GOOD ( 10.38 ) 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 Thu, 15 Apr 2021 15:46:44 +0800, Dinghao Liu wrote: > There is a PM usage counter decrement after zynqmp_qspi_init_hw() > without any refcount increment, which leads to refcount leak.Add > a refcount increment to balance the refcount. Also set > auto_runtime_pm to resume suspended spi controller. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe commit: 58eaa7b2d07d3c25e1068b0bf42ca7e7464f4bca 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