diff options
| author | Mukul Joshi <[email protected]> | 2022-04-06 20:07:37 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-13 09:14:22 -0400 |
| commit | 46d18d510d78318c4aa5aaeff66782f1ec42c2ec (patch) | |
| tree | bdcd722661d52973c15ffee0ce00a51c5c1adc20 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | eb85fc238970afe4a309bb307bdeecc2938ba7b2 (diff) | |
drm/amdkfd: Cleanup IO links during KFD device removal
Currently, the IO-links to the device being removed from topology,
are not cleared. As a result, there would be dangling links left in
the KFD topology. This patch aims to fix the following:
1. Cleanup all IO links to the device being removed.
2. Ensure that node numbering in sysfs and nodes proximity domain
values are consistent after the device is removed:
a. Adding a device and removing a GPU device are made mutually
exclusive.
b. The global proximity domain counter is no longer required to be
an atomic counter. A normal 32-bit counter can be used instead.
3. Update generation_count to let user-mode know that topology has
changed due to device removal.
CC: Shuotao Xu <[email protected]>
Reviewed-by: Shuotao Xu <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Mukul Joshi <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions