Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp267609pxb; Tue, 12 Apr 2022 23:54:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKPXjtJN/zftZ4iQa+kwYjdvarsY798r9o/Ku89Kh8/8MEMKxtABMOC3Aw7uS0CJuyTS9n X-Received: by 2002:a63:5c64:0:b0:39d:9127:50ff with SMTP id n36-20020a635c64000000b0039d912750ffmr6361947pgm.194.1649832858222; Tue, 12 Apr 2022 23:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649832858; cv=none; d=google.com; s=arc-20160816; b=IPuAw77P1wfdUctD4DNR7Mlssi8OSAE1PQP0XjrAQL1fkPH/UxZpiRvhS+/UIhybAt hV1qaQzJQ3sO/442RVDoIBkIGCcfgD8m25aWGgDB7+wTMTkncPa0cRjJBWBkk/qgGR5Z oEZh1b/CgAUoV3RNnBNAtcw5qOJZCBnrQY02E9Vm9+VVnQfK3WWnwNkRUnPfwuKhqaJa b2VP7R9qIsE9aiegRpXapYCKyv0VxHyzjt7VhmoOcvoLQUoTawX7HM2O3pu6N9p9ULfq HmZOl3zslkQ1y0v/V/dHaJwzx6LwsiEq88DPcFetfKxJjDDErfr1rwKyHkd1kUR7iao2 0OGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Th+wbQ0sdKoJeLddfExRd93RGokQUB4UrhRyBgUNunQ=; b=sdBhCXvAPbfJ7SGsAi33BE4KfuhuBRChO0gy5X0miKUFSmMBNtTjdOxGiqByTp2hd9 g890tb3CD9JhsvXsNP1lNMPHc66WjRPmK6GMv01YEAFDXtsq0+1Y5MaDGFD0AO1jPeWW jPydoyk8Oo92kdjOmeWQUzyHHmda40s0ZRm/VNlMhOc0fX/yAOlE5+WQF2swomwnVnzU o6kByZXYBnfaMGEZS7cJ6QfgA5RyLU5XSLEFKl7YUEcHNSW5DwmFossZ8fp51trf9Uz8 X5haqZVIwf7dlXN3fcU3bmqLrmqkCeOsv3HiUqprII6cJZ5KyxB2xVrpN2z3puGfbjOT ZTKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a628404000000b004fa3a8e00c0si6577600pfd.375.2022.04.12.23.54.05; Tue, 12 Apr 2022 23:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231641AbiDMDH4 (ORCPT + 99 others); Tue, 12 Apr 2022 23:07:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbiDMDHt (ORCPT ); Tue, 12 Apr 2022 23:07:49 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F26881A040 for ; Tue, 12 Apr 2022 20:05:27 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neTHu-0006sN-AY; Wed, 13 Apr 2022 05:03:22 +0200 From: Heiko Stuebner To: palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wefu@redhat.com, liush@allwinnertech.com, guoren@kernel.org, atishp@atishpatra.org, anup@brainfault.org, drew@beagleboard.org, hch@lst.de, arnd@arndb.de, wens@csie.org, maxime@cerno.tech, gfavor@ventanamicro.com, andrea.mondelli@huawei.com, behrensj@mit.edu, xinhaoqu@huawei.com, mick@ics.forth.gr, allen.baum@esperantotech.com, jscheid@ventanamicro.com, rtrauben@gmail.com, samuel@sholland.org, cmuellner@linux.com, philipp.tomsich@vrull.eu, Heiko Stuebner Subject: [PATCH v9 10/12] riscv: remove FIXMAP_PAGE_IO and fall back to its default value Date: Wed, 13 Apr 2022 05:03:05 +0200 Message-Id: <20220413030307.133807-11-heiko@sntech.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220413030307.133807-1-heiko@sntech.de> References: <20220413030307.133807-1-heiko@sntech.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If not defined in the arch, FIXMAP_PAGE_IO defaults to PAGE_KERNEL_IO, which we defined when adding the svpbmt implementation. So drop the FIXMAP_PAGE_IO riscv define. Signed-off-by: Heiko Stuebner Reviewed-by: Christoph Hellwig --- arch/riscv/include/asm/fixmap.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/include/asm/fixmap.h b/arch/riscv/include/asm/fixmap.h index 3cfece8b6568..5c3e7b97fcc6 100644 --- a/arch/riscv/include/asm/fixmap.h +++ b/arch/riscv/include/asm/fixmap.h @@ -45,8 +45,6 @@ enum fixed_addresses { __end_of_fixed_addresses }; -#define FIXMAP_PAGE_IO PAGE_KERNEL - #define __early_set_fixmap __set_fixmap #define __late_set_fixmap __set_fixmap -- 2.35.1