Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp390796imm; Thu, 13 Sep 2018 01:21:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdafnPGlT+OIziJ9I4GMoooDkq3YlRItJ5l4YYUm3w29BntFTsA+Ma46c1ESgGINtE9APlAq X-Received: by 2002:a62:6c85:: with SMTP id h127-v6mr6289258pfc.65.1536826872988; Thu, 13 Sep 2018 01:21:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536826872; cv=none; d=google.com; s=arc-20160816; b=aiXENguRfpu9Dhr/sn5rv959LaghqwTVbftQZSx8o6hZBVzSL4eAomCp4c4Z+AIE/y +fa4tlSjQC4C7wx6Ub/DF0hiqJBXzT/FufUHm3wieBCY3+QDvWUwNnlMXt4tq1Z/otbJ MAC5s7sOj3pUiLqvDp96Rm+9rteZF1SjL6/zw5EEJ6nEGtRpKw5MZG44hZjwgtTB67OW 6Bi6KKXjLMwqndw5uCDLvaf4xdNxKAXlTRCn83gc8+sW0o15gAsn5xPZgbLGxCCU6k/9 RUFDcj7Lhr6zC0EWD6gCBqU/euS5lIlyvztjb5E7rypUXIjweQIrh9sRtcXE2ISId3lM WL8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :organization:references:in-reply-to:message-id:mime-version:date :subject:cc:to:from:dkim-signature; bh=k6Qp03K7G+7I01MC1SelgnPubMHoEdSNa0sDF/mtRHw=; b=TkWZaTAkLRPMjKEmxBxA5r2Dy9cy0eEUsjtKY3jB2s4Pf79E2ghPi0gzQd+kwMGzm9 s+qHcBnnXERDVKlV26UMpg+5Cy/KukYCducGYleJqKkitQ8Gjrw7BUUbb4N2XNDHo7lQ 3FCF6vomZimru9Kc+z95PKGQ6vmp6BtDsgjWEAKpJgT7T0VBZS9LlNyO+eFxuBiZ9l3t w9/jlLgL/vzKCxcl/l3mAWaIal0f/W8KsoFZx0c/JSv9iljXlXFz2TnApAZSrlLg7nc2 9fjIK37ddvQtxVOLOfFJ15KZLRRCi7KBgr3Pmqh7zo7jM9ruBLgqQmV8Pzd8vTRz5FkH UGDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cesnet.cz header.s=office2 header.b=GQUlokh9; 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=NONE sp=NONE dis=NONE) header.from=cesnet.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4-v6si3197789pgv.586.2018.09.13.01.20.58; Thu, 13 Sep 2018 01:21:12 -0700 (PDT) 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=@cesnet.cz header.s=office2 header.b=GQUlokh9; 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=NONE sp=NONE dis=NONE) header.from=cesnet.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727652AbeIMN3M (ORCPT + 99 others); Thu, 13 Sep 2018 09:29:12 -0400 Received: from office2.cesnet.cz ([195.113.144.244]:49776 "EHLO office2.cesnet.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbeIMN3M (ORCPT ); Thu, 13 Sep 2018 09:29:12 -0400 Received: from localhost (unknown [IPv6:2001:718:1:2c:7d03:949b:de91:81b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id 43CDD400065; Thu, 13 Sep 2018 10:20:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2; t=1536826847; bh=k6Qp03K7G+7I01MC1SelgnPubMHoEdSNa0sDF/mtRHw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=GQUlokh92+2/KiB9/3czgZtL9eHAvNa0nh6/mqKhSBewxROXUVstV0tJvwc8pg/ot M82OwnlgagnZnWIU+AeFsc17AJ49ko356qkajLDm/K+nfraY+qkIssM9ZASNQU2DJE as1sC0nhCLQcPX+9zjn5GtqTzTeF7rHPq9KLKKPI= From: =?iso-8859-1?Q?Jan_Kundr=E1t?= To: Thomas Petazzoni Cc: Russell King - ARM Linux , Baruch Siach , Lorenzo Pieralisi , Jason Cooper , , , Bjorn Helgaas , Subject: Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since =?iso-8859-1?Q?"PCI:_mvebu:_Only_remap_I/O_space_if_configured"?= Date: Thu, 13 Sep 2018 10:20:45 +0200 MIME-Version: 1.0 Message-ID: <5ad46fec-a71a-477a-b23f-d20aacfb481d@cesnet.cz> In-Reply-To: <20180913094515.351967bb@windsurf> References: <61fdfd69-2bb6-478c-b0d5-69d8744adae3@cesnet.cz> <87zhwm4kl6.fsf@tkos.co.il> <20180912231050.GX30658@n2100.armlinux.org.uk> <20180913094515.351967bb@windsurf> Organization: CESNET User-Agent: Trojita/v0.7-361-gfee56b6f-dirty; Qt/5.11.0; xcb; Linux; Gentoo Base System release 2.4.1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On =C4=8Dtvrtek 13. z=C3=A1=C5=99=C3=AD 2018 9:45:15 CEST, Thomas Petazzoni w= rote: > What about something like the below. I tested it, including the error > case by forcing an -EPROBE_DEFER. The new pci_unmap_io() is modeled > after pci_unmap_iospace(). Actually, I would prefer to use > pci_remap_iospace() and pci_unmap_iospace() but for now this API > doesn't allow overloading the memory type used for the mapping. Thanks for providing this fix so quickly, Thomas. I can confirm that this=20 patch -- tested on top of 54eda9df17f3215b9ed16629ee71ea07413efdaf ("Merge=20= tag 'pci-v4.19-fixes-1' of=20 git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci"). Disclaimer: I=20= have zero familiarity with Linux' PCI code. Tested-by: Jan Kundr=C3=A1t With kind regards, Jan