Message ID | 20221015004934.3930651-2-swboyd@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp450255wrs; Fri, 14 Oct 2022 18:27:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4baW0ap9lt+5aPRnW2skaJcz70mnFJ41p54llumate6XeteZ5T2w79aSIvTSDztMiMogxo X-Received: by 2002:a65:42c8:0:b0:41a:8138:f47f with SMTP id l8-20020a6542c8000000b0041a8138f47fmr620048pgp.476.1665797224100; Fri, 14 Oct 2022 18:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665797224; cv=none; d=google.com; s=arc-20160816; b=GblWQcp6l4OOPYPiQi7EXrRxOl9Nwa/Fjr9ferCpNuJW0xdiCvpCxMLg5pcrgWZ9YR /sNtrO68tPljroksM+l5z5Otg/DpjlEleM6vzjnQeA1EN9hdq1qs0jlkUc7FXaQ5s4vp M71uEt6aTVarZm5xQl8FY4HgnEDMZSFV/G1HYO2LFtmpvRBtAPbh3rUr1Yyz1mPHSd9D AFHB8RJzl8ylI2P2PI5miKNjD7Ue1OpCX1qXunfVVRIGjd+D++SXEhRpn65bfcrwXNni YVprhqOIv3Uww7jAZ5P9uAH9R6dM6ZOB5Xd8AcBptl4oq+0lhScvC6VLNr1Ma1jlBURc 6GSg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZQKr6gxcoyxbVjA/4utImOsMAnHB8ip1bwqG26rMhL0=; b=a0VS7dOYsC46fpUrpNZUmF9zJYp8DHjb7xtCF0GUWjxIqVb80cAbCm+x95PK9QMhtD hqTTtpK7vRmW+2br1GwGVulUhMp35q60lJDHRT7kTGGvQXHlwVziEITmhO08CVl+NUnX svxlgrA1R6BWRky7jGA889fUj0wWfgMTFb/n5dFn6OEwamrVXr0GNP4d7L0bEIFdCbSm zawPknkSwH8UiS3V1tDgzZZ64rGrXFVqX2SZ8ckOyZAuM6JMQyxwt7c0oYHpfNsah2ih oxtFWRa/kwjfIi4iIA6Ih/2TwGm0TZjbtMES2psvC/2kg6gX4qauHUkRjbZa4d9WLf9M T0gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UNaV+xml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a170902da8f00b001753958498dsi5083346plx.492.2022.10.14.18.26.11; Fri, 14 Oct 2022 18:27:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UNaV+xml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229470AbiJOAtp (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 14 Oct 2022 20:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiJOAtm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 14 Oct 2022 20:49:42 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66DF82647 for <linux-kernel@vger.kernel.org>; Fri, 14 Oct 2022 17:49:38 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id a6-20020a17090abe0600b0020d7c0c6650so9419039pjs.0 for <linux-kernel@vger.kernel.org>; Fri, 14 Oct 2022 17:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZQKr6gxcoyxbVjA/4utImOsMAnHB8ip1bwqG26rMhL0=; b=UNaV+xml2akMbPhD2QHmFAA8pfCMe+3CkGKIM72CP1hO+V/OAyZ9/cBQxOEE7dgQq4 v5KaiMedRXdVjRLj2/4q03YlrRHnmyBYA05i4epji0U1mO7XL00ry82NsBb5slWwEPrG ohpL4iEFpvBjbupLCA/wiaAvRHB12BMZEisx0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZQKr6gxcoyxbVjA/4utImOsMAnHB8ip1bwqG26rMhL0=; b=kgCiDGU+x7VcFEXSZHBxxOukU0uY7LYXtOr7G1KSWPfhKcR+UEvxql/f+xbHcaJo4+ lFWYLanoKzVD6IVGzuVjyAhGJSmmDUpAm1J7V1gWBtvnieYMJmX8z4Tv/QRLYLkgua/Q FwoBleiS0jkYqUDKBZ3r8PFUPTwJ+5SJ3IF7l4hxvhjXsv820Lu49eVvfUMIzsrJ70yr iux6qa+VvC5WO9ByxwyyFJ6GVE7ZjB+udJtR+PaBrMv2u3nXxBr3WaOhH3vv/21OssQE OqXWul6dmd7GlJj0afEIBBCxesmJsdkHekeLOY6pIc0tD0PE3yY0JryTeqGVxyePe2Se 3T9w== X-Gm-Message-State: ACrzQf18NjO/0UqH6L7HU5xX1Y6cfZBaSMLobfWZsQOavQAd14s//aHl 4L5Jxb/OzpDc427WBA8M8A10cQ== X-Received: by 2002:a17:90b:17c4:b0:20d:4d79:55b1 with SMTP id me4-20020a17090b17c400b0020d4d7955b1mr631817pjb.125.1665794977885; Fri, 14 Oct 2022 17:49:37 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:9d:2:9f6e:fc87:d13f:1fa6]) by smtp.gmail.com with ESMTPSA id i10-20020a170902c94a00b00179f370dbe7sm2256142pla.287.2022.10.14.17.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 17:49:37 -0700 (PDT) From: Stephen Boyd <swboyd@chromium.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org> Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-arm-msm@vger.kernel.org, Konrad Dybcio <konrad.dybcio@somainline.org> Subject: [PATCH RESEND 2/2] soc: qcom: stats: Mark device as having no PM support Date: Fri, 14 Oct 2022 17:49:34 -0700 Message-Id: <20221015004934.3930651-2-swboyd@chromium.org> X-Mailer: git-send-email 2.38.0.413.g74048e4d9e-goog In-Reply-To: <20221015004934.3930651-1-swboyd@chromium.org> References: <20221015004934.3930651-1-swboyd@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746714989951701505?= X-GMAIL-MSGID: =?utf-8?q?1746714989951701505?= |
Series |
[RESEND,1/2] soc: qcom: cmd-db: Mark device as having no PM support
|
|
Commit Message
Stephen Boyd
Oct. 15, 2022, 12:49 a.m. UTC
This driver purely exposes information from memory to the kernel. Let's
mark it as not having any device PM functionality, so that during
suspend we skip even trying to call a suspend function on this device.
This clears up suspend logs more than anything else, but it also shaves
a few cycles off suspend.
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
drivers/soc/qcom/qcom_stats.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c index d6bfd1bbdc2a..d89453a77408 100644 --- a/drivers/soc/qcom/qcom_stats.c +++ b/drivers/soc/qcom/qcom_stats.c @@ -217,6 +217,8 @@ static int qcom_stats_probe(struct platform_device *pdev) platform_set_drvdata(pdev, root); + device_set_pm_not_required(&pdev->dev); + return 0; }