Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1172949pxv; Fri, 16 Jul 2021 03:23:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyfRIi3pVVqnFc214KkFS8+iRDvEIbYiqPbDp03DITFiYOmwD6h9JOO/+AUm9IN41gp1qv X-Received: by 2002:a05:6638:3a1:: with SMTP id z1mr8162668jap.77.1626431001956; Fri, 16 Jul 2021 03:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626431001; cv=none; d=google.com; s=arc-20160816; b=c+ImoZoEzJ12VCsvaNZP8BHu38JtYDaHsLVOUViol1rA31iZuildN2Jb1fQPVg5goU yo9U8tUCz3UNRWlqNEAHEDw4yF2NQkkTH02Z+kTcGyXfcUaogEPlxOu/TwGMQONHc/No hprvCoaHrLW0GXfojY51U+K23XMNnInMsDP1nDoqEjWgZsutSDcEC+X7YOLDSQc4WsGR iRma9HuiME8R3JT1VHtzxNn70TVQCzojk+B02d/zt+6mQeswXC7xso0Ggf8gqKyd/DTa 1etig+NKpIzmLT3yp0om1SA7PzVIcOoyOINIAlitnBGG9NkSCJZsCAfE+zoKZNiBGl/3 cihA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LPLjK0/F2QBKjF46wFtmvCRgoQO/Uosrsnmy5GRIu/8=; b=Hvyjt/WmWGyb0qwSzCE3yBFVt5JZPfuiR9ryuSDTw8fp2Fe9NiY34obS/zIJTd1mfC GDBK8qkSCaakQ8lP15Ke4+22P3p+gsYNh1GFq45lEgSk0fzhPeG49jyu47RhSuMxDzll ZNx8P+ueWyeAAOJNnMa6oFWyKVoeP65F9QLE+ZAyQ3Q2SAfpNCD7FBQyCzi2SFekVhPL ReNAF2CamvGMq/hehljimrt2Md0CDibBPT8A9XwAv0nC24KzfeOKtwVBjtvdJZ1lnErn Usi2pGDF9/hL9l/A/+4+vu/9LUiXzWx01q3X9jKBrcCHY/qqO47QBgOhWPspB3qL1oKC +FUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AWkE/523"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si6429328jat.17.2021.07.16.03.23.09; Fri, 16 Jul 2021 03:23:21 -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=@linaro.org header.s=google header.b="AWkE/523"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237957AbhGPKZc (ORCPT + 99 others); Fri, 16 Jul 2021 06:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237514AbhGPKZb (ORCPT ); Fri, 16 Jul 2021 06:25:31 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB726C06175F for ; Fri, 16 Jul 2021 03:22:36 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id a23-20020a05600c2257b0290236ec98bebaso3065893wmm.1 for ; Fri, 16 Jul 2021 03:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LPLjK0/F2QBKjF46wFtmvCRgoQO/Uosrsnmy5GRIu/8=; b=AWkE/523G18vB7RHC1qa30lulwYkMTm7IbLwlGpft2WNWQikypRT/cgwCl8b1IKHIA 4gjTdpjLA0ITiCGPqEciGnQqSQAwVmGRVNU3Z12kbzJZXyuHDtLsz60Xp7zQniRHufWa 9SnyevkCf/LB8umJnVbhbsXx9KMJyzZ8KLmIVV1fwMwvnWbpD7PCfThTIaRbUy3DHBk+ NvdyY7/1K94Ju1x4AOJAh9SKIOokv+B8ONdmJu12NRhV2SE3rM4ld8f5e8+SGuNMhHR3 jbsAaLdmOcqcK7BHjPp+ShUCb5q5AZ/dwH3mad8pe8TsVXHZ1lFEQSoPmVFZCvhJtQPn oDeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LPLjK0/F2QBKjF46wFtmvCRgoQO/Uosrsnmy5GRIu/8=; b=Ip/dgNv5Vp3qh+Kw4gBO5EjMJW/BTmcGwXv2SadP8V8jGX5YUd7sUpz8Tooc7IP1v2 dZUdtg/ZtCSu/Ve5npTWMoIop2orC0Yc7BjT1KxRoVYp7G6evbXjrGSk8/yT6GkDEZFY atjeWfljYCUslC+U5dgAR92plgpWoxAbIwdqp+/MCtYsAAqiSJb2i7NfuGLX2xMtFbCb dq+SDY81dsI+6ac+/Gl/+vf5Brwo7sblcv/2FeZgC1FzWhCKxN+s+zKy/nnP6Ghe4xCh PXjTAfoO2QE1yGOB/itsUHThSlFENBbi3ZErhqOBgwe5grQggtevR9PmK+ngU9r3HJgO 0hEw== X-Gm-Message-State: AOAM5306d3jx6pp83ShZ7rIs3yX4VeT+Qt2svMYDTbjdnKPwxsFfiqpq wTKXlcAxLsyxiMlpEw+gMEG1QvyL+/nUeQ== X-Received: by 2002:a05:600c:4f15:: with SMTP id l21mr9666333wmq.72.1626430955528; Fri, 16 Jul 2021 03:22:35 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id g15sm7421796wmh.44.2021.07.16.03.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 03:22:34 -0700 (PDT) From: Srinivas Kandagatla To: srini@kernel.org Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla Subject: [PATCH 0/4] slimbus: ngd: fix runtime pm issues. Date: Fri, 16 Jul 2021 11:21:19 +0100 Message-Id: <20210716102123.26861-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes various runtime pm issues while testing pm runtime on NGD slimbus controller. During testing it was found that pm refcount was going negative and sometime transactions are timeout after suspend resume. These 4 patches fixes those issues and now NGD enters in supend state and resumes properly without any data timeouts. Thanks, srini Srinivas Kandagatla (4): slimbus: messaging: start transaction ids from 1 instead of zero slimbus: messaging: check for valid transaction id slimbus: ngd: set correct device for pm slimbus: ngd: reset dma setup during runtime pm drivers/slimbus/messaging.c | 7 ++++--- drivers/slimbus/qcom-ngd-ctrl.c | 22 +++++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) -- 2.21.0