From patchwork Mon Oct 24 09:47:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tong Tiangen X-Patchwork-Id: 13016945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71B89FA373E for ; Mon, 24 Oct 2022 09:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=up6FwNLzV5sLcv/7tQT2Ykjg5uvRihzIGF8ftIVHOl4=; b=IgRGI4QOutIQnz SNJjLr2qLAVxJIkgTLf2KeFffodhk7zh/bdeirTQknQwTTxBtuqmecYmm0MVuBvHiK+czgx7DuO0x 6aRrnQW34tIm37Xa709Es46xMBEwGgq7W/tE8jXSvXmKAN46iSuKTVEyHCpaYJa4Z9a5+I7GucjSO Asq3orIDCeucEeAebZhugETO7lfe3FwsGLbuwAMujvjxrQYJaEFHKwSlOr8JyEN+ZDUztodmcDwxt uuhHix8gsWqVDqN8EvsGTVwx2EUZWSqxTgb5GrkVz1EeNyWpCNhKSvCZ8N7NXKOLiCZqZUBfN19Yu 1uja67E1ed2ub+r5XrVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omtec-000NTF-Ek; Mon, 24 Oct 2022 09:21:54 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omteZ-000NQF-UF for linux-riscv@lists.infradead.org; Mon, 24 Oct 2022 09:21:53 +0000 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MwqMJ1xj2zHv3q; Mon, 24 Oct 2022 17:21:32 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 24 Oct 2022 17:21:43 +0800 Received: from localhost.localdomain (10.175.112.125) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 24 Oct 2022 17:21:42 +0800 From: Tong Tiangen To: Paul Walmsley , Palmer Dabbelt , Albert Ou CC: , , "Tong Tiangen" , , Guohanjun Subject: [PATCH -next 0/2]riscv/mm: two modifications on hugepage Date: Mon, 24 Oct 2022 09:47:23 +0000 Message-ID: <20221024094725.3054311-1-tongtiangen@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_022152_161202_10E6F7E1 X-CRM114-Status: UNSURE ( 2.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Tong Tiangen (2): riscv/mm: hugepage's PG_dcache_clean flag is only set in head page riscv/mm: add arch hook arch_clear_hugepage_flags arch/riscv/include/asm/cacheflush.h | 7 +++++++ arch/riscv/include/asm/hugetlb.h | 6 ++++++ arch/riscv/mm/cacheflush.c | 7 +++++++ 3 files changed, 20 insertions(+)