Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1161882pxb; Thu, 24 Mar 2022 14:05:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjrncPdpunET982CJMYOY5tJdLCFFjHqHJFT70mow3bCXBftCE/7WSl3xoF66PUYh/yYS8 X-Received: by 2002:a17:907:3f9c:b0:6d8:116d:476b with SMTP id hr28-20020a1709073f9c00b006d8116d476bmr7771786ejc.432.1648155924670; Thu, 24 Mar 2022 14:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648155924; cv=none; d=google.com; s=arc-20160816; b=TKyrHGnz36CohB1otj0wnyh2cFhZY7kjaLwpZhAC0w4F4KgBJhZElZWLI6bH8OnOPT W1TKxT3dox2OR6KS1I99fExg7GtQX/bFpxW8Bg8CRh2/2HYeFdV0bfGs6pxgp5+3CzXB pIpWhT5dBDL1OnhCMVFytIWdhta75lTqKRxxutv3fq5PWTuM1/fQoHXpJq2IkG25e1Tv t0XsoGN4mTlRgYYKmuPRZJW9G70bbkU7IeygXnn3vL/oPrDcwJImRWj3+FBNgWgGcxuJ mQyC4JU9FXypM1gS66qa7RQxecxESDJB6Ef152ZIY4QNxk8zLW0lI1kYUx1Oerrj9LB2 lXEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JsH2SIUTrsYJX8zmjcQSu5hxXE5Ybek62ru5rVjSD7A=; b=tVf5lySoigQCJL9nQG+x+Wu42+IEAtETLCrqZv6gfgU0CrjGGIExUumk5/yRVnhf11 1Asi5ANgq6ulsywup28nY+jVTiubkIOX15bYJt/RcUhn9mVC5wFGFbE/TlkylpHocDsx D9EvnZzSTabPgHO2MtL/vixTns7ixe+8VlYofh3afCUlo3zqnmo7Py7Mjo1k5Mdvxtll GW8/JWQ8jjuG4NLXA0JwD/PTD3r2DYa1ogOWuwqC2ZvfbER3NEE7dmLnwnKbLB352HG9 tnkAOK6BVhcfpFQ8FB4VNDFrKKMbRw1R+HO7H6tyg0LGuyrp4dpabiOniagnE8nSOstM j31A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=eZkOyr5i; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c1-20020a50e3c1000000b00418fb7e2a2csi1057755edm.78.2022.03.24.14.04.58; Thu, 24 Mar 2022 14:05:24 -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; dkim=pass header.i=@soleen.com header.s=google header.b=eZkOyr5i; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240086AbiCWSjx (ORCPT + 99 others); Wed, 23 Mar 2022 14:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238767AbiCWSjv (ORCPT ); Wed, 23 Mar 2022 14:39:51 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EA961E3F5 for ; Wed, 23 Mar 2022 11:38:17 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id r22so4612182ejs.11 for ; Wed, 23 Mar 2022 11:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JsH2SIUTrsYJX8zmjcQSu5hxXE5Ybek62ru5rVjSD7A=; b=eZkOyr5ipSOEyIaKi0RWFAaNJ6zbGXp8L0jzeF10aH5B4vhrsB9UpLMn7mQmn+dQn5 wMkGvPw+1qRPsVxG/Ug6yNmt5/Kepqq3YzzD0RVmt3KPRryxnF0eE6qx6PaQfy3P3n0u 8WT2X7IgjBlZG112zAKt1B96P4bbzh/u7jBUUIIrC5Wi9Ft23Us/+XHbQGgf6lxb0BCP yTqX5wfdvLCBEDKTdGpCT1T85ke+il9XVbUENQHF2kBATRBpOjAMfX6dg70jbIpq9Gps wTDzqVolirKFCPH5CLgnzfW/YBzltdd3pS4jviyozQhjcthcAF/nNnOhWlxsJRMm7WDj C8hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JsH2SIUTrsYJX8zmjcQSu5hxXE5Ybek62ru5rVjSD7A=; b=TVQwzw7n7hbd5wWpLQLcYfhK041nkTblNhYtAeE9wIkhVRO7pft8qhZxFbNEJaQiAC KDZbzDDUaO/58wEN5XOsm2TsJm/rAD5nvJDkMou5bQPrbjUayrbKvZ2Ontuc+fBarlDW NV5dgBo/V3bO/OAQQlayy9Becxt1u7Dyze1PddO5IPv/HVVChurAwFaNKlNJOmYGp1q1 i+BQ6UmlR4FjEie3un9+YGZQ45biUTxm9ybSLRgGGly0UgZFH3Mmd07rQmqPa3uDgiqq HCFC3GM239Riyrcw7ilQ3qgvmzpMi8h160waB2i7yKiQowftEmVfgHYiAyNFJXBKqTEg cX7g== X-Gm-Message-State: AOAM5320KPo2lxzVVY/anNk37p4aYJnU2kB8poa6CoRfnncXuTmVx4eV X3sae6G7QrOiaXFwfow1mULMy4DtyaNGKrejaKuU7A== X-Received: by 2002:a17:907:9602:b0:6df:e82c:f84 with SMTP id gb2-20020a170907960200b006dfe82c0f84mr1587691ejc.590.1648060691197; Wed, 23 Mar 2022 11:38:11 -0700 (PDT) MIME-Version: 1.0 References: <20220322144447.3563146-1-tongtiangen@huawei.com> <20220322144447.3563146-5-tongtiangen@huawei.com> In-Reply-To: <20220322144447.3563146-5-tongtiangen@huawei.com> From: Pasha Tatashin Date: Wed, 23 Mar 2022 14:37:34 -0400 Message-ID: Subject: Re: [PATCH -next v2 4/4] riscv: mm: add support for page table check To: Tong Tiangen Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , Andrew Morton , Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , LKML , linux-mm , Linux ARM , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Tue, Mar 22, 2022 at 10:26 AM Tong Tiangen wrote: > > 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. > > Signed-off-by: Tong Tiangen Reviewed-by: Pasha Tatashin Thanks, Pasha