All of lore.kernel.org
 help / color / mirror / Atom feed
* ACPICA Release 20100528 linuxized patches
@ 2010-05-31  9:07 Lin Ming
  2010-06-02  2:13 ` Lin Ming
  0 siblings, 1 reply; 5+ messages in thread
From: Lin Ming @ 2010-05-31  9:07 UTC (permalink / raw)
  To: Len Brown; +Cc: Moore, Robert, Alexey Starikovskiy, linux-acpi

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

Hi, Len

ACPICA Release 20100528 linuxized patches attached.
Applied cleanly on top of linus tree(67a3e12).

[PATCH 01/14] ACPICA: Add comment: _BCL cannot be sorted on the fly
[PATCH 02/14] ACPICA: Fix namestring associated with AE_NO_HANDLER exception
[PATCH 03/14] ACPICA: iASL/Core: Add support for _WDG/_WED MS methods
[PATCH 04/14] ACPICA: Expand initialization counters to 32 bits
[PATCH 05/14] ACPICA: Limit maximum time for Sleep() operator
[PATCH 06/14] ACPICA: Core: Replace all %d format specifiers with %u (unsigned)
[PATCH 07/14] ACPICA: Expand device initialization counters to 32 bits
[PATCH 08/14] ACPICA: Truncate I/O addresses to 16 bits for Windows compatibility
[PATCH 09/14] ACPICA: Performance enhancement for namespace search and access
[PATCH 10/14] ACPICA: Update flags for operand object
[PATCH 11/14] ACPICA: Enable multi-byte EC transfers
[PATCH 12/14] ACPICA: Optimization: Reduce the number of namespace walks
[PATCH 13/14] ACPICA: Add signatures for undefined tables: ATKG, GSCI, IEIT
[PATCH 14/14] ACPICA: Update version to 20100528

Lin Ming

[-- Attachment #2: acpica-v20100528.mbox --]
[-- Type: application/mbox, Size: 68126 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ACPICA Release 20100528 linuxized patches
  2010-05-31  9:07 ACPICA Release 20100528 linuxized patches Lin Ming
@ 2010-06-02  2:13 ` Lin Ming
  2010-06-02  9:37   ` Alexey Starikovskiy
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lin Ming @ 2010-06-02  2:13 UTC (permalink / raw)
  To: Len Brown, Alexey Starikovskiy; +Cc: Moore, Robert, linux-acpi

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

Hi, Len

It's reported that patch 11 has a bug, see
http://www.acpica.org/bugzilla/show_bug.cgi?id=863

Please apply this new version of mbox, the only difference is as below.

Alexey, 

The reporter confirmed that removing the "Handle the simple case here"
code fixes bug 863.

diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index 38293fd..00a444f 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -698,15 +698,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
 	ACPI_MEMSET(buffer, 0, buffer_length);
 	access_bit_width = ACPI_MUL_8(obj_desc->common_field.access_byte_width);
 
-	/* Handle the simple case here */
-
-	if ((obj_desc->common_field.start_field_bit_offset == 0) &&
-	    (obj_desc->common_field.bit_length == access_bit_width)) {
-		status = acpi_ex_field_datum_io(obj_desc, 0, buffer, ACPI_READ);
-		return_ACPI_STATUS(status);
-	}
-
/* TBD: Move to common setup code */
 
 	/* Field algorithm is limited to sizeof(u64), truncate if needed */
 



On Mon, 2010-05-31 at 17:07 +0800, Lin Ming wrote:
> Hi, Len
> 
> ACPICA Release 20100528 linuxized patches attached.
> Applied cleanly on top of linus tree(67a3e12).
> 
> [PATCH 01/14] ACPICA: Add comment: _BCL cannot be sorted on the fly
> [PATCH 02/14] ACPICA: Fix namestring associated with AE_NO_HANDLER exception
> [PATCH 03/14] ACPICA: iASL/Core: Add support for _WDG/_WED MS methods
> [PATCH 04/14] ACPICA: Expand initialization counters to 32 bits
> [PATCH 05/14] ACPICA: Limit maximum time for Sleep() operator
> [PATCH 06/14] ACPICA: Core: Replace all %d format specifiers with %u (unsigned)
> [PATCH 07/14] ACPICA: Expand device initialization counters to 32 bits
> [PATCH 08/14] ACPICA: Truncate I/O addresses to 16 bits for Windows compatibility
> [PATCH 09/14] ACPICA: Performance enhancement for namespace search and access
> [PATCH 10/14] ACPICA: Update flags for operand object
> [PATCH 11/14] ACPICA: Enable multi-byte EC transfers
> [PATCH 12/14] ACPICA: Optimization: Reduce the number of namespace walks
> [PATCH 13/14] ACPICA: Add signatures for undefined tables: ATKG, GSCI, IEIT
> [PATCH 14/14] ACPICA: Update version to 20100528
> 
> Lin Ming

[-- Attachment #2: acpica-v20100528_multi-byte-ec-fix.mbox --]
[-- Type: application/mbox, Size: 67862 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: ACPICA Release 20100528 linuxized patches
  2010-06-02  2:13 ` Lin Ming
@ 2010-06-02  9:37   ` Alexey Starikovskiy
  2010-06-02 10:06   ` Alexey Starikovskiy
  2010-06-04 17:46   ` Len Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Alexey Starikovskiy @ 2010-06-02  9:37 UTC (permalink / raw)
  To: Lin Ming; +Cc: Len Brown, Moore, Robert, linux-acpi

Hi Ming,

In this case please revert whole patch #11, there is no reason to include it without this piece.

Regards,
Alex.

02.06.2010 06:13, Lin Ming пишет:
> Hi, Len
> 
> It's reported that patch 11 has a bug, see
> http://www.acpica.org/bugzilla/show_bug.cgi?id=863
> 
> Please apply this new version of mbox, the only difference is as below.
> 
> Alexey, 
> 
> The reporter confirmed that removing the "Handle the simple case here"
> code fixes bug 863.
> 
> diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
> index 38293fd..00a444f 100644
> --- a/drivers/acpi/acpica/exfldio.c
> +++ b/drivers/acpi/acpica/exfldio.c
> @@ -698,15 +698,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
>  	ACPI_MEMSET(buffer, 0, buffer_length);
>  	access_bit_width = ACPI_MUL_8(obj_desc->common_field.access_byte_width);
>  
> -	/* Handle the simple case here */
> -
> -	if ((obj_desc->common_field.start_field_bit_offset == 0) &&
> -	    (obj_desc->common_field.bit_length == access_bit_width)) {
> -		status = acpi_ex_field_datum_io(obj_desc, 0, buffer, ACPI_READ);
> -		return_ACPI_STATUS(status);
> -	}
> -
> /* TBD: Move to common setup code */
>  
>  	/* Field algorithm is limited to sizeof(u64), truncate if needed */
>  
> 
> 
> 
> On Mon, 2010-05-31 at 17:07 +0800, Lin Ming wrote:
>> Hi, Len
>>
>> ACPICA Release 20100528 linuxized patches attached.
>> Applied cleanly on top of linus tree(67a3e12).
>>
>> [PATCH 01/14] ACPICA: Add comment: _BCL cannot be sorted on the fly
>> [PATCH 02/14] ACPICA: Fix namestring associated with AE_NO_HANDLER exception
>> [PATCH 03/14] ACPICA: iASL/Core: Add support for _WDG/_WED MS methods
>> [PATCH 04/14] ACPICA: Expand initialization counters to 32 bits
>> [PATCH 05/14] ACPICA: Limit maximum time for Sleep() operator
>> [PATCH 06/14] ACPICA: Core: Replace all %d format specifiers with %u (unsigned)
>> [PATCH 07/14] ACPICA: Expand device initialization counters to 32 bits
>> [PATCH 08/14] ACPICA: Truncate I/O addresses to 16 bits for Windows compatibility
>> [PATCH 09/14] ACPICA: Performance enhancement for namespace search and access
>> [PATCH 10/14] ACPICA: Update flags for operand object
>> [PATCH 11/14] ACPICA: Enable multi-byte EC transfers
>> [PATCH 12/14] ACPICA: Optimization: Reduce the number of namespace walks
>> [PATCH 13/14] ACPICA: Add signatures for undefined tables: ATKG, GSCI, IEIT
>> [PATCH 14/14] ACPICA: Update version to 20100528
>>
>> Lin Ming

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ACPICA Release 20100528 linuxized patches
  2010-06-02  2:13 ` Lin Ming
  2010-06-02  9:37   ` Alexey Starikovskiy
@ 2010-06-02 10:06   ` Alexey Starikovskiy
  2010-06-04 17:46   ` Len Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Alexey Starikovskiy @ 2010-06-02 10:06 UTC (permalink / raw)
  To: Lin Ming; +Cc: Len Brown, Moore, Robert, linux-acpi

Hi Ming,

02.06.2010 06:13, Lin Ming пишет:
> diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
> index 38293fd..00a444f 100644
> --- a/drivers/acpi/acpica/exfldio.c
> +++ b/drivers/acpi/acpica/exfldio.c
> @@ -698,15 +698,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
>  	ACPI_MEMSET(buffer, 0, buffer_length);
>  	access_bit_width = ACPI_MUL_8(obj_desc->common_field.access_byte_width);
>  
> -	/* Handle the simple case here */
> -
> -	if ((obj_desc->common_field.start_field_bit_offset == 0) &&
> -	    (obj_desc->common_field.bit_length == access_bit_width)) {
I would guess we need to zero the whole buffer here... Buffer length is sizeof(ACPI_INTEGER), we read only 8 bits,
everything else is packed with garbage.
> -		status = acpi_ex_field_datum_io(obj_desc, 0, buffer, ACPI_READ);
> -		return_ACPI_STATUS(status);
> -	}
> -
Thanks,
Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ACPICA Release 20100528 linuxized patches
  2010-06-02  2:13 ` Lin Ming
  2010-06-02  9:37   ` Alexey Starikovskiy
  2010-06-02 10:06   ` Alexey Starikovskiy
@ 2010-06-04 17:46   ` Len Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Len Brown @ 2010-06-04 17:46 UTC (permalink / raw)
  To: Lin Ming; +Cc: Alexey Starikovskiy, Moore, Robert, linux-acpi

applied to the acpica branch in acpi-test -- with patch 11 excluded

thanks,
Len Brown, Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-04 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31  9:07 ACPICA Release 20100528 linuxized patches Lin Ming
2010-06-02  2:13 ` Lin Ming
2010-06-02  9:37   ` Alexey Starikovskiy
2010-06-02 10:06   ` Alexey Starikovskiy
2010-06-04 17:46   ` Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.