Lines Matching +full:check +full:- +full:patch

25 #include "hw/mem/memory-device.h"
27 #include "hw/acpi/aml-build.h"
28 #include "hw/acpi/bios-linker-loader.h"
45 uuid, aml_touuid("F365F9A6-A7DE-4071-A66A-B40C0B4F8E52"))); in build_cxl_dsm_method()
70 * Return: A package containing two elements - a WORD that returns in build_cxl_dsm_method()
105 SysBusDevice *sbd = SYS_BUS_DEVICE(cxl->cxl_host_bridge); in cedt_build_chbs()
106 struct MemoryRegion *mr = sbd->mmio[0].memory; in cedt_build_chbs()
117 /* UID - currently equal to bus number */ in cedt_build_chbs()
118 build_append_int_noprefix(table_data, pxb->bus_nr, 4); in cedt_build_chbs()
126 /* Base - subregion within a container that is in PA space */ in cedt_build_chbs()
127 build_append_int_noprefix(table_data, mr->container->addr + mr->addr, 8); in cedt_build_chbs()
135 * Interleave ways encoding in CXL 2.0 ECN: 3, 6, 12 and 16-way memory
142 for (it = cxls->fixed_windows; it; it = it->next) { in cedt_build_cfmws()
143 CXLFixedWindow *fw = it->data; in cedt_build_cfmws()
153 build_append_int_noprefix(table_data, 36 + 4 * fw->num_targets, 2); in cedt_build_cfmws()
159 build_append_int_noprefix(table_data, fw->mr.addr, 8); in cedt_build_cfmws()
162 build_append_int_noprefix(table_data, fw->size, 8); in cedt_build_cfmws()
165 build_append_int_noprefix(table_data, fw->enc_int_ways, 1); in cedt_build_cfmws()
174 build_append_int_noprefix(table_data, fw->enc_int_gran, 4); in cedt_build_cfmws()
182 /* Host Bridge List (list of UIDs - currently bus_nr) */ in cedt_build_cfmws()
183 for (i = 0; i < fw->num_targets; i++) { in cedt_build_cfmws()
184 g_assert(fw->target_hbs[i]); in cedt_build_cfmws()
185 build_append_int_noprefix(table_data, PXB_DEV(fw->target_hbs[i])->bus_nr, 4); in cedt_build_cfmws()
195 cedt_build_chbs(cedt->buf, PXB_CXL_DEV(obj)); in cxl_foreach_pxb_hb()
216 cedt_build_cfmws(cedt->buf, cxl_state); in cxl_build_cedt()
218 /* copy AML table into ACPI tables blob and patch header there */ in cxl_build_cedt()
219 g_array_append_vals(table_data, cedt->buf->data, cedt->buf->len); in cxl_build_cedt()
237 * CXL 2.0 - 9.14.2.1.4 and in __build_cxl_osc_method()
240 * The _OSC interface for a PCI/PCI-X/PCI Express hierarchy is in __build_cxl_osc_method()
242 * 33DB4D5B-1FF7-401C-9657-7441C03DD766 in __build_cxl_osc_method()
244 * identified by the UUID 68F2D50B-C469-4D8A-BD3D-941A103FD3FC in __build_cxl_osc_method()
250 aml_touuid("33DB4D5B-1FF7-401C-9657-7441C03DD766")), in __build_cxl_osc_method()
252 aml_touuid("68F2D50B-C469-4D8A-BD3D-941A103FD3FC")))); in __build_cxl_osc_method()
266 * Check _OSC revision. in __build_cxl_osc_method()
268 * Unknown Revision is CDW1 - BIT (3) in __build_cxl_osc_method()
286 /* CXL only section as per CXL 2.0 - 9.14.2.1.4 */ in __build_cxl_osc_method()
288 aml_arg(0), aml_touuid("68F2D50B-C469-4D8A-BD3D-941A103FD3FC"))); in __build_cxl_osc_method()
306 * ACPI 6.4 - 6.2.11 in __build_cxl_osc_method()
307 * Unrecognised UUID - BIT(2) in __build_cxl_osc_method()