Received: by 10.192.165.156 with SMTP id m28csp1245800imm; Wed, 11 Apr 2018 15:25:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx48+7z8YQW8GiL5PpBSYXcTKyPP55AUtD3+I4wlh3MwSCeASp38xbbJeUHWCbWo3XejtMDra X-Received: by 10.99.182.73 with SMTP id v9mr4689287pgt.158.1523485518150; Wed, 11 Apr 2018 15:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523485518; cv=none; d=google.com; s=arc-20160816; b=VtVFE/C4XctV27vRI7xlUn8yQgcPc1vNWsqbJWpEFjVw4k8Ghrw7F6lKxMH2DguxpO mq66JsyDhTOUOfYiLCzG6cnAWQRbVICgSjnknVbPFynxX+3Fhes0X0m1HwryM59imdM+ QhIP9zpxzTcgLtuBM8cmmkamSnLWX4QSF9IPi+/2MZHsEHgW/iXl8VY1fsWb3NaPiovR WWiBqnWJQeQU8A/1IsgoD6lb7o/X3D//yWZnXet/DgHQxj/m4A1lafWTdUIU1/DmWqLH M8XvECbYjZwSKq7wO9v3KTNahFXT26yc0H+u3dXckF38CuW/XetQHhxdGmwkgqXyPHky 04vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=EqjOIOpCBY6rezfDgxpEAHaWyDZYegPYEGkQf0lgQzA=; b=GWyXkl7uOkQyoDWinW72slyi79Isw4PrIF/ftbniPAtg0vmrJpezTEA7umVA1YvGj7 KllY/nR+mHnVh0eyy2Z3ewfdE8AANLv2X7AO05+ueG9F6vOnGz8vhwi+W1nZGcPh9xO6 6uSjgupHsPmrYcuxeBHsagt9OO1Zsa/wxmQqdnZTlKiK50nbZu3jA2awoW0fvB9HB69d A9ezZjLfcxexS5g0FyGHYfvsoR2L+8VjtD8nuxraLW0PeM8Lklc+GqOGH8PHtQomWzwj On+UZ9Snjmhz0jcZewK8z2DcQonWNQt2KJ0FynRaX5739ezUOi5K3ed7bW74JYvKJIJQ eNcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nV2Qa8G/; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si1913305plj.408.2018.04.11.15.24.41; Wed, 11 Apr 2018 15:25:18 -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=@gmail.com header.s=20161025 header.b=nV2Qa8G/; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752369AbeDKWU5 (ORCPT + 99 others); Wed, 11 Apr 2018 18:20:57 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:43547 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbeDKWUz (ORCPT ); Wed, 11 Apr 2018 18:20:55 -0400 Received: by mail-lf0-f43.google.com with SMTP id v207-v6so4837880lfa.10 for ; Wed, 11 Apr 2018 15:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EqjOIOpCBY6rezfDgxpEAHaWyDZYegPYEGkQf0lgQzA=; b=nV2Qa8G/MY6RY40SI/CGsWFYESpyNowZJOU3ph7TXXz0KIJHxkXuOzHJrN4QzkRWae TeR3i5Yv02bh9/mT1isO5Ios5HEDi7cgBGp14+AbH0Xh4xLHe4Tob6NUB9J0Z5ZR81KH GnC68kSAZQnCGK24TC/9sV4GIoURJMWq2rTeOwgmzeHt0byudX+3DooFj3zO3uu574wh Cpger3QIxZ2rBF17pHHG4EJ1xQEVzeM+gKdW5aeQxgaonP+fpZXaH0GZKhtzpettbdMD 85F7JIx0Qjv+yi5ScPGdGL2TrzZh7xXNjwC7afNWLV0FSRIoYQadkXxvVw5nIMgX9q6e phIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EqjOIOpCBY6rezfDgxpEAHaWyDZYegPYEGkQf0lgQzA=; b=Kc5J5J/JCSLu81C7w44bh1guwyVz3Pew6HA8YwfZxjm2qIsSlU1DiO2jEvBH/M1+WW wEjifRXwekFclPAYgsasDg4ji8jrNUcGh5cT7DRb9W2xVnJTwzGh/uBFvujRImsH98XZ NGD8vyfvKVXg7o1nzsoEUXFlzY8Sn7pEKqrxVmpFK4ZcPE2cbsNyukwUS3yPCGiXXrLe zQnEIsuLUSplMfi47d6MC777ix7vCnAHl8sgNHgpxSYS/KZ/JsDzQZGje/lhRxOvAhWh tNsU/MftiMLHwzUrIu4NQwuSfDZsnRJhgwGaDaTTF+57ncFrDolEpL032Q1g8LZvRuCm nTVw== X-Gm-Message-State: ALQs6tDIf+iBKAWrsM1093WnMCS+OvJaQ5Qlz3zESOyfzE2kd2y4hrpC +PyJrTQm3HNPM2konbIYoDDCQGTVU4ExnY2SEQ== X-Received: by 2002:a19:d78a:: with SMTP id q10-v6mr3833043lfi.94.1523485254599; Wed, 11 Apr 2018 15:20:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e988:0:0:0:0:0 with HTTP; Wed, 11 Apr 2018 15:20:24 -0700 (PDT) In-Reply-To: <7bf2f711-bbd8-cee6-6377-0c4f22db2937@mozilla.com> References: <9ca940f1-7f21-c420-de45-13d72e783ab6@amd.com> <6cebabff-908f-5ebe-4252-760773c4cd6f@amd.com> <312ed341-7052-a61e-331f-d1e8fd5b477e@mozilla.com> <77866d66-2728-8295-d7ee-9975dbf64b99@mozilla.com> <55e1712b-6567-50c5-3789-53dd1ccddb94@gmail.com> <7bf2f711-bbd8-cee6-6377-0c4f22db2937@mozilla.com> From: Gabriel C Date: Thu, 12 Apr 2018 00:20:24 +0200 Message-ID: Subject: Re: AMD graphics performance regression in 4.15 and later To: Jean-Marc Valin Cc: =?UTF-8?Q?Christian_K=C3=B6nig?= , Dave Airlie , alexander.deucher@amd.com, Felix Kuehling , Laura Abbott , Andrew Morton , michel.daenzer@amd.com, dri-devel@lists.freedesktop.org, LKML , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-04-11 20:35 GMT+02:00 Jean-Marc Valin : > On 04/11/2018 05:37 AM, Christian K=C3=B6nig wrote: >>> With your patches my EPYC box is unusable with 4.15++ kernels. >>> The whole Desktop is acting weird. This one is using >>> an Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] GPU. >>> >>> Box is 2 * EPYC 7281 with 128 GB ECC RAM >>> >>> Also a 14C Xeon box with a HD7700 is broken same way. >> >> The hardware is irrelevant for this. We need to know what software stack >> you use on top of it. > > Well, the hardware appears to be part of the issue too. I don't think > it's a coincidence that Gabriel has the problem on 2xEPYC, I have it on > 2xXeon and the previous reported had it on a Core 2 Quad that internally > has two dies. > > I've not yet tested your disable CONFIG_SWIOTLB fix yet -- might try it > over the weekend and report what happens. > To get that right .. is only a matter of disabling SWIOTLB *code* while CONFIG_SWIOTLB is still set ?