On Thu, Jun 14, 2012 at 09:53:30AM +0200, Jean Delvare wrote: > Hi Hui, > > On Wed, 13 Jun 2012 18:44:15 +0800, Xiao, Hui wrote: < snip > > > > Besides if addressing a data structure, per ACPI spec bit_width and bit_offset > > must be zero, the original condition will always end with error even valid > > access width is given. > > I agree that the original test did not support the data structure case. > OTOH after quickly reading the relevant page of the ACPI specification, > I do not understand how the structure size is passed, so I have no idea > how this case could be handled. I wasn't able to find any references to the Generic Address Structure (GAS) in the APEI portion of the ACPI spec implying data structure access via an address contained in a GAS. However, I believe it is a good idea to cover the data structure case in the event that the code is ever used beyond APEI where the data structure case could become an issue. Hui, Please check my assertion that the data structure case is not a factor for APEI. Thanks, Gary -- Gary Hade System x Enablement IBM Linux Technology Center 503-578-4503 IBM T/L: 775-4503 garyhade@xxxxxxxxxx http://www.ibm.com/linux/ltc -- 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