linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] ACPI resource validation not working [Was: Re: ITE 8728F]
@ 2011-11-28 20:53 Luca Tettamanti
  2011-11-28 22:56 ` Moore, Robert
  0 siblings, 1 reply; 13+ messages in thread
From: Luca Tettamanti @ 2011-11-28 20:53 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Nikolay Mikov, Thomas, Bob Moore, linux-acpi

To give some context to the newcomers: while helping a user with a new
hwmon chip we discovered that the native driver is loaded fine even
though the IO ports are claimed by ACPI (OperationRegion) and
acpi_enforce_resources is "strict".

On Mon, Nov 28, 2011 at 4:48 PM, Luca Tettamanti <kronos.it@gmail.com> wrote:
> On Mon, Nov 28, 2011 at 4:08 PM, Jean Delvare <khali@linux-fr.org> wrote:
>> On Mon, 28 Nov 2011 14:02:51 +0100, Luca Tettamanti wrote:
>>> The DSDT has this:
>>>
>>> Name (IOEB, 0x0290)
>>> OperationRegion (SIOE, SystemIO, IOEB, 0x20)
>>> Field (SIOE, ByteAcc, NoLock, Preserve)
>>> {
>>>     Offset (0x05),
>>>     GIDX,   8,
>>>     GDAT,   8
>>> }
>>>
>>> so the requested area is well within what ACPI claims.
[cut]
>> A colleague of mine (hi Thomas!) suggests that Nikolay could boot with:
>>
>> ddebug="file osl.c +p
>
> This should be:
>
> ddebug_query="file osl.c +p"
>
> It should spam the log with all the resources found by ACPI parser,
> assuming that CONFIG_DYNAMIC_DEBUG is enabled.

Hum, the call to acpi_os_validate_address was removed between 2.6.38
and 2.6.39, with this commit by Bob More:

commit 9ad19ac456a5f097f7cbbfef820b95297d6a934f
Author: Bob Moore <robert.moore@intel.com>
Date:   Mon Feb 14 16:09:40 2011 +0800

    ACPICA: Split large dsopcode and dsload.c files.

which seems to be just moving code around (the culprit here is
acpi_ds_get_region_arguments). I guess that the removal wasn't
intentional since the corresponding call to acpi_os_invalidate_address
was left in place.
Bob should I put the call back in place? Am I missing something?

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-01-11 13:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 20:53 [BUG] ACPI resource validation not working [Was: Re: ITE 8728F] Luca Tettamanti
2011-11-28 22:56 ` Moore, Robert
2011-11-29  1:48   ` Lin Ming
2011-11-29 13:18     ` Luca Tettamanti
2011-11-29 13:44       ` Lin Ming
2011-11-30  9:07         ` Jean Delvare
2011-12-09  2:01       ` Lin Ming
2011-12-12  9:37         ` Jean Delvare
2011-12-12 12:42           ` Lin Ming
2011-12-12 20:12             ` Jean Delvare
2012-01-11 13:01               ` Jean Delvare
2011-12-12 12:52         ` Luca Tettamanti
2011-12-13  2:01           ` Lin Ming

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).