Skip to content

Conversation

xdavidz
Copy link
Contributor

@xdavidz xdavidz commented Sep 12, 2025

@AdvaitNaik I merged your PR with rolling back the code. We can use another PR to fix the ~dbg_buffer issue.

discussed with @rbramand-xilinx and created ticket - CR-1249680
rahul will make required changes in xrt

@xdavidz xdavidz requested review from xuhz and hlaccabu September 12, 2025 05:18
@xdavidz xdavidz requested a review from maxzhen September 12, 2025 14:53
maxzhen
maxzhen previously approved these changes Sep 12, 2025
hlaccabu
hlaccabu previously approved these changes Sep 12, 2025
@rbramand-xilinx
Copy link
Contributor

created PR - Xilinx/XRT#9230 with the fix. I will update once the change is merged. Thanks

@xdavidz
Copy link
Contributor Author

xdavidz commented Sep 12, 2025

I'd wait for @xuhz comment on the details of this design. Please hole the merge.

hwctx::
get_num_uc() const
{
return m_col_cnt;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

num of uc is 2 * m_col_cnt for aie4

@AdvaitNaik
Copy link
Contributor

created PR - Xilinx/XRT#9230 with the fix. I will update once the change is merged. Thanks

log buffer bug fix has been merged in XRT - Xilinx/XRT#9230
@xdavidz can you please also update XRT submodule in this PR

Signed-off-by: David Zhang <[email protected]>
@xdavidz
Copy link
Contributor Author

xdavidz commented Sep 16, 2025

created PR - Xilinx/XRT#9230 with the fix. I will update once the change is merged. Thanks

log buffer bug fix has been merged in XRT - Xilinx/XRT#9230 @xdavidz can you please also update XRT submodule in this PR

I would like to use a separate clean PR to fix the xrt submodule. I think the build number of xrt should be fixed too.
We don't have to fix everything in this PR, just in case the newer XRT might have other regression issues.

@xdavidz xdavidz dismissed stale reviews from hlaccabu and maxzhen via 418caf4 September 16, 2025 04:13
@xdavidz
Copy link
Contributor Author

xdavidz commented Sep 16, 2025

retest this please

@maxzhen maxzhen merged commit 0f2dfa3 into amd:main Sep 16, 2025
1 check passed
maxzhen pushed a commit that referenced this pull request Sep 17, 2025
* XRT, VTD submodule update and shim changes

Signed-off-by: Akshay Tondak <[email protected]>

* VTD update

Signed-off-by: Akshay Tondak <[email protected]>

* use last firmware for verbose in-memory log (#739)

Signed-off-by: David Zhang <[email protected]>

* Unify DPT (Debug/Profile/Trace) firmware debug across generations (#733)

- Introduce a single DPT-based infrastructure for firmware
  debug/profile/trace across current and future devices. Remove legacy
  event-trace/DRAM logging to cut redundancy.
- Improve ring handling by extending 32-bit FW pointers to 64-bit
  in-driver, making wrap and tail tracking robust and transparent
- Enable firmware logging by default at ERROR level. Simplify
  usage via a boolean debugfs node (dump_fw_log) to toggle printing
  to dmesg.
- Provide module params for advanced control (fw_log_level, fw_log_size,
  poll_fw_log).
- Establish common management-DMA helpers for buffer allocation/handling.
  More consolidation to follow.

Signed-off-by: Nishad Saraf <[email protected]>

* Fix coverity use after free (#744)

Fix coverity use after free.

Signed-off-by: Nishad Saraf <[email protected]>

* shim changes for dump log pr (#738)


Signed-off-by: advanaik <[email protected]>
Signed-off-by: David Zhang <[email protected]>
Co-authored-by: advanaik <[email protected]>

* VTD submodule removal (#745)

* VTD submod removal

Signed-off-by: Akshay Tondak <[email protected]>

* subdir removal

Signed-off-by: Akshay Tondak <[email protected]>

---------

Signed-off-by: Akshay Tondak <[email protected]>

* Report addition

Signed-off-by: Akshay Tondak <[email protected]>

---------

Signed-off-by: Akshay Tondak <[email protected]>
Signed-off-by: David Zhang <[email protected]>
Signed-off-by: Nishad Saraf <[email protected]>
Signed-off-by: advanaik <[email protected]>
Co-authored-by: David Zhang <[email protected]>
Co-authored-by: Nishad Saraf <[email protected]>
Co-authored-by: advanaik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants