Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1345669pxj; Fri, 4 Jun 2021 11:56:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC2FvhIfgHDHsWHAPzNaxUWY29EZvywQvuCyet91iau3x6Rf1OxlFRsDiqYPSoNBdvc8HE X-Received: by 2002:a05:6402:1046:: with SMTP id e6mr6327050edu.218.1622832998091; Fri, 04 Jun 2021 11:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622832998; cv=none; d=google.com; s=arc-20160816; b=VQTAABiRK/p2IGQWu4lzaP9njNvuLk30lUnVlHrdmLqhyM2CQZytX++GLMx3WhkH8m OQuHAMYKeo+fNmipB4BVQb0pdyRDT1XWOEWBHM2pncDaa4YsZJhMXifhGo+tB2N/GCBX MG3XgVYfdUo3Lv81mNcinvDBmp1g5+j5xA6nL+FXXka4AJvUlAoX2zYPz/aEIOQSrEuD WcgRHJV3dyvEbfo8nNY06g2WlFtkVL/poePMTDnpHA6ozFaBncN++dhZttj0XCnKmAAI 3zV+m1eUdM1z7tnIIcezKkuNq84of6SZffkHDYF8YdNcrm/vIhxnOey3lCU8pLH8cYFB JmaQ== 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=KS6phxfdTRzT2U4OpA7PvjxoSBh4P43QxunbulqGWsI=; b=CWUGjzk9p4zmVFk60kmxupegv3h6QVC6YPkNPdmmW8PXlWuz1JtadwkVSfvTrpOwsx ykhB/j5jdzUxOpXjOTbtMrylYVZDXLABWkpuuVfeLRC3sO9BnzD5wfU+MI/at7B3qeD8 Pqz28JpfTPCuLgsftNjs7EIWo6pxqh8jg7p5z9/FXYIvbbkzDn2Of62dPUI5QjFHvWca y+f191ZspHVkNPZFNky7rlKVespYIEL6QqWY9fgTLAT7oPLckIe+6nb7NVkDFGgu7Wro l0F50bNTy9gp9G0cz4K5Iem45OEBN0j138+o8ugMoB/e2vAdfwUMJ3wHtEjxmyr3KBOt tWqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="odv/QteU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si5373805edv.260.2021.06.04.11.56.14; Fri, 04 Jun 2021 11:56:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="odv/QteU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229995AbhFDSzG (ORCPT + 99 others); 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-kernel@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()?