From: Joerg Roedel Subject: Re: [PATCH 1/2 V2] iommu/amd: Add workaround for ERBT1312 Date: Wed, 24 Apr 2013 12:46:17 +0200 Message-ID: <20130424104616.GH17148@8bytes.org> References: <1366009666-44792-1-git-send-email-suravee.suthikulpanit@amd.com> <20130418160220.GA4153@8bytes.org> <51701B9F.10003@amd.com> <20130418162856.GA13891@8bytes.org> <51768B25.1060501@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <51768B25.1060501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 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: Don Dutile Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Tue, Apr 23, 2013 at 09:22:45AM -0400, Don Dutile wrote: > Given other threads on this mail list (and I've seen crashes with same problem) > where this type of logging during a flood of IOMMU errors will lock up the machine, > is there something that can be done to break the do-while loop after n iterations > have been exec'd, so the kernel can progress during a crash ? In the case of an IOMMU error flood this loop will only run until the event-log/ppr-log overflows. So it should not turn into an endless loop. Joerg