Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support kCFI + BPF on arm64 #7178

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: Support kCFI + BPF on arm64
version: 5
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=860506

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: f85af9d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=860506
version: 5

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: f85af9d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=860506
version: 5

@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=860506 expired. Closing PR.

puranjaymohan and others added 2 commits June 12, 2024 08:39
Currently, bpf_dispatcher_*_func() is marked with `__nocfi` therefore
calling BPF programs from this interface doesn't cause CFI warnings.

When BPF programs are called directly from C: from BPF helpers or
struct_ops, CFI warnings are generated.

Implement proper CFI prologues for the BPF programs and callbacks and
drop __nocfi for arm64. Fix the trampoline generation code to emit kCFI
prologue when a struct_ops trampoline is being prepared.

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Maxwell Bland <mbland@motorola.com>
Corrects Puranjay Mohan's commit to adopt Mark Rutland's
suggestion of using a C CFI type macro in kCFI+BPF.

Signed-off-by: Maxwell Bland <mbland@motorola.com>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 98b303c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=861246
version: 6

@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=861246 expired. Closing PR.

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/830310=>bpf-next branch June 15, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants