From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: Check for BIOS bugs - Original Subject: Re: [PATCH 23/70] ACPICA: Workaround for reversed _PRT entries from BIOS Date: Tue, 08 Jul 2008 08:40:21 -0700 Message-ID: <48738A65.9060905@linux.intel.com> References: <1213947852-10924-1-git-send-email-lenb@kernel.org> <200807011033.27887.trenn@suse.de> <20080707111207.GH5643@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mga05.intel.com ([192.55.52.89]:55267 "EHLO fmsmga101.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753489AbYGHPkU (ORCPT ); Tue, 8 Jul 2008 11:40:20 -0400 In-Reply-To: <20080707111207.GH5643@ucw.cz> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Pavel Machek Cc: Thomas Renninger , Len Brown , linux-acpi@vger.kernel.org, Bob Moore , Lin Ming , Len Brown , Bjorn Helgaas , Huang Cheng , firmwarekit-discuss@bughost.org, Linux Kernel Mailing List Pavel Machek wrote: > Hi! > >>> Some BIOSs erroneously reverse the _PRT SourceName and the >>> SourceIndex. Detect and repair this problem. MS ACPI also allows >>> and repairs this problem, thus ACPICA must also. >> It would be great to have an interface to report this as a BIOS defect. >> >> Something like: >> >> FIRMWARE_BUG_ON(FIRM_WARN, "erroneously reversed the _PRT source_name", ACPI_ >> Bug); >> >> FIRMWARE_BUG_ON(severity, description, component); > > Yes, please. > > I'd also like HARDWARE_BUG_ON(), with similar usage. > > With all the preload-linux-on-foo project, we have some chance to make > BIOS vendors fix their stuff if we can easily diagnose errors in > there. also we can tie this to kerneloops.org to make a list of top known firmware/hardware bugs, seperate from the kernel code bugs >