summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArindam Nath <arindam.nath@amd.com>2020-02-05 18:54:22 +0300
committerJon Mason <jdmason@kudzu.us>2020-03-13 17:04:19 +0300
commit5cafa48502c833fa175d2d16a26d1b4e0702aa74 (patch)
tree36b43477c287bd7fd19f76bff3b8fa481812114b /tools/perf/scripts/python
parent5c6404d5fa74124c64661ce44d7e447f3bf3df1e (diff)
downloadlinux-5cafa48502c833fa175d2d16a26d1b4e0702aa74.tar.xz
NTB: return the side info status from amd_poll_link
Bit 1 of SIDE_INFO register is an indication that the driver on the other side of link is ready. We set this bit during driver initialization sequence. So rather than having separate macros to return the status, we can simply return the status of this bit from amd_poll_link(). So a return of 1 or 0 from this function will indicate to the caller whether the driver on the other side of link is ready or not, respectively. Signed-off-by: Arindam Nath <arindam.nath@amd.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions