Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp410140imm; Thu, 13 Sep 2018 01:43:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaHAF365sRhaqD6DUkSpvy9F84XGEtjzuMbWIcKZl9o+lpru9EkO5oPoEcJL72hR6d1z886 X-Received: by 2002:a63:e60c:: with SMTP id g12-v6mr6198392pgh.308.1536828191988; Thu, 13 Sep 2018 01:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536828191; cv=none; d=google.com; s=arc-20160816; b=KgOXLnJjLMAA7hafEjmsgKAMuSudc9zSsZizkMjhEh77rTuGYPSbtY5vbsficCGtFK lRUx4nkfwKXZVRNrog6EGNdwVPdhBhpcgyXFlFBSgAhXI+MKkhP+gS/e8jw8IBL4fpc/ HTnQzJ2LbFLHOv5V/64HXXsYYX6zfZ+++RuoBPf0B0qvqtHFNtHdAVB2at2rlaZBI90p 6ggl1btCU22LZvTEvXZStOdFqeFvTMTOQlIez4HYYOYiV5ACyq9jNkY2Cmif4ySh5wTd d7udPcFG1kEid45ArEuvajbFZMotO5eIvN8EH4WRxvzxlwXAGJFjDZhnNPHxtIyf01Q8 AKGg== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=TBSO37gemcu0FPYtX8mrk1fRPz9CSJsro0TvjfRACCc=; b=yXy+F//ttYLzzzQpLq+R7WkmE5V2CmdbSHkh/6AQ5KNIsF03mqmCeJHKQ/lYAQPFLc XD6/6Bd+SG/xTaZNJQi/VlVkClW3xxAjQ3Mk4wmCkjdoIZuE3baSc0gRlXrwk2dsyy7P tDxPFxtS6nw4w8sYm+4QbMAV3AxwbpoammwWGqZpUMB57jrLKhdmAQFR9k83UJ7azH76 VB2+FGO/1wEYHetaQs7P7Thf3DW/Rjy4Vxka4CxzBH99keltJzmzRybuCHeHczUlwWgC rHdsFTA+2vvPpdO0Ze3wEFZNh8024bjZr2mkKehYnUisrzXR/kRHV6WwzDqa1ujCyaKp w6ng== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 144-v6si3454718pge.259.2018.09.13.01.42.56; Thu, 13 Sep 2018 01:43:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727806AbeIMNvL convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Sep 2018 09:51:11 -0400 Received: from mail.bootlin.com ([62.4.15.54]:58381 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbeIMNvL (ORCPT ); Thu, 13 Sep 2018 09:51:11 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 8416220877; Thu, 13 Sep 2018 10:42:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from windsurf (AAubervilliers-681-1-99-10.w90-88.abo.wanadoo.fr [90.88.4.10]) by mail.bootlin.com (Postfix) with ESMTPSA id 3AD1120719; Thu, 13 Sep 2018 10:42:41 +0200 (CEST) Date: Thu, 13 Sep 2018 10:42:41 +0200 From: Thomas Petazzoni To: Jan =?UTF-8?B?S3VuZHLDoXQ=?= Cc: Russell King - ARM Linux , Baruch Siach , Lorenzo Pieralisi , Jason Cooper , , , Bjorn Helgaas , Subject: Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured" Message-ID: <20180913104241.65db8243@windsurf> In-Reply-To: <5ad46fec-a71a-477a-b23f-d20aacfb481d@cesnet.cz> 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> Organization: Bootlin (formerly Free Electrons) X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, 13 Sep 2018 10:20:45 +0200, Jan Kundrát wrote: > On čtvrtek 13. září 2018 9:45:15 CEST, Thomas Petazzoni wrote: > > 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 > patch -- tested on top of 54eda9df17f3215b9ed16629ee71ea07413efdaf ("Merge > tag 'pci-v4.19-fixes-1' of > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci"). Disclaimer: I > have zero familiarity with Linux' PCI code. > > Tested-by: Jan Kundrát 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. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com