From: Borislav Petkov Subject: Re: [PATCH 1/3] iommu/amd: Add logic to decode AMD IOMMU event flag Date: Tue, 2 Apr 2013 18:17:57 +0200 Message-ID: <20130402161757.GC17519@pd.tnic> References: <1364428283-2548-1-git-send-email-suravee.suthikulpanit@amd.com> <20130402143335.GB15687@8bytes.org> <20130402144037.GE5488@pd.tnic> <20130402150302.GF15687@8bytes.org> <20130402152956.GE4391@pd.tnic> <20130402160400.GP30540@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20130402160400.GP30540-zLv9SwRftAIdnm+yROfE0A@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: Joerg Roedel Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Tue, Apr 02, 2013 at 06:04:00PM +0200, Joerg Roedel wrote: > I can certainly write a patch that works around your particular BIOS > bug. The problem is that such a fix will most certainly break other > systems. > > Unfortunatly there is no reliable way to fixup the IO-APIC-ID->DEVID > mapping at runtime when the BIOS messed it up. The only thing I can do > is to check for potential problems and disable the intremap feature > then, so that the system will at least boot. Yeah, that could work: * do not issue message but try to fixup the mapping * if it works, fine * if it doesn't, then give up and disable intremap. And yes, I'm very sceptical about having a WARN_ON and it starts screaming on machines all over the place. Good luck explaining to people that you actually wanted to prod BIOS vendors to fix their monkey-on-crack code but they weren't listening in the first place. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --