diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2025-04-10 07:55:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-04-10 12:47:07 -0700 |
commit | 92b90f780d056a28f3c751c2dfbcd9540c7ae28a (patch) | |
tree | c81a7402322b81f9015900554b48c2e6e38bf81a /scripts/generate_rust_analyzer.py | |
parent | 1ddb9ad2ac6e527f220d5821ad54d37d3f9d122a (diff) | |
download | linux-92b90f780d056a28f3c751c2dfbcd9540c7ae28a.tar.gz linux-92b90f780d056a28f3c751c2dfbcd9540c7ae28a.tar.bz2 linux-92b90f780d056a28f3c751c2dfbcd9540c7ae28a.zip |
bpf: Use architecture provided res_smp_cond_load_acquire
In v2 of rqspinlock [0], we fixed potential problems with WFE usage in
arm64 to fallback to a version copied from Ankur's series [1]. This
logic was moved into arch-specific headers in v3 [2].
However, we missed using the arch-provided res_smp_cond_load_acquire
in commit ebababcd0372 ("rqspinlock: Hardcode cond_acquire loops for arm64")
due to a rebasing mistake between v2 and v3 of the rqspinlock series.
Fix the typo to fallback to the arm64 definition as we did in v2.
[0]: https://lore.kernel.org/bpf/20250206105435.2159977-18-memxor@gmail.com
[1]: https://lore.kernel.org/lkml/20250203214911.898276-1-ankur.a.arora@oracle.com
[2]: https://lore.kernel.org/bpf/20250303152305.3195648-9-memxor@gmail.com
Fixes: ebababcd0372 ("rqspinlock: Hardcode cond_acquire loops for arm64")
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250410145512.1876745-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions