Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1334425lqt; Tue, 19 Mar 2024 23:49:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6JQlo995vAOuTw5+GHl5bxf6pLAcQBGCcSaAvJKtMfemlfz1IpP/IJvRUt25nZXPtt88WslZqvPLogzpsa+pkTHPbchuXIXSYI9rMkg== X-Google-Smtp-Source: AGHT+IHJjRpdniZYbnwHDIKoXfBnD701cq45EeK7nNJxKb+ZRt8/CQhr/xpKQ4FY7nDIQXxxmyCA X-Received: by 2002:a17:906:b298:b0:a46:d001:4ac1 with SMTP id q24-20020a170906b29800b00a46d0014ac1mr4022575ejz.47.1710917342137; Tue, 19 Mar 2024 23:49:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710917342; cv=pass; d=google.com; s=arc-20160816; b=iu2heJMGUzLu+58rQLmqT82fXul/HgoUiJzJ8wbtsZJaRttIvmqioEOhFYZPfv5DuS pG6+Mbr6XI3WXws5XzaQY8U3KErcdWfPORwJBPNejnLzYNhzzOQjLTRhKxQGX7YTHMVY 7sJJnnyzx2gDxSyqgZts3IM3XgxCSsinZsfKnk7hS0u4DQMwU8sCedNiyZkLtBeHAPOi SNTuDs3siGzqlv//GfMeNKsg+3I55ujhEFhZlMIZcX+Ny6UMQrR3X5XiCHoh/8QjwQNe GaSTSVq7PQtwYlTwtoVnYqb5jJh+bp2sZ4otbTHYB/+HBcUH3ExHGpay/jhvDfr1ILrn Lo3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=/C+jZyeRXXO9947b1/TX/2UUBdcychl3DUykwKKwquU=; fh=SYqIChYbsmi5BgDQMNgKBbVCTYKDB+bL/KHYf9DciY0=; b=UMcfhoe9xc98CjV+uhWP5xt4+f/7d9eHZIFuQJIku+8Wq88a5PnE8KMx0PSrIE5rR8 z3l24R9rIr++Dt2JbBqIyOMW9wqnFbp6P2FU8X/u5pTtXR41GtG0FtrFdegk7T4oUipp lxS7yVA3rWHekCIfiNpF8c8M/CmCAp/7RhQjuUFIL47jGBl6O1s6GxXw1JOlkg9UOiWd pbfcmO1dG+zcHAD/d7D68RsvfzlPH1SfXlVTHdU6Xshs4ROVCPQfYRCiK7LE8F3YpH+b s8oS4d0N3ZFb3YwDbGn2+If5gMdIiok5TBO4bow+1bHJ+ggIxqLVZs8f92BvA57psMvg ACvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-108505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e7-20020a170906314700b00a4674df3e2dsi5769963eje.329.2024.03.19.23.49.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 23:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-108505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ABF9E1F23749 for ; Wed, 20 Mar 2024 06:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4DA41EEE7; Wed, 20 Mar 2024 06:48:53 +0000 (UTC) Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BAC11EB22 for ; Wed, 20 Mar 2024 06:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.207.19.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710917333; cv=none; b=LPi+Khtq8EwKhZPV0yhkhkdNW2LYU4mgCCf414sMBo90C9Q4QPXJ7bxeFwA9ribIx4BnNYJGf5wAmzqNYrsRsQmFV/a60E7ke5XLb9yILuaKnT2xyL7P7nnPzJBg8PUvTls7YNq/BORgV7AA/U5i4LkJa3uJfMaiceVCB/ZTfic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710917333; c=relaxed/simple; bh=DY9u9Lfo3eLrRjxhkOIgk4l+MnabArFl2xaj8Q/AkWs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Io9I2Dq5l1HJlwSpY2G7ufcnqx3S+GkXU7AXrjwtSRCj/UMeQd047JDGnhO4xwnrSA+xdMVvlKccK4ZgGsczYQneB8mSxMmUbfIqgXouvQtXXDWyeIvFyoECSZCmzFCTLyH6VHflAxhHT77khQgm83wWxLaj/PbUuABATvaIL0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn; spf=pass smtp.mailfrom=shingroup.cn; arc=none smtp.client-ip=54.207.19.206 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp67t1710917269tim8edwz X-QQ-Originating-IP: N/gtq/qVsCImawz7+krmJbHB6YTzvD9BQyecJFGP9jM= Received: from localhost ( [112.0.147.175]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 20 Mar 2024 14:47:47 +0800 (CST) X-QQ-SSF: 01400000000000704000000A0000000 X-QQ-FEAT: eSZ1CZgv+JD7iHPpKJQ1UIkA+4LYjupyEdilj7fFRGppFaU6b3VN4VVL+xaGs zLmELMkKmtVwMndWR/RQjQDX0HtesOzf0zFnfdB7FlYzDJDthaIV4Mjdu4hSNmPqsEcyH2i DXw4Y9E+PZKmQ+P8cdRgiOydbZLQsmYF4BZtF1qV3ANa3hYiXzSl854TRPeBgSxIFCa7YaE ieveaQc6hh2UVh6cCvKqQcsfvXQzXQA41kXVDE+26Wt0jr4v/Hg/GQWHN/uihjOnKaE64lO 3Ux21U8lsSNgCsdum9BNXsIoQqq2EcRer2Kh1dm/pZ50qOTzszWJk8YEwZkY2q9Eeklj1Vm 0Wj7pNKuV1g+XSt0Ps8PVL6VNgplnJDdw6DGe897+znaNsr8KNu39dVjulwtA== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 4717924098038868021 From: Dawei Li To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: alexghiti@rivosinc.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Dawei Li Subject: [PATCH 0/2] Minor cleanup of pgtable_l{4,5}_enabled Date: Wed, 20 Mar 2024 14:47:10 +0800 Message-Id: <20240320064712.442579-1-dawei.li@shingroup.cn> X-Mailer: git-send-email 2.27.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz5a-1 Hi, This is a trivial series of minor cleanup of pgtable_l{4,5}_enabled. Change since v1: - Split into 2 patches, as suggested by Alex. - Add Reviewed-by from Alex. v1: https://lore.kernel.org/all/20240312085005.298657-1-dawei.li@shingroup.cn/ Dawei Li (2): riscv: Remove redundant CONFIG_64BIT from pgtable_l{4,5}_enabled riscv: Annotate pgtable_l{4,5}_enabled with __ro_after_init arch/riscv/mm/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0