Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp240475rdg; Tue, 10 Oct 2023 08:59:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIvwphcBQnv1I+mN+kAnhXYOZxGpLBYdu37UfObU/LmMvAzFwa6HlzlhRMkIzQoykgiO6w X-Received: by 2002:a17:90a:f414:b0:271:8195:8 with SMTP id ch20-20020a17090af41400b0027181950008mr15117804pjb.36.1696953579435; Tue, 10 Oct 2023 08:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696953579; cv=none; d=google.com; s=arc-20160816; b=z+b6PUZZEF4NgyHFNnj/UujzRh4P/d4f0DsCSW2pU6eCmf1Z4PRmWMvvxUwKmMaNRi /vN5K6MCSBFbHuwXQromevYm4IBKwfoiBWUg9MR0+lQ0MSsgm6ykC6bfP5dztf5TCkTs 5buxQqqyf7YDue6B9Spibgn2Ar3c6JUEs0NS+34pita30pgvET2t1qHelWnzEmhTpxDM efwVm3IPSyBfSxjwL1HiaUh34NCoDYwXOUN7eACPFFQ8bBWQt3S6M6B927mTtu3vGPgT FSHmcHWxou/THCxa6XuFuxsx9lxdBYHNXmEXuwhAb7Mb14ORkmCenQHIExYG2HJnwhO/ PN8w== 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=Av9vrNBattNw+30gbnF49RgNFJElqwcfnE+Y8ALKtNU=; fh=+V2vYZH5xq7Tr40jqwUShSH8vZSpdfr/dj2bN908Pc4=; b=Tpxx6Wdg4bCyWeL397rptqjE4p9ij7u7DIV6s6CIC74wHnhlfmS/TPpTNT62d8Rfl3 9Mn8jn55M2P3JgoeQJ1lfzrxnepaI+N8iy6TtDl6o2U6SNtPjYb+uAl7rXGrvd0pZhHt xL0CjV6d+HZX6oVhgSH/4Xgfi6JPfSbJpan849enonxPjLzk+YHF6EuLGaezdiuvd2S3 ESmNlcdKqv6etUoiTeF7EvbhrZ678MYi5xPgK+Ec0OdAF7aDooajbxyGryewD3qAidDm mLsXElCFX43H9dyPTrDL5x86vKrEQ5nDSfuHYDoPDkOKEWud4gnZsdYi3gcA7CP5bR3L vvlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tyTnUjzU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z6-20020a17090ab10600b0027995cf4342si11840676pjq.55.2023.10.10.08.59.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 08:59:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tyTnUjzU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0A01A8025BCA; Tue, 10 Oct 2023 08:59:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233576AbjJJP7e (ORCPT + 99 others); Tue, 10 Oct 2023 11:59:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233495AbjJJP7c (ORCPT ); Tue, 10 Oct 2023 11:59:32 -0400 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D15C6 for ; Tue, 10 Oct 2023 08:59:30 -0700 (PDT) Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6c63588b554so3957977a34.0 for ; Tue, 10 Oct 2023 08:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696953569; x=1697558369; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Av9vrNBattNw+30gbnF49RgNFJElqwcfnE+Y8ALKtNU=; b=tyTnUjzUXkoTDabypL6Vmrvdt3APEQTv589f/K8UN4okPW+iiznTzzYHewMNKF+b+C vNrS20uqumXnWz4rNix1ZAIP2x2msJGeZK3v8Qh/FJ5/inqjQ36tuEYGlOIRCL7lpUYf n4B0U9QvvckGC4FpAR3yKQin7gL0SwQUzdW/JB3StH5QW4oLQvwxObqKWkKtAXuNKYsP VriflfLbUwel7rIJvI82NsGRiShBkEpH2dGGIAglGfJSfgb922F1KUOL/JtGfAXq+bmX BYStxTkb3QnuH8DpkHsfoYxr9bz10ypYTugPB3v7m1AIE75evAjYWQ4xBVXM70CVV6XO rm6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696953569; x=1697558369; 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=Av9vrNBattNw+30gbnF49RgNFJElqwcfnE+Y8ALKtNU=; b=HsHfh6Xeja5Nbi2o9fagVMTqz8C8b6nln9V9Di9CsX+br5VvR05H20eViJ/kaaRJ5j uYLvY0uGWQgJtFqk52BSdHgoP0vSb3PDNq+oEyzMQJXtr1dsPgHk0fZUL7yQxgRUbV+/ 5Ro+nqQWFLnN3SF5eibf3OSMtr6vdSsaV6bh+5AK7fxH2hJ1k8EFDiMWeI/mWybksW8r jHi3ZRsKv9u6fVsmyxgw9jdEXcYYk/oyDjX6/YfjsrXO88X6SZLKA5un4yg03ljLa+A6 NysDxsmQ1S/lnGrnempUdGfqeGe9iPICdnCID7+OzTDzIxHsUteeDtKm7cll1KlVw0IG w/HA== X-Gm-Message-State: AOJu0YwztMP3hodzb/A8Vny5ufl191+kROZn1AgaUotaWhATKfObXNm0 3iPn4/buGYtlNQSAaxBw8/MYGOSiqQCVaF3h7A== X-Received: by 2002:a05:6830:606:b0:6b9:68fb:5a28 with SMTP id w6-20020a056830060600b006b968fb5a28mr20995634oti.27.1696953569609; Tue, 10 Oct 2023 08:59:29 -0700 (PDT) Received: from localhost.localdomain ([117.217.182.234]) by smtp.gmail.com with ESMTPSA id c24-20020a637258000000b0055c178a8df1sm6537023pgn.94.2023.10.10.08.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 08:59:29 -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, konrad.dybcio@linaro.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v2 0/2] PCI: qcom: Enable ASPM on host bridge and devices Date: Tue, 10 Oct 2023 21:29:12 +0530 Message-Id: <20231010155914.9516-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_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 08:59:38 -0700 (PDT) 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 Changes in v2: * Rebased on top of v6.6-rc1 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