Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1311397pxb; Tue, 29 Mar 2022 23:57:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUaESL1bWCbkXZO0n/mBO/lPBqOV+ozx4j++yGhoNl5R3up9Moz8yXSqEKaSVXRS2q1ePD X-Received: by 2002:a05:6402:3595:b0:419:336b:29e4 with SMTP id y21-20020a056402359500b00419336b29e4mr8831014edc.63.1648623432744; Tue, 29 Mar 2022 23:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648623432; cv=none; d=google.com; s=arc-20160816; b=WDKni9YNidD2kdvZbgq1pWQytKDbWdnwNB5Fgb1apfS7Gr/ranOON3Pevqx3qwQVnf yh09UE7dtggMj5iHmwRzOPVnlqF3AJeVuQa2H3IrHvA19MXNB72wD2jGvYAMMEc6SBPb 4+p64QbGwtWo8PJH2UozfoMCSZxlLKOniqGUopWYAEeydHXUHGRXLkBbykAHDaBbNBeg jXDefSg0Fc8KGNzAYXoxlv9dtPUXVFT1TsAknGgrF+eXLHfPCpsqZE3n25yB+LbqgogO xSpk7+4Wa2hw+hM5PEpcY8ZUMx5qg5PqRipy1PmlmArLbshQtG3XYKjQ9x8M35JjW2uH 4vZg== 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=TMrA0BSxQ2e14GUo8aUARrnnRc+CyMpNFMpjP7yEipw=; b=af4vu2gJa6TiyGPRJq/o5i2c51Lq0UNj5mbhIM+xJaC3uKfzQCrm+BKMmWw8FVAtml 8XPz0GxAypmt8bMxhUQeTu9OIrIaO5QCDuEAAQIT5N1b7cDg00ghFr3SUz7JQshSBWEX 9odR8OPi1wNIMF2JOEfKDNcwdUL56nc0S1ucyDTNgRmznQGe8GuWIcPx6rYLKbou0vRV asAZZqtU6yvoiYJMYREMJYbU1lYWELOHtu/KvCJYQV7/lQkt79+csla0XLrD0i1M/BHt zzDZdY1n58t0ReKKkZHj5ARdHnzuA7yVRhdpZU0jt6nBlpZeXmCcbyjtXcuwSKBLu8Uv DU0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ZpI8HNwl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020a056402275200b0041b69579ae0si475460edd.268.2022.03.29.23.56.46; Tue, 29 Mar 2022 23:57:12 -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=@google.com header.s=20210112 header.b=ZpI8HNwl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239556AbiC2QTS (ORCPT + 99 others); Tue, 29 Mar 2022 12:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239552AbiC2QTR (ORCPT ); Tue, 29 Mar 2022 12:19:17 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBF2318FADC for ; Tue, 29 Mar 2022 09:17:33 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id w8so18076720pll.10 for ; Tue, 29 Mar 2022 09:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TMrA0BSxQ2e14GUo8aUARrnnRc+CyMpNFMpjP7yEipw=; b=ZpI8HNwlFm89T3GivZ/z8dptmrBOynllfNitBkGa8KUnUZUORBC1R73FTdtWPAGk5l QabfMqpAm2NMfMr1MidAfzdW0P3dArEUOu1NaBpJPi5zlopNDkr7S/vZJ/wmZ3VdLzpj OO38ARcDPSppoN4qNsO+xF5QRfLfHSgMRUpF8EmNiDVY6AxUZs6jN1toKtdDOjf+e22L hqrV9unSkQknZnx2q8HUYZ44wRa0YEymQ6kXax81e0SSXqqdaLA7C5OuZYHvyFwy521E bIq11o9dVlBIImt8PzSLvu6DXujxCO3RbEZoGW0QH3zTlscx2/dxrV82sWRecub8/Enn wV6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TMrA0BSxQ2e14GUo8aUARrnnRc+CyMpNFMpjP7yEipw=; b=YjhE1M1+tyEi3no2b9SsjHcDX+NOYR3Ah7uRik3FQQrz30B/k7IyFHa+jsT6cE3ftF t1YlUG/+i5KlKz9Wv6zqwTdflzUMUkETkXI4z4LBdiJn6w3um10tE9v4EZc1q0jiyzA7 S5jkNS8D3t6eFEKPP1uoSscjqGF98Snrka5AK4yoJlrbvwdnNeZxMPmGqjcTAZ5UM0Pf ZNooXMpQdElfiI8rXysWl8PqCbLRhUdmKdZZHumwaq23cer3MBSKAZbyqyjze3JUHGRw 6aZdH7qtMn2e3QrMmI1fRXgKBU5LoNjHeEWKsgqs8pTBT945iAasJGTzBKaQs3PHaX2L r+Qg== X-Gm-Message-State: AOAM533tWgjcCedOItZBfaENNXSFyRCCV58rY9fCQngCNeIFgXuwE8oB I6bv1ex7AIuXgOaQAZHiALMYXg== X-Received: by 2002:a17:902:d708:b0:156:1858:71fa with SMTP id w8-20020a170902d70800b00156185871famr8454366ply.92.1648570652930; Tue, 29 Mar 2022 09:17:32 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id w9-20020a056a0014c900b004fb2ca5f6d7sm12956163pfu.136.2022.03.29.09.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 09:17:32 -0700 (PDT) Date: Tue, 29 Mar 2022 16:17:28 +0000 From: Sean Christopherson To: Naresh Kamboju Cc: "open list:KERNEL SELFTEST FRAMEWORK" , kvm list , open list , lkft-triage@lists.linaro.org, Shuah Khan , Maxim Levitsky , Paolo Bonzini , Vitaly Kuznetsov , Thomas Gleixner , Linus Torvalds Subject: Re: WARNING: at arch/x86/kvm/../../../virt/kvm/kvm_main.c:3156 mark_page_dirty_in_slot Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 29, 2022, Naresh Kamboju wrote: > While running kselftest kvm test cases on x86_64 devices the following > kernel warning was reported. ... > [ 62.510388] ------------[ cut here ]------------ > [ 62.515064] WARNING: CPU: 1 PID: 915 at > arch/x86/kvm/../../../virt/kvm/kvm_main.c:3156 > mark_page_dirty_in_slot+0xba/0xd0 > [ 62.525968] Modules linked in: x86_pkg_temp_thermal fuse > [ 62.531307] CPU: 1 PID: 915 Comm: hyperv_clock Not tainted 5.17.0 #1 > [ 62.537691] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS > 2.0b 07/27/2017 > [ 62.545185] RIP: 0010:mark_page_dirty_in_slot+0xba/0xd0 Long known issue. I think we're all waiting for someone else to post an actual patch. Vitaly, can you formally post the below patch, or do you need feedback first? https://lore.kernel.org/all/874k51eddp.fsf@redhat.com/