]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
Dom0 ACPI: handle I/O access width that are not a multiple of 8 bits
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Sep 2008 09:44:15 +0000 (10:44 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Sep 2008 09:44:15 +0000 (10:44 +0100)
commit05c3ee95890ee837fc891a78cc75eb510d659fd9
treed8c41ee91ce073145871878675395d327160ed9f
parent70fe5699fbadf2e517a6a736e31530d404b1830f
Dom0 ACPI: handle I/O access width that are not a multiple of 8 bits

Back ported following patch from upstream to support 4-bit access
width which is required by T-state control.
Below are original commit comments from upstream.

commit 49fbabf56dc715bbb51e59742e82ba762790aac0
Author: Zhao Yakui <yakui.zhao@intel.com>
Date:   Thu Nov 15 17:01:06 2007 +0800

    ACPI: Handle I/O access width requestst that are not a multiple of
    8 bits.

    We've run into BIOS that hand us 4-bit access width requests
    for T-state control when the code expected only multipls of
    8-bits.
    Round up.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Wei Gang <gang.wei@intel.com>
drivers/acpi/osl.c