Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6564210rwi; Mon, 24 Oct 2022 03:12:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6PoFtWXNsUk4fYcLyAEq2moSzoYGVh1/ee9aViCr5wyEGaEycGU460wU/Wuf7N0q+Qo1kv X-Received: by 2002:a62:1e83:0:b0:545:6896:188 with SMTP id e125-20020a621e83000000b0054568960188mr32591818pfe.51.1666606334889; Mon, 24 Oct 2022 03:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666606334; cv=none; d=google.com; s=arc-20160816; b=gInIJ1E6t6Kd0S1YxPkGImKrflhhZbT8gnWIMHocvuHIhwhuwNo0G3Ps+pinxeZQns l4he8KaLlL+I5tyYgs58mSQZFhJUv3fFlfTab41XEW1TKMVHEhdtYAxAnIPxBzU+JFiK OkVa2IwrlgC9TQYkGf07SzkAIuJE2lvGG93YbWjMVBoTsd3bMOyz35rZeBF6OjaCyWgj yk+SuBW9XnyKht8zQsraIDolEPJVYo1L8f4a2VlSbgUwIHAd/aiIXKnPI7PryDx/6O9Y f4FTpujHsFznOfWGuBKWcs9G1GM5fWWWXtbVtDY38xGYbCvWkO6q9DN8LRKKpIFLVP6a hXwg== 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 :message-id:date:subject:cc:to:from; bh=TWlmQsUsU1YuBojU9IEd69HBedV3b2tCQLFaHrPtCfk=; b=MO4b+dVZsKzQ/C0rdLkRo2SVhmTka/wABKxvkjEr3d+PE8lP1y1ItKPRd/2O9UJa/7 v+R8SMk/MSe8nU7moTdczhF356h8d4665tcE7qa6Aq7t3Xb/TLfUfzbUK5SnUzrYGwiz z7r7U9k1sNUYAJGbIJMyzB9MyJ5SKM6MJk84arqRJBFiXp7KwNtYEcZcP0lyzHCDdvnQ L1YBYne06aq5XDHJSOGML/vs1EEz+LwyIZT7PI4EL5nA95lnryglBRWYJf5beYgCpo85 fW1tjfBn8N8l9fHazTni5coK2dHI9z2v0ETooTgcmVz/VCun3PG66uQdtnvcVGkoXj1h 1plA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a170903240a00b0016dcf421fe9si34906024plo.486.2022.10.24.03.12.02; Mon, 24 Oct 2022 03:12:14 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbiJXJVw (ORCPT + 99 others); Mon, 24 Oct 2022 05:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiJXJVr (ORCPT ); Mon, 24 Oct 2022 05:21:47 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AB0B54CA8 for ; Mon, 24 Oct 2022 02:21:45 -0700 (PDT) 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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 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(+) -- 2.25.1