Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2363188imm; Mon, 24 Sep 2018 03:07:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaWU88q6Si3KnbZH6DouAI529agTGdCuP/Um0GZNsvrdomlFM5OXj8eOstcJwQ70Vot95Cy X-Received: by 2002:a62:938e:: with SMTP id r14-v6mr9803025pfk.55.1537783645353; Mon, 24 Sep 2018 03:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537783645; cv=none; d=google.com; s=arc-20160816; b=IUJNOy5B8gtssL0vqzcTt7hGdPt3NFoZEPCZUZmBgZ4bByVN7Q9zzZHKMgDrpfmvY7 cQOCYhazUC45jlVKAHTzxVIVqVFbTpwCyVTyPCJug16Fr0qcRuA9UDqDNgv3tC6+/BE3 8HmNr5fdNzDLKqA+VB6k1SHmvdbICAruO9TR1ryZtx25WrMHEUairpRScvTChab+ypEb wsXIwozGgboJ9hAke5MzVD6G0r5VfRv72Re8+LNaFuvQ8Bt/k8NykWT3RqnLwDGTFflF azthhf5gJCkqfXalVL4Mm8pjyrAjL5uwmdTULaDr81t7/6keqd4YbQWK+cBpZGSPzyyz M1kw== 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=phMCcRPhiu73eSp4pl4+2N/29MiXHy/zMlDbpY55Hb4=; b=MME6xgPI6qmMxYPZGBC4bJ533dOQpxS+Lu9JiZV4lNKULiIzf00TRznLFhaRKokld/ YbJ1aJ3fxb1oUjVCyvf8IdKRdQJkU497MmQojdrWkSFnoyj4E40m3H8B7by2D/4Y6YgI KmbHODcFWBvzVnQwd53Bbat2rNO0BVAc0zXLdn32P/rvNx3UWjmHYqdoYJK+EEujj9za uP1oiGTV5oggd/poPUWzU7zcw6ky18/2Q+IkMGNp+2AlgSmW9/wItAHTZn2xaBS+Kekd glCPzrC3V77Zb3r/XuVYhzHX2+uQE3aGz+MJB1LRRxG176uODhLnePA/BOP4BsiKDS96 r1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cesnet.cz header.s=office2 header.b=SaiEXStG; 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 c18-v6si34227606pgh.530.2018.09.24.03.07.10; Mon, 24 Sep 2018 03:07:25 -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=SaiEXStG; 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 S1728591AbeIXQEA (ORCPT + 99 others); Mon, 24 Sep 2018 12:04:00 -0400 Received: from office2.cesnet.cz ([195.113.144.244]:56654 "EHLO office2.cesnet.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727335AbeIXQD7 (ORCPT ); Mon, 24 Sep 2018 12:03:59 -0400 Received: from localhost (ip-78-45-154-186.net.upcbroadband.cz [78.45.154.186]) (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 27531400074; Mon, 24 Sep 2018 12:02:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2; t=1537783361; bh=phMCcRPhiu73eSp4pl4+2N/29MiXHy/zMlDbpY55Hb4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SaiEXStGVPH3r133hecm1RVve7Lurl+QXRLDZBXhxgT6iZXz1UH7ugTGa3fmDP6P5 qD4RQIXRkZh0wYBeGzXC7JlTWNKrA6IyCDCnppppswx57kL15hZ2RD+zYTFXUf7ygs XE3UDec5tG6oHnS8eoWdWbXu/ftlxw4e80Ye+DC8= From: =?iso-8859-1?Q?Jan_Kundr=E1t?= To: Thomas Petazzoni , Russell King - ARM Linux Cc: 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: Mon, 24 Sep 2018 12:02:33 +0200 MIME-Version: 1.0 Message-ID: In-Reply-To: <20180913104241.65db8243@windsurf> References: <61fdfd69-2bb6-478c-b0d5-69d8744adae3@cesnet.cz> <87zhwm4kl6.fsf@tkos.co.il> <20180912231050.GX30658@n2100.armlinux.org.uk> <20180913094515.351967bb@windsurf> <5ad46fec-a71a-477a-b23f-d20aacfb481d@cesnet.cz> <20180913104241.65db8243@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 >>> 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. =20 >>=20 >> Thanks for providing this fix so quickly, Thomas. I can confirm that this=20= >> patch -- tested on top of=20 >> 54eda9df17f3215b9ed16629ee71ea07413efdaf ("Merge=20 >> tag 'pci-v4.19-fixes-1' of=20 >> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci").=20 >> Disclaimer: I=20 >> have zero familiarity with Linux' PCI code. >>=20 >> Tested-by: Jan Kundr=C3=A1t > > Thanks for the testing. I'll wait for Russell to say if he is happy > (or not) with the addition of pci_unmap_io() in the ARM code, if that's > the case, I'll send a proper patch to fix the issue. Hi Thomas, Russell, is there a proper patch for this? I've just verified that 4.19-rc5 won't=20 boot for me either. Thomas' quick patch applies and makes the problem go=20 away. With kind regards, Jan