Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp229342rdb; Fri, 6 Oct 2023 01:25:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu96gdnUU/eZfo+kHFWNsvQYfj9pd1bvwEwxgO0wJJCk84iRy0Ujn6B7be4Xz47TDnDdSL X-Received: by 2002:a05:6808:14c8:b0:3a7:1bd8:4eb6 with SMTP id f8-20020a05680814c800b003a71bd84eb6mr8938866oiw.44.1696580730753; Fri, 06 Oct 2023 01:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696580730; cv=none; d=google.com; s=arc-20160816; b=jUYMIw1cKQDwwXcciMduXbg0Ofaz/q7tdBrGAF5aKm9aPzLrSuPBYL4LD2Ryumnn42 GdVGXfA6KfBYaFGZd6UpMs8WIhYeDFvlVsqrBkHwH69h2pz+IHbL6Fo/5P8/O4Y3rCC8 E94zHTuTJmpOloLVhZ9ENPfeaPwu3mJQnuB/4ryNrAJa1ZYEegx7KedJWbRF/484W5al AAUYH0P/VG/qqkrdX00ztRZu1ipP5rery3vUgOv5q40LVTtpqnVVd9LMMV7bkduXFZo6 obU9dwlPkZyyh940rQtwK4WqYZPIMxL2vVGBphPT2v1WZDnPO83hABPb8FVspY91eyil WvHw== 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=jiAFwDEWyVCJPj2zu3/TT5IeX7voMhfAYe1M5V1co5U=; fh=3bSsvqD3dzFRucTEyHEpUO8NBFAuQsv+ypHvY9nTtSg=; b=IcA8wAfCKPX4ehdTsZiI0oEBo/GqcPtaez3YEPfzyqo9oUx766TasVyjtum7No5hDz yJZ4R9NP5Uwo45Ry2PdXsmsYzoL/U1NcPbEqC0av9DBZXOFjqQ+O/QLB1qTFicUNc6tG l/AHo7OrvyVoH8mxalsQ/Tj1VMl61DVRjmePeIpqHx0n7plL8oZGn0C7pvL/FWG1FUco ekSmEOqff138ONGuItjFZd6U8PFHYbo6LuIaZzo+ayW5xXKNou3kTn9laG1IaZZPrhNg EfkkEAtLAp3UxnxQlOeeXJmmrERBsFP4SV0RR5WzhL8uHXMadznTnpzv/KpyD2doGCJP zvZg== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id s21-20020a63af55000000b00582f2161cb4si3246622pgo.300.2023.10.06.01.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 01:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 065A38125203; Fri, 6 Oct 2023 01:25:27 -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 S231183AbjJFIZR (ORCPT + 99 others); Fri, 6 Oct 2023 04:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231196AbjJFIZF (ORCPT ); Fri, 6 Oct 2023 04:25:05 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 45E4E10F; 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-0002lR-00; Fri, 06 Oct 2023 10:24:50 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 8F72FC0148; Fri, 6 Oct 2023 10:05:28 +0200 (CEST) Date: Fri, 6 Oct 2023 10:05:28 +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, Huacai Chen , linux-mips@vger.kernel.org Subject: Re: [PATCH v5 2/4] mips: add including Message-ID: References: <20230921110424.215592-1-bhe@redhat.com> <20230921110424.215592-3-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230921110424.215592-3-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:27 -0700 (PDT) On Thu, Sep 21, 2023 at 07:04:22PM +0800, Baoquan He wrote: > From: Jiaxun Yang > > With the adding, some default ioremap_xx methods defined in > asm-generic/io.h can be used. E.g the default ioremap_uc() returning > NULL. > > We also massaged various headers to avoid nested includes. > > Signed-off-by: Baoquan He > Signed-off-by: Jiaxun Yang > [jiaxun.yang@flygoat.com: Massage more headers, fix ioport defines] > Reviewed-by: Arnd Bergmann > Cc: Thomas Bogendoerfer > Cc: Huacai Chen > Cc: linux-mips@vger.kernel.org > Cc: linux-arch@vger.kernel.org > --- > arch/mips/include/asm/io.h | 96 +++++++++++++++++++++++---------- > arch/mips/include/asm/mmiowb.h | 4 +- > arch/mips/include/asm/smp-ops.h | 2 - > arch/mips/include/asm/smp.h | 4 +- > arch/mips/kernel/setup.c | 1 + > arch/mips/pci/pci-ip27.c | 3 ++ > 6 files changed, 75 insertions(+), 35 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 ]