All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Chase Douglas <chase.douglas@ubuntu.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Quirking acpi_enforce_resources
Date: Mon, 1 Mar 2010 22:04:18 +0000	[thread overview]
Message-ID: <20100301220418.GA24957@srcf.ucam.org> (raw)
In-Reply-To: <1267477297.15581.152.camel@cndougla-ubuntu>

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@srcf.ucam.org

  reply	other threads:[~2010-03-01 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01 21:01 Quirking acpi_enforce_resources Chase Douglas
2010-03-01 22:04 ` Matthew Garrett [this message]
2010-03-01 22:15   ` Chase Douglas
2010-03-01 22:22     ` Matthew Garrett
2010-03-01 22:35       ` Chase Douglas
2010-03-01 22:45         ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100301220418.GA24957@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=chase.douglas@ubuntu.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.