On 10/10/2019 15:22, Moore, Robert wrote:
John,
These #defines are all already in actbl2.h. Perhaps they didn't make it into 
Linux.
Bob

Hi Bob,

Yes, they are in the latest linux mainline release.

But this patch is just a preview to backport them to an earlier kernel version.

Thanks,
John



-----Original Message-----
From: John Garry <[email protected]>
Sent: Thursday, October 10, 2019 6:30 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; Moore, 
Robert <[email protected]>; Schmauss, Erik <[email protected]>; 
[email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; 
[email protected]; [email protected]; [email protected]; 
[email protected]; [email protected]; Wysocki, Rafael J 
<[email protected]>; John Garry <[email protected]>
Subject: [RFC PATCH 1/3] ACPICA: ACPI 6.3: PPTT add additional fields in 
Processor Structure Flags

From: Erik Schmauss <[email protected]>

Commit b5eab512e7cffb2bb37c4b342b5594e9e75fd486 upstream.

ACPICA commit c736ea34add19a3a07e0e398711847cd6b95affd

Link: https://github.com/acpica/acpica/commit/c736ea34
Signed-off-by: Erik Schmauss <[email protected]>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: John Garry <[email protected]>
---
 include/acpi/actbl2.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 
c50ef7e6b942..1d4ef0621174 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -1472,8 +1472,11 @@ struct acpi_pptt_processor {

 /* Flags */

-#define ACPI_PPTT_PHYSICAL_PACKAGE          (1)        /* Physical package */
-#define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID   (2)        /* ACPI Processor ID 
valid */
+#define ACPI_PPTT_PHYSICAL_PACKAGE          (1)
+#define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID   (1<<1)
+#define ACPI_PPTT_ACPI_PROCESSOR_IS_THREAD  (1<<2)       /* ACPI 6.3 */
+#define ACPI_PPTT_ACPI_LEAF_NODE            (1<<3)       /* ACPI 6.3 */
+#define ACPI_PPTT_ACPI_IDENTICAL            (1<<4)       /* ACPI 6.3 */

 /* 1: Cache Type Structure */

--
2.17.1


.



Reply via email to