Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4464873pxb; Sat, 6 Nov 2021 14:37:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWoKatQjg32/W9NJ7I3eKvOHx72nDYRakcLyOwlgcn/tHkDr3baRcqpRjSNit89HM6IJTU X-Received: by 2002:a17:906:478e:: with SMTP id cw14mr66599977ejc.46.1636234654346; Sat, 06 Nov 2021 14:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636234654; cv=none; d=google.com; s=arc-20160816; b=dWTrXm+fbBdlKONoK4u/8SnuHfkMvGo2Dkg6PuZCSQr4CGM/4YhWyn0RMgugduFYPN zOLFffn2hGMQT7Pf+TSPnD4bKc4hzIzA0levrBo9f7mtFZriQ4QBkhvlQLlB64PAsDMm 25R/nXoZaQXSF2oCKkZy6YF3sVGjFouk2uNtWQz3SSOfQ6We+E5M3O2A3RuGPZKTpcBm TXSonMSK0g8AlOkPcu2yuSKxfKknN2ENXvaKNV4UkZrZtogug/9gmeXbvgdQUK5Rq2CG 76kuvPiezz8ucA94sU53eDUX3A5F6nYdH4X3phhnWDT3aw8URczdpl41x8VcOqb13KzS 454Q== 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=Zgc5pP1VxU3Q5Xe2Bd5MwgwRWQTa9N08JUnp9m7NMII=; b=QQ1YtuOmXLmsahVca9595Pri8GR6xWY8m9vYjONs65zIveyX0v8gMnVfNp9jeroYNP rqxo9YWkVHg+5bX329yBO7va/RWzvfhILFNUFE186S9Ej9+Q1Dd3pz5nAHU+tWnsWqC6 0SYOtX37MlGmSevEvASR88IyCUe3lmuis6LteLWDxVTUhAoE4mp1RWX3lVk8+drFnV5p j6EiDfM+4h1gJ/3B+nmdcpJYzOJtCSO5DHstvh/1ah1M4w76Tv6RspFGQF9qXPgJzQ4y ntRuYZsyrT81b1Z/SGupfZKvmOdl9bMSJ4YmC6+fzeXcBm9t4zWADmU5dJLt7uur6h1f /xHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kcpQGRkJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si25181856ejw.176.2021.11.06.14.37.09; Sat, 06 Nov 2021 14:37:34 -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=@gmail.com header.s=20210112 header.b=kcpQGRkJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234007AbhKFR6d (ORCPT + 99 others); Sat, 6 Nov 2021 13:58:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbhKFR6c (ORCPT ); Sat, 6 Nov 2021 13:58:32 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42A96C061570; Sat, 6 Nov 2021 10:55:51 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id r4so43906495edi.5; Sat, 06 Nov 2021 10:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zgc5pP1VxU3Q5Xe2Bd5MwgwRWQTa9N08JUnp9m7NMII=; b=kcpQGRkJedLF8i6bCPMo+ZGUotORkW9NoYeOYOWxyKcRwwWj4eB/ucVvAxuyeCwMNs nizGsEKF6RBLOHdDdvosrvSY88F0iCpP/7foH1Q+/YBI4+RPtlt+y/t0mzYiKvgUsWBQ m0gIJWjrN7a4J+Ry3+nuWMx+MdUKisesbTNzh9WeImO6MqpVshjsyfpy5bvhmgkdZ8gb CzZyOYyzqhu9SeIM96ysPg/PkMvFJdAxW3r/0rq1r0BnbDEUpA7Y1BaMniQINoix5UKs S5svPfi+df2YtW67xU6gKgijhtRBH71toYLrB6z2+ke5qMRbNx2cmgjx7qFBzXt9Ko3H kR7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zgc5pP1VxU3Q5Xe2Bd5MwgwRWQTa9N08JUnp9m7NMII=; b=ySKyLitXkA0qCKSDLcivWMpck9oxP67fZH92tnHcIF9EwIFxAUHnDmSp7M/HjMZZkT 9Uik+jstngzkSywnoN57j+9YbqZz851muoLcDmxn/lcPABJMKfR3RLOt6TN1hljurkQd af057ezVSY4VU72xedLTvbqR2rlLcCzwXmiOuWESs/4IWD4qOo96iYeR1VIF27JAh6gS 4VRZOz4R2oE8Cp67gueQmj6LY9ZktR1ERcfEAgKYuBxKi/NXR+A50QPSaltBE4mq65ZO b2qQsiYRQR7zcwf3OOZrfufxoPxSQ9RWtcGpTi5ZLITS9hPS7OSTb8x1uVpHpjXVxjXW QKIA== X-Gm-Message-State: AOAM533CAjD4TPReFfGpasgnzSzsMhsP2kcZbjOYwwSXaqiSeggL6U++ gsguPnHF7elIq4DVNcd15kY= X-Received: by 2002:a50:d50c:: with SMTP id u12mr90209644edi.118.1636221349878; Sat, 06 Nov 2021 10:55:49 -0700 (PDT) Received: from localhost.localdomain ([2a02:ab88:109:9f0:f6a6:7fbe:807a:e1cc]) by smtp.googlemail.com with ESMTPSA id j3sm5742310ejo.2.2021.11.06.10.55.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Nov 2021 10:55:49 -0700 (PDT) From: "Saheed O. Bolarinwa" To: helgaas@kernel.org Cc: "Saheed O. Bolarinwa" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 0/3] Remove struct pcie_link_state.clkpm_* Date: Sat, 6 Nov 2021 18:55:43 +0100 Message-Id: <20211106175546.27785-1-refactormyself@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These series removes the Clock PM members of the struct pcie_link_state. Another member is introduced to mark devices that the kernel has disbled. VERSION CHANGES: - v2: - clkpm_default and clkpm_disable are now left out. - improve pcie_is_clkpm_capable() based on review. - replace pcie_get_clkpm_state() with pcie_clkpm_enabled(). MERGE NOTICE: These series are based on ยป 'commit e4e737bb5c17 ("Linux 5.15-rc2")' Saheed O. Bolarinwa (3): PCI/ASPM: Merge pcie_set_clkpm_nocheck() into pcie_set_clkpm() PCI/ASPM: Remove struct pcie_link_state.clkpm_capable PCI/ASPM: Remove struct pcie_link_state.clkpm_enabled drivers/pci/pcie/aspm.c | 82 +++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 40 deletions(-) -- 2.20.1