Message ID | 20200916191737.4001561-7-mathieu.poirier@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=u8n1=CZ=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 62F1459D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 16 Sep 2020 19:18:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 137402075E for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 16 Sep 2020 19:18:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BSM6Vjo5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="POX3iV6n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 137402075E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=t297vnjGhXt0B2t3AOnuUgulEjnpvaI2o8iW4QhZJ+c=; b=BSM6Vjo5vXM2nX8E0G/kymstB Sah61xrNkhGocXE+QmQglm4xsxd/tqGHCZvCeIUmc6/kEpFMQZiwW2lsBGOy/v4oZy6q7WDtrnWrU 26Fye8dy7D+93FrsI5GkDAFxghQVRsneaLLQ9TyBIdPN/vYK9T4FxBvab1Zz8bo7AoxJMU1ro48nY W0+AsWoHtRPGZq/SYYXEmprO+u+DrsMHaiS2CkU+wO0nJCd8GxjpubSaK64L5UdxK37w34583wk5G qfObwhKYL+ppwEdfcSbd/TR3t8YHFnWpNUiqBaW6rGdHfWz+pZVr/N+55tbOGheI71TF/1wlUhR7p tfU4zWO2A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIcwg-0005I6-42; Wed, 16 Sep 2020 19:18:22 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIcw7-00057B-Sq for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 19:17:49 +0000 Received: by mail-pl1-x643.google.com with SMTP id y6so3715579plt.9 for <linux-arm-kernel@lists.infradead.org>; Wed, 16 Sep 2020 12:17:47 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Uwz7uDiSpijhZG4h1tserEStKWNE3HZkcr8/salV8us=; b=POX3iV6nlCb0dIrYb1Gn/NjEpUNZlcqETAyRE7QwmNxuJnURWKse4aRCc0oxZFvFxQ NLxaRsFQ33H8dikTXbDpTdr75xDM5Q4EqDHzbHxwNqVMkBh8KcTjq+r8d9FX76CcJ5tl YqqT4UjP4undHKXoQnkb02v1e4PD5RlDaxnd1dxy2BJevRKMMSagD/is5TW3e+fYJRZx kA0FhRzYob0WRAdz+hl2TaUtTJEcqhReLPa89j61Z29U9bSM4uspgI8LiQOKdZFE6hyo SYW251azdWJqq9g5xpvAoh6VxBNlUIJJAJ5uVeV7kxzntD2wKM5+bVcrtMClsubV13Fr 6btA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Uwz7uDiSpijhZG4h1tserEStKWNE3HZkcr8/salV8us=; b=ELyWRgOHqAvLDtGKwfQ8XoMvECZEC33wMjXamsQ0X0jJ3Ext8Cye3OfzX8bT8yiL0N Wnl+k6nP0Ac7UvuRUjJeVt8mbW8+x8VZBHFEULzmlblY9axOHDJsPB3Yar0BGbvlV8Z8 6/8k7FbHeygvIfssFEYzh6pVg4Qi52BUha/43SFiLGOnVlORnqRZkdd3vlBMiY6ayiaw 8jujDjwleKroiLE9HLy9O/WFEQJ/biFX1TMi4B+t2BlWv21nILNiLMnS1uF+CNokgIkk rp1ipjY2AZlnHRiijZEx6JSrmrr5xjj/a7+pQTT0ffe4wmwoe9eKxNB4mrrLsmoKqyfC NZcA== X-Gm-Message-State: AOAM530tYiDP2aFyBp+oDldZF94DPftXhQIpzehdFBGi7c2f/i+gUEbE +LYhF0QIvOUdeNJDvPp0jbtX1Q== X-Google-Smtp-Source: ABdhPJymvRW+Zat6n+q9jRaLx3Lamg31OZ5/XkFmEre09r7lk2LGVcjpGdqpqkkE0ExchqtAUQeQSg== X-Received: by 2002:a17:90b:3105:: with SMTP id gc5mr5357689pjb.225.1600283866159; Wed, 16 Sep 2020 12:17:46 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id b2sm11373688pfp.3.2020.09.16.12.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 12:17:45 -0700 (PDT) From: Mathieu Poirier <mathieu.poirier@linaro.org> To: gregkh@linuxfoundation.org Subject: [PATCH 06/16] coresight: cti: remove pm_runtime_get_sync() from CPU hotplug Date: Wed, 16 Sep 2020 13:17:27 -0600 Message-Id: <20200916191737.4001561-7-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200916191737.4001561-1-mathieu.poirier@linaro.org> References: <20200916191737.4001561-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200916_151748_012257_351F3F86 X-CRM114-Status: GOOD ( 13.96 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:643 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
coresight: next v5.9-rc5
|
expand
|
diff --git a/drivers/hwtracing/coresight/coresight-cti.c b/drivers/hwtracing/coresight/coresight-cti.c index d6fea6efec71..c4e9cc7034ab 100644 --- a/drivers/hwtracing/coresight/coresight-cti.c +++ b/drivers/hwtracing/coresight/coresight-cti.c @@ -141,9 +141,7 @@ static int cti_enable_hw(struct cti_drvdata *drvdata) static void cti_cpuhp_enable_hw(struct cti_drvdata *drvdata) { struct cti_config *config = &drvdata->config; - struct device *dev = &drvdata->csdev->dev; - pm_runtime_get_sync(dev->parent); spin_lock(&drvdata->spinlock); config->hw_powered = true; @@ -163,7 +161,6 @@ static void cti_cpuhp_enable_hw(struct cti_drvdata *drvdata) /* did not re-enable due to no claim / no request */ cti_hp_not_enabled: spin_unlock(&drvdata->spinlock); - pm_runtime_put(dev->parent); } /* disable hardware */