Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp518104pxb; Mon, 25 Apr 2022 15:23:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA9YqM50kdBuv4+DolKHRnPVKolP0vKEM54FRFvYUPjVLCA+DXPdK0S3GNLnS7CXupfbxv X-Received: by 2002:a17:90a:b78f:b0:1d2:fcc5:c4c1 with SMTP id m15-20020a17090ab78f00b001d2fcc5c4c1mr23397546pjr.15.1650925431883; Mon, 25 Apr 2022 15:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650925431; cv=none; d=google.com; s=arc-20160816; b=tztZmiKcrnMXOpX5DqFBQGxaEnYrbGz1O6sMz1xAMENhhYIr0AmYO60LwNKfel86Kv bQG09765dCaeRjlDCmyDpDOTSAsuodUxyKfP4bpAOUgtjR4unkiQJ0EquYrYit2qghy/ 622q7KD0O48XCqo0Ig094XbhH4suwBAKgYACRDoBj563sLoXaapg3PSY0srZj32t4xvU BZv/z0Y/Ej7qKWUCXXw99Yz7NiCyd+OLtm+rYi5DIfVsaBtbRtmm06f9dNFcKeUv5XZk 7j7wGaMePNV4lxaQwFs/JGsQxCf6q78vMAjM3bDLXINhh8poISMpa0SrNvJamF8pcUHi aymg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=K5EKRLKOmQLvViahzAqZ3hYE8zE0BKy9dg0QZFgF770=; b=XqBbpK9/oc7W2LfhlAvqYasqmUJH6nKgt2UbvjT7Oicitysw7QTs5305t0IDrvUsXQ lnUjuEvu2jtZSN5XZHsC/a64Uq7vouKk+fEquziAhdDmcD2e2QzkVbKZna53DnooTKnC N0PQFNl4xR45XXIv0knYd0R+QeqLj45MZUHAjpKaNNDRvSfdZQuxF4mPgxdw+wHQOIWM vSUgVZrxLzDilhqu4pMymYtNbZgjmd0RYSXuyeIBkAPmvoo1qYJ8vq+haYYWnhM8fmbQ e3H3pk4Ym+Ln0RICv5KsVEOaoR3Y+kLK/0QAkBbsCHXO67LxyQRSZFNcxKY3WYNBPwRu Of+g== 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 q16-20020a170902dad000b001577e9cfa99si19530963plx.600.2022.04.25.15.23.33; Mon, 25 Apr 2022 15:23:51 -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 S235981AbiDYHh6 (ORCPT + 99 others); Mon, 25 Apr 2022 03:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240233AbiDYHhs (ORCPT ); Mon, 25 Apr 2022 03:37:48 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0863DEDA for ; Mon, 25 Apr 2022 00:34:44 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Kmxb322vHzfb6c; Mon, 25 Apr 2022 15:33:51 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 25 Apr 2022 15:34:41 +0800 Received: from [10.174.179.234] (10.174.179.234) 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.24; Mon, 25 Apr 2022 15:34:40 +0800 Message-ID: Date: Mon, 25 Apr 2022 15:34:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH -next v5 4/5] arm64: mm: add support for page table check To: Anshuman Khandual , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" , Pasha Tatashin , Andrew Morton , Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou CC: , , , , Kefeng Wang , Guohanjun References: <20220421082042.1167967-1-tongtiangen@huawei.com> <20220421082042.1167967-5-tongtiangen@huawei.com> <89ec03a9-5fee-7f4f-d189-67eb2aad24a3@arm.com> <1ad261fc-4eb0-21f4-2f6b-11696cd5c1c3@arm.com> From: Tong Tiangen In-Reply-To: <1ad261fc-4eb0-21f4-2f6b-11696cd5c1c3@arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.234] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 在 2022/4/25 13:41, Anshuman Khandual 写道: > > > On 4/24/22 09:44, Tong Tiangen wrote: >> >> >> 在 2022/4/22 14:45, Anshuman Khandual 写道: >>> Please change the subject line as >>> >>> arm64/mm: Enable ARCH_SUPPORTS_PAGE_TABLE_CHECK >>> >>> OR >>> >>> arm64/mm: Subscribe ARCH_SUPPORTS_PAGE_TABLE_CHECK >>> >>> On 4/21/22 13:50, Tong Tiangen wrote: >>>> From: Kefeng Wang >>>> >>>> As commit d283d422c6c4 ("x86: mm: add x86_64 support for page table >>>> check"), add some necessary page table check hooks into routines that >>>> modify user page tables. >>> >>> Please make the commit message comprehensive, which should include >>> >>> - Enabling ARCH_SUPPORTS_PAGE_TABLE_CHECK on arm64 >>> - Adding all additional page table helpers required for PAGE_TABLE_CHECK >>> - Instrumenting existing page table helpers with page table check hooks >>> >> >> Good suggestion, if i need to do a new version for some other reason i think it should be described more comprehensivel > > > This series needs revision to accommodate earlier comments. > . OK, Thanks.