Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3746123rdb; Thu, 14 Sep 2023 00:57:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQWhbIbo+gVA2mKkTPdWOFbdCqrckEUfuuQKPG47RWXuMVnPmbYKkvWYUJ4TnxB0UqxEF0 X-Received: by 2002:a17:902:e88f:b0:1c3:8dbe:aecb with SMTP id w15-20020a170902e88f00b001c38dbeaecbmr5395297plg.2.1694678268612; Thu, 14 Sep 2023 00:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694678268; cv=none; d=google.com; s=arc-20160816; b=ERlvUZzk0VgkXS5PV+XNiFHMoihgU6PA9rpc2LQEhyoGhWbLKKgVt2nVpXw+Ee4eWv F7ghQE0wKnknhnYuQLhqdbJq2LMUadXDd38v731OTpXOyRQ1WH0xsJfQ1W7JeGMGSEPR cpr/AbZomS70pQ9XzzXLOZ7nNbyOCgku0XfY4jS0oxYbAdcItfPxnLE7BkXSdieG7kig E4HxOx+7eSx058Qj0UQdmz/D9VPn0vI4aXXp20kg0S7S7hosIF4lBAfHnlxNTPCh3kuh vlbBBDPE5CqvnWARe+dIat25fVEnU0BcjeKQ1sfvgdPKsyez4GTDc/3a7bWSg1/h4WjZ rWVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=HP5E4gWOnJvclNNtxUAlfRHfzYNYFIVKmdQehJwwAQM=; fh=GXTMn5QjpkzC4R4idS4EWQvNlW1uQUSU6MJNevM6AcI=; b=wI3tNq6vSyKja4ooCRD5NC5GU3wClNJSQiOC1pcLucX43DX3/kaFBixq9GJk40nlpW lXH2MxWBcjMGGHB9zfiI7Obznr8zZFoZlTiAPwNG6jeSdno9Zq2gOV1ZrE/60B/N8gBa b6+bC6IGwktDHuf4+3JiNvLEDLWx7evzbJmY1tjEQ15Uuz/GKaJSUAtMZRVGSQmA2HmX Y27jP/067rZvVm08YgJcyFllR3aNrj2dlaI6ONu5BFGq9m0hhxoM0J0F0rKsFBfSuFaM MXM/MquYg9WyPT5650De8KZoUstH/46v6me0TCqtlkYVD2TuO6g15E+HPpwgEiSaGynD 6YLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e15-20020a17090301cf00b001b9c61c221bsi1145609plh.565.2023.09.14.00.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 00:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id ACD15844BC73; Wed, 13 Sep 2023 23:23:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235341AbjINGX7 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 14 Sep 2023 02:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234896AbjINGX7 (ORCPT ); Thu, 14 Sep 2023 02:23:59 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD24A98; Wed, 13 Sep 2023 23:23:54 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.96) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qgflP-002rc2-1L; Thu, 14 Sep 2023 08:23:43 +0200 Received: from p5b13a40a.dip0.t-ipconnect.de ([91.19.164.10] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.96) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qgflP-0030DN-0a; Thu, 14 Sep 2023 08:23:43 +0200 Message-ID: <70e9fe45ca8bbe2dec5541a0c21bee3de8f82f91.camel@physik.fu-berlin.de> Subject: Re: [PATCH 4/4] sh: machvec: remove custom ioport_{un,}map() From: John Paul Adrian Glaubitz To: Arnd Bergmann , Geert Uytterhoeven Cc: Arnd Bergmann , linux-sh@vger.kernel.org, Rich Felker , Yoshinori Sato , linux-kernel@vger.kernel.org Date: Thu, 14 Sep 2023 08:23:42 +0200 In-Reply-To: <190041c8-2d99-4bc3-adc3-6fbe902c1265@app.fastmail.com> 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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.164.10 X-ZEDAT-Hint: PO 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 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 23:23:57 -0700 (PDT) Hi Arnd! On Wed, 2023-09-13 at 16:30 +0200, Arnd Bergmann wrote: > > In the meantime, there is a v2, which I wasn't aware of when I wrote > > my previous email, so perhaps my comment is no longer valid. > > "[RFC PATCH v2 00/30] Device Tree support for SH7751 based board" > > https://lore.kernel.org/linux-sh/cover.1694596125.git.ysato@users.sourceforge.jp > > 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 > 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. > > x86 and ia64 want GENERIC_IOMAP because they require using > custom instructions for accessing IORESOURCE_IO registers, > but it's not really generic. Would you suggest to apply your series before or after Yoshinori's series to convert arch/sh to device trees? If you want it to go in before the conversion, could you rebase your series against v6.6-rc1? I'm asking because the current version did not apply against v6.5-rc2. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913