cpu/amd/*/*/acpi/: Use 'Device()' instead of 'Processor()'

Processor() operator is deprecated, use Device() instead.

Found-by: ACPICA 20191018
Change-Id: I4541372a98f05d3e915c74bc28f41309754014e4
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36258
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-10-23 13:48:35 +02:00 committed by Martin Roth
parent 6df210b0c2
commit 2c34892efd
6 changed files with 205 additions and 324 deletions

View File

@ -16,19 +16,14 @@
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor(
C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */ Device (C000) {
0, /* Unique number for this processor */ Name (_HID, "ACPI0007")
0x810, /* PBLK system I/O address !hardcoded! */ Name (_UID, 0)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (C001) {
C001, /* name space name */ Name (_HID, "ACPI0007")
1, /* Unique number for this processor */ Name (_UID, 1)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
} /* End _PR scope */ } /* End _PR scope */

View File

@ -11,66 +11,49 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
/* /*
* Processor Object * Processor Object
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor(
P000, /* name space name */
0, /* Unique number for this processor */
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor( Device (P000) {
P001, /* name space name */ Name(_HID, "ACPI0007")
1, /* Unique number for this processor */ Name(_UID, 0)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */
) { Device (P001) {
} Name(_HID, "ACPI0007")
Processor( Name(_UID, 1)
P002, /* name space name */ }
2, /* Unique number for this processor */
0x0810, /* PBLK system I/O address !hardcoded! */ Device (P002) {
0x06 /* PBLKLEN for boot processor */ Name(_HID, "ACPI0007")
) { Name(_UID, 2)
} }
Processor(
P003, /* name space name */ Device (P003) {
3, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 3)
0x06 /* PBLKLEN for boot processor */ }
) {
} Device (P004) {
Processor( Name(_HID, "ACPI0007")
P004, /* name space name */ Name(_UID, 4)
4, /* Unique number for this processor */ }
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */ Device (P005) {
) { Name(_HID, "ACPI0007")
} Name(_UID, 5)
Processor( }
P005, /* name space name */
5, /* Unique number for this processor */ Device (P006) {
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_HID, "ACPI0007")
0x06 /* PBLKLEN for boot processor */ Name(_UID, 6)
) { }
}
Processor( Device (P007) {
P006, /* name space name */ Name(_HID, "ACPI0007")
6, /* Unique number for this processor */ Name(_UID, 7)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */ } /* End _PR scope */
) {
}
Processor(
P007, /* name space name */
7, /* Unique number for this processor */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
} /* End _PR scope */

View File

@ -15,62 +15,44 @@
* Processor Object * Processor Object
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) {/* define processor scope */
Processor( Device (P000) {
P000, /* name space name */ Name(_HID, "ACPI0007")
0, /* Unique number for this processor */ Name(_UID, 0)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (P001) {
P001, /* name space name */ Name(_HID, "ACPI0007")
1, /* Unique number for this processor */ Name(_UID, 1)
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P002, /* name space name */ Device (P002) {
2, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 2)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P003, /* name space name */ Device (P003) {
3, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 3)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P004, /* name space name */ Device (P004) {
4, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 4)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P005, /* name space name */ Device (P005) {
5, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 5)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P006, /* name space name */ Device (P006) {
6, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 6)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P007, /* name space name */ Device (P007) {
7, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 7)
0x06 /* PBLKLEN for boot processor */
) {
} }
} /* End _PR scope */ } /* End _PR scope */

View File

@ -11,94 +11,49 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
/* /*
* Processor Object * Processor Object
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor(
P000, /* name space name */
0, /* Unique core number for this processor within a socket */
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor( Device (P000) {
P001, /* name space name */ Name(_HID, "ACPI0007")
1, /* Unique core number for this processor within a socket */ Name(_UID, 0)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */
) { Device (P001) {
} Name(_HID, "ACPI0007")
Processor( Name(_UID, 1)
P002, /* name space name */ }
2, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */ Device (P002) {
0x06 /* PBLKLEN for boot processor */ Name(_HID, "ACPI0007")
) { Name(_UID, 2)
} }
Processor(
P003, /* name space name */ Device (P003) {
3, /* Unique core number for this processor within a socket */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 3)
0x06 /* PBLKLEN for boot processor */ }
) {
} Device (P004) {
Processor( Name(_HID, "ACPI0007")
P004, /* name space name */ Name(_UID, 4)
4, /* Unique core number for this processor within a socket */ }
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */ Device (P005) {
) { Name(_HID, "ACPI0007")
} Name(_UID, 5)
Processor( }
P005, /* name space name */
5, /* Unique core number for this processor within a socket */ Device (P006) {
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_HID, "ACPI0007")
0x06 /* PBLKLEN for boot processor */ Name(_UID, 6)
) { }
}
Processor( Device (P007) {
P006, /* name space name */ Name(_HID, "ACPI0007")
6, /* Unique core number for this processor within a socket */ Name(_UID, 7)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */ } /* End _PR scope */
) {
}
Processor(
P007, /* name space name */
7, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor(
P008, /* name space name */
8, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor(
P009, /* name space name */
9, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor(
P010, /* name space name */
10, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor(
P011, /* name space name */
11, /* Unique core number for this processor within a socket */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
} /* End _PR scope */

View File

@ -15,62 +15,45 @@
* Processor Object * Processor Object
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor(
P000, /* name space name */ Device (P000) {
0, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 0)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (P001) {
P001, /* name space name */ Name(_HID, "ACPI0007")
1, /* Unique number for this processor */ Name(_UID, 1)
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P002, /* name space name */ Device (P002) {
2, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 2)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P003, /* name space name */ Device (P003) {
3, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 3)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P004, /* name space name */ Device (P004) {
4, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 4)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P005, /* name space name */ Device (P005) {
5, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 5)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P006, /* name space name */ Device (P006) {
6, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 6)
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor(
P007, /* name space name */ Device (P007) {
7, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 7)
0x06 /* PBLKLEN for boot processor */
) {
} }
} /* End _PR scope */ } /* End _PR scope */

View File

@ -11,66 +11,49 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
/* /*
* Processor Object * Processor Object
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor(
P000, /* name space name */
0, /* Unique number for this processor */
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
Processor( Device (P000) {
P001, /* name space name */ Name(_HID, "ACPI0007")
1, /* Unique number for this processor */ Name(_UID, 0)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */
) { Device (P001) {
} Name(_HID, "ACPI0007")
Processor( Name(_UID, 1)
P002, /* name space name */ }
2, /* Unique number for this processor */
0x0810, /* PBLK system I/O address !hardcoded! */ Device (P002) {
0x06 /* PBLKLEN for boot processor */ Name(_HID, "ACPI0007")
) { Name(_UID, 2)
} }
Processor(
P003, /* name space name */ Device (P003) {
3, /* Unique number for this processor */ Name(_HID, "ACPI0007")
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_UID, 3)
0x06 /* PBLKLEN for boot processor */ }
) {
} Device (P004) {
Processor( Name(_HID, "ACPI0007")
P004, /* name space name */ Name(_UID, 4)
4, /* Unique number for this processor */ }
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */ Device (P005) {
) { Name(_HID, "ACPI0007")
} Name(_UID, 5)
Processor( }
P005, /* name space name */
5, /* Unique number for this processor */ Device (P006) {
0x0810, /* PBLK system I/O address !hardcoded! */ Name(_HID, "ACPI0007")
0x06 /* PBLKLEN for boot processor */ Name(_UID, 6)
) { }
}
Processor( Device (P007) {
P006, /* name space name */ Name(_HID, "ACPI0007")
6, /* Unique number for this processor */ Name(_UID, 7)
0x0810, /* PBLK system I/O address !hardcoded! */ }
0x06 /* PBLKLEN for boot processor */ } /* End _PR scope */
) {
}
Processor(
P007, /* name space name */
7, /* Unique number for this processor */
0x0810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
}
} /* End _PR scope */