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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 50107C433E0 for ; Sun, 26 Jul 2020 14:16:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DFFD206D8 for ; Sun, 26 Jul 2020 14:16:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726176AbgGZOQC convert rfc822-to-8bit (ORCPT ); Sun, 26 Jul 2020 10:16:02 -0400 Received: from mail.fireflyinternet.com ([77.68.26.236]:53338 "EHLO fireflyinternet.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725848AbgGZOQB (ORCPT ); Sun, 26 Jul 2020 10:16:01 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 21936675-1500050 for multiple; Sun, 26 Jul 2020 15:15:49 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT In-Reply-To: <20200726073052.284dadb2@x1.home> References: <30452714b2935b530b9c2bbf2d20854a@hostfission.com> <20200726073052.284dadb2@x1.home> Subject: Re: Poor windows VFIO performance, GPU stalls (bisected) From: Chris Wilson Cc: hdanton@sina.com, tj@kernel.org, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org To: Alex Williamson , Geoffrey McRae Date: Sun, 26 Jul 2020 15:15:49 +0100 Message-ID: <159577294913.1157.91069469417568930@build.alporthouse.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Alex Williamson (2020-07-26 14:30:52) > On Sun, 26 Jul 2020 17:49:07 +1000 > Geoffrey McRae wrote: > > > Hi All, > > > > The commit 22540ca3d00d2990a4148a13b92209c3dc5422db causes a Windows KVM > > guest running under QEMU with a VFIO passthrough GPU to randomly stall > > when using the GPU leading to the guest assuming that the driver has > > hung. Reverting this commit resolves the problem. > > Please double check this commit ID, I can't find it in mainline or > linux-next. Thanks, See commit aa202f1f5696 ("workqueue: don't use wq_select_unbound_cpu() for bound works"). 22540ca3 is the cherry-pick into v5.4.26 -Chris