Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp209571imw; Fri, 15 Jul 2022 01:19:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFpVp2Jo8ptzBYgvrSe7uioGtDFE7gCEH6PoeyG4y+N7vaSzyUXMPFGFYwcSt1w7odx1fH X-Received: by 2002:a05:6402:b26:b0:43a:6c93:f4e3 with SMTP id bo6-20020a0564020b2600b0043a6c93f4e3mr17065458edb.327.1657873179497; Fri, 15 Jul 2022 01:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657873179; cv=none; d=google.com; s=arc-20160816; b=urrOllU3bg1S3jmy6e03zZD1uW5qRi+7OQui9sjwkRHhB1QfWTJZ1i5anvjYCNWpdO NY0ryDlesLZCOkVM4a7leJ6nVg2QUcb/YAHkkIZwZScJApyHMcfVBkQ6X76rAb7lvcPF eVpJunsVzMzWXvjkQMWSfDrK9qvw1mRog5qbea92YkR9BmS6ra6ikz0CuqBmeEPBKJeR wvDMcHkiMS2/kIJlGXfQ5oNtcLNZQEF6rTscrd7OTPFMYec4zKh8pSDgohsPV72KCraL KrHMVxGgm03i5+5vj+HV0CD9tSoPxEQVXONcATXvMrK5ZhLDU+uvx9r9+0DgdvtWx75c eskQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QR3oLOd/MKxuIABUxJU5YubvBUhpzNx8cMhTQUJsJAg=; b=kUKZQVON0irUCcuUCvUAmoJxlegv39JL1aw2IDDEhfwkUGGtYxyO4pxRtPggQd+Tkw VABUPbEE5sY5h/ldAuW5UMEn+M3gZTdMM1s2WVrDUqL17Zf9Y1ZAyhupJyYfyZm2NbeO pznGu7R8udmaaggLADFx3mdHTqPMcZ2lqQmtEWSv7mUhTqvOT12sfT/mu/Kwc+tFCiKZ 0+TGKSZzVm+wRm7Q7A9vUy9buYqqFMK2U8ulYI2N9cDL1qgzMQI8nRQoJFAjW+q/RTIT DEdMQ74Ij8X0y2MlJLiGwQv619GevEYfJFOAc/KYdQfeSXZ3g+lTv6mMDd0FHkdsHiDL HIcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JOAU3xux; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a056402424200b0043a7a473db2si6209984edb.484.2022.07.15.01.19.04; Fri, 15 Jul 2022 01:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JOAU3xux; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232461AbiGOICH (ORCPT + 99 others); Fri, 15 Jul 2022 04:02:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiGOICD (ORCPT ); Fri, 15 Jul 2022 04:02:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EBA07E00E for ; Fri, 15 Jul 2022 01:02:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C1770B82AB2 for ; Fri, 15 Jul 2022 08:02:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34833C3411E; Fri, 15 Jul 2022 08:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657872119; bh=MIY0Qfj60RmPZQMHDKKewkDUeps6TZXnZNMjlC3SW+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JOAU3xuxNGAsKI6S8W7SrogEclNkIVwb5seG+q1feJRqXxSgC9Px2Tfq1RPIhlP2v lB7axIO/2MAIQXBfEu7POCeUf2et/R2VUBnVgdit4bh4xDMYWNNyX/YgZ3wchs+XBR Q8i6fCxJJql/NHoEFpk1Rlmi+8FhrOqggArOx0zz+PuOevRYRRjSFnuC2dZhb+GX/H vSUkSQTmGMgvXchDuv2v8uu/WhpNCanM+ZLoliBGTHQp5V1CKhSTjdaHJk4VgJoyhE BOYksuzheU3sgRDAFutsHxiAzQhnS/H7dNX6g+VyT3XiAitRSg9xxGCQSAJ0ODScWL CexEGZVjsqE2g== Received: by pali.im (Postfix) id CF217A32; Fri, 15 Jul 2022 10:01:55 +0200 (CEST) Date: Fri, 15 Jul 2022 10:01:55 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Arnd Bergmann Cc: kernel test robot , kbuild-all@lists.01.org, Lorenzo Pieralisi , Bjorn Helgaas , Russell King , Linux ARM , Linux Kernel Mailing List Subject: Re: [PATCH] arm: ioremap: Fix compilation of code which use pci_remap_iospace() without CONFIG_MMU Message-ID: <20220715080155.pwk724qxfv67px36@pali> References: <20220714185700.6137-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 14 July 2022 22:19:51 Arnd Bergmann wrote: > On Thu, Jul 14, 2022 at 8:57 PM Pali Rohár wrote: > > > > Custom ARM version of pci_remap_iospace() is implemented only for MMU > > kernel builds. So do not define pci_remap_iospace() without CONFIG_MMU. > > > > See compilation failures: > > https://lore.kernel.org/r/202112040150.wvyJZIZO-lkp@intel.com/ > > https://lore.kernel.org/r/202112261802.u9iXqdWh-lkp@intel.com/ > > https://lore.kernel.org/r/202201131529.A2s7rKQc-lkp@intel.com/ > > https://lore.kernel.org/r/202203090147.24cUL0De-lkp@intel.com/ > > > > Fixes: bc02973a06a6 ("arm: ioremap: Implement standard PCI function pci_remap_iospace()") > > Reported-by: kernel test robot > > Signed-off-by: Pali Rohár > > > > --- > > > > PING!!!! Is somebody interested in fixing these compile errors? As nobody > > answered to my emails where I proposed this fix more than half year ago and > > asked for opinion... > > > > https://lore.kernel.org/r/20211204022131.bmhla4gkph7s7hy2@pali/ > > https://lore.kernel.org/r/20211205123209.lyx76daqdwzqwex4@pali/ > > https://lore.kernel.org/r/20211226215135.blcnafbuwhrq5ram@pali/ > > https://lore.kernel.org/r/20220113134938.3tx7iiukphvazvsq@pali/ > > https://lore.kernel.org/r/20220308184851.jmw2xvrapy5wzwof@pali/ > > > > Are you sure this still happens in mainline kernels? Since > commit 2f618d5ef5dd ("ARM: remove support for NOMMU ARMv4/v5") > it should no longer be possible to disable the MMU in any Arm machines > other than the Cortex-M based ones, which do not support PCI. > > Arnd I do not know, it it bot who is complaining.