Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4138076rwb; Mon, 21 Nov 2022 04:18:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf7b85hGqJuz+haDSy+KmRnFUSgR0ke21hCCWGSm/YLkohKTcCLGuMFfDhR2poP4miG1uWBV X-Received: by 2002:a63:f95a:0:b0:46f:5be0:feb9 with SMTP id q26-20020a63f95a000000b0046f5be0feb9mr17043547pgk.485.1669033138730; Mon, 21 Nov 2022 04:18:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669033138; cv=none; d=google.com; s=arc-20160816; b=pTDj/rYVRWVIeKaN6t1GRqyCoJ+U1t1kK4BPaEZikE13PcH48jTJZxSVsXUJ0t5cr8 NBtqA05vaNw+HHP91W435ynlnIGvJjdralZq0EOcWprftwVYKDTjzFnLrRhD6Dj74qnR KM7BUNnYGyGIh2hErSYQYWrGMf+QxzwvqhNdQvlxNXEjwb1so5CQTTlXoJqqTvEEUg16 8IyDvaa3XCk81lzqMBH0Z6el+udfZDRRZCin47yfdCwUZk+zPsmBH6hcBj1Zkgtx1AzY vFAvm0vhH3d+I7spvN4nPB5s8tfyGmsseG9GPTdvlu7Su5n6kky1/P7EkeN/cmQ275RA ch3g== 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=fZlVpl9vCeaK6U7Z7MahRQ+/uNq3FYPecQFtqw0ZqJA=; b=N59ZDkYLn4lrWVL6a0YgqlUQ7HjijIskFHXEq9c/WPpz2oQaHPT1r+jFkL0rDhxYS8 cugipgz4VmVWIJodxB+8r9q0sm0AIc5g47CfHH3qA7AQK1P51Gi3GyMnOn1a0+wXXxSr uEXbblN4BQvOPltWpN9mv8OvnP6s0Fq1PjLLJeCTd0gELe+nSZGrLvN0/7BV+860FpeG n9sqncZmiXxjB+3pAS7DqvIda8ghmkFZ9b+8sAv82o9IhUdrd8QwxhCnX5Gt8zNzcc84 W1ZL1SMazbfxMCBLwv2gSBtHFoq7qk/w6JdpBF9akbhaBriv4LuBW3vEAWt0sEYdmxnG 1t3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=jeKMRORq; 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 k11-20020a056a00134b00b0056ae8f6df38si11634258pfu.180.2022.11.21.04.18.42; Mon, 21 Nov 2022 04:18:58 -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=@infradead.org header.s=casper.20170209 header.b=jeKMRORq; 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 S231339AbiKULfE (ORCPT + 92 others); Mon, 21 Nov 2022 06:35:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbiKULeo (ORCPT ); Mon, 21 Nov 2022 06:34:44 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD891C1F6B for ; Mon, 21 Nov 2022 03:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fZlVpl9vCeaK6U7Z7MahRQ+/uNq3FYPecQFtqw0ZqJA=; b=jeKMRORqkRQYm4N9cBg+1WE148 kbhs/jDDkufSwKY2xI41Jk2ICPyGblnnDvgaoyTE7XRgIbagB+I6mrLPGh0Uzz7YXAf8Q6jx2/s6i hLzLIZWxAl7PVO9rC8d1wwkLtdCLXvfpP2875+iqtM9K5QiUzWa0Kf5e7jQ7hZAL9PAz1AhmuOq21 YyXCSXrvTFeXUjz8qictA9iU4yYfZDyJTOyXIjJFoRAaevFoH+jFdltw2KzpSu245FPylP3JDZhcC ScWwmQEo+AFpTWRuOBCm7KvQGwBJXaA9lm+jnB7rau+3LLjpatZAMIZjTuOPrp1wmwO0LuMk++Nux XDN5OhxQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox501-0059zl-7f; Mon, 21 Nov 2022 11:30:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3EB2A30062A; Mon, 21 Nov 2022 12:29:57 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id EBD72203A8995; Mon, 21 Nov 2022 12:29:56 +0100 (CET) Date: Mon, 21 Nov 2022 12:29:56 +0100 From: Peter Zijlstra To: kernel test robot Cc: oe-lkp@lists.linux.dev, lkp@intel.com, Dave Hansen , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [tip:x86/mm] [x86/mm] 127960a055: WARNING:at_arch/x86/include/asm/kfence.h:#kfence_protect Message-ID: References: <202211201642.b65c9d2f-oliver.sang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202211201642.b65c9d2f-oliver.sang@intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Sun, Nov 20, 2022 at 04:40:51PM +0800, kernel test robot wrote: > > hi, PeterZ, > > we noticed this is a fix for > "[tip:x86/mm] [x86/mm] b389949485: WARNING:at_arch/x86/mm/pat/set_memory.c:#__change_page_attr" > we reported before on > https://lore.kernel.org/all/202211061748.eb591682-oliver.sang@intel.com/ > we noticed it brought below issue which is persistent in our tests. FYI > > > Greeting, > > FYI, we noticed WARNING:at_arch/x86/include/asm/kfence.h:#kfence_protect due to commit (built with gcc-11): > > commit: 127960a05548ea699a95791669e8112552eb2452 ("x86/mm: Inhibit _PAGE_NX changes from cpa_process_alias()") > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git x86/mm > > in testcase: boot > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > +----------------------------------------------------------+------------+------------+ > | | 5ab815e377 | 127960a055 | > +----------------------------------------------------------+------------+------------+ > | WARNING:at_arch/x86/include/asm/kfence.h:#kfence_protect | 0 | 15 | > | RIP:kfence_protect | 0 | 15 | > | WARNING:at_mm/kfence/core.c:#kfence_protect | 0 | 15 | > +----------------------------------------------------------+------------+------------+ > > > If you fix the issue, kindly add following tag > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-lkp/202211201642.b65c9d2f-oliver.sang@intel.com > > > [ 1.269844][ T0] ------------[ cut here ]------------ > [ 1.270843][ T0] WARNING: CPU: 0 PID: 0 at arch/x86/include/asm/kfence.h:46 kfence_protect (arch/x86/include/asm/kfence.h:46 mm/kfence/core.c:235) Should be fixed by: https://lkml.kernel.org/r/41ac24c4-6c95-d946-2679-c1be2cb20536@intel.com I think.