From mboxrd@z Thu Jan 1 00:00:00 1970 From: "joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org" Subject: Re: amd-iommu: can't boot with amdgpu, AMD-Vi: Completion-Wait loop timed out Date: Tue, 21 Mar 2017 16:57:25 +0100 Message-ID: <20170321155725.GD29659@8bytes.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Alex Deucher Cc: Chris Chiu , "amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org" , Daniel Drake , "Nath, Arindam" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "Deucher, Alexander" , Linux Upstreaming Team List-Id: iommu@lists.linux-foundation.org On Fri, Mar 17, 2017 at 11:53:09AM -0400, Alex Deucher wrote: > On Fri, Mar 17, 2017 at 8:15 AM, Daniel Drake wrote: > > Hi, > > > > On Mon, Mar 13, 2017 at 2:01 PM, Deucher, Alexander > > wrote: > >> > We are unable to boot Acer Aspire E5-553G (AMD FX-9800P RADEON R7) nor > >> > Acer Aspire E5-523 with standard configurations because during boot > >> > the screen is flooded with the following error message over and over: > >> > > >> > AMD-Vi: Completion-Wait loop timed out > >> > >> We ran into similar issues and bisected it to commit b1516a14657acf81a587e9a6e733a881625eee53. I'm not too familiar with the IOMMU hardware to know if this is an iommu or display driver issue yet. > > > > We can confirm that reverting this commit solves the issue. > > > > Given that that commit is an optimization, but it has introduced a > > regression on multiple platforms, and has been like this for 8 months, > > it would be common practice to now revert this patch upstream until > > the regression is fixed. Could you please send a new patch to do this? > > > > Also, we would be happy to test any real solutions to this issue while > > we still have the affected units in hand. > > No objections to a revert here. Big objection here. Since this only happens with amdgpu so far we shouldn't rule out a display-driver issue. Reverting that patch basically destroys iommu-performance on AMD systems. Doing this for all devices just to make amdgpu working is overkill at this stage of the debugging. Joerg