Bug 21142
Summary: | ACPI dynamic tables are not shown correctly in sysfs | ||
---|---|---|---|
Product: | ACPI | Reporter: | Zhang Rui (rui.zhang) |
Component: | Config-Tables | Assignee: | Zhang Rui (rui.zhang) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | achiang, acpi-bugzilla, dennis.jansen, florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | Yes | Bisected commit-id: | |
Attachments: |
patch: install table handler before any dynamic tables are loaded
patch against 2.6.35 |
Description
Zhang Rui
2010-10-26 01:59:22 UTC
Created attachment 35062 [details]
patch: install table handler before any dynamic tables are loaded
bug was found in bug #19762. merged in what will be 2.6.37-rc1,
> commit b1d248d96c71665c79befb81207f38f894c7c082
> Author: Zhang Rui <rui.zhang@intel.com>
> Date: Tue Oct 26 10:06:54 2010 +0800
>
> ACPI: install ACPI table handler before any dynamic tables being loaded
Does this need to go to stable?
Yes, it does. But as this changes the ACPI initialization code, and we have not got a tested-by from Dennis, IMO, we'd better put it in -rc kernel for a while before sending it to stable kernel. Created attachment 35662 [details]
patch against 2.6.35
Dennis, will you please try this patch instead?
it's made based on 2.6.35.
looks better I guess: $ ll /sys/firmware/acpi/tables/ -r-------- 1 root root 0 2010-11-02 22:26 APIC -r-------- 1 root root 0 2010-11-02 22:26 DSDT drwxr-xr-x 2 root root 0 2010-11-02 22:26 dynamic/ -r-------- 1 root root 0 2010-11-02 22:26 FACP -r-------- 1 root root 0 2010-11-02 22:26 FACS -r-------- 1 root root 0 2010-11-02 22:26 GSCI -r-------- 1 root root 0 2010-11-02 22:26 HPET -r-------- 1 root root 0 2010-11-02 22:26 MCFG -r-------- 1 root root 0 2010-11-02 22:26 OEMB -r-------- 1 root root 0 2010-11-02 22:26 SLIC -r-------- 1 root root 0 2010-11-02 22:26 SSDT $ ll /sys/firmware/acpi/tables/dynamic -r-------- 1 root root 0 2010-11-02 22:26 SSDT2 -r-------- 1 root root 0 2010-11-02 22:26 SSDT3 -r-------- 1 root root 0 2010-11-02 22:26 SSDT4 -r-------- 1 root root 0 2010-11-02 22:26 SSDT5 let me know if you like any other tests. patch in comment #1 shipped in 2.6.37-rc1. commit b1d248d96c71665c79befb81207f38f894c7c082 |