aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-01-18 03:31:39 +0000
committerAlexei Starovoitov <[email protected]>2024-01-18 04:20:05 +0000
commit01b55f4f0cd6ad1a16eca6c43a3190005892ef91 (patch)
tree379519a1519a94a55e0e0948c405959f1eadc984 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentselftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS (diff)
downloadkernel-01b55f4f0cd6ad1a16eca6c43a3190005892ef91.tar.gz
kernel-01b55f4f0cd6ad1a16eca6c43a3190005892ef91.zip
libbpf: feature-detect arg:ctx tag support in kernel
Add feature detector of kernel-side arg:ctx (__arg_ctx) tag support. If this is detected, libbpf will avoid doing any __arg_ctx-related BTF rewriting and checks in favor of letting kernel handle this completely. test_global_funcs/ctx_arg_rewrite subtest is adjusted to do the same feature detection (albeit in much simpler, though round-about and inefficient, way), and skip the tests. This is done to still be able to execute this test on older kernels (like in libbpf CI). Note, BPF token series ([0]) does a major refactor and code moving of libbpf-internal feature detection "framework", so to avoid unnecessary conflicts we keep newly added feature detection stand-alone with ad-hoc result caching. Once things settle, there will be a small follow up to re-integrate everything back and move code into its final place in newly-added (by BPF token series) features.c file. [0] https://patchwork.kernel.org/project/netdevbpf/list/?series=814209&state=* Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions