ACPI: declare victory in _OSI(Linux) wars and go home
Len Brown
reviewerPATCH 1/1 ACPI: declare victory in _OSI(Linux) wars and go home
From: Len Brown <[email protected]>
Several Linux kernel releases have printed DMI info and asked for e-mail feedback when we see BIOS AML invoke _OSI(Linux).
We've found exactly two vendors use used _OSI(Linux) for something on purpose -- Dell and Lenovo, and those uses are limited to specific models.
We'll work with Dell and Lenovo to get them
out of that mess. In the mean-time, for everybody else, simply note that Linux ignores OSI(Linux) and move on.
Signed-off-by Len Brown <[email protected]>
--- drivers/acpi/osl.c | 44 -------------------------------------------- 1 files changed, 0 insertions(+), 44 deletions(-)
drivers/acpi/osl.c +0 -44
@@ -35,7 +35,6 @@#include <linux/interrupt.h> #include <linux/kmod.h> #include <linux/delay.h> -#include <linux/dmi.h> #include <linux/workqueue.h> #include <linux/nmi.h> #include <linux/acpi.h>
@@ -1296,34 +1295,6 @@ acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object)return (AE_OK ); } -/** -* acpi_dmi_dump - dump DMI slots needed for blacklist entry -* -* Returns 0 on success -*/ -static int acpi_dmi_dump (void ) -{ - -if (!dmi_available) -return -1 ; - - printk(KERN_NOTICE PREFIX "DMI System Vendor: %s\n", - dmi_get_system_info(DMI_SYS_VENDOR)); - printk(KERN_NOTICE PREFIX "DMI Product Name: %s\n", - dmi_get_system_info(DMI_PRODUCT_NAME)); - printk(KERN_NOTICE PREFIX "DMI Product Version: %s\n", - dmi_get_system_info(DMI_PRODUCT_VERSION)); - printk(KERN_NOTICE PREFIX "DMI Board Name: %s\n", - dmi_get_system_info(DMI_BOARD_NAME)); - printk(KERN_NOTICE PREFIX "DMI BIOS Vendor: %s\n", - dmi_get_system_info(DMI_BIOS_VENDOR)); - printk(KERN_NOTICE PREFIX "DMI BIOS Date: %s\n", - dmi_get_system_info(DMI_BIOS_DATE)); - -return 0 ; -} - -/****************************************************************************** * * FUNCTION: acpi_os_validate_interface
@@ -1350,21 +1321,6 @@ acpi_os_validate_interface (char *interface) osi_linux.cmdline ?" via cmdline" : osi_linux.dmi ? " via DMI" : ""); -if (!osi_linux.dmi) { -if (acpi_dmi_dump ()) - printk(KERN_NOTICE PREFIX -"[please extract dmidecode output]\n" ); - printk(KERN_NOTICE PREFIX -"Please send DMI info above to " - "[email protected]\n"); - } -if (!osi_linux.known && !osi_linux.cmdline) { - printk(KERN_NOTICE PREFIX -"If \"acpi_osi=%sLinux\" works better, " -"please notify [email protected]\n" , - osi_linux.enable ? "!" : ""); - } -if (osi_linux.enable)return AE_OK ; }
Signature · 1 line
1.6.0.3.640.g6331a