Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4666668iob; Sun, 8 May 2022 21:13:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycyKEKDNBuGuKt1hhTxN20TjKN0299ljrS1GokBPD/+/i95IdS4VoQY202Zyyr5p7rAMgn X-Received: by 2002:a17:90a:7645:b0:1dd:2482:e4b3 with SMTP id s5-20020a17090a764500b001dd2482e4b3mr1045391pjl.204.1652069610362; Sun, 08 May 2022 21:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652069610; cv=none; d=google.com; s=arc-20160816; b=mZlltKR9tDEF99UMiQcrCAeV50xDsWnkwC8cFumIcYhJZk2PcNHttXbwwIe+FKOfyr 3Jy+Khl35aiu5nkDCX+PEy9O2fapiGiFlj2Z010I5PK1pSP+4Ax/FVS+sPSjQ014r4ce 0mDs02kuC/meIfN1V7Rm7Qfi95hDC/gfVxCUqUF5gXLvnWYYWa6rXgPhGGL8ZB6QNfJ5 5f/YtJoOrVCtWUAMq/31fN06RgJvI8Y+4rw58Lbs3l4FxPi8n4hX2AfRIAK0zpiylRMY 2KJY4v2hmVpexu8+TysanROkXguDPSRJfL8JyrqVS/EBGMrGVN/JRbONTzrCt3CFLmOD OEgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=qDa74UEwBRUIcKdMQZrNP6GMFQk7bCwkRNIoWPo3VvU=; b=GHLuU6wh8ZoD/XMKuR8Kvz6jFssyiEVaDbJqBbJxbv0j3xnnLr3fTxnDzNp8cH9f/B +KC56ivmJTscLwaDEk8UHSwntGkSi+cUBpNoxvS0MR1qhrr9etzcPCgTbhFmA3Gl50wx Sfp+6f9tRaYv/vVKXqDzH6Cd/SBeOgS7v0tw220MMt1x1Gxde5eVUrdNuD0gBVITnxIT nV7KdL94mDRbJMVusv/evnQOZQdZ7T54HT+F1tbzyi4rB8NRlKFWI7Jt/+g6D0GKRlB8 avlwKYjWkguZ704ZYpp5/jt/84vFqG9R7OAsZ1EvTyHGDm+MCOgyuXJBaZLlwsn164xT Rrxw== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t186-20020a625fc3000000b0050a502dd307si12045731pfb.127.2022.05.08.21.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:13:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7913662C4; Sun, 8 May 2022 21:10:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354947AbiEGSVX (ORCPT + 99 others); Sat, 7 May 2022 14:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbiEGSVW (ORCPT ); Sat, 7 May 2022 14:21:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E32A201BB for ; Sat, 7 May 2022 11:17:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C7F5DB80BA5 for ; Sat, 7 May 2022 18:17:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D45C9C385A6; Sat, 7 May 2022 18:17:28 +0000 (UTC) Date: Sat, 7 May 2022 19:17:25 +0100 From: Catalin Marinas To: Tong Tiangen Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Pasha Tatashin , Anshuman Khandual , Andrew Morton , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Kefeng Wang , Guohanjun Subject: Re: [PATCH -next v7 5/6] arm64/mm: Enable ARCH_SUPPORTS_PAGE_TABLE_CHECK Message-ID: References: <20220507110114.4128854-1-tongtiangen@huawei.com> <20220507110114.4128854-6-tongtiangen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220507110114.4128854-6-tongtiangen@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, May 07, 2022 at 11:01:13AM +0000, Tong Tiangen wrote: > From: Kefeng Wang > > As commit d283d422c6c4 ("x86: mm: add x86_64 support for page table check") > , enable ARCH_SUPPORTS_PAGE_TABLE_CHECK on arm64. > > Add additional page table check stubs for page table helpers, these stubs > can be used to check the existing page table entries. > > Signed-off-by: Kefeng Wang > Signed-off-by: Tong Tiangen > Reviewed-by: Pasha Tatashin Acked-by: Catalin Marinas