Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5346880rwb; Wed, 9 Aug 2023 02:43:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEhFH4MW+zjyqx9WFNM6ukVvUcazQHHmDahcHV7mcmysZ814N11vEvwTF0wQ+XOB2eNEd5 X-Received: by 2002:a05:6a00:14cc:b0:687:1780:aa02 with SMTP id w12-20020a056a0014cc00b006871780aa02mr2331494pfu.24.1691574189772; Wed, 09 Aug 2023 02:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691574189; cv=none; d=google.com; s=arc-20160816; b=itIAapMd99gROcgwYqyTU9/Oc0Lx6Yh9lBnoAvDS1aXkcyknxCyJfcnIKf8L+I5uh8 AnN5KJfi07o4sMxymjOPe/jtZLpHuo5Q8FWjPgGxBCZ7F0XmI9kWEslesnWmyQhAGwv0 65oiMBmaXt3u0OdqMzYUF5HulDbOxw8SiIKvBGJlysuSs6gh/cgRfRAUH7VB63fZzYhz 2eytAh+LJTgiaIs+uK2eLgJCaqGtUUSzPQZx1CAhy3OKLqr3w3Dy0NVqT8QvDW6iHZT8 O59PkP22FlGQF4KJT7OQ4XeoCCkR8P+ki9GqTMGFNvNR4orc1aNdCOra6m9cjgFlPjoS 6AMw== 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=1dO0fGXVkB6dDvOJvamtXS5ttOLi34wClCgZVQXXSJ8=; fh=qTnrfkbJPCl8rBBHes/m/kANHtY5CZibib0OI04fKQY=; b=Ac81sbanH9CZ2iZr9Asrt6G3JrLCQnhJnZ7zKeiB3jxNSTLxStj+j+6IJv52Sc47/v Vw8h1Gz+Oc/zTYbbo9XFXlR5B7TDNXFzeCiRe4NQVj27B6FoQ/rOJ3M5FFD87OZjvLpn nnw5Fkwd9WZHX8ucztut9N9uHsCP5TY+zkYJ34JZ+XK96ycxBqVZE92oH+pWw7rNnz90 W1OCRhoVDe3L7TlfDsR5SA5W8revKttLMeJ42DMNMiJM0mLyB8QOm6mUc2JR0x5mWRXw ehjcg0v7+D2gzxY3RkAJ+sY/V3+gLsIMRgrzSmoZ5whGbq5Zs6t+4jIuLCl02VskTm6X pY2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fhmLGYJO; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eg23-20020a056a00801700b006878da95c2csi8026932pfb.81.2023.08.09.02.42.57; Wed, 09 Aug 2023 02:43:09 -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=@linaro.org header.s=google header.b=fhmLGYJO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbjHIITH (ORCPT + 99 others); Wed, 9 Aug 2023 04:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjHIITH (ORCPT ); Wed, 9 Aug 2023 04:19:07 -0400 Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57C7710FF for ; Wed, 9 Aug 2023 01:19:06 -0700 (PDT) Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-1bc479cc815so5170407fac.1 for ; Wed, 09 Aug 2023 01:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691569145; x=1692173945; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1dO0fGXVkB6dDvOJvamtXS5ttOLi34wClCgZVQXXSJ8=; b=fhmLGYJO7+qqXrUKU3dLw1C9KNcWX6EA1ZpYrt5wE7dPOIBYnglTiQWrNkQ4Oz94Ot euX8EGdzFWJm6WHuiu6XZljYwJtJ2An9tufSo/uEaJkaMAHnYSBg/TxyfpDm3BEiZOjd ObVHVuLKLJaSPka3Nlvs8BD0ep8WVv8OLiF9y9PVfA9Bp6pkhGSfodX9KbwGbs+qut7w /CTDwdGzTcUI4Z83FQXJcs3GthwIRRkG26BZVHXPmWA8m4K0rKdvEEqJcwx+VKrURLKZ shHdAnHS6q/aPkAz80+zLEYUoxgahnaL03HxmOTk3CDNLnD/08kRwxZWeGqMs2GAnHa5 aV6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691569145; x=1692173945; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1dO0fGXVkB6dDvOJvamtXS5ttOLi34wClCgZVQXXSJ8=; b=MKooG6/AkjGyIkC2LzF1SOp2f3v37Q3EVgx8wbjAGhevBsAayLOnIEeZ542nSjVV+4 2vIBdi6zDPVyvkhxrgzPxjMQABSs8g1E26US5wqTrlelp50qbHtWAY4DWTA6i/vackJv 77YLNuPFfE89k7L3hjQQU2mtWIBeCnIoVns9og70g8CDg+Ul9mLssHU7Ey/CCSvUonnl 48yFJWF6sMa+C2RGdUHImqK2Qa6xMRVLegcEKYMCWQbOto6lOtM59CaPz5F6UacUbFNS X0mxBvIeA0TrjoTCOvfO6HrnxAhEpzDNaoDTKhchF5Wm1wHMVYEwdIrF0dOBctDoK7sk qC+w== X-Gm-Message-State: AOJu0YzMY2XOSdmHLPLlxIXSBUnoovxfvhT5zsRgQMjDgmC7XrLjZP6E VM1TSvDiUsYzzubnL1Sy50yr X-Received: by 2002:a05:6870:610a:b0:1be:dbd2:2bfe with SMTP id s10-20020a056870610a00b001bedbd22bfemr1810603oae.57.1691569145636; Wed, 09 Aug 2023 01:19:05 -0700 (PDT) Received: from localhost.localdomain ([117.207.25.122]) by smtp.gmail.com with ESMTPSA id v13-20020a62a50d000000b00686ee7ba3easm9331881pfm.216.2023.08.09.01.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 01:19:05 -0700 (PDT) From: Manivannan Sadhasivam To: lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com Cc: robh@kernel.org, gustavo.pimentel@synopsys.com, jingoohan1@gmail.com, andersson@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 0/2] PCI: qcom: Enable ASPM on host bridge and devices Date: Wed, 9 Aug 2023 13:48:38 +0530 Message-Id: <20230809081840.16034-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series enables ASPM by default on the host bridge and devices of selected Qcom platforms. The motivation behind enabling ASPM in the controller driver is provided in the commit message of patch 2/2. This series has been tested on SC8280-CRD and Lenovo Thinkpad X13s laptop and it helped save ~0.6W of power during runtime. - Mani Manivannan Sadhasivam (2): PCI: dwc: Add host_post_init() callback PCI: qcom: Enable ASPM for platforms supporting 1.9.0 ops .../pci/controller/dwc/pcie-designware-host.c | 3 ++ drivers/pci/controller/dwc/pcie-designware.h | 1 + drivers/pci/controller/dwc/pcie-qcom.c | 28 +++++++++++++++++++ 3 files changed, 32 insertions(+) -- 2.25.1