Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp869426imm; Fri, 8 Jun 2018 06:33:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0Xk/Fa0iOPy7EHf/111flyFY55b+Z+D58qKSWObH5C8kCLtyD4HQWn0VT2U1wn9sm+ulV X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr6502466plb.273.1528464815594; Fri, 08 Jun 2018 06:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528464815; cv=none; d=google.com; s=arc-20160816; b=V7cOQQYT7Yt9vkz+p0oXv4AEYSA3BxnyP/QoIhtakS2yyMC2/Rd+UkDTRcNv6E09jr uGnvycbK+xHydps65ONwfn9H2KQntw6iLsVDBuMRyuBmQlx1EcL9XFGLyUfcHFhmuZc6 k7/sGBkBJEVbxiZPVxPxDG/nylI2nJ1SULd3Pyfo6M2cCOOeoBLdRcONPunT/pPp5xP7 SmdL+1NZtNhebzGkMhOB6r+hw/JC0vEjcnkTbICGmdA61tzlpf+9bgSsRZtHOkVsedjs pfqGP0X2ItnXJazub5yyZFjxEThYzvMaWGWjg1gy5SFv8yuWJGH9VvEaXiDiafvw6htl 1Kiw== 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=/JH8PRbba3uYQKWOgdUFzVcqt5g+apdNhR/22Pwm4HQ=; b=EBH5mRgiuXGdJgO8jFcAG7wF+3Koge75mPlq1mU0wK4BCZKtLxYYPMjBBvunEDEoxe w4+hxoqXOEJMsgWZ1bLIswWkCqiq7FpSaPzbf3CXSJcsXDiwrDmUqu8jkengX3tAY9u/ H0b+Pns/Y6a/ujnmpTyPbtENKlPrm90R+DsfMT9DZhUyTsZoXKdd7Kca15hgxvmIl7/E tVzJ/Oz7KS8vh2GEu6dovnLbtDo/r/1oFm6GJwUcNoKdECfTTMFEAYQC0tz50+4xqR7u Haw9TUm9UocOFYQWbLaQ03cT7gCcxQ1hC0jNBerL8D/ancRUvrLs6nBVaepuTPIaC+CU ihEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IHRR595y; 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 a10-v6si14717284pgt.385.2018.06.08.06.33.21; Fri, 08 Jun 2018 06:33:35 -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=IHRR595y; 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 S1751679AbeFHNck (ORCPT + 99 others); Fri, 8 Jun 2018 09:32:40 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:37864 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbeFHNcj (ORCPT ); Fri, 8 Jun 2018 09:32:39 -0400 Received: by mail-lf0-f65.google.com with SMTP id g21-v6so18130926lfb.4 for ; Fri, 08 Jun 2018 06:32:38 -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=/JH8PRbba3uYQKWOgdUFzVcqt5g+apdNhR/22Pwm4HQ=; b=IHRR595yD+110bC29wJXy7zP223jhkrkUc+36ZsAGWiXcyw0J2nrcnykSRBm0v8IP6 T5k5SNMP0Mb8KZBobgXU3VouX1M7uY2VTYpKZ40qjffTR+ZeBPcOcsX0IIJGkjiwqPgM oN4dG6uB/5kfXHdDKaniln4lNHi8fVG/IXrtJM8/YPAzpn0HvhTh1Zib90k2z2BVK9l9 Xnc1td0oPaaLqbkPux5n7i4KuhMYHVTOZdKq4H7AWm8Rt0qDA0lxo7/D33lwQxyVfWO+ NijXm2b/SpQgdorQcocE/t1nLowQjH6MTrGR4VyzAj0e8qkwBlWM7U0K1tT2TVHNP0qD uo1w== 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=/JH8PRbba3uYQKWOgdUFzVcqt5g+apdNhR/22Pwm4HQ=; b=kTYulHZkaIOpZ9RCMaCP0e42l47e5XU0QNUwAu3gENNx+RLCo3+qGSzVw5BE8A8VWa TddmFyZtY2p6iKp4AFeiUK5YCmLE8MKRthjxTaWbIsVCrpK9GF/EgVwoFoyB1jyJSUpx m1w5dDEcdhoc2Hx2+h8KR9jTFDUi61BXw10OZWEHYWTbtrJOZDYvAwVLzyawnGXcJvu7 woKCdLtPGaKrQOh3sbA+XRjtyaLsVaWpqc9HK+lbHAzEpuPFEVMSE+VbAuKh4yo+6n2z 2NUUPKyFch4dc6xfWDqOwopN0ptOIWPHBgU8YjZdBQITc0VDJ5dDwOE8zunCFuZxO3it j9+w== X-Gm-Message-State: APt69E3soy9+20nsidHLVTwQqcm/+qweodP8e3OnZufp0wR/E+KFkeuj 1PyrR59XtOJRn/ZplevDijEaQtNjZdYKcHNVAw== X-Received: by 2002:a2e:428e:: with SMTP id h14-v6mr4870397ljf.136.1528464758056; Fri, 08 Jun 2018 06:32:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e45c:0:0:0:0:0 with HTTP; Fri, 8 Jun 2018 06:32:06 -0700 (PDT) In-Reply-To: <1c8b3938-6656-5d5a-f65d-dfd2e55d989e@amd.com> References: <516cddbe-73c2-01f3-a552-0d9fd75ce63a@amd.com> <8f7d00f9-992f-cc07-6bd0-b1b47c5d2ccf@amd.com> <267c42ce-91e2-4843-3815-904ac74b2f44@amd.com> <20180608060223.GB24107@lst.de> <1c8b3938-6656-5d5a-f65d-dfd2e55d989e@amd.com> From: Gabriel C Date: Fri, 8 Jun 2018 15:32:06 +0200 Message-ID: Subject: Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later ) To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Christoph Hellwig , Tom Lendacky , Jean-Marc Valin , Dave Airlie , Felix Kuehling , LKML , dri-devel@lists.freedesktop.org, Joerg Roedel , alexander.deucher@amd.com, Andrew Morton , Linus Torvalds , =?UTF-8?Q?Michel_D=C3=A4nzer?= 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-06-08 8:52 GMT+02:00 Christian K=C3=B6nig : > Am 08.06.2018 um 08:02 schrieb Christoph Hellwig: >> >> On Thu, Jun 07, 2018 at 02:32:46PM +0200, Gabriel C wrote: >>> >>> Ok done.. bisect points to: >> >> What is the failure mode you are seeing? Can't find anything in the >> mail unfortunately. > > > As far as I analyzed it we now get an -ENOMEM from dma_alloc_attrs() in > drivers/gpu/drm/ttm/ttm_page_alloc_dma.c when IOMMU is enabled. > > Still need to figure out which parameters we want to use for the allocati= on, > but I think it is only 4k or 8k. When you guys need me to test something , or run debug patches or patches of any sort just let me know.. > > Regards, > Christian. BR