Lines Matching full:decoder

14  * CXL 2.0 specification, is managed by an array of HDM Decoder register
29 dev_err(&port->dev, "Failed to add decoder\n"); in add_hdm_decoder()
43 * Per the CXL specification (8.2.5.12 CXL HDM Decoder Capability Structure)
44 * single ported host-bridges need not publish a decoder capability when a
127 "decoder%d.%d: committed: %ld base: %#x_%.8x size: %#x_%.8x\n", in should_emulate_decoders()
142 * devm_cxl_setup_hdm - map HDM decoder component registers
172 dev_dbg(&port->dev, "HDM decoder registers not implemented\n"); in devm_cxl_setup_hdm()
173 /* unique error code to indicate no HDM decoder capability */ in devm_cxl_setup_hdm()
227 * Must be called in a context that synchronizes against this decoder's
228 * port ->remove() callback (like an endpoint decoder sysfs attribute)
260 * unregistration, like decoder sysfs attribute methods
284 dev_warn(dev, "decoder%d.%d: empty reservation attempted\n", in __cxl_dpa_reserve()
290 dev_dbg(dev, "decoder%d.%d: existing allocation %pr assigned\n", in __cxl_dpa_reserve()
298 * order per expectations from 8.2.5.12.20 Committing Decoder in __cxl_dpa_reserve()
299 * Programming that enforce decoder[m] committed before in __cxl_dpa_reserve()
300 * decoder[m+1] commit start. in __cxl_dpa_reserve()
302 dev_dbg(dev, "decoder%d.%d: expected decoder%d.%d\n", port->id, in __cxl_dpa_reserve()
312 "decoder%d.%d: failed to reserve skipped space\n", in __cxl_dpa_reserve()
320 dev_dbg(dev, "decoder%d.%d: failed to reserve allocation\n", in __cxl_dpa_reserve()
335 dev_warn(dev, "decoder%d.%d: %pr mixed mode not supported\n", in __cxl_dpa_reserve()
398 dev_dbg(dev, "decoder assigned to: %s\n", in cxl_dpa_free()
404 dev_dbg(dev, "decoder enabled\n"); in cxl_dpa_free()
409 dev_dbg(dev, "expected decoder%d.%d\n", port->id, in cxl_dpa_free()
471 dev_dbg(dev, "decoder attached to %s\n", in cxl_dpa_alloc()
478 dev_dbg(dev, "decoder enabled\n"); in cxl_dpa_alloc()
593 * Per CXL 2.0 8.2.5.12.20 Committing Decoder Programming, hardware must set
632 "%s: out of order commit, expected decoder%d.%d\n", in cxl_decoder_commit()
658 /* common decoder settings */ in cxl_decoder_commit()
696 dev_dbg(&port->dev, "%s: error %d committing decoder\n", in cxl_decoder_commit()
732 * Once the highest committed decoder is disabled, free any other in cxl_port_commit_reap()
758 "%s: out of order reset, expected decoder%d.%d\n", in cxl_decoder_reset()
774 /* Userspace is now responsible for reconfiguring this decoder */ in cxl_decoder_reset()
805 * Set the emulated decoder as locked pending additional support to in cxl_setup_hdm_decoder_from_dvsec()
814 "decoder%d.%d: Failed to reserve DPA range %#llx - %#llx\n (%d)", in cxl_setup_hdm_decoder_from_dvsec()
857 dev_warn(&port->dev, "decoder%d.%d: Invalid resource range\n", in init_hdm_decoder()
882 "decoder%d.%d: Committed out of order\n", in init_hdm_decoder()
889 "decoder%d.%d: Committed with zero size\n", in init_hdm_decoder()
922 "decoder%d.%d: Invalid interleave ways (ctrl: %#x)\n", in init_hdm_decoder()
930 "decoder%d.%d: Invalid interleave granularity (ctrl: %#x)\n", in init_hdm_decoder()
935 dev_dbg(&port->dev, "decoder%d.%d: range: %#llx-%#llx iw: %d ig: %d\n", in init_hdm_decoder()
955 "decoder%d.%d: invalid committed configuration size: %#llx ways: %d\n", in init_hdm_decoder()
965 "decoder%d.%d: Failed to reserve DPA range %#llx - %#llx\n (%d)", in init_hdm_decoder()
1005 * devm_cxl_enumerate_decoders - add decoder objects per HDM register set
1030 "Failed to allocate decoder%d.%d\n", in devm_cxl_enumerate_decoders()
1041 "Failed to allocate decoder%d.%d\n", in devm_cxl_enumerate_decoders()
1052 "Failed to initialize decoder%d.%d\n", in devm_cxl_enumerate_decoders()
1060 "Failed to add decoder%d.%d\n", port->id, i); in devm_cxl_enumerate_decoders()