_CRS/_PRS for address space range
Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies _LEN > 0, _MIF = 1, and _MAF = 1 is the only valid combination for _CRS. However, I found a _CRS example on page, which has _LEN = _MIF = _MAF = 0. Can you please clarify? If the table is correct, iasl should have warned about it. I think iasl currently treats _PRS and _CRS equally.
Jung-uk Kim
Jung-uk Kim
Quoted 4 lines · Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies
_LEN> 0,_MIF= 1, and_MAF= 1 is the only valid combination for_CRS. However, I found a_CRSexample on page, which has_LEN=_MIF=_MAF= 0. Can you please clarify?
^^^^
page 356
I was going to fill in the blank but pressed the send button prematurely.
Sorry,
Jung-uk Kim
Jung-uk Kim
Quoted 6 lines · Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies
_LEN> 0,_MIF= 1, and_MAF= 1 is the only valid combination for_CRS. However, I found a_CRSexample on page, which has_LEN=_MIF=_MAF= 0. Can you please clarify? If the table is correct, iasl should have warned about it. I think iasl currently treats_PRSand_CRSequally.
John Baldwin <jhb(a)FreeBSD.org> pointed out iASL's address space range check introduced in ACPI-CA 20100428 is just bogus. It is often times dynamically recalculated from a template. Therefore, OS must do the sanity check at *runtime*, at least for _CRS.
Jung-uk Kim
Moore
I think we relaxed the iASL checking a bit because of these issues. If not, we plan to do so.
This might be an area where we could check the descriptors at runtime, as they are returned from _CRS, etc.
Bob
Quoted 26 lines
-----Original Message-----
From: devel-bounces(a)acpica.org [mailto:devel-bounces(a)acpica.org] On Behalf Of Jung-uk Kim
Sent: Friday, July 22, 2011 11:44 AM
To: devel(a)acpica.org
Cc: John Baldwin
Subject: Re: [Devel] _CRS/_PRS for address space rangeQuoted 6 lines · Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies
_LEN> 0,_MIF= 1, and_MAF= 1 is the only valid combination for_CRS. However, I found a_CRSexample on page, which has_LEN=_MIF=_MAF= 0. Can you please clarify? If the table is correct, iasl should have warned about it. I think iasl currently treats_PRSand_CRSequally.John Baldwin <jhb(a)FreeBSD.org> pointed out iASL's address space range check introduced in ACPI-CA 20100428 is just bogus. It is often times dynamically recalculated from a template. Therefore, OS must do the sanity check at *runtime*, at least for
_CRS.Jung-uk Kim
_______________________________________________
Devel mailing list
Devel(a)acpica.org
http://lists.acpica.org/listinfo/devel
Jung-uk Kim
Quoted 2 lines · Robert
I think we relaxed the iASL checking a bit because of these issues. If not, we plan to do so.
ACPICA 20110527 still has this issue.
Quoted 2 lines
This might be an area where we could check the descriptors at runtime, as they are returned from
_CRS, etc.
That'll be great.
Thanks!
JK
Quoted 29 lines
Bob
Quoted 27 lines
-----Original Message-----
From: devel-bounces(a)acpica.org [mailto:devel-bounces(a)acpica.org] On Behalf Of Jung-uk Kim
Sent: Friday, July 22, 2011 11:44 AM
To: devel(a)acpica.org
Cc: John Baldwin
Subject: Re: [Devel] _CRS/_PRS for address space rangeQuoted 7 lines · Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies
_LEN> 0,_MIF= 1, and_MAF= 1 is the only valid combination for_CRS. However, I found a_CRSexample on page, which has_LEN=_MIF=_MAF= 0. Can you please clarify? If the table is correct, iasl should have warned about it. I think iasl currently treats_PRSand_CRSequally.John Baldwin <jhb(a)FreeBSD.org> pointed out iASL's address space range check introduced in ACPI-CA 20100428 is just bogus. It is often times dynamically recalculated from a template. Therefore, OS must do the sanity check at *runtime*, at least for
_CRS.Jung-uk Kim
_______________________________________________
Devel mailing list
Devel(a)acpica.org
http://lists.acpica.org/listinfo/devel
Moore
There is, however, an option to iASL to disable this checking:
-cr Disable Resource Descriptor error checking
Quoted 51 lines
-----Original Message-----
From: Jung-uk Kim [mailto:jkim(a)FreeBSD.org]
Sent: Friday, July 22, 2011 12:48 PM
To: Moore, Robert
Cc: devel(a)acpica.org; John Baldwin
Subject: Re: [Devel] _CRS/_PRS for address space rangeQuoted 2 lines · Robert
I think we relaxed the iASL checking a bit because of these issues. If not, we plan to do so.
ACPICA 20110527 still has this issue.
Quoted 2 lines
This might be an area where we could check the descriptors at runtime, as they are returned from
_CRS, etc.That'll be great.
Thanks!
JK
Quoted 29 lines
Bob
Quoted 27 lines
-----Original Message-----
From: devel-bounces(a)acpica.org [mailto:devel-bounces(a)acpica.org] On Behalf Of Jung-uk Kim
Sent: Friday, July 22, 2011 11:44 AM
To: devel(a)acpica.org
Cc: John Baldwin
Subject: Re: [Devel] _CRS/_PRS for address space rangeQuoted 7 lines · Jung-uk Kim
ACPI Spec. 4.0a, 6.4.3.5 Address Space Range Descriptor, Table 6-40 on page 260 implies
_LEN> 0,_MIF= 1, and_MAF= 1 is the only valid combination for_CRS. However, I found a_CRSexample on page, which has_LEN=_MIF=_MAF= 0. Can you please clarify? If the table is correct, iasl should have warned about it. I think iasl currently treats_PRSand_CRSequally.John Baldwin <jhb(a)FreeBSD.org> pointed out iASL's address space range check introduced in ACPI-CA 20100428 is just bogus. It is often times dynamically recalculated from a template. Therefore, OS must do the sanity check at *runtime*, at least for
_CRS.Jung-uk Kim
_______________________________________________
Devel mailing list
Devel(a)acpica.org
http://lists.acpica.org/listinfo/devel