aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorArindam Nath <[email protected]>2020-02-05 21:24:22 +0530
committerJon Mason <[email protected]>2020-03-13 10:04:19 -0400
commit5cafa48502c833fa175d2d16a26d1b4e0702aa74 (patch)
tree36b43477c287bd7fd19f76bff3b8fa481812114b /tools/testing/selftests/bpf/prog_tests/autoload.c
parent5c6404d5fa74124c64661ce44d7e447f3bf3df1e (diff)
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 <[email protected]> Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions