Re: Quirking acpi_enforce_resources

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

 



On Mon, Mar 01, 2010 at 04:01:37PM -0500, Chase Douglas wrote:
> Hello,
> 
> I've noticed there are a lot of bugs filed against Ubuntu due to the
> changes that introduced strict resource checking between the acpi driver
> and legacy hardware monitor drivers [1]. Although I understand the
> reason for the strict checking, the legacy drivers seemed to work fine.
> I'm unaware of any real issues that were caused by using them.

They'll work absolutely fine until both ACPI and the native driver 
attempt to use the bus simultaneously, at which point there's a risk 
that you'll end up writing to the wrong register and causing hardware 
damage. The probability of this is tiny - you'd need two uncommon things 
to happen at exactly the same time. That doesn't mean it's safe.

> Thus, I'm wondering if it would be worthwhile to whitelist machines 
> that are known to work OK even with the resources being doubly held by 
> both the acpi driver and a legacy driver. It certainly does not seem 
> prudent to set acpi_enforce_resources=lax across the board, but the 
> change to strict resource checking seems to have done more harm than 
> good for the average user.

The average user now has no chance of this causing a spurious system 
shutdown due to a false temperature reading, and also no chance of this 
causing invalid values to be written to a device causing it to brick the 
hardware. If users are willing to accept the (admittedly small) risk, 
they get to pass the argument. It's not reasonable for the upstream 
kernel to do this.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux