Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1418192ybt; Thu, 2 Jul 2020 05:05:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcBzsjNKxQ5NYQ1VHgo45ePm/hWcYEJ8/DpmJAQcerLiIeXZV9khhq4dNPUurdRukkvqMZ X-Received: by 2002:a17:906:144b:: with SMTP id q11mr15593359ejc.511.1593691533497; Thu, 02 Jul 2020 05:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593691533; cv=none; d=google.com; s=arc-20160816; b=SMeUP1lcHfvaKzN9MvMJziahG7vlKQSJLEGCUnjSnSj7N5XrwrKKGzdqfra6Frtoiz GFk+XwQKw4TAVlippKMJgV4ya4Nn4++DpgGUPddTOxCWFwmiYXdJzKWaIIeug54hkT2M 0PvAsiEJ2v0InPB0QRxAPNSQNBBONjPl/3myXygPtdUoTyb9C38MZKBoS1EGO3rYHeVp cPrH1fT1B+fN0nqc0tEWv/F0rTbODMUEJx3I+MGeVTNo1P3eMTG+dQ2e7dwy2dnsBxmn 2gObaTYW7O5u/e7v1sUtNpmCyIx6zX+WioQrGJAYjtUMGf5fme6QvaE4RUzL1x8Z6huK x0ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:cc:date:message-id:subject :mime-version:content-transfer-encoding:from; bh=rU+lT36p+64OKyNhbdKyjd2Wz2AFf7gDRimu6KcyDgM=; b=Hsh0gen/P5rwgjKMO6ha8dBCPDZQvXZVXmaJBLugKE186XwBkhEym8dEjXfiZaUiqh H6xIVVG2hNHDI1zNI6kglF9yrhWeXJHA+JwKpb+lfH/C8EXleJzBJg1ZIhvxHokilJtV anenGIZ8+QFpbV8mqy3JPf3FzIbCjlFBF3ZUBio10RqhRyxtqBq8NeDKEC4I9mxmzBFS iOz+8icGQgkV0WTkmz/Dq99CX8zdEJYFpmQOac0tbj5T24h9/ZXx2Q/RiSLz3CwAWDoe AJecKvicI1849dRth0L0xoOWvuWC1l1XTLX0+L8yhvx9d+XfwAL9GnDEhL60WYSyE6H8 iUUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do11si7436985ejc.450.2020.07.02.05.05.10; Thu, 02 Jul 2020 05:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728808AbgGBME2 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 2 Jul 2020 08:04:28 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:41773 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728730AbgGBME2 (ORCPT ); Thu, 2 Jul 2020 08:04:28 -0400 Received: from mail-pg1-f199.google.com ([209.85.215.199]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jqxx3-0006zz-S2 for linux-kernel@vger.kernel.org; Thu, 02 Jul 2020 12:04:26 +0000 Received: by mail-pg1-f199.google.com with SMTP id j9so16868123pgm.8 for ; Thu, 02 Jul 2020 05:04:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=6U4bdTq8kytYWqveDbphl0yfVzNtHItRUMAWKUCvHZ8=; b=eKivTAvvAM8WY/W6mbnbpYG9xrOrIs4PVesXbgQ34+7G7R2woqIy4d458OcNRQnH9a l9NmjiDbf5KbhLJgie54ndYl1mg59B1VD5dEmLRTc8ts6vqYGR28jnn+/OuYKG/2+LeO Xx5PV9cLVl5pHWfTNK1uoonLsZDOkiMO8O+KusoDx2JS2wM3W+2woCirHq9xzIBLOXc7 kBeSBTS/q2Q4owbfJt2Jly2pn7nOdFKfRWirovoCkHKRcdNHSenyQFD28UizyhmlF7hK 0ojRueH6kNsct+ehlp6fAmXq+Rfz2fsnB097PTsgueVO51I7Fr8UBxBlv1zV60pdaItA 0h/Q== X-Gm-Message-State: AOAM530k+l3yotAJg7LIBl3oj2g1UVWfQN6RLWFH4NYB5XeQqQDYSUGw 6eOqSsayRlqDV8GtpvJs+LE7qzlpmwwz4gGjNitMD5AJXSSgbCDBnDe+u5xNWN7tXRuGTZLT3Wc iifdAQUId3x7UrPittfULgT328ALbO850kOkO1E73kw== X-Received: by 2002:a63:5013:: with SMTP id e19mr24290812pgb.68.1593691464572; Thu, 02 Jul 2020 05:04:24 -0700 (PDT) X-Received: by 2002:a63:5013:: with SMTP id e19mr24290787pgb.68.1593691464269; Thu, 02 Jul 2020 05:04:24 -0700 (PDT) Received: from [192.168.1.208] (220-133-187-190.HINET-IP.hinet.net. [220.133.187.190]) by smtp.gmail.com with ESMTPSA id 193sm8577808pfz.85.2020.07.02.05.04.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 05:04:23 -0700 (PDT) From: Kai-Heng Feng Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: [BUG] "Pre-boot DMA Protection" makes AMDGPU stop working Message-Id: <546DB0FA-FDEB-4FD1-93CD-AA5474B5F0DD@canonical.com> Date: Thu, 2 Jul 2020 20:04:20 +0800 Cc: "Deucher, Alexander" , iommu@lists.linux-foundation.org, open list To: Joerg Roedel X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, A more detailed bug report can be found at [1]. I have a AMD Renoir system that can't enter graphical session because there are many IOMMU splat. Alex suggested to disable "Pre-boot DMA Protection", I can confirm once it's disabled, AMDGPU starts working with IOMMU enabled. So raise the issue here because I have no knowledge on how to reset the IOMMU. [1] https://gitlab.freedesktop.org/drm/amd/-/issues/1204 Kai-Heng