Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1031744rdh; Mon, 25 Sep 2023 00:37:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfvwcWUBb30n4hhs+jQRHfuk9f/rbkzwHUWSlBGg19goN+1cUbtx7Kp/Yzt039n3J4WH54 X-Received: by 2002:a17:902:82c4:b0:1bb:b30e:4364 with SMTP id u4-20020a17090282c400b001bbb30e4364mr4557923plz.39.1695627454401; Mon, 25 Sep 2023 00:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695627454; cv=none; d=google.com; s=arc-20160816; b=0J6Gtitp3+8MonxJLCg946wNMR67Xl3FeJ+pVwdzCGyKo/R6/+4b95Hy3dbn0iEf3w 0ZKzNhRHFrDR4gDk+to2EldzusbznkpzgnbG+67d10DG8vn1c+U+YIn8chwtSlfGQdrG KK3M4daPmOh3MDSP57XmCyBSM6S6PqrY07LTISaXJxUODLYKNiYkvwWI2ObTnkh4wMy0 oyTzq98B938VrqPwvlcNQozm4jI7QJPShqg5/16Z6ym/ITdhJ0nO24tGyugkqDwXHXHL +1XF61rFtHDRtjGt4Fs0+Zna1PMsS29TkbKxSxJgEfmYM8BiIpQwybriPztFLCwvdxwt n7HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=l2xZwjwwW8GT6H0aP/MtWLJ9v/aYGtPYBmBAOba0NCY=; fh=y8ejKHURV9AYP42BVRbqVAezTkzcjW9XNPAAEExcceA=; b=LfGxEjWx5L8MzTiDxC6cWs2dslD2rKI8Iv0OwmXPUrFdVH0a2nmARufse/pqVNCsxW vffYU+OK49CQQ0DVouDtjIK/TFroAfeV49TbfHM9R+3t0EYzLh99CAD+AgPiZE/YyAV5 4fBQMu4ph5XvGcpTJZtCCWRCtm0YnvIP04WZX//gfDx1lfhUiIdG1zDeAH+sQpz2Y0j6 YIniC0TuMgr/e7pWxU1LK6kruLHCTWfT4sWaeB1nFSp9OD9OeQnBXBpLG2WC0uDoQLf3 +3lEIhklUfXoIZ7FAqTaVZ+3AFTMIjhOmO37FGRcDLIfCi3HllbtLO5on414a33aSKAc WHgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b18-20020a170903229200b001c62502d9fasi266272plh.343.2023.09.25.00.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 00:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 0F35B80BD3BA; Mon, 25 Sep 2023 00:25:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbjIYHZF convert rfc822-to-8bit (ORCPT + 99 others); Mon, 25 Sep 2023 03:25:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjIYHZB (ORCPT ); Mon, 25 Sep 2023 03:25:01 -0400 X-Greylist: delayed 964 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 25 Sep 2023 00:24:55 PDT Received: from hsmtpd-def.xspmail.jp (hsmtpd-def.xspmail.jp [202.238.198.243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BA70D3 for ; Mon, 25 Sep 2023 00:24:55 -0700 (PDT) X-Country-Code: JP Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by hsmtpd-out-1.asahinet.cluster.xspmail.jp (Halon) with ESMTPA id b7dd4dce-6f7a-43da-91e3-952603da2b77; Mon, 25 Sep 2023 16:08:49 +0900 (JST) Received: from SIOS1075.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by sakura.ysato.name (Postfix) with ESMTPSA id D644D1C0275; Mon, 25 Sep 2023 16:08:46 +0900 (JST) Date: Mon, 25 Sep 2023 16:08:46 +0900 Message-ID: <87msxau3up.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Geert Uytterhoeven Cc: John Paul Adrian Glaubitz , Arnd Bergmann , Arnd Bergmann , linux-sh@vger.kernel.org, Rich Felker , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] sh: machvec: remove custom ioport_{un,}map() 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> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 25 Sep 2023 00:25:31 -0700 (PDT) On Thu, 21 Sep 2023 17:52:29 +0900, Geert Uytterhoeven wrote: > > Hi Adrian, > > On Thu, Sep 21, 2023 at 9:45 AM John Paul Adrian Glaubitz > wrote: > > On Fri, 2023-09-15 at 17:49 +0200, Arnd Bergmann wrote: > > > On Fri, Sep 15, 2023, at 17:41, Geert Uytterhoeven wrote: > > > > On Wed, Sep 13, 2023 at 4:30 PM 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. > > > > So, what would be the suggestion now to move forward? Shall I include this > > series for 6.7 or better wait until after Yoshinori's series to convert > > to device tree has been merged? > > I think including Arnd's cleanups (that is, his v2) in v6.7 is fine. > Sato-san's series needs more work, and is easy to fix for Arnd's cleanup > (just provide sh_io_port_base unconditionally). For devicetree support, we have been using GENERIC_IOMAP and GENERIC_PCI_IOMAP. This change has no effect, so it's okay to be merged first. > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds -- Yosinori Sato