Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp229370rdb; Fri, 6 Oct 2023 01:25:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKep+Na5Fukj/MvxvR2bemJxuYeuPrbzrG4sQ/P5f0cidr6UImCvL+5VGvYDi5suMRWbop X-Received: by 2002:a17:902:c286:b0:1c4:bc8:4b64 with SMTP id i6-20020a170902c28600b001c40bc84b64mr7654227pld.5.1696580733094; Fri, 06 Oct 2023 01:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696580733; cv=none; d=google.com; s=arc-20160816; b=XTG5Oko667NzXdAPPZWP6CGIo2x+pU2Ng2cj41DzXBoCBRuzUbbg4+/jF+uLJuqSZv L4PhEPdRgGEGJXOKxkCW7jGxDABDEtfc2K+jRdFdcAxJTXFRdQC16/qmhIOpz70WKE7W gyMZ4tR5rdwjGb7hmE7RkMtDIUVsJ2Rx+qaygySWY1eo7OBJx6Fhk1GZTL1pKMkoErk4 FM7Ppru4nAI73tJ6hk4KzrcnedgQiDC1uGovKhP0WpOdHE5p9z1eTiUqha5li3b8avQ1 GbrH1XYqkW4jiNLPJ3LS4Xxhuig03i8dP7Yp6eD9ra3G2bOmPnBvabtUpr0WyCfVlDuh HEAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=SRSCNw/Q8uYcdhkh7bjGOMoZYQKUuA1NVj3wEFPCGok=; fh=OLJaSUBYzqG+9bIgcSvkeZ4dbBtEmlb0WFZl/Nt68w0=; b=qXtqwg8DBNDBMHwGbydSVLK7e4Uqd/AFPDL3jH0kAU7Ld41yRAFETkN7BdypH8kcwh vBxagpCMNAzZenQUpHWqJDYyu2WDL0bmIqTURZV3/xy7Uzu/Pn+mFEoP35YRDHzKSach AZ0QkAHb6BbL5lFUR5gtUWAoxKRxRErruFIUa2Vd0EpGD4+Voa8XvM9vmw/z5VUW6WgC Rm2M22qK6FhA0gd0D5xUNCFpTYIJ7LEAX1EB1Kuvizx6gfWEXORtjAoQ+fPs4vGsoGXa 8/5/N8OF3t0ixC/Kfyr0awsHJCXUT+1qgdn24IThL4cmSA64/pMxlG1OU8DkCubKm2lK A1AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q7-20020a170902eb8700b001c3886b091asi3097503plg.127.2023.10.06.01.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 01:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 347988125211; Fri, 6 Oct 2023 01:25:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231277AbjJFIZM (ORCPT + 99 others); Fri, 6 Oct 2023 04:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbjJFIZE (ORCPT ); Fri, 6 Oct 2023 04:25:04 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 46660112; Fri, 6 Oct 2023 01:24:57 -0700 (PDT) Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1qog8g-0002lV-00; Fri, 06 Oct 2023 10:24:50 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id CBB03C01C1; Fri, 6 Oct 2023 10:06:02 +0200 (CEST) Date: Fri, 6 Oct 2023 10:06:02 +0200 From: Thomas Bogendoerfer To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, arnd@arndb.de, jiaxun.yang@flygoat.com, mpe@ellerman.id.au, geert@linux-m68k.org, mcgrof@kernel.org, hch@infradead.org, f.fainelli@gmail.com, deller@gmx.de, Serge Semin , Huacai Chen , linux-mips@vger.kernel.org Subject: Re: [PATCH v5 4/4] mips: io: remove duplicated codes Message-ID: References: <20230921110424.215592-1-bhe@redhat.com> <20230921110424.215592-5-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230921110424.215592-5-bhe@redhat.com> 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 06 Oct 2023 01:25:29 -0700 (PDT) On Thu, Sep 21, 2023 at 07:04:24PM +0800, Baoquan He wrote: > By adding support, the duplicated phys_to_virt > can be removed to use the default version in . > > Meanwhile move isa_bus_to_virt() down below including > to fix the compiling error of missing phys_to_virt definition. > > Signed-off-by: Baoquan He > Cc: Thomas Bogendoerfer > Cc: Geert Uytterhoeven > Cc: Helge Deller > Cc: Serge Semin > Cc: Florian Fainelli > Cc: Huacai Chen > Cc: Jiaxun Yang > Cc: linux-mips@vger.kernel.org > --- > arch/mips/include/asm/io.h | 28 +++++----------------------- > 1 file changed, 5 insertions(+), 23 deletions(-) Acked-by: Thomas Bogendoerfer -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]