Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2123796ybe; Thu, 12 Sep 2019 05:02:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzF9P49L8IfTz69ZdVCDv2tg8IOGOUgKAclRBEEQMSuDkuM1ZVWRjMmKIBabJiTa89OHtmO X-Received: by 2002:a05:6402:1598:: with SMTP id c24mr41576558edv.174.1568289750123; Thu, 12 Sep 2019 05:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568289750; cv=none; d=google.com; s=arc-20160816; b=lbhqvBRdW9RDRchpfIwu36HVrJtYfNaTVWwMzWOpYMFb5nI3YIXICY/wvfsksgPPa3 +VpLqlZPPWa+iCNWnHMUyg/l/KoDWnQKVVzSZIDByrTF3+2rrZMDKx4kRSxzmSyCsow8 ILM348KLdAy37vcOqAvGjPv8iH74xA57T0erZNWbHKiWtMwbEXYPE7+/24qWBBJPDir5 08w4V7iyqxawcfH/2ZAhD5QXex6iW9SmxLHAIRFjZDjB15Bh6WzFebUIFHDek52Gd4Co 7Vu+rGfq+Z115Km4FN/h+6k8G0WqaSNq3pHKYhSmaQYqIhdkrDZu+qLaHw4xGjbNSoQn AIpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=aAy9Hz9dJJxWqNFUhmDvCASjPhVVCM0iaPo/txBf8lI=; b=yX0p120ypa92VC6bdpwQ2ok/gFpMYGbHGD8aOwwwjnO2+7uLLkzrqo0Ml+zYFV+Xii 8FJ6KbP7kbbkK10/9sGk65Wyp7hl/OpoHaBQ2vDKIMEvqg+bpnTpscXsXIU5z6zzSELZ kKJahdanfOJbZ7HpxLoAf51VvQE3PXYKQU3F5eRVyf5ABkfe/xxxzs1+29idDKmwjPtW 91NPhqbAagcuPM4y4xD0a7xfp5qh6KfTDcPNn/gEGXtwZydKifV8NYTeB7GmfbJD4F21 J2sVBYzSv2CT1co+vHYBdB85sa+kW5trjNGT/AG1Ykq+Am36VhRkVNOfdWQmHcit0oan NF8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kraav.com header.s=mail header.b=CZmcJgO9; dkim=pass header.i=@kraav.com header.s=mail header.b=CZmcJgO9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kraav.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n22si8388107edq.33.2019.09.12.05.02.05; Thu, 12 Sep 2019 05:02:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kraav.com header.s=mail header.b=CZmcJgO9; dkim=pass header.i=@kraav.com header.s=mail header.b=CZmcJgO9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kraav.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731489AbfILL7A (ORCPT + 99 others); Thu, 12 Sep 2019 07:59:00 -0400 Received: from mail-out.elkdata.ee ([185.7.252.64]:62461 "EHLO mail-out.elkdata.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731438AbfILL67 (ORCPT ); Thu, 12 Sep 2019 07:58:59 -0400 Received: from mail-relay2.elkdata.ee (unknown [185.7.252.69]) by mail-out.elkdata.ee (Postfix) with ESMTP id C492A37207C for ; Thu, 12 Sep 2019 14:58:54 +0300 (EEST) Received: from mail-relay2.elkdata.ee (unknown [185.7.252.69]) by mail-relay2.elkdata.ee (Postfix) with ESMTP id BF9D0830881 for ; Thu, 12 Sep 2019 14:58:54 +0300 (EEST) X-Virus-Scanned: amavisd-new at elkdata.ee Received: from mail-relay2.elkdata.ee ([185.7.252.69]) by mail-relay2.elkdata.ee (mail-relay2.elkdata.ee [185.7.252.69]) (amavisd-new, port 10024) with ESMTP id 5qWOC6umzKRv for ; Thu, 12 Sep 2019 14:58:52 +0300 (EEST) Received: from mail.elkdata.ee (unknown [185.7.252.68]) by mail-relay2.elkdata.ee (Postfix) with ESMTP id 5BC638308C9 for ; Thu, 12 Sep 2019 14:58:52 +0300 (EEST) Received: from mail.meie.biz (21-182-190-90.sta.estpak.ee [90.190.182.21]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: leho@jaanalind.ee) by mail.elkdata.ee (Postfix) with ESMTPSA id 54D9760BF17 for ; Thu, 12 Sep 2019 14:58:52 +0300 (EEST) Received: by mail.meie.biz (Postfix, from userid 500) id 43DE3A97881; Thu, 12 Sep 2019 14:58:52 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kraav.com; s=mail; t=1568289532; bh=aAy9Hz9dJJxWqNFUhmDvCASjPhVVCM0iaPo/txBf8lI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=CZmcJgO93seGVxPrvJeF48551SDbAs0p6qqY+hdyoQs9kVDNXbBDjrUx5EFyCRkZl 1+ctXrME2HEcxhLB6wT0mwjUNg5XCVO5KrX/LtDBzgxPJ/gRnw6rOo2al0uGuFpkGf bGGEmpWVGtKCuJEdvAb1DVRQ+q1Z/9N1Y6gEbqjM= Received: from papaya (papaya.meie.biz [192.168.1.206]) by mail.meie.biz (Postfix) with ESMTPA id EC45CA97875; Thu, 12 Sep 2019 14:58:51 +0300 (EEST) Authentication-Results: mail.meie.biz; dmarc=fail (p=none dis=none) header.from=kraav.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kraav.com; s=mail; t=1568289532; bh=aAy9Hz9dJJxWqNFUhmDvCASjPhVVCM0iaPo/txBf8lI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=CZmcJgO93seGVxPrvJeF48551SDbAs0p6qqY+hdyoQs9kVDNXbBDjrUx5EFyCRkZl 1+ctXrME2HEcxhLB6wT0mwjUNg5XCVO5KrX/LtDBzgxPJ/gRnw6rOo2al0uGuFpkGf bGGEmpWVGtKCuJEdvAb1DVRQ+q1Z/9N1Y6gEbqjM= Received: (nullmailer pid 24731 invoked by uid 1000); Thu, 12 Sep 2019 11:58:51 -0000 Date: Thu, 12 Sep 2019 14:58:51 +0300 From: "leho@kraav.com" To: Martin Wilck Cc: "chris@chris-wilson.co.uk" , "torvalds@linux-foundation.org" , Michal Koutny , "intel-gfx@lists.freedesktop.org" , "tiwai@suse.de" , "linux-kernel@vger.kernel.org" Subject: Re: 5.3-rc3: Frozen graphics with kcompactd migrating i915 pages Message-ID: <20190912115851.GD6147@papaya> References: <156535522344.29541.9312856809559678262@skylake-alporthouse-com> <20190910142047.GB3029@papaya> <3dcff41048621ff440687dd6691aae31a8647a1e.camel@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3dcff41048621ff440687dd6691aae31a8647a1e.camel@suse.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 12, 2019 at 11:23:09AM +0000, Martin Wilck wrote: > > There's a considerable risk that many users will start seeing this > regression when 5.3 is released. I am not aware of a workaround. > > Is there an alternative to reverting aa56a292ce62 ("drm/i915/userptr: > Acquire the page lock around set_page_dirty()")? And if we do, what > would be the consequences? Would other patches need to be reverted, > too? I've been running with revert patch for a couple of days and have not encountered any kernel warnings thus far, nor any other ill effects that could be attributed to this locking mechanism. But I'm far from familiar with these subsystems. Graphics does not hang anymore. I've also received developer feedback in private that this really should be fixed before 5.3 release. -- Leho Kraav, senior technology & digital marketing architect