mbox series

[bpf-next,v2,0/3] RISC-V selftest/bpf fixes

Message ID 20201118071640.83773-1-bjorn.topel@gmail.com
Headers show
Series RISC-V selftest/bpf fixes | expand

Message

Björn Töpel Nov. 18, 2020, 7:16 a.m. UTC
This series contain some fixes for selftests/bpf when building/running
on a RISC-V host. Details can be found in each individual commit.


Cheers,
Björn

v2:
  Makefile cosmetics. (Andrii)
  Simplified unpriv check and added comment. (Andrii)

Björn Töpel (3):
  selftests/bpf: Fix broken riscv build
  selftests/bpf: Avoid running unprivileged tests with alignment
    requirements
  selftests/bpf: Mark tests that require unaligned memory access

 tools/testing/selftests/bpf/Makefile          |  3 +-
 tools/testing/selftests/bpf/test_verifier.c   | 13 ++++++
 .../selftests/bpf/verifier/ctx_sk_lookup.c    |  7 +++
 .../bpf/verifier/direct_value_access.c        |  3 ++
 .../testing/selftests/bpf/verifier/map_ptr.c  |  1 +
 .../selftests/bpf/verifier/raw_tp_writable.c  |  1 +
 .../selftests/bpf/verifier/ref_tracking.c     |  4 ++
 .../testing/selftests/bpf/verifier/regalloc.c |  8 ++++
 .../selftests/bpf/verifier/wide_access.c      | 46 +++++++++++--------
 9 files changed, 67 insertions(+), 19 deletions(-)


base-commit: ea87ae85c9b31303a2e9d4c769d9f3ee8a3a60d1

Comments

Luke Nelson Nov. 18, 2020, 5:43 p.m. UTC | #1
Nice, thanks for the fixes!

(For the whole series:)
Acked-by: Luke Nelson <luke.r.nels@gmail.com>
patchwork-bot+netdevbpf@kernel.org Nov. 19, 2020, 2 a.m. UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Wed, 18 Nov 2020 08:16:37 +0100 you wrote:
> This series contain some fixes for selftests/bpf when building/running
> on a RISC-V host. Details can be found in each individual commit.
> 
> 
> Cheers,
> Björn
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/3] selftests/bpf: Fix broken riscv build
    https://git.kernel.org/bpf/bpf-next/c/6016df8fe874
  - [bpf-next,v2,2/3] selftests/bpf: Avoid running unprivileged tests with alignment requirements
    https://git.kernel.org/bpf/bpf-next/c/c77b0589ca29
  - [bpf-next,v2,3/3] selftests/bpf: Mark tests that require unaligned memory access
    https://git.kernel.org/bpf/bpf-next/c/6007b23cc755

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html