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: 57128 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1324511lbb; Mon, 23 Nov 2015 01:29:35 -0800 (PST) X-Received: by 10.98.70.81 with SMTP id t78mr14638219pfa.27.1448270975214; Mon, 23 Nov 2015 01:29:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 133si18167778pfa.16.2015.11.23.01.29.34; Mon, 23 Nov 2015 01:29:35 -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; 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; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152AbbKWJ3a (ORCPT + 28 others); Mon, 23 Nov 2015 04:29:30 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36405 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754083AbbKWJ3Y (ORCPT ); Mon, 23 Nov 2015 04:29:24 -0500 Received: by wmww144 with SMTP id w144so87702248wmw.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=UnezQ/22wqZYz4dKX8o1WfIQ/bN/BpkFKSK05sdeC1H6J2oztYpRVsrnYRVVjvCFXL IwCrNeXO0HPafrY6Mi3sDJM3QuULi+t5zb89vNLURXs/YJovQsOEGlnR8cASMU9IPUWx zU1AunWK8NWuM77DoEg0Kt4JmChCtr+SRE7CCU1G5USukrlNExgrK4ep1mGbAKukjFG6 APRM7HTXFgpUq3k0yezzotbOJDpRdXHugJOZkpOLWgt4KIZiU/8W/WZj2daH8FBfl4rj LIvfxjrKmvZxDKRVco9LB9PC8DH0usW5//KYn1KicpYM9LN5a8KoEXTa7qQJrX4WUJFT fIDQ== X-Gm-Message-State: ALoCoQk8y3JYI2NOeFEC9P8rKOlPG43kCfS8evkRI1Shw7FNHuPDaTFCnLOuEl5xxRe4kaI8cOtr 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 Cc: Srinivas Kandagatla , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov 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: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/pci/host/pcie-designware.c | 1 - 1 file changed, 1 deletion(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ 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;