Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3600285rdh; Mon, 27 Nov 2023 20:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZfOm48IvZpYG9mZ7kV7IdYxpRtZNDXJB2Hy1PXJb3L+yVCclS7CF+7Fs0rHcixrhqm/wZ X-Received: by 2002:a05:6358:52ca:b0:16b:fe18:27fc with SMTP id z10-20020a05635852ca00b0016bfe1827fcmr13023678rwz.31.1701145251702; Mon, 27 Nov 2023 20:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701145251; cv=none; d=google.com; s=arc-20160816; b=pJNJX9fk+bsDhJdG28L8WjTUzQZ+uy1h3MzktX40ma5FiPFDBE+o8OpzZfm1h4V75A 6D7GrvJYwF5EOcWFXYAhda2nryp7PbL0EDmtgRc9aISsaaHaRpdjuLg2m5DhcfhPUMlU 38y9ehpmSVNvtMnoOFS6TB40GZseoDS6kH1mwPAUy9944ytmaUq0v+M8+F681JXlfahi AUaMeIeUjv6fjA1eBHHlpGWSXCtuI5BSJKYkcDldJQJ3TZkPuAq6QHuwtEErmjahqGCe kJZdidqdXS62PAKO1oZMezg/UEIj3jbexiVa6L+TLt3HnYIR/CioWqabwHWJE3SPhWnb MlcA== 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=E/LLnoWtlx4mBe16ZrYlYelDLipUAw6BQBAL0LVq8iY=; fh=kwkX2+0x222gn64FngXEtVSZjigTRNEE01p4655U8kQ=; b=oXEAk43PdkZexGqfU4ORBFM7KEfOGGVVSpjBsEr3d+SgEUfNEpwqahGDw+YCckV/1p J7hzdJ+MSqPAjk/3VoiFGgYoF1IDe2s9Y6YqfKb9cXL4AIO+jb9GWDVfptwu856gTusA 4LfbCjxNUpxx8lFIo5RXVPVI1MwYJOw758ui6XVAMPo/rbGW2QnqE1eQWv9kXEO3S6ym DA4eTPMw92QL4tlbBv/CXC0S5uvDl67HqxrGwfJ+PA/m/LzBUDh6r5kvoGFTNpKtJ7/u RVgcprOPXuNrjZEK5V1RA4I9iNaMitGRRZbmobogFYyuxDIboCCOG+Xv+HQJd2Bpy8NX i44g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C5yI5L+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v202-20020a6361d3000000b005b8f61fcb98si11116743pgb.629.2023.11.27.20.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 20:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C5yI5L+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6089F81000BF; Mon, 27 Nov 2023 20:20:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234407AbjK1EUg (ORCPT + 99 others); Mon, 27 Nov 2023 23:20:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjK1EUf (ORCPT ); Mon, 27 Nov 2023 23:20:35 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F15AE1A7; Mon, 27 Nov 2023 20:20:39 -0800 (PST) Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id AFDAE6602F24; Tue, 28 Nov 2023 04:20:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701145238; bh=7fSxGDZnsW945OhHzdjD18pn6g61ZX1COA3nPM0NjiM=; h=From:To:Cc:Subject:Date:From; b=C5yI5L+1A3s+ANaTjlz99sBe5M4MdamPv7frzOVtYF88ed02w+MlGFfbRmM7I9Otp Wj3/6y4U8wZRyF0JowkRmUCM/kAFWUMTlFyWwwEAHVm5oVUR7geeP4df2yZXNlg2c3 A/8kN5ADGf/nHDMMkCLVygU8iDqvTqotquY0Ogcf3/HFa0AsBycBTYr+ePkQoGfoFn GGs6ns4UFim+o/ZISQkpU+S/RQDZ4G2ZdXopvAleHNKh5nEOMobKzlz5xn2mncB5zQ N4k/APQQTKwsjeuixlKsAXUWTzGDeieE3wDs0tT9aKSYVLjQsYEW1zsK1eDMbiTMD5 Rv2EvAnrJcxuA== From: Vignesh Raman To: intel-gfx@lists.freedesktop.org Cc: helen.koike@collabora.com, daniels@collabora.com, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: qcom: Fix compile error Date: Tue, 28 Nov 2023 09:50:26 +0530 Message-Id: <20231128042026.130442-1-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Mon, 27 Nov 2023 20:20:49 -0800 (PST) Commit a2458d8f618a ("PCI/ASPM: pci_enable_link_state: Add argument to acquire bus lock") has added an argument to acquire bus lock in pci_enable_link_state, but qcom_pcie_enable_aspm calls it without this argument, resulting in below build error. drivers/pci/controller/dwc/pcie-qcom.c:973:9: error: too few arguments to function 'pci_enable_link_state' This commit fixes the compilation error by passing the sem argument to pci_enable_link_state in the qcom_pcie_enable_aspm function. Signed-off-by: Vignesh Raman --- drivers/pci/controller/dwc/pcie-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 6902e97719d1..e846e3531d8e 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -970,7 +970,7 @@ static int qcom_pcie_enable_aspm(struct pci_dev *pdev, void *userdata) { /* Downstream devices need to be in D0 state before enabling PCI PM substates */ pci_set_power_state(pdev, PCI_D0); - pci_enable_link_state(pdev, PCIE_LINK_STATE_ALL); + pci_enable_link_state(pdev, PCIE_LINK_STATE_ALL, false); return 0; } -- 2.40.1