From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D03CBC4743C for ; Fri, 4 Jun 2021 18:53:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B63CD610E5 for ; Fri, 4 Jun 2021 18:53:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbhFDSzG (ORCPT ); Fri, 4 Jun 2021 14:55:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbhFDSzG (ORCPT ); Fri, 4 Jun 2021 14:55:06 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBFAEC061766; Fri, 4 Jun 2021 11:53:19 -0700 (PDT) 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=KS6phxfdTRzT2U4OpA7PvjxoSBh4P43QxunbulqGWsI=; b=odv/QteUH4VQharTRxmoog5tl4 kwQj4ZWY4rD3YBbo/V4h/aJw9v7eLrTEQUkhC7o0vaePeygVpUZfayjPGKcWdkRzNVomt4PzbQ113 SbgdcfrnoHFkDlR+UVqiX30Slyh9psAjffNd3IRzC9XkRSW/E8Jw03aj02dDwimuhRsC3ga6Vh4kc fghPVIlSi7aQ105tjEwQd074J43bHCW8Tnaht+w0ltDMtZgFcPHvXkOYojRye8GJ+YzgEvKSUzsUl eJOcg3rcgAACgx6qpfSokAwSejtPTg2uJ/V2z05GOBh5Mw3ks5/HZPP5CskG6QzwyFvIUleDOPD3O ZFjM6QPQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lpEwA-00DUKC-F2; Fri, 04 Jun 2021 18:52:59 +0000 Date: Fri, 4 Jun 2021 19:52:54 +0100 From: Matthew Wilcox To: Dexuan Cui Cc: 'Wei Liu' , vkuznets , 'Vineeth Pillai' , "'dri-devel@lists.freedesktop.org'" , "'linux-hyperv@vger.kernel.org'" , "'linux-fbdev@vger.kernel.org'" , "'linux-kernel@vger.kernel.org'" , Michael Kelley Subject: Re: [bug report] Commit ccf953d8f3d6 ("fb_defio: Remove custom address_space_operations") breaks Hyper-V FB driver Message-ID: References: <87v96tzujm.fsf@vitty.brq.redhat.com> <20210604130014.tkeozyn4wxdsr6o2@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org On Fri, Jun 04, 2021 at 06:37:49PM +0000, Dexuan Cui wrote: > > From: Dexuan Cui > > Sent: Friday, June 4, 2021 11:17 AM > > > >> ... > > > > I've heard a similar report from Vineeth but we didn't get to the bottom > > > > of this. > > > I have just tried reverting the commit mentioned above and it solves the > > > GUI freeze > > > I was also seeing. Previously, login screen was just freezing, but VM > > > was accessible > > > through ssh. With the above commit reverted, I can login to Gnome. > > > > > > Looks like I am also experiencing the same bug mentioned here. > > > > > > Thanks, > > > Vineeth > > > > As Matthew mentioned, this is a known issue: > > https://lwn.net/ml/linux-kernel/YLZEhv0cpZp8uVE3@casper.infradead.org/ > > > > Matthew has reverted ccf953d8f3d6: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id= > > 0b78f8bcf4951af30b0ae83ea4fad27d641ab617 > > so the latest mainline should work now. > > > > Thanks, > > Dexuan > > Hi Matthew, > With today's latest mainline 16f0596fc1d78a1f3ae4628cff962bb297dc908c, > the Xorg works again in Linux VM on Hyper-V, but when I reboot the VM, I > always see a lot of "BUG: Bad page state in process Xorg " warnings (there > are about 60 such warnings) before the VM reboots. > > BTW, I happen to have an older Mar-28 mainline kernel (36a14638f7c0654), > which has the same warnings. > > Any idea which change introduced the warnings? Looks like someone forgot to call fb_deferred_io_cleanup()?