History

Merge branch 'acpica'

Merge ACPICA material for 5.19-rc1: - Add support for the Windows 11 _OSI string (Mario Limonciello) - Add the CFMWS subtable to the CEDT table (Lawrence Hileman). - iASL: NHLT: Treat Terminator as specific_config (Piotr Maziarz). - iASL: NHLT: Fix parsing undocumented bytes at the end of Endpoint Descriptor (Piotr Maziarz). - iASL: NHLT: Rename linux specific strucures to device_info (Piotr Maziarz). - Add new ACPI 6.4 semantics to Load() and LoadTable() (Bob Moore). - Clean up double word in comment (Tom Rix). - Update copyright notices to the year 2022 (Bob Moore). - Remove some tabs and // comments - automated cleanup (Bob Moore). - Replace zero-length array with flexible-array member (Gustavo A. R. Silva). - Interpreter: Add units to time variable names (Paul Menzel). - Add support for ARM Performance Monitoring Unit Table (Besar Wicaksono). - Inform users about ACPI spec violation related to sleep length (Paul Menzel). - iASL/MADT: Add OEM-defined subtable (Bob Moore). - Interpreter: Fix some typo mistakes (Selvarasu Ganesan). - Updates for revision E.d of IORT (Shameer Kolothum). - Use ACPI_FORMAT_UINT64 for 64-bit output (Bob Moore). - Update version to 20220331 (Bob Moore). * acpica: (21 commits) Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms" ACPICA: Update version to 20220331 ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output ACPICA: IORT: Updates for revision E.d ACPICA: executer/exsystem: Fix some typo mistakes ACPICA: iASL/MADT: Add OEM-defined subtable ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms ACPICA: executer/exsystem: Inform users about ACPI spec violation ACPICA: Add support for ARM Performance Monitoring Unit Table. ACPICA: executer/exsystem: Add units to time variable names ACPICA: Headers: Replace zero-length array with flexible-array member ACPICA: Removed some tabs and // comments ACPICA: Update copyright notices to the year 2022 ACPICA: Clean up double word in comment ACPICA: Add new ACPI 6.4 semantics for LoadTable() operator ACPICA: Add new ACPI 6.4 semantics to the Load() operator ACPICA: iASL: NHLT: Rename linux specific strucures to device_info ACPICA: iASL: NHLT: Fix parsing undocumented bytes at the end of Endpoint Descriptor ACPICA: iASL: NHLT: Treat Terminator as specific_config ACPICA: Add the subtable CFMWS to the CEDT table ...

Rafael J. Wysocki committed 4 years ago

Commit ec1ff612 parents 06eb8dc c244dc1175 files · +411 −265Browse files

Showing the changes to include (22 of 175 files). Show all

Unified · Split

22 files
  1. include/acpi/acbuffer.h +1 −1
  2. include/acpi/acconfig.h +1 −1
  3. include/acpi/acexcep.h +1 −1
  4. include/acpi/acnames.h +1 −1
  5. include/acpi/acoutput.h +1 −1
  6. include/acpi/acpi.h +1 −1
  7. include/acpi/acpiosxf.h +1 −1
  8. include/acpi/acpixf.h +2 −2
  9. include/acpi/acrestyp.h +1 −1
  10. include/acpi/actbl.h +1 −1
  11. include/acpi/actbl1.h +11 −7
  12. include/acpi/actbl2.h +138 −37
  13. include/acpi/actbl3.h +1 −1
  14. include/acpi/actypes.h +10 −9
  15. include/acpi/acuuid.h +1 −1
  16. include/acpi/platform/acenv.h +1 −1
  17. include/acpi/platform/acenvex.h +1 −1
  18. include/acpi/platform/acgcc.h +1 −1
  19. include/acpi/platform/acgccex.h +1 −1
  20. include/acpi/platform/acintel.h +1 −1
  21. include/acpi/platform/aclinux.h +1 −1
  22. include/acpi/platform/aclinuxex.h +1 −1
include/acpi/acbuffer.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acbuffer.h - Support for buffers returned by ACPI predefined names
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acconfig.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acconfig.h - Global configuration constants
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acexcep.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acexcep.h - Exception codes returned by the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acnames.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acnames.h - Global names and strings
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acoutput.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acoutput.h -- debug output
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acpi.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acpi.h - Master public include file used to interface to ACPICA
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acpiosxf.h+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 * interfaces must be implemented by OSL to interface the
66 * ACPI components to the host operating system.
77 *
8− * Copyright (C) 2000 - 2021, Intel Corp.
8+ * Copyright (C) 2000 - 2022, Intel Corp.
99 *
1010 *****************************************************************************/
1111
include/acpi/acpixf.h+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acpixf.h - External interfaces to the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -12,7 +12,7 @@ · 2 unmodified lines
1212
1313 /* Current ACPICA subsystem version in YYYYMMDD format */
1414
15−#define ACPI_CA_VERSION 0x20211217
15+#define ACPI_CA_VERSION 0x20220331
1616
1717 #include <acpi/acconfig.h>
1818 #include <acpi/actypes.h>
include/acpi/acrestyp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acrestyp.h - Defines, types, and structures for resource descriptors
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actbl.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl.h - Basic ACPI Table Definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actbl1.h+11−7
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl1.h - Additional ACPI table definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -373,17 +373,21 @@ struct acpi_cedt_cfmws { · 363 unmodified lines
373373 u32 interleave_targets[];
374374 };
375375
376+struct acpi_cedt_cfmws_target_element {
377+ u32 interleave_target;
378+};
379+
376380 /* Values for Interleave Arithmetic field above */
377381
378−#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
382+#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
379383
380384 /* Values for Restrictions field above */
381385
382−#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
383−#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
384−#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
385−#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
386−#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
386+#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
387+#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
388+#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
389+#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
390+#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
387391
388392 /*******************************************************************************
389393 *
include/acpi/actbl2.h+138−37
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -25,6 +25,7 @@ · 15 unmodified lines
2525 * the wrong signature.
2626 */
2727 #define ACPI_SIG_AGDI "AGDI" /* Arm Generic Diagnostic Dump and Reset Device Interface */
28+#define ACPI_SIG_APMT "APMT" /* Arm Performance Monitoring Unit table */
2829 #define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */
2930 #define ACPI_SIG_IORT "IORT" /* IO Remapping Table */
3031 #define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */
@@ -258,6 +259,85 @@ struct acpi_table_agdi { · 227 unmodified lines
258259
259260 #define ACPI_AGDI_SIGNALING_MODE (1)
260261
262+/*******************************************************************************
263+ *
264+ * APMT - ARM Performance Monitoring Unit Table
265+ *
266+ * Conforms to:
267+ * ARM Performance Monitoring Unit Architecture 1.0 Platform Design Document
268+ * ARM DEN0117 v1.0 November 25, 2021
269+ *
270+ ******************************************************************************/
271+
272+struct acpi_table_apmt {
273+ struct acpi_table_header header; /* Common ACPI table header */
274+};
275+
276+#define ACPI_APMT_NODE_ID_LENGTH 4
277+
278+/*
279+ * APMT subtables
280+ */
281+struct acpi_apmt_node {
282+ u16 length;
283+ u8 flags;
284+ u8 type;
285+ u32 id;
286+ u64 inst_primary;
287+ u32 inst_secondary;
288+ u64 base_address0;
289+ u64 base_address1;
290+ u32 ovflw_irq;
291+ u32 reserved;
292+ u32 ovflw_irq_flags;
293+ u32 proc_affinity;
294+ u32 impl_id;
295+};
296+
297+/* Masks for Flags field above */
298+
299+#define ACPI_APMT_FLAGS_DUAL_PAGE (1<<0)
300+#define ACPI_APMT_FLAGS_AFFINITY (1<<1)
301+#define ACPI_APMT_FLAGS_ATOMIC (1<<2)
302+
303+/* Values for Flags dual page field above */
304+
305+#define ACPI_APMT_FLAGS_DUAL_PAGE_NSUPP (0<<0)
306+#define ACPI_APMT_FLAGS_DUAL_PAGE_SUPP (1<<0)
307+
308+/* Values for Flags processor affinity field above */
309+#define ACPI_APMT_FLAGS_AFFINITY_PROC (0<<1)
310+#define ACPI_APMT_FLAGS_AFFINITY_PROC_CONTAINER (1<<1)
311+
312+/* Values for Flags 64-bit atomic field above */
313+#define ACPI_APMT_FLAGS_ATOMIC_NSUPP (0<<2)
314+#define ACPI_APMT_FLAGS_ATOMIC_SUPP (1<<2)
315+
316+/* Values for Type field above */
317+
318+enum acpi_apmt_node_type {
319+ ACPI_APMT_NODE_TYPE_MC = 0x00,
320+ ACPI_APMT_NODE_TYPE_SMMU = 0x01,
321+ ACPI_APMT_NODE_TYPE_PCIE_ROOT = 0x02,
322+ ACPI_APMT_NODE_TYPE_ACPI = 0x03,
323+ ACPI_APMT_NODE_TYPE_CACHE = 0x04,
324+ ACPI_APMT_NODE_TYPE_COUNT
325+};
326+
327+/* Masks for ovflw_irq_flags field above */
328+
329+#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE (1<<0)
330+#define ACPI_APMT_OVFLW_IRQ_FLAGS_TYPE (1<<1)
331+
332+/* Values for ovflw_irq_flags mode field above */
333+
334+#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE_LEVEL (0<<0)
335+#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE_EDGE (1<<0)
336+
337+/* Values for ovflw_irq_flags type field above */
338+
339+#define ACPI_APMT_OVFLW_IRQ_FLAGS_TYPE_WIRED (0<<1)
340+
261341 /*******************************************************************************
262342 *
263343 * BDAT - BIOS Data ACPI Table
@@ -277,7 +357,7 @@ struct acpi_table_bdat { · 13 unmodified lines
277357 * IORT - IO Remapping Table
278358 *
279359 * Conforms to "IO Remapping Table System Software on ARM Platforms",
280− * Document number: ARM DEN 0049E.b, Feb 2021
360+ * Document number: ARM DEN 0049E.d, Feb 2022
281361 *
282362 ******************************************************************************/
283363
@@ -374,7 +454,8 @@ struct acpi_iort_root_complex { · 90 unmodified lines
374454 u32 ats_attribute;
375455 u32 pci_segment_number;
376456 u8 memory_address_limit; /* Memory address size limit */
377− u8 reserved[3]; /* Reserved, must be zero */
457+ u16 pasid_capabilities; /* PASID Capabilities */
458+ u8 reserved[1]; /* Reserved, must be zero */
378459 };
379460
380461 /* Masks for ats_attribute field above */
@@ -383,6 +464,9 @@ struct acpi_iort_root_complex { · 2 unmodified lines
383464 #define ACPI_IORT_PRI_SUPPORTED (1<<1) /* The root complex PRI support */
384465 #define ACPI_IORT_PASID_FWD_SUPPORTED (1<<2) /* The root complex PASID forward support */
385466
467+/* Masks for pasid_capabilities field above */
468+#define ACPI_IORT_PASID_MAX_WIDTH (0x1F) /* Bits 0-4 */
469+
386470 struct acpi_iort_smmu {
387471 u64 base_address; /* SMMU base address */
388472 u64 span; /* Length of memory range */
@@ -458,6 +542,25 @@ struct acpi_iort_rmr { · 69 unmodified lines
458542 u32 rmr_offset;
459543 };
460544
545+/* Masks for Flags field above */
546+#define ACPI_IORT_RMR_REMAP_PERMITTED (1)
547+#define ACPI_IORT_RMR_ACCESS_PRIVILEGE (1<<1)
548+
549+/*
550+ * Macro to access the Access Attributes in flags field above:
551+ * Access Attributes is encoded in bits 9:2
552+ */
553+#define ACPI_IORT_RMR_ACCESS_ATTRIBUTES(flags) (((flags) >> 2) & 0xFF)
554+
555+/* Values for above Access Attributes */
556+
557+#define ACPI_IORT_RMR_ATTR_DEVICE_NGNRNE 0x00
558+#define ACPI_IORT_RMR_ATTR_DEVICE_NGNRE 0x01
559+#define ACPI_IORT_RMR_ATTR_DEVICE_NGRE 0x02
560+#define ACPI_IORT_RMR_ATTR_DEVICE_GRE 0x03
561+#define ACPI_IORT_RMR_ATTR_NORMAL_NC 0x04
562+#define ACPI_IORT_RMR_ATTR_NORMAL_IWB_OWB 0x05
563+
461564 struct acpi_iort_rmr_desc {
462565 u64 base_address;
463566 u64 length;
@@ -762,7 +865,8 @@ enum acpi_madt_type { · 298 unmodified lines
762865 ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
763866 ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
764867 ACPI_MADT_TYPE_MULTIPROC_WAKEUP = 16,
765− ACPI_MADT_TYPE_RESERVED = 17 /* 17 and greater are reserved */
868+ ACPI_MADT_TYPE_RESERVED = 17, /* 17 to 0x7F are reserved */
869+ ACPI_MADT_TYPE_OEM_RESERVED = 0x80 /* 0x80 to 0xFF are reserved for OEM use */
766870 };
767871
768872 /*
@@ -978,8 +1082,8 @@ struct acpi_madt_multiproc_wakeup { · 209 unmodified lines
9781082 u64 base_address;
9791083 };
9801084
981−#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
982−#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048
1085+#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
1086+#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048
9831087
9841088 struct acpi_madt_multiproc_wakeup_mailbox {
9851089 u16 command;
@@ -992,6 +1096,12 @@ struct acpi_madt_multiproc_wakeup_mailbox { · 6 unmodified lines
9921096
9931097 #define ACPI_MP_WAKE_COMMAND_WAKEUP 1
9941098
1099+/* 17: OEM data */
1100+
1101+struct acpi_madt_oem_data {
1102+ u8 oem_data[0];
1103+};
1104+
9951105 /*
9961106 * Common flags fields for MADT subtables
9971107 */
@@ -1597,7 +1707,7 @@ struct acpi_nhlt_mic_device_specific_config { · 599 unmodified lines
15971707
15981708 /* Values for array_type_ext above */
15991709
1600−#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 // 9 and below are reserved
1710+#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 /* 9 and below are reserved */
16011711 #define ACPI_NHLT_SMALL_LINEAR_2ELEMENT 0x0A
16021712 #define ACPI_NHLT_BIG_LINEAR_2ELEMENT 0x0B
16031713 #define ACPI_NHLT_FIRST_GEOMETRY_LINEAR_4ELEMENT 0x0C
@@ -1617,17 +1727,17 @@ struct acpi_nhlt_vendor_mic_count { · 13 unmodified lines
16171727 struct acpi_nhlt_vendor_mic_config {
16181728 u8 type;
16191729 u8 panel;
1620− u16 speaker_position_distance; // mm
1621− u16 horizontal_offset; // mm
1622− u16 vertical_offset; // mm
1623− u8 frequency_low_band; // 5*hz
1624− u8 frequency_high_band; // 500*hz
1625− u16 direction_angle; // -180 - + 180
1626− u16 elevation_angle; // -180 - + 180
1627− u16 work_vertical_angle_begin; // -180 - + 180 with 2 deg step
1628− u16 work_vertical_angle_end; // -180 - + 180 with 2 deg step
1629− u16 work_horizontal_angle_begin; // -180 - + 180 with 2 deg step
1630− u16 work_horizontal_angle_end; // -180 - + 180 with 2 deg step
1730+ u16 speaker_position_distance; /* mm */
1731+ u16 horizontal_offset; /* mm */
1732+ u16 vertical_offset; /* mm */
1733+ u8 frequency_low_band; /* 5*Hz */
1734+ u8 frequency_high_band; /* 500*Hz */
1735+ u16 direction_angle; /* -180 - + 180 */
1736+ u16 elevation_angle; /* -180 - + 180 */
1737+ u16 work_vertical_angle_begin; /* -180 - + 180 with 2 deg step */
1738+ u16 work_vertical_angle_end; /* -180 - + 180 with 2 deg step */
1739+ u16 work_horizontal_angle_begin; /* -180 - + 180 with 2 deg step */
1740+ u16 work_horizontal_angle_end; /* -180 - + 180 with 2 deg step */
16311741 };
16321742
16331743 /* Values for Type field above */
@@ -1638,9 +1748,9 @@ struct acpi_nhlt_vendor_mic_config { · 4 unmodified lines
16381748 #define ACPI_NHLT_MIC_SUPER_CARDIOID 3
16391749 #define ACPI_NHLT_MIC_HYPER_CARDIOID 4
16401750 #define ACPI_NHLT_MIC_8_SHAPED 5
1641−#define ACPI_NHLT_MIC_RESERVED6 6 // 6 is reserved
1751+#define ACPI_NHLT_MIC_RESERVED6 6 /* 6 is reserved */
16421752 #define ACPI_NHLT_MIC_VENDOR_DEFINED 7
1643−#define ACPI_NHLT_MIC_RESERVED 8 // 8 and above are reserved
1753+#define ACPI_NHLT_MIC_RESERVED 8 /* 8 and above are reserved */
16441754
16451755 /* Values for Panel field above */
16461756
@@ -1650,12 +1760,12 @@ struct acpi_nhlt_vendor_mic_config { · 3 unmodified lines
16501760 #define ACPI_NHLT_MIC_POSITION_RIGHT 3
16511761 #define ACPI_NHLT_MIC_POSITION_FRONT 4
16521762 #define ACPI_NHLT_MIC_POSITION_BACK 5
1653−#define ACPI_NHLT_MIC_POSITION_RESERVED 6 // 6 and above are reserved
1763+#define ACPI_NHLT_MIC_POSITION_RESERVED 6 /* 6 and above are reserved */
16541764
16551765 struct acpi_nhlt_vendor_mic_device_specific_config {
16561766 struct acpi_nhlt_mic_device_specific_config mic_array_device_config;
16571767 u8 number_of_microphones;
1658− struct acpi_nhlt_vendor_mic_config mic_config[]; // indexed by number_of_microphones
1768+ struct acpi_nhlt_vendor_mic_config mic_config[]; /* Indexed by number_of_microphones */
16591769 };
16601770
16611771 /* Microphone SNR and Sensitivity extension */
@@ -1668,32 +1778,23 @@ struct acpi_nhlt_mic_snr_sensitivity_extension { · 6 unmodified lines
16681778 /* Render device with feedback */
16691779
16701780 struct acpi_nhlt_render_feedback_device_specific_config {
1671− u8 feedback_virtual_slot; // render slot in case of capture
1672− u16 feedback_channels; // informative only
1781+ u8 feedback_virtual_slot; /* Render slot in case of capture */
1782+ u16 feedback_channels; /* Informative only */
16731783 u16 feedback_valid_bits_per_sample;
16741784 };
16751785
1676−/* Linux-specific structures */
1786+/* Non documented structures */
16771787
1678−struct acpi_nhlt_linux_specific_count {
1788+struct acpi_nhlt_device_info_count {
16791789 u8 structure_count;
16801790 };
16811791
1682−struct acpi_nhlt_linux_specific_data {
1792+struct acpi_nhlt_device_info {
16831793 u8 device_id[16];
16841794 u8 device_instance_id;
16851795 u8 device_port_id;
16861796 };
16871797
1688−struct acpi_nhlt_linux_specific_data_b {
1689− u8 specific_data[18];
1690−};
1691−
1692−struct acpi_nhlt_table_terminator {
1693− u32 terminator_value;
1694− u32 terminator_signature;
1695−};
1696−
16971798 /*******************************************************************************
16981799 *
16991800 * PCCT - Platform Communications Channel Table (ACPI 5.0)
@@ -2319,7 +2420,7 @@ struct acpi_table_rgrt { · 619 unmodified lines
23192420 u16 version;
23202421 u8 image_type;
23212422 u8 reserved;
2322− u8 image[0];
2423+ u8 image[];
23232424 };
23242425
23252426 /* image_type values */
include/acpi/actbl3.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl3.h - ACPI Table Definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actypes.h+10−9
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actypes.h - Common data types for the entire ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -539,14 +539,14 @@ typedef u64 acpi_integer; · 529 unmodified lines
539539 * Can be used with access_width of struct acpi_generic_address and access_size of
540540 * struct acpi_resource_generic_register.
541541 */
542−#define ACPI_ACCESS_BIT_SHIFT 2
543−#define ACPI_ACCESS_BYTE_SHIFT -1
544−#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)
545−#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)
546−#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_SHIFT)
547−#define ACPI_ACCESS_BYTE_DEFAULT (8 - ACPI_ACCESS_BYTE_SHIFT)
548−#define ACPI_ACCESS_BIT_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BIT_SHIFT))
549−#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))
542+#define ACPI_ACCESS_BIT_SHIFT 2
543+#define ACPI_ACCESS_BYTE_SHIFT -1
544+#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)
545+#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)
546+#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_SHIFT)
547+#define ACPI_ACCESS_BYTE_DEFAULT (8 - ACPI_ACCESS_BYTE_SHIFT)
548+#define ACPI_ACCESS_BIT_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BIT_SHIFT))
549+#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))
550550
551551 /*******************************************************************************
552552 *
@@ -1303,6 +1303,7 @@ typedef enum { · 750 unmodified lines
13031303 #define ACPI_OSI_WIN_10_RS5 0x13
13041304 #define ACPI_OSI_WIN_10_19H1 0x14
13051305 #define ACPI_OSI_WIN_10_20H1 0x15
1306+#define ACPI_OSI_WIN_11 0x16
13061307
13071308 /* Definitions of getopt */
13081309
include/acpi/acuuid.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acuuid.h - ACPI-related UUID/GUID definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acenv.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acenv.h - Host and compiler configuration
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acenvex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acenvex.h - Extra host and compiler configuration
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acgcc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acgcc.h - GCC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acgccex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acgccex.h - Extra GCC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acintel.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acintel.h - VC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/aclinux.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: aclinux.h - OS specific defines, etc. for Linux
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/aclinuxex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99