Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2804720pxb; Mon, 25 Apr 2022 02:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6yjRYMYRiKVqI4XgNBqVl8ruQLM44WpxtgzkfqVad9Lk9F4Xs4c9G/BJVP5r7DWUj3vX1 X-Received: by 2002:a17:907:62a1:b0:6da:7952:d4d2 with SMTP id nd33-20020a17090762a100b006da7952d4d2mr15486469ejc.260.1650880543073; Mon, 25 Apr 2022 02:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650880543; cv=none; d=google.com; s=arc-20160816; b=z4E4uEnx0N2UmZOkAzfEaCs0S/uCFPAoY2uRJr/HS+Sx4Fmb/q1iYa1tnoVzgKH2Mq 00FWVq+B61i4j7p6icBqlRnsy+Ly7+o8xIZqEzXZ7KUgO3v6nUTnLhW775q9a4Lkwrhs cUWz3RTXw0olsnQFkHvA5CEc47GzSGnTq3SmAjxevPyWGQ4ZB3qlTFA3X61OGmw/KP73 d9pr39if0fWGPJ7hoSy2aO3DRjL3ZDEsPtewSRkI06JCEEJ1PJa5Uf7NwTQ0JYh6nbYl +euUZeSY6hb110nO+3DUo04weMvIYrefVeooILPtH0R2/p5DFtwQB1tOvPgSG8Io025G CQrw== 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:content-language:subject:user-agent:mime-version :date:message-id; bh=JkGJVcL3DVpaZqS0l+DgtmMm3jGdBa4WXhGol7J7AXE=; b=TQvLs9ho9Q0tzNS6TL0L+ozi7Z6xuJ/2BUAmaUvP8AA7KcWYXOoZId8DwQo0zAO3iU YwjzWELs4+zBBjnR7F/W4wd6hE0xms59bC+u91tXh2UT6O2KNJ6i7cYABs2hxJM1coGv 82XEJxV4D5/1Fgu3FdheqRGDxngX6p3PCDQothuo4HYqSoukXDM6YFz09xuOE2XqlzLI /7leqpCWwcfbNuS0Jn7myDrf2T8GKKU6y9fH4vWavmMDsxFV9QrGQyney0t5Fs4emA0M GMs3fgigyGPJb7NDK/DGDlbUeIpes3r2mg/QiVXONfIH3nNt+x0VaS6Y8+pnoPSNt+3R bv0A== 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=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf10-20020a170906cb8a00b006f3a204a695si550613ejb.298.2022.04.25.02.55.16; Mon, 25 Apr 2022 02:55:43 -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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241330AbiDYFoQ (ORCPT + 99 others); Mon, 25 Apr 2022 01:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241318AbiDYFoJ (ORCPT ); Mon, 25 Apr 2022 01:44:09 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC9AF12ABA for ; Sun, 24 Apr 2022 22:41:05 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7B52A1FB; Sun, 24 Apr 2022 22:41:05 -0700 (PDT) Received: from [10.163.40.250] (unknown [10.163.40.250]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id ABF7A3F774; Sun, 24 Apr 2022 22:40:55 -0700 (PDT) Message-ID: <1ad261fc-4eb0-21f4-2f6b-11696cd5c1c3@arm.com> Date: Mon, 25 Apr 2022 11:11:46 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH -next v5 4/5] arm64: mm: add support for page table check Content-Language: en-US To: Tong Tiangen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Pasha Tatashin , Andrew Morton , Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Kefeng Wang , Guohanjun References: <20220421082042.1167967-1-tongtiangen@huawei.com> <20220421082042.1167967-5-tongtiangen@huawei.com> <89ec03a9-5fee-7f4f-d189-67eb2aad24a3@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 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.