Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7685088rwb; Tue, 6 Dec 2022 08:38:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4eoF/60QO8A/AWAWaGc4lzYU2iQwd5Hi+Gh36M3UEoNChD94p0B6J+u+a+t+s192TZzK5v X-Received: by 2002:a17:906:2a97:b0:7c0:ab1e:e361 with SMTP id l23-20020a1709062a9700b007c0ab1ee361mr20749025eje.579.1670344700810; Tue, 06 Dec 2022 08:38:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670344700; cv=none; d=google.com; s=arc-20160816; b=pMeg1+8XidZggPjepM96ui6+fdh/9jAS1wnywhTqQa9VbjbYnpRx01IRZVpn+Q8EM8 xgwuiIvzyWKfgMx933b9xlr5V5OQ23EDCVdDLdbdZGlswOoO6o3leF5oWztqT1hepeiQ p0h9+0J4al2s7SvfyjIyfDTZoB/u6km3voleahxrFe+XrSsYtOAI6VEjUxbhzkiVFoPw FRrdjD40/6H3kye5mhlV6AihYLAJBVJ9rik+SXCGq3NkDtXVu3xNcQZRCiPwzJrJgSJP c/ULSYhQD8O05bAOvdXZukCtBMF7P52GooBE8DQ9GLapX6WI9Nc25CkwvXOu91drPVvT /yow== 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:dkim-signature; bh=sCUP81xXIy/70El6lCPLbAYE27sraoFkLSJy6O9sUWw=; b=jv1fRubRAFSCmzzNhWpAApFSRoFIIH7+nR95k3C6omaiEtZlDyTvDUS3DD0V1QONhb ncO3wFEf6SausyLtPElzvEMKJOeHfmxDaVlcWABczRctyQGkYujJLABTukPvUhrncpMi SMmS1nGRahl+BcuO3y2OuSc76BJDOM7+1YLR5AlGqpBloPZIiq3g/fs1AeBn4IsczZBg IKDysHTlaUvL3AW4OnV+TV6TmcAZEChBoHCfXtJccKgbog4r4CfGLYYMnNPrV6aE5KlH md3n6yE+aubWoqLWkiLLc8OOsIytz3uYMleBSNlV7CiwMCuRvFzqL2/7bgDX9MVUdIfB 9Nmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Qo//7Xwb"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a056402014f00b0046b953601besi2096975edu.29.2022.12.06.08.38.01; Tue, 06 Dec 2022 08:38:20 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b="Qo//7Xwb"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232604AbiLFQW4 (ORCPT + 77 others); Tue, 6 Dec 2022 11:22:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbiLFQWz (ORCPT ); Tue, 6 Dec 2022 11:22:55 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 477EC2ED for ; Tue, 6 Dec 2022 08:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670343717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sCUP81xXIy/70El6lCPLbAYE27sraoFkLSJy6O9sUWw=; b=Qo//7Xwb1DTVE8DU8wSygrxu8g7bpbrM8kYE5wdRx2hKNQP6u9sInR4t7Y8SZCKCkZuDJk O+uj26RSDpfEQTKvu2xSFiwSnzTTVJ16ysA7L3q4pMdd6+1pe53CcAD8dIWn1K37u5TqkH xaeQ6K12AUp6uGibS8/9hIoJBYkeD8U= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-400-X4F6QNrcOaynmCuw-bBhRQ-1; Tue, 06 Dec 2022 11:21:56 -0500 X-MC-Unique: X4F6QNrcOaynmCuw-bBhRQ-1 Received: by mail-qt1-f200.google.com with SMTP id fg11-20020a05622a580b00b003a7eaa5cb47so2970696qtb.15 for ; Tue, 06 Dec 2022 08:21:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sCUP81xXIy/70El6lCPLbAYE27sraoFkLSJy6O9sUWw=; b=B0tlYi3qw+ofrcdhcnJ0noXGTXpT4fuPxsCXiEjsnRejQ8knUqR4JUfG+mKgUKjJvf xv6fvcq6QHQj7C5RH14h4U4Br7rV85yrORR2dJ/hVqKyyx7ATHfbyq2IQpPRBEQ1xJxb xG9j563tjiSDs0F+9bgFELfz/Ct70jPnyFUs2EaBev3w0dVogmoLoYwAoal2TrSVneVH NO9Cy0c6inqCJdsZL4ndSoHujnntMEd7MPk2IuBV5EqHl7uAFeq1kwg/4MFeNp8FwUDj uaDVWQj4J0VYprIoDKUFmyHmHjxz+Ef4Lw5Yt7CUSRJT5ZSXCjCeJW6Hq/RdezHyDvl0 zcAg== X-Gm-Message-State: ANoB5pnKT+QbIS7mJCyrYvvZlqPJJTJlX9slOpMBE87MWaU/9nTtQcAr F781YHB7k55+j0nz9UoEc7iEfFnQvEpO/Pg7MH+CxXW8TyYZGwiz//9k4uWR2qHO+EvU5Xi0TWJ 5Yx0VdvKiCQEep0SMK6IIm1Md X-Received: by 2002:a05:620a:b9a:b0:6fa:432f:298a with SMTP id k26-20020a05620a0b9a00b006fa432f298amr63417875qkh.159.1670343715700; Tue, 06 Dec 2022 08:21:55 -0800 (PST) X-Received: by 2002:a05:620a:b9a:b0:6fa:432f:298a with SMTP id k26-20020a05620a0b9a00b006fa432f298amr63417854qkh.159.1670343715469; Tue, 06 Dec 2022 08:21:55 -0800 (PST) Received: from x1n (bras-base-aurron9127w-grc-46-70-31-27-79.dsl.bell.ca. [70.31.27.79]) by smtp.gmail.com with ESMTPSA id bj9-20020a05620a190900b006b95b0a714esm14931361qkb.17.2022.12.06.08.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 08:21:55 -0800 (PST) Date: Tue, 6 Dec 2022 11:21:53 -0500 From: Peter Xu To: kernel test robot Cc: David Hildenbrand , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ives van Hoorne , stable@vger.kernel.org, Andrew Morton , Hugh Dickins , Alistair Popple , Mike Rapoport , Nadav Amit , Andrea Arcangeli Subject: Re: [PATCH] mm/uffd: Always wr-protect pte in pte_mkuffd_wp() Message-ID: References: <202212060801.yenOQCHL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <202212060801.yenOQCHL-lkp@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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, Dec 06, 2022 at 08:46:17AM +0800, kernel test robot wrote: > vim +316 arch/x86/include/asm/pgtable.h > > 313 > 314 static inline pte_t pte_mkuffd_wp(pte_t pte) > 315 { > > 316 return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD_WP)); > 317 } It's interesting to know the bot will test any patch I attach in an mail reply, which is very nice... I'll send a formal patch for this one soon. -- Peter Xu