I'm trying to update a patch made in tag xilinx-v2017.4
in linux-xlnx to the tag xilinx-v2022.1
. In the new version, a function used is no longer available, xilinx_cdma_prep_sg
in drivers/dma/xilinx
.
I wanted to find out why it was removed, alternatives, etc, so I needed the commit that removed it, so I decided to try git bisect
using grep -Hrin xilinx_cdma_prep_sg drivers/dma/
for testing:
git checkout xilinx-v2022.1
grep -Hrin xilinx_cdma_prep_sg drivers/dma/ # Function is NOT available
git bisect start
git bisect bad # Since function is NOT available here
git checkout xilinx-v2017.4
grep -Hrin xilinx_cdma_prep_sg drivers/dma/ # Function is available
git bisect good # Since function is available here
git bisect proceeds apparently normally, however, it never once shows a good commit for evaluation, and at the end, it shows me a completely unrelated commit(1e8a655db2f4dd8777eda08c2af7d1381b9eecca , no mention to the function I'm interested under git show
).
What is going on? This might be a duplicate of some other question, but I don't know what to search for, I have no idea what's going on.
I have tried with other commits, including the one returned by git merge-base xilinx-v2017.4 xilinx-v2022.1
, but I always get different, wrong results.
I checked this question, but I'm not sure it applies here, and it didn't contain a reproducible example, so I think this question should be useful even if it's a duplicate.