On Fri, Nov 11, 2011 at 4:05 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: > acpi_read(), acpi_write(), acpi_hw_read(), and acpi_hw_write() currently > ignore the GAS bit_offset field (but they do warn if it is non-zero). > > APEI tables are starting to use non-zero bit_offsets. APEI uses > special-purpose apei_exec_read_register() and apei_exec_write_register() > interfaces that apply the bit_offset. > > This patch adds bit_offset support to the generic interfaces, which is > one small step toward using them instead of the special-purpose APEI ones. Eww, brown paper bag time. Just pretend you never saw this lame implementation attempt. I do think we need to make acpi_read() smart enough to extract a bit field, but this try doesn't work. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html