[PATCH] ACPI: set acpi_enforce_resources to strict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 8, 2009 at 5:15 PM, Hans de Goede <hdegoede at redhat.com> wrote:
[...]
> So back to the discussion about changing the default of
> acpi_enforce_resources to strict, Jean and I have been discussing this on
> IRC and we feel it will most likely cause too much pain. So we would like to
> suggest to make the default depend up on the motherboard. Our plan is to
> have the default be "auto" and that will mean "lax", unless the motherboard
> is atk0110 (Asus ACPI interface for reading hwmon data) capable and in that
> case "auto" will mean "strict"

Hum, that would mean putting ATK specific code into ACPI subsystem.
It's not pretty :S

> The plan is then to merge this acpi subsystem change and the atk0110 driver
> at the same time, so that people will get different hwmon capabilities, but
> won't loose hwmon capabilities all together. Important note: this is meant
> as an temporary state of affairs, the end goal is to make the checking
> strict.
>
> Luca do you think you could do a patch implementing the described "auto"
> value for acpi_enforce_resources ?

So the logic would be:
- if ATK node is present and the driver is enabled -> strict
- otherwise -> auto

I don't if I can use the ACPI interpreter early enough to check the
DSDT though; AFAICS the alternatives are:
- DMI which would require an entry for each mobo (notebooks don't have
the ATK interface)
- an initcall in the ATK driver that overrides the value of
acpi_enforce_resources to strict

Luca




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux