From patchwork Mon Jan 14 11:15:11 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: 155450 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3537705jaa; Mon, 14 Jan 2019 03:17:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN5+SxPksHU38px5/rVEgF3OSuQk/N/gmjBDU1HHuNx2Q1CWnS5ns/OoVO4RkhXeIgteKq7m X-Received: by 2002:a63:a064:: with SMTP id u36mr12343464pgn.145.1547464670526; Mon, 14 Jan 2019 03:17:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547464670; cv=none; d=google.com; s=arc-20160816; b=dluUr4d2vMlaV7KS7umBMEcAHgI0ZPemB1NLVWk6H2eyzLKNZPI/0jgkHC+V6JV/JP sp/3irpMFvqQZnhe4WRXI2oj91gFvHgNUfO06NWL62bRPSKLDbp1neTPydmjuV3anXTi 69V4Ql9RUzwnQZSZ1FP5WjSzo+D+TttovrdySG69QSTKkGjBCh8hBeFrt35cvn+yksOS BgSJ6JGcpwlGT4OhjUhEqdLDdDlbvIMYfo3KqtO0xBRFnoSVyYW94jsup2JlCIa5VBih LYYZefGwqDbL8cj83sunEnpHRGX5SffgXJRggfgiV4Q/yrp6aMAN6PLH9IhzpBiiHmQY MCnA== 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=uHVoCM5NG7gCp359zadun6FI/J2Qw/EQZAqxPkit7imMLnatWEe+0dfDLRKamc0jB8 zlaprcxXfWHfNnVvbactUHirXZWhIHvNHR/+ZwE4eqVht29/1nEHjmQZV1JgFZBx5GCV gzjs92RO6OlVK+8AI93KOkFETZ0eisEG+2yspuribhfdGQE5ti24C4Mzp5shB4ArGHPB LHw0BZEYpraOjvWPTJQOhAt/UDVPjcYOXPLLoJBhxu/hdAWgDS0bJuJvwKoO7G3gDmZd JnSzar/OH+GUwiS2M5a3i9Y9oIhZmycSNm6mwLhkpVsGAnI/uMyFjJFIdDp3xvezEnA5 obqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yDmgZeUU; 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 v8si125204plp.215.2019.01.14.03.17.50; Mon, 14 Jan 2019 03:17:50 -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=yDmgZeUU; 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 S1726928AbfANLRn (ORCPT + 31 others); Mon, 14 Jan 2019 06:17:43 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:45670 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbfANLRm (ORCPT ); Mon, 14 Jan 2019 06:17:42 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0EBGXIv112802; Mon, 14 Jan 2019 05:16:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547464593; bh=XoRGeo3vT25+3Bl/ejetLFYJrvBGa4ChLOy2A0kveqs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yDmgZeUU5m/+1m15YIGzEMqT9TdBi5AlJiSwvnUD5c650LeI7FvSQEDbWOpz0mS1U Rjh76FrpYXgd9/Ou+8OPg0g+9wQLaUACjchTHY3MIq6w9agw21iDU1WFAnsiq/WCju HUy8y4w2ItqtPLRX7p/VUg8OzGZmf2O/tl/sFdKw= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0EBGXtf024151 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 14 Jan 2019 05:16:33 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) 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, 14 Jan 2019 05:16:33 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 14 Jan 2019 05:16:33 -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 x0EBFd1f011560; Mon, 14 Jan 2019 05:16:30 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Lorenzo Pieralisi , Gustavo Pimentel , Alan Douglas , Shawn Lin , Heiko Stuebner CC: Bjorn Helgaas , Jingoo Han , , , , , Subject: [PATCH v2 13/15] PCI: rockchip: Remove pci_epf_linkup from Rockchip EP driver Date: Mon, 14 Jan 2019 16:45:11 +0530 Message-ID: <20190114111513.21618-14-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190114111513.21618-1-kishon@ti.com> References: <20190114111513.21618-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; }