Bug #301

soc/amd: gpio_bank_lib.asl: IASL remarks on inefficient creation of named objects

Added by Paul Menzel 7 months ago.

Status:NewStart date:03/26/2021
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Building amd/majolica, IASL 20200925 shows the remarks below.

dsdt.asl     98:  Name(BUFF, Buffer(Local0) {})
Remark   2173 -          ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.S2BF)

dsdt.asl    188:  OperationRegion (GPDW, SystemMemory, Local0, 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.GPRD)

dsdt.asl    201:  OperationRegion (GPDW, SystemMemory, Local0, 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.GPWR)

dsdt.asl    298:  OperationRegion (GPDW, SystemMemory, GPAD (Arg0), 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.STXS)

dsdt.asl    312:  OperationRegion (GPDW, SystemMemory, GPAD (Arg0), 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.CTXS)

dsdt.asl    326:  OperationRegion (GPDW, SystemMemory, GPAD (Arg0), 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.GRXS)

dsdt.asl    342:  OperationRegion (GPDW, SystemMemory, GPAD (Arg0), 4)
Remark   2173 -                      ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.GTXS)

Also available in: Atom PDF