linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Prarit Bhargava <prarit-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Jean Delvare <jdelvare-l3A5Bk7waGM@public.gmane.org>
Cc: Matthew Garrett
	<matthew.garrett-05XSO3Yj/JvQT0dZR+AlfA@public.gmane.org>,
	bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
	jamorgan-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org,
	seth.heasley-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	janet.morgan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	mstowe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Haswell systems & i801 i2c driver
Date: Wed, 09 Apr 2014 12:21:40 -0400	[thread overview]
Message-ID: <53457394.1020404@redhat.com> (raw)
In-Reply-To: <20140407225620.23d52a0c-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>



On 04/07/2014 04:56 PM, Jean Delvare wrote:
> On Mon, 7 Apr 2014 20:30:39 +0000, Matthew Garrett wrote:
>>> If this is on a shipping BIOS, we might need to figure out some way to
>>> handle it.  I don't remember anything in the ACPI spec that talks
>>> about issues like this, but maybe we should add something in PCI that
>>> notices if there's an ACPI device with the same resources and marks
>>> the PCI device to keep us from moving it or assigning a driver (maybe
>>> the warning you're seeing already handles the driver part?)
>>
>> This is, sadly, pretty typical. SMBus devices are often exposed via PCI
>> even though they're accessed directly via AML. The current behaviour
>> seems about as good as it gets - we warn the user that this could cause
>> problems, and they can pass a kernel parameter that allows them to do it
>> anyway.
> 
> The proper way to handle it at the BIOS level is to expose the SMBus to
> the OS by implementing the ACPI SMBus CMI as supported by the i2c-scmi
> driver. Unfortunately most BIOS do not bother implementing that
> interface, effectively locking the OS out of the SMBus controller and
> everything behind it. This has been a major pain for years :(

Hey Jean, Thanks for the info.

I'm about to RFC an algorithm patch for the i801 ACPI SBUS.  I dunno if it is
really a good thing to do outside of Intel or if we should wait for a CMI.  OTOH
it seems to work and your comment that "This has been a major pain for years"
worries me that we'll never see a solution.

P.
> 

      parent reply	other threads:[~2014-04-09 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5342E7C0.4050209@redhat.com>
     [not found] ` <5342E7C0.4050209-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-04-07 20:25   ` Haswell systems & i801 i2c driver Bjorn Helgaas
2014-04-07 20:30     ` Matthew Garrett
2014-04-07 20:56       ` Jean Delvare
     [not found]         ` <20140407225620.23d52a0c-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2014-04-09 16:21           ` Prarit Bhargava [this message]

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=53457394.1020404@redhat.com \
    --to=prarit-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=jamorgan-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=janet.morgan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=jdelvare-l3A5Bk7waGM@public.gmane.org \
    --cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matthew.garrett-05XSO3Yj/JvQT0dZR+AlfA@public.gmane.org \
    --cc=mstowe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
    --cc=seth.heasley-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).