From patchwork Mon Jan 7 06:41:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 154859 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3171343ljp; Sun, 6 Jan 2019 22:44:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN7o3hPP5ICVAw1jKjBtqzf2bPxbEtzLpfJ2MUcAyP6xKYijU/vk598dPuD5jVbhYJ/fjEgg X-Received: by 2002:a17:902:f082:: with SMTP id go2mr60186663plb.115.1546843441341; Sun, 06 Jan 2019 22:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546843441; cv=none; d=google.com; s=arc-20160816; b=X+4t1qyhtrzfGFUpEklcF8y1s96aCEI2eVZ7XA+9x+oydHfgH6RZyJLCrcLKsG1Kqs 0MWnLLuPfebAuX0mv3PnHOruheyfmzCMlaTW0HVRnuDbXEPZ2kuCl/oPZ7hIqPUszPz5 /ssbguzuzkBtwHKghuCe1oqj8w1PUZnWO5cZxgEIC8OxmrBGdNCeD4c2Ok1jwXq1gqP9 ecQL1pPLwo0maGtXCTSdYnqMoTOBuepEwv1SrQScUV3pwLmMneqf911PKwBnLHxRYqce Q2yd6drleKqSinunnOfXvhsQx1Lt1PRuJVdpzJ80aEYCJ8JfcN/WUbBwt37iCv6FGOwK Zg5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XoRGeo3vT25+3Bl/ejetLFYJrvBGa4ChLOy2A0kveqs=; b=CgkWb6l49YmcH60BIJRKHezZReqoYl6jagwhP1w7xrLVdAYzhCUCA2RT9H8hW7nOcy 0/Mp8qLSa1DZv263bJS4l+/HSeo8TjuGIL9fw0Uq+z7T4HkLA16pqg7hbTr2s0yhpJ6m JPFJ/ADPwskEnEo1LhcOUPvW452BLEXe2E30RA+epJIPnCGlkNJpkb0NIADkKNTkPIxf ovojn5FRAUzxflEGdK/cTEUj9R2S5VHfIGipZAFeGZwx1Z0h2rs9hptQRjTJepbf2ySe NZKY8waqfh5OgwAfrn+mCSqXnEz0FbHhBAbb96TGp67BK2+NlcZpZXL4w28BS8VzySQL mFLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XiWur7WD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o192si21717713pgo.129.2019.01.06.22.44.01; Sun, 06 Jan 2019 22:44:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XiWur7WD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726639AbfAGGoA (ORCPT + 31 others); Mon, 7 Jan 2019 01:44:00 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44566 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbfAGGn7 (ORCPT ); Mon, 7 Jan 2019 01:43:59 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x076hh6r079970; Mon, 7 Jan 2019 00:43:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1546843423; bh=XoRGeo3vT25+3Bl/ejetLFYJrvBGa4ChLOy2A0kveqs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XiWur7WDaQZIiey8EGxQN0w+n2AQGBjeDN5eWhhbpW4PjmMnjI2Fm1C9w7AabmkdX 7nZnd2yeVgbNnHuhd3fUju3vIznMhj1mFzRsX2HqumwwWndvTLzz9vKAIsemPJb/9Y /+v5CGv42F55AZ8BbFXHIh58J9m7mOS/AlFoFwJY= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x076hh55038785 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Jan 2019 00:43:43 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 7 Jan 2019 00:43:43 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 7 Jan 2019 00:43:43 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x076gfoA002672; Mon, 7 Jan 2019 00:43:39 -0600 From: Kishon Vijay Abraham I To: Lorenzo Pieralisi , Bjorn Helgaas , Gustavo Pimentel , Alan Douglas , Shawn Lin CC: Jingoo Han , Heiko Stuebner , Cyrille Pitchen , Jia-Ju Bai , , , , , , Subject: [PATCH 13/15] PCI: rockchip: Remove pci_epf_linkup from Rockchip EP driver Date: Mon, 7 Jan 2019 12:11:46 +0530 Message-ID: <20190107064148.10152-14-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190107064148.10152-1-kishon@ti.com> References: <20190107064148.10152-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pci_epf_linkup is intended to be invoked if the EPC supports linkup notification. Now that pci-epf-test uses get_features callback, which indicates Rockchip EP driver doesn't support linkup notification, remove pci_epf_linkup from Rockchip EP driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/pcie-rockchip-ep.c | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/drivers/pci/controller/pcie-rockchip-ep.c b/drivers/pci/controller/pcie-rockchip-ep.c index 9b60ad323ac7..a5d799e2dff2 100644 --- a/drivers/pci/controller/pcie-rockchip-ep.c +++ b/drivers/pci/controller/pcie-rockchip-ep.c @@ -499,9 +499,6 @@ static int rockchip_pcie_ep_start(struct pci_epc *epc) rockchip_pcie_write(rockchip, cfg, PCIE_CORE_PHY_FUNC_CFG); - list_for_each_entry(epf, &epc->pci_epf, list) - pci_epf_linkup(epf); - return 0; }