Public bug reported:

Issue separated from bug 1768452
The ubuntu_bpf_jit will report the following failure on Xenial s390x:
  * test_bpf: #250 BPF_MAXINSNS: ld_abs+vlan_push/pop FAIL to select_runtime 
err=-524

This test has been moved to the test_verifier test in bpf of kselftests:
https://github.com/torvalds/linux/commit/93731ef086cee90af594e62874bb98ae6d6eee91

"Remove all eBPF tests involving LD_ABS/LD_IND from test_bpf.ko. Reason
is that the eBPF tests from test_bpf module do not go via BPF verifier
and therefore any instruction rewrites from verifier cannot take place.

Therefore, move them into test_verifier which runs out of user space,
so that verfier can rewrite LD_ABS/LD_IND internally in upcoming patches.
It will have the same effect since runtime tests are also performed from
there. This also allows to finally unexport bpf_skb_vlan_{push,pop}_proto
and keep it internal to core kernel."

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Xenial)
     Importance: Undecided
         Status: New


** Tags: 4.4 s390x sru-20200106 sru-20200217 sru-20200316 ubuntu-bpf-jit xenial

** Tags added: 4.4 s390x sru-20200316 ubuntu-bpf-jit

** Tags added: sru-20200106 sru-20200217

** Tags added: xenial

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1868243

Title:
  ld_abs+vlan_push/pop from ubuntu_bpf_jit will fail on X s390x

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  New
Status in linux source package in Xenial:
  New

Bug description:
  Issue separated from bug 1768452
  The ubuntu_bpf_jit will report the following failure on Xenial s390x:
    * test_bpf: #250 BPF_MAXINSNS: ld_abs+vlan_push/pop FAIL to select_runtime 
err=-524

  This test has been moved to the test_verifier test in bpf of kselftests:
  
https://github.com/torvalds/linux/commit/93731ef086cee90af594e62874bb98ae6d6eee91

  "Remove all eBPF tests involving LD_ABS/LD_IND from test_bpf.ko. Reason
  is that the eBPF tests from test_bpf module do not go via BPF verifier
  and therefore any instruction rewrites from verifier cannot take place.

  Therefore, move them into test_verifier which runs out of user space,
  so that verfier can rewrite LD_ABS/LD_IND internally in upcoming patches.
  It will have the same effect since runtime tests are also performed from
  there. This also allows to finally unexport bpf_skb_vlan_{push,pop}_proto
  and keep it internal to core kernel."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868243/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to