From patchwork Mon Nov 23 09:28:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 7678481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 43A1ABF90C for ; Mon, 23 Nov 2015 09:31:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6732C2061B for ; Mon, 23 Nov 2015 09:31:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 92C252041F for ; Mon, 23 Nov 2015 09:31:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a0nRW-00042R-A8; Mon, 23 Nov 2015 09:29:50 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a0nRQ-0003yR-SK for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2015 09:29:46 +0000 Received: by wmec201 with SMTP id c201so96283514wme.1 for ; Mon, 23 Nov 2015 01:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=jwBwQBC9ZwetKStYyWXa0wCqZ+bTdO//w6gKXlgFMQI=; b=ew5gDlX4xuGFj6hnd6WcvHzvw/68yt7FDBQpg68NmfAimHLi+4GMOfhn2OHLQQHvOr YaBd210mbmfFUUrEEK6YoG2fbZdDd/MITYrke6qZESD0J0+Es/X7VL+H8Xav+kzwnLih mlh23pE1ZUepll6qbsdoSgyWopdtX0r5OlzObVt7qgdSXBpbs46v15/QkYa17D7LekK+ 5FdXDgSw4Kwx8R2Q0DvYKjrH/ZLVfdvX6rpxbyMGIBRgp+9Il9wrrC9gvV7z2D95L7Jz Brm+00/+PTzJpNYh403f8wK6HEL+/LuxSZN2PZZBjOwqDzrz302sC+vEod9gXLVJC0Cy 9bQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=jwBwQBC9ZwetKStYyWXa0wCqZ+bTdO//w6gKXlgFMQI=; b=gs/DPA3aIUQYXm/BkO64y/7/91REMWEHqMv/O/Pjuyj3WI7Wo6UqCY8fS5syOBXimS Bj2VJNwqlv9W0vJX2GzfW2a6YVqcRm06/WDzRb/0IOQqrPb+BvnhMjIy2YgpAQnGKyeY KMyzJ9lzjji+Vs6lhzeYBrR4jsCeyu5Td+7GO7CRaKZ8kEAxw2LQok+B6wA2fjXq0Bqx Mw2MibhITuP1JxfBlyiHxr5G5LiwMIajMuoidpcriTsBc8sWXd/3IRc4quXj/mVD02ys seeaUSS3hjSzSAaXlzHVDGUpAAQSnxcpyCIDiBePGnJMqy+ORQXnKtUbuYsKaMhUbvEh eErA== X-Gm-Message-State: ALoCoQnyXcz/dPpO3N3ZQbX6qYNNc391aS8LXU4tGXLn1MWYdCfUBpm0O21Lp+rTULyFZvk5nVRi X-Received: by 10.194.84.42 with SMTP id v10mr29758041wjy.116.1448270963443; Mon, 23 Nov 2015 01:29:23 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id k125sm5547508wmf.2.2015.11.23.01.29.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 01:29:22 -0800 (PST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Subject: [PATCH v3 1/6] PCI: designware: remove wrong io_base assignment Date: Mon, 23 Nov 2015 11:28:58 +0200 Message-Id: <44d133d5ebd4f7b9e8b817aa8bae12f690e70000.1448270813.git.stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151123_012945_167128_955513EE X-CRM114-Status: GOOD ( 12.00 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Arnd Bergmann , Pawel Moll , Ian Campbell , Jingoo Han , Pratyush Anand , Stanimir Varbanov , Rob Herring , Srinivas Kandagatla , Bjorn Andersson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The io_base is used to keep the cpu physical address parsed from ranges dt property. After issue pci_remap_iospace the io_base has been assigned with io->start, which is not correct cause io->start is a PCI bus address. Signed-off-by: Stanimir Varbanov Reviewed-by: Arnd Bergmann --- drivers/pci/host/pcie-designware.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 540f077c37ea..02a7452bdf23 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -440,7 +440,6 @@ int dw_pcie_host_init(struct pcie_port *pp) ret, pp->io); continue; } - pp->io_base = pp->io->start; break; case IORESOURCE_MEM: pp->mem = win->res;