Re: [patch]acpi: add missing _OSI strings -- resend

Andrew Morton
2011-07-05T22:08:55Z

On Mon, 04 Jul 2011 13:23:20 +0800
Shaohua Li <shaohua.li@intel.com> wrote:

> Last post (Jun 14 ) is lost, resend.
>
>
> Linux supports some optional features, but it should notify BIOS about them
> in _OSI method. Currently Linux doesn't notify any, which might make such
> features not work because BIOS doesn't know about them.
>

This is a bit vague. Are any machines actually fixed or improved by
this change? Is so, can we please see a full description of the
behaviour change?

Thanks.

> --- a/drivers/acpi/osl.c
> +++ b/drivers/acpi/osl.c
> @@ -1083,7 +1083,13 @@ struct osi_setup_entry {
> bool enable;
> };
>
> -static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX];
> +static struct osi_setup_entry __initdata
> + osi_setup_entries[OSI_STRING_ENTRIES_MAX] = {
> + {"Module Device", true},
> + {"Processor Device", true},
> + {"3.0 _SCP Extensions", true},
> + {"Processor Aggregator Device", true},
> +};
>
> void __init acpi_osi_setup(char *str)
> {
>