This patch set adds a number of new tests to the test_bpf.ko test suite. The new tests focus on the behaviour of operations with different combinations of register operands, and in particular, when two or more register operands are in fact the same register. It also verifies things like a src register not being zero-extended in-place in ALU32 operations, and that operations implemented with function calls do not clobber any other eBPF registers. Johan Almbladh (10): bpf/tests: Add tests of BPF_LDX and BPF_STX with small sizes bpf/tests: Add zero-extension checks in BPF_ATOMIC tests bpf/tests: Add exhaustive tests of BPF_ATOMIC magnitudes bpf/tests: Add tests to check source register zero-extension bpf/tests: Add more tests for ALU and ATOMIC register clobbering bpf/tests: Minor restructuring of ALU tests bpf/tests: Add exhaustive tests of ALU register combinations bpf/tests: Add exhaustive tests of BPF_ATOMIC register combinations bpf/tests: Add test of ALU shifts with operand register aliasing bpf/tests: Add test of LDX_MEM with operand aliasing lib/test_bpf.c | 2803 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 2571 insertions(+), 232 deletions(-) -- 2.30.2