diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-09-19 12:09:07 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-09-21 23:21:59 +0200 |
commit | 738476a079bd238a65c09c63e7437832d96b08e8 (patch) | |
tree | 722e1729ffef7bbd819061c2fff88571fa93ffe1 /drivers/vdpa/virtio_pci | |
parent | s390/bpf: Implement BPF_MOV | BPF_X with sign-extension (diff) | |
download | linux-738476a079bd238a65c09c63e7437832d96b08e8.tar.xz linux-738476a079bd238a65c09c63e7437832d96b08e8.zip |
s390/bpf: Implement BPF_MEMSX
Implement the cpuv4 load with sign-extension, which is encoded as
BPF_MEMSX (and, for internal uses cases only, BPF_PROBE_MEMSX).
This is the same as BPF_MEM and BPF_PROBE_MEM, but with sign
extension instead of zero extension, and s390x has the necessary
instructions: lgb, lgh and lgf.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230919101336.2223655-6-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/vdpa/virtio_pci')
0 files changed, 0 insertions, 0 deletions