diff options
| author | Alexei Starovoitov <[email protected]> | 2025-08-01 01:23:54 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-08-01 01:24:04 +0000 |
| commit | 93acc0f43f58743737888985133809634e298753 (patch) | |
| tree | dc898c0a4e48e41b508530e364c9d36f2dc4e92f /drivers/fpga/microchip-spi.c | |
| parent | libbpf: Avoid possible use of uninitialized mod_len (diff) | |
| parent | arm64/cfi,bpf: Support kCFI + BPF on arm64 (diff) | |
| download | kernel-93acc0f43f58743737888985133809634e298753.tar.gz kernel-93acc0f43f58743737888985133809634e298753.zip | |
Merge branch 'support-kcfi-bpf-on-arm64'
Sami Tolvanen says:
====================
Support kCFI + BPF on arm64
These patches add KCFI types to arm64 BPF JIT output. Puranjay and
Maxwell have been working on this for some time now, but I haven't
seen any progress since June 2024, so I decided to pick up the latest
version[1] posted by Maxwell and fix the few remaining issues I
noticed. I confirmed that with these patches applied, I no longer see
CFI failures in jitted code when running BPF self-tests on arm64.
[1] https://lore.kernel.org/linux-arm-kernel/ptrugmna4xb5o5lo4xislf4rlz7avdmd4pfho5fjwtjj7v422u@iqrwfrbwuxrq/
Sami
---
v14:
- Rebased to fix a merge conflict.
v13: https://lore.kernel.org/bpf/[email protected]/
- Added emit_u32_data to fix type hashes on big-endian systems based
on Xu's suggestion.
v12: https://lore.kernel.org/bpf/[email protected]/
- Fixed sparse warnings and 32-bit ARM build errors.
v11: https://lore.kernel.org/bpf/[email protected]/
- Moved cfi_get_func_hash to a static inline with an ifdef guard.
- Picked by Will's Acked-by tags.
v10: https://lore.kernel.org/bpf/[email protected]/
- Rebased to bpf-next/master again.
- Added a patch to moved duplicate type hash variables and helper
functions to common CFI code.
v9: https://lore.kernel.org/bpf/[email protected]/
- Rebased to bpf-next/master to fix merge x86 merge conflicts.
- Fixed checkpatch warnings about Co-developed-by tags and including
<asm/cfi.h>.
- Picked up Tested-by tags.
v8: https://lore.kernel.org/bpf/[email protected]/
- Changed DEFINE_CFI_TYPE to use .4byte to match __CFI_TYPE.
- Changed cfi_get_func_hash() to again use get_kernel_nofault().
- Fixed a panic in bpf_jit_free() by resetting prog->bpf_func before
calling bpf_jit_binary_pack_hdr().
---
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
