Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3653861ybb; Mon, 6 Apr 2020 12:52:30 -0700 (PDT) X-Google-Smtp-Source: APiQypKnwDTf8nEPxhasv0FH3iNyAtYnYuj6CoJYWvAjIdr4e9cu/ORWg0YG5Ga+tca3WDQffvEN X-Received: by 2002:a54:4008:: with SMTP id x8mr845640oie.164.1586202750752; Mon, 06 Apr 2020 12:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586202750; cv=none; d=google.com; s=arc-20160816; b=ZgDbamhzFrtp17AebB5erakMD6TfFymhu4sh+YJ/F05W8klWZ8Qm/vCZ9YuqarGncR OjU47SVr1v6dObk2oqEPXfPqTh1oq8beM3DYI+tCvQ7udy6rZzbv5ujJAH8eC8S0AUtA hxbu+1IHpc5FmEqSBhe/SWBJhFmvtHKC7ZRMDoQ+IfByn9rAsTBZpXqLVsY6Bo8v3wvO fOMEmAB22LD0Bi4Bb6dEkI/UJDLyBwT6XAwjz4Oez7HcEIgKgASgmBrF+kMr/d7tcgcp w63SUI6OzR95xazVqU64kxsG+byXdGs0RljpjkNWG2udKqkLUb/Rn4qKOr5wfDEnmqGG Li4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:content-transfer-encoding :message-id:mime-version:cc:to:subject:from:date:dkim-signature; bh=AAubdb+tNTjPwoyqCH1GA4q2yTejWcK2E7tiZaIw2gM=; b=b8zOeYNvKyzsNXsogXBFwRHunI6pg30qzi2U12FWWWfX+tuHIByxdLUbroSpEDDSjF 1WAO4Az4pEvQrRXnWwYPUGuWws5Wir5/ZtFyZUpdQWhEcCJyQnVsz1XmFmtV7ndI13VD mBdAjBrF0sZt4iPAzdenHtHP+syppJHhmDiDdoFaUnt9sz0T/DK4OLfkolIKA3TvAQ1o Nt37BWTOLgLNS6BKLuUaKC88b5f3vL+kkK5ifc48OWdlGRmUDGDprpM36pkYiqlHzkRA 2zh+ceWiRnkeQ25AW6k89Yw8RoEPLhl55TdmqritMVJaGNiT/5X2LAwvleUWTK2X2qLP ZKnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=rBOEklnQ; 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=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si8060687oiz.209.2020.04.06.12.52.18; Mon, 06 Apr 2020 12:52: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=@yahoo.ca header.s=s2048 header.b=rBOEklnQ; 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=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726403AbgDFTvf (ORCPT + 99 others); Mon, 6 Apr 2020 15:51:35 -0400 Received: from sonic305-20.consmr.mail.gq1.yahoo.com ([98.137.64.83]:43937 "EHLO sonic305-20.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbgDFTve (ORCPT ); Mon, 6 Apr 2020 15:51:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1586202691; bh=AAubdb+tNTjPwoyqCH1GA4q2yTejWcK2E7tiZaIw2gM=; h=Date:From:Subject:To:Cc:References:From:Subject; b=rBOEklnQwk6BbVKJ8OnZvewaYukWWNVxzB9UCG9OYxKitP/ELpZQXN5FGjzHFb8y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4s067zsrvb4kt5LHLxzl_DSFLyOjvVdu4gKwRN3odP8 X2zj_e6KWcurMnlO21FkbnsFDLEF4RIkz1vseMSvhqT7DIze1bH9q3IDLf.9CrQD7GMdyAEAXuAs Uuam_X6XRbAGZmniSri251fNyl_PdS5NsUsOLX3E4XII6GPlPijzB.Q0fRzfi85qwj39LgvofgZu rbNR0upAqMtA7TzN0I0W.M7iFJBydd9hwxETEGPo6IBc6wIskr7uj3XLD1d2VZ4QFSR7Y9xPBp6r D2QCrqNfMzzMdF48FAeaaWNWLJfchzhcPxYDpdCypOIl.cS_87WRP6lzoOH6aaSirVFzd5ENwjnQ TyeE5jIQb7KWEsvn0J0btX96bJJxBY2QxnaxGeHul1jvgNx_brWYlwiaH0klFZi5._C9.1lNB7zv OZ.8MSCmq9jmJnecYmVb9Kvk5LQFdVQqtwg2J8ihjEcGCRYeGwsZkknp4btZr11RWTRXWt.By3tN 4rNSa8Xxf4WxbcAq9ydIKfENLk7T9rBy4zp7v2kOktFa177mwKWpx7GTQZlelRZEAJbBQx4lgBMB uqgcwMl1w4UBl05xopnzmkX1GgvnQKE814PcPc92BhG529SB67KveMIWSodzVpqfocbveZR8vg6s Ja4.6x5tFEA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Mon, 6 Apr 2020 19:51:31 +0000 Received: by smtp408.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 564a13dce9f8757db0d103665696d9f0; Mon, 06 Apr 2020 19:51:26 +0000 (UTC) Date: Mon, 06 Apr 2020 15:51:22 -0400 From: "Alex Xu (Hello71)" Subject: Bad rss-counter state from drm/ttm, drm/vmwgfx: Support huge TTM pagefaults To: linux-mm@kvack.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, thomas_os@shipmail.org Cc: pv-drivers@vmware.com, linux-graphics-maintainer@vmware.com, Andrew Morton , Michal Hocko , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , Ralph Campbell , =?iso-8859-1?b?Suly9G1l?= Glisse , Christian =?iso-8859-1?b?S/ZuaWc=?= , Dan Williams , Roland Scheidegger MIME-Version: 1.0 Message-Id: <1586138158.v5u7myprlp.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable References: <1586138158.v5u7myprlp.none.ref@localhost> X-Mailer: WebService/1.1.15620 hermes Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) Content-Length: 506 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Using 314b658 with amdgpu, starting sway and firefox causes "BUG: Bad=20 rss-counter state" and "BUG: non-zero pgtables_bytes on freeing mm" to=20 start filling dmesg, and then closing programs causes more BUGs and=20 hangs, and then everything grinds to a halt (can't start more programs,=20 can't even reboot through systemd). Using master and reverting that branch up to that point fixes the=20 problem. I'm using a Ryzen 1600 and AMD Radeon RX 480 on an ASRock B450 Pro4=20 board with IOMMU enabled.