File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,8 @@ struct acpi_cedt_header {
327
327
328
328
enum acpi_cedt_type {
329
329
ACPI_CEDT_TYPE_CHBS = 0 ,
330
- ACPI_CEDT_TYPE_RESERVED = 1
330
+ ACPI_CEDT_TYPE_CFMWS = 1 ,
331
+ ACPI_CEDT_TYPE_RESERVED = 2 ,
331
332
};
332
333
333
334
/* Values for version field above */
@@ -355,6 +356,34 @@ struct acpi_cedt_chbs {
355
356
u64 length ;
356
357
};
357
358
359
+ /* 1: CXL Fixed Memory Window Structure */
360
+
361
+ struct acpi_cedt_cfmws {
362
+ struct acpi_cedt_header header ;
363
+ u32 reserved1 ;
364
+ u64 base_hpa ;
365
+ u64 window_size ;
366
+ u8 interleave_ways ;
367
+ u8 interleave_arithmetic ;
368
+ u16 reserved2 ;
369
+ u32 granularity ;
370
+ u16 restrictions ;
371
+ u16 qtg_id ;
372
+ u32 interleave_targets [];
373
+ };
374
+
375
+ /* Values for Interleave Arithmetic field above */
376
+
377
+ #define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
378
+
379
+ /* Values for Restrictions field above */
380
+
381
+ #define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
382
+ #define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
383
+ #define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
384
+ #define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
385
+ #define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
386
+
358
387
/*******************************************************************************
359
388
*
360
389
* CPEP - Corrected Platform Error Polling table (ACPI 4.0)
You can’t perform that action at this time.
0 commit comments