Re: [2.6.22-rc4-mm1] ACPI Exception (processor_throttling)

Luming Yu
2007-06-07T09:09:39Z

[-- Attachment #1: Type: text/plain, Size: 2027 bytes --]

Please test the attached patch.

Thanks,
Luming

On 6/7/07, Maciej Rutecki <maciej.rutecki@gmail.com> wrote:
> ACPI Exception (processor_throttling-0084): AE_NOT_FOUND, Evaluating
> _PTC [20070126]
> ACPI Exception (processor_throttling-0147): AE_NOT_FOUND, Evaluating
> _TSS [20070126]
>
> On 2.6.20.9 I don't have this exceptions.
>
> Other problem:
>
> 2.6.22rc4-mm1:
> rutek:/home/maciek# cat /proc/acpi/processor/CPU0/throttling
> Naruszenie ochrony pamięci (segmentation fault)
>
> compared to 2.6.20.9:
> maciek@rutek:~$ cat /proc/acpi/processor/CPU0/throttling
> state count: 8
> active state: T0
> states:
> *T0: 00%
> T1: 12%
> T2: 25%
> T3: 37%
> T4: 50%
> T5: 62%
> T6: 75%
> T7: 87%
>
>
> Other info (2.6.22-rc4-mm1):
> rutek:/home/maciek# ls /proc/acpi/processor/CPU0/
> info limit power throttling
> rutek:/home/maciek# cat /proc/acpi/processor/CPU0/info
> processor id: 0
> acpi id: 1
> bus mastering control: yes
> power management: yes
> throttling control: yes
> limit interface: yes
> rutek:/home/maciek# cat /proc/acpi/processor/CPU0/limit
> active limit: P0:T0
> user limit: P0:T0
> thermal limit: P0:T0
> rutek:/home/maciek# cat /proc/acpi/processor/CPU0/power
> active state: C0
> max_cstate: C8
> bus master activity: 00000000
> maximum allowed latency: 8000 usec
> states:
> C1: type[C1] promotion[--] demotion[--]
> latency[001] usage[00000000] duration[00000000000000000000]
> C2: type[C2] promotion[--] demotion[--]
> latency[001] usage[00000000] duration[00000000000000000000]
>
> For CPU1 is similar.
>
> config, dmesg, acpidump:
> http://www.unixy.pl/maciek/download/kernel/2.6.22-rc4-mm1/
>
> --
> Maciej Rutecki
> http://www.maciek.unixy.pl
>
>
>

[-- Attachment #2: t.patch --]
[-- Type: application/octet-stream, Size: 654 bytes --]

diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index 1bae2e4..1c9b697 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -645,7 +645,7 @@ static int acpi_processor_throttling_seq
pr->throttling.state_count-1);

seq_puts(seq, "states:\n");
- if(acpi_processor_get_throttling == acpi_processor_get_throttling_fadt)
+ if(pr->throttling.acpi_processor_get_throttling == acpi_processor_get_throttling_fadt)
for (i = 0; i < pr->throttling.state_count; i++)
seq_printf(seq, " %cT%d: %02d%%\n",
(i == pr->throttling.state ? '*' : ' '), i,