diff options
| author | Leon Romanovsky <leon@kernel.org> | 2026-07-27 02:37:29 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-27 02:37:29 -0400 |
| commit | 86ae5b515f2d1f4b673f3668a9e8bd22d95dac4d (patch) | |
| tree | 0f617d4a2c342daf79a0a551deddb9eee948f48f /scripts | |
| parent | dec47e4b0fe34afdf38caa72b4408ba95502e5de (diff) | |
| parent | 36b1d3299d0b6aa51485cc9a79b8d94948d5f3d4 (diff) | |
| download | linux-86ae5b515f2d1f4b673f3668a9e8bd22d95dac4d.tar.gz linux-86ae5b515f2d1f4b673f3668a9e8bd22d95dac4d.zip | |
mlx5: Deprecate latency-sensitive QPs feature
New HW no longer implements a separate class for latency-sensitive QPs
and advertises this by a new cap bit.
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/sorttable.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/sorttable.c b/scripts/sorttable.c index e8ed11c680c6..d8dc2a1b7c31 100644 --- a/scripts/sorttable.c +++ b/scripts/sorttable.c @@ -891,17 +891,22 @@ static int do_file(char const *const fname, void *addr) table_sort_t custom_sort = NULL; switch (elf_map_machine(ehdr)) { - case EM_AARCH64: #ifdef MCOUNT_SORT_ENABLED + case EM_AARCH64: + /* arm64 also needs RELA-based weak-function fixups. */ sort_reloc = true; rela_type = 0x403; - /* arm64 uses patchable function entry placing before function */ + /* fallthrough */ + case EM_RISCV: + /* arm64 and RISC-V place patchable entries before the function. */ before_func = 8; +#else + case EM_AARCH64: + case EM_RISCV: #endif /* fallthrough */ case EM_386: case EM_LOONGARCH: - case EM_RISCV: case EM_S390: case EM_X86_64: custom_sort = sort_relative_table_with_data; |
