diff --git a/src/runtime_src/core/pcie/linux/shim.cpp b/src/runtime_src/core/pcie/linux/shim.cpp index cba0f69a951..e8b90bf57b1 100644 --- a/src/runtime_src/core/pcie/linux/shim.cpp +++ b/src/runtime_src/core/pcie/linux/shim.cpp @@ -2352,7 +2352,7 @@ int shim::xclRegRW(bool rd, uint32_t ipIndex, uint32_t offset, uint32_t *datap) if (cumap.addr == nullptr) { auto cu_subdev = "CU[" + std::to_string(ipIndex) + "]"; auto size = xrt_core::device_query(mCoreDevice, xq::request::modifier::subdev, cu_subdev); - if (size <= 0 || size > 0x10000) { + if (size <= 0) { xrt_logmsg(XRT_ERROR, "%s: incorrect cu size %d", __func__, size); return -EINVAL; }