[CPUFREQ] Longhaul - Disable arbiter
authorRafa³ Bilski <rafalbilski@interia.pl>
Tue, 8 Aug 2006 17:12:20 +0000 (19:12 +0200)
committerDave Jones <davej@redhat.com>
Fri, 11 Aug 2006 21:59:57 +0000 (17:59 -0400)
commit179da8e6e8903a8cdb19bb12672d50dc33f0fde6
tree0e791d2d3890db822508f64d2bc1301ac307c982
parent05ca0350e8caa91a5ec9961c585c98005b6934ea
[CPUFREQ] Longhaul - Disable arbiter

ACPI C3 works for "Powersaver" processors, so use it only for them.

Older CPU will change frequency on "halt" only. But we can protect transition
in two ways:
- by ACPI PM2 register, there is "bus master arbiter disable" bit.
  This isn't tested because VIA mainboards don't have PM2 register,
- by PLE133 PCI/AGP arbiter disable register.
  There are two bits in this register. First is "PCI arbiter disable",
  second "AGP arbiter disable". This is working on VIA Epia 800 mainboards.

Test on bm_control is more proper because this is true
when PM2 register exist.

Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c