Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4712800rdb; Fri, 15 Sep 2023 09:59:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGU8Xb47klXuJiGTNEfTJV8m0FpLWBumL6mU1W1xb9AMtr4xoKIEqKJNYxhWXzqbLs+St/ X-Received: by 2002:a05:6a00:4803:b0:68f:c8b3:3077 with SMTP id di3-20020a056a00480300b0068fc8b33077mr2395286pfb.1.1694797158058; Fri, 15 Sep 2023 09:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694797158; cv=none; d=google.com; s=arc-20160816; b=FYyXMdZZqLD9MzbF0d25kea8CcihjgYWedDxWFlhGN+viJDVHb0wB1VZBJVh1XmOE7 BsfBBjGhSVvQ6dep0OVqCLxkJQJj52hgy9Hbp0/g/NdsIVSQY89MsNoNKHIlZGAPMys4 8WaeDXZMkWPGgnYDdWDR46j+gZadt/xaAKjK7yfypkBD9vZiqftnA6uFyXzjZ9kMGPKl SEiwt4o/XjeL/P1NkVMAC3DlP8cOnko/vBLxPvtP1RBkPqtvb0CeQtsRS5iJnUPOjJrR KvSc0h6FBOpRt14gpiltVN7wd2JeOp2o8jd/cY7HdW+KF56v9NBqu4GTQuQjD38qdkaH XUQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=dpwVB3lD/aiImh0hE2EWGFv+6Vhj1x0viohvXWOOU5A=; fh=EORDFvpZ5ZmVlIt7VCRUrU5czDS22jfkAmvu7DTL9Jc=; b=kjdfOG2Y8HPNapz8XcCkYZD17S+apiCBjI6dUm9aiBssAFo7SzaJEexXi/EXO155IP /nbvJsJYRCe8jbvL02ZsYmqcPKftruQu1nhwth1q0y4zl4CywDEaaAzUBJVrB6iRuZPr Ao0zLzx086rDUKVBPjTn89IFgOlFQsd2J6dn8YY48ywrUprK5fZLnNk8IRFtIEonqOGy WrWCsI1XcmJDJJtmG5+Jk1O1wbJxyN4DqtpBuQdW+09kqMBpMByG4HQLzYiE9jeemoiA dnujHEgWcapg3cHoUhpG5ipQeZutKsmMgq//F/ZJeb67lFl6VqY81nURxGoQg9OU2M1e jfhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=NfLQ4W31; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HKnbloQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id g184-20020a636bc1000000b0054ff53233f2si3359446pgc.567.2023.09.15.09.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 09:59:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=NfLQ4W31; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HKnbloQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 98C7A8047E7D; Fri, 15 Sep 2023 08:50:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236212AbjIOPug (ORCPT + 99 others); Fri, 15 Sep 2023 11:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236284AbjIOPuH (ORCPT ); Fri, 15 Sep 2023 11:50:07 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B692105; Fri, 15 Sep 2023 08:49:56 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3DA855C017D; Fri, 15 Sep 2023 11:49:56 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 15 Sep 2023 11:49:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1694792996; x=1694879396; bh=dpwVB3lD/aiImh0hE2EWGFv+6Vhj1x0vioh vXWOOU5A=; b=NfLQ4W31pMO8GlVfcOfFIDHyG6dI5YF7Ld2vPBUF9ux6dQRb/iu mXZ3fmY4qYhZriv9sMrb1OSG8wy5liAjsTf+r9Hyt+IMnMMNazexruACDO27UEET kRfwOvzte584qka3xmh/WVsjvY4EDfccg07dVPqlWYqVeBT7HZPckQ/Fu8gVtExA 02opGgGPISPar/V5FaRfd7MV8vJGTAg5bwn0UlLystAH0jFa1OICSbn8fipNr5Lx /LqTVi+vCHh6C+QfOdsmzyYqd4A4G1j9LJNd7YD5pxCpQG7wsm6yCuKeN6nLFNKX IuBvjSAoA3LcAv2n5Am1Oy6zEXoLy4RTlAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1694792996; x=1694879396; bh=dpwVB3lD/aiImh0hE2EWGFv+6Vhj1x0vioh vXWOOU5A=; b=HKnbloQU1VSTccpNbE1a3nhB/ArsoCJqzJDkCkPZVJeIUr+mz45 +buxm3P08nGo5Sj7RzXcUhK1gPpLnACJMTux9GH1qf9wov6xXnM20rM/OwJ451dR 9EiBpihjPCMYEjNJdkE34o1Hz/SvG2Q3AHkQdAV3E3LFkRKJUWsZ31IMgpfVrnki IxRHJV0Raf/CMxBb4CIyikYzG+XibbDkarFhvwVPhkb4DfVAONlqu+rQ3HSmxIt0 p/oeGiOGVuid2np4fQrDbWTex4X3izTNFQigE0FzUB5vgFPePxXQ8Rm0csvx9Z2L todm/INuZIJ4HkrXdFWwGC066nIvzHeXQTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejvddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id BB664B60089; Fri, 15 Sep 2023 11:49:55 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-745-g95dd7bea33-fm-20230905.001-g95dd7bea Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20230802184849.1019466-1-arnd@kernel.org> <20230802184849.1019466-4-arnd@kernel.org> <5dad2d86-78ea-4a39-8ee1-98e3eb134d36@app.fastmail.com> <190041c8-2d99-4bc3-adc3-6fbe902c1265@app.fastmail.com> Date: Fri, 15 Sep 2023 17:49:34 +0200 From: "Arnd Bergmann" To: "Geert Uytterhoeven" Cc: "Arnd Bergmann" , "John Paul Adrian Glaubitz" , linux-sh@vger.kernel.org, "Rich Felker" , "Yoshinori Sato" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] sh: machvec: remove custom ioport_{un,}map() Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 08:50:37 -0700 (PDT) On Fri, Sep 15, 2023, at 17:41, Geert Uytterhoeven wrote: > On Wed, Sep 13, 2023 at 4:30=E2=80=AFPM Arnd Bergmann = wrote: >> On Wed, Sep 13, 2023, at 16:13, Geert Uytterhoeven wrote: >> >> Right, it looks like the GENERIC_IOMAP part if gone from that >> series, and I also see that the PCI host bridge does not actually > > No, 02/30 still enables it. Ok. >> map the port I/O window. That's usually fine because very few >> drivers actually need it, and it also means that there should be >> no need for GENERIC_IOMAP or the simpler alternative. >> >> The first version probably only did it accidentally, which is a >> common mistake, and I think the ones for hexagon, m68k, and >> mips can probably be removed as well with some simplifiations. > > When not selecting GENERIC_IOMAP in v2, the build fails with: > > sh4-linux-gnu-ld: lib/devres.o: in function `pcim_iomap_release': > devres.c:(.text+0x234): undefined reference to `pci_iounmap' Odd, that one is provided based on CONFIG_GENERIC_PCI_IOMAP and should be provided by common code, despite the similar naming this is unrelated to CONFIG_GENERIC_IOMAP. Arnd