Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multislot fixes for multiple PS kernel load #7558

Merged
merged 9 commits into from
Jun 6, 2023

Conversation

saifuddin-xilinx
Copy link
Collaborator

Problem solved by the commit

-- There is a issue for XGQs assign/reassign for multislot case.
-- Current implementation delete all the XGQs together while unregistering the CUs
-- For multislot case it should be done by slot wise.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

How problem was solved, alternative solutions (if any) and why they were rejected

Risks (if any) associated the changes in the commit

What has been tested and how, request additional testing if necessary

Documentation impact (if any)

Saif and others added 2 commits May 18, 2023 12:10
Signed-off-by: Saif <saifuddi@amd.com>
Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@saifuddin-xilinx saifuddin-xilinx changed the title Multislot fixes Multislot fixes for multiple PS kernel load May 18, 2023
@gbuildx
Copy link
Collaborator

gbuildx commented May 18, 2023

Build failed :(

@saifuddin-xilinx saifuddin-xilinx added the Please do not Review This PR has been created only for internal review. label May 19, 2023
Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@gbuildx
Copy link
Collaborator

gbuildx commented May 24, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented May 24, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented May 25, 2023

Build failed :(

@saifuddin-xilinx
Copy link
Collaborator Author

retest this please

Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@gbuildx
Copy link
Collaborator

gbuildx commented May 25, 2023

Build failed :(

@gbuildx
Copy link
Collaborator

gbuildx commented May 31, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented May 31, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 1, 2023

Build failed :(

Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@saifuddin-xilinx saifuddin-xilinx removed the Please do not Review This PR has been created only for internal review. label Jun 1, 2023
@gbuildx
Copy link
Collaborator

gbuildx commented Jun 1, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 2, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 2, 2023

Build failed :(

Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@gbuildx
Copy link
Collaborator

gbuildx commented Jun 2, 2023

Build Passed!


for (i = 0; i < ec->ec_num_xgq_ips; i++) {
struct ert_ctrl_xgq_cu *xgq_ips = &ec->ec_xgq_ips[i];
int xgq_id = xocl_get_xgq_id(xgq_handle);
Copy link
Collaborator

Choose a reason for hiding this comment

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

xocl_get_xgq_id() cound return -EINVAL. But xgq_id here is not checking that error.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed. Please reiew.

Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@stsoe stsoe removed their request for review June 2, 2023 19:35
Comment on lines 566 to 567
if (xgq_id == -EINVAL)
return;
Copy link
Collaborator

Choose a reason for hiding this comment

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

If xgq_id is -EINVAL here, it is a BUG_ON(). Not silently return.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure. Updated. Thanks

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 3, 2023

Build failed :(

Signed-off-by: Saifuddin <saifuddi@xilinx.com>
@gbuildx
Copy link
Collaborator

gbuildx commented Jun 5, 2023

Build failed :(

@saifuddin-xilinx
Copy link
Collaborator Author

retest this please

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 5, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented Jun 6, 2023

Build Passed!

@maxzhen maxzhen merged commit 7f3cae3 into Xilinx:master Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants