# git rev-parse -q --verify de927f6c0b07d9e698416c5b287c521b07694cac^{commit} de927f6c0b07d9e698416c5b287c521b07694cac already have revision, skipping fetch # git checkout -q -f -B kisskb de927f6c0b07d9e698416c5b287c521b07694cac # git clean -qxdf # < git log -1 # commit de927f6c0b07d9e698416c5b287c521b07694cac # Merge: c29901006179 b2b97a62f055 # Author: Linus Torvalds # Date: Wed Jan 10 18:18:20 2024 -0800 # # Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux # # Pull s390 updates from Alexander Gordeev: # # - Add machine variable capacity information to /proc/sysinfo. # # - Limit the waste of page tables and always align vmalloc area size and # base address on segment boundary. # # - Fix a memory leak when an attempt to register interruption sub class # (ISC) for the adjunct-processor (AP) guest failed. # # - Reset response code AP_RESPONSE_INVALID_GISA to understandable by # guest AP_RESPONSE_INVALID_ADDRESS in response to a failed # interruption sub class (ISC) registration attempt. # # - Improve reaction to adjunct-processor (AP) # AP_RESPONSE_OTHERWISE_CHANGED response code when enabling interrupts # on behalf of a guest. # # - Fix incorrect sysfs 'status' attribute of adjunct-processor (AP) # queue device bound to the vfio_ap device driver when the mediated # device is attached to a guest, but the queue device is not passed # through. # # - Rework struct ap_card to hold the whole adjunct-processor (AP) card # hardware information. As result, all the ugly bit checks are replaced # by simple evaluations of the required bit fields. # # - Improve handling of some weird scenarios between service element (SE) # host and SE guest with adjunct-processor (AP) pass-through support. # # - Change local_ctl_set_bit() and local_ctl_clear_bit() so they return # the previous value of the to be changed control register. This is # useful if a bit is only changed temporarily and the previous content # needs to be restored. # # - The kernel starts with machine checks disabled and is expected to # enable it once trap_init() is called. However the implementation # allows machine checks early. Consistently enable it in trap_init() # only. # # - local_mcck_disable() and local_mcck_enable() assume that machine # checks are always enabled. Instead implement and use # local_mcck_save() and local_mcck_restore() to disable machine checks # and restore the previous state. # # - Modification of floating point control (FPC) register of a traced # process using ptrace interface may lead to corruption of the FPC # register of the tracing process. Fix this. # # - kvm_arch_vcpu_ioctl_set_fpu() allows to set the floating point # control (FPC) register in vCPU, but may lead to corruption of the FPC # register of the host process. Fix this. # # - Use READ_ONCE() to read a vCPU floating point register value from the # memory mapped area. This avoids that, depending on code generation, a # different value is tested for validity than the one that is used. # # - Get rid of test_fp_ctl(), since it is quite subtle to use it # correctly. Instead copy a new floating point control register value # into its save area and test the validity of the new value when # loading it. # # - Remove superfluous save_fpu_regs() call. # # - Remove s390 support for ARCH_WANTS_DYNAMIC_TASK_STRUCT. All machines # provide the vector facility since many years and the need to make the # task structure size dependent on the vector facility does not exist. # # - Remove the "novx" kernel command line option, as the vector code runs # without any problems since many years. # # - Add the vector facility to the z13 architecture level set (ALS). All # hypervisors support the vector facility since many years. This allows # compile time optimizations of the kernel. # # - Get rid of MACHINE_HAS_VX and replace it with cpu_has_vx(). As # result, the compiled code will have less runtime checks and less # code. # # - Convert pgste_get_lock() and pgste_set_unlock() ASM inlines to C. # # - Convert the struct subchannel spinlock from pointer to member. # # * tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (24 commits) # Revert "s390: update defconfigs" # s390/cio: make sch->lock spinlock pointer a member # s390: update defconfigs # s390/mm: convert pgste locking functions to C # s390/fpu: get rid of MACHINE_HAS_VX # s390/als: add vector facility to z13 architecture level set # s390/fpu: remove "novx" option # s390/fpu: remove ARCH_WANTS_DYNAMIC_TASK_STRUCT support # KVM: s390: remove superfluous save_fpu_regs() call # s390/fpu: get rid of test_fp_ctl() # KVM: s390: use READ_ONCE() to read fpc register value # KVM: s390: fix setting of fpc register # s390/ptrace: handle setting of fpc register correctly # s390/nmi: implement and use local_mcck_save() / local_mcck_restore() # s390/nmi: consistently enable machine checks in trap_init() # s390/ctlreg: return old register contents when changing bits # s390/ap: handle outband SE bind state change # s390/ap: store TAPQ hwinfo in struct ap_card # s390/vfio-ap: fix sysfs status attribute for AP queue devices # s390/vfio-ap: improve reaction to response code 07 from PQAP(AQIC) command # ... # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 de927f6c0b07d9e698416c5b287c521b07694cac # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/bpf/test_run.c:508:17: warning: no previous prototype for 'bpf_fentry_test1' [-Wmissing-prototypes] __bpf_kfunc int bpf_fentry_test1(int a) ^ /kisskb/src/net/bpf/test_run.c:514:14: warning: no previous prototype for 'bpf_fentry_test2' [-Wmissing-prototypes] int noinline bpf_fentry_test2(int a, u64 b) ^ /kisskb/src/net/bpf/test_run.c:519:14: warning: no previous prototype for 'bpf_fentry_test3' [-Wmissing-prototypes] int noinline bpf_fentry_test3(char a, int b, u64 c) ^ /kisskb/src/net/bpf/test_run.c:524:14: warning: no previous prototype for 'bpf_fentry_test4' [-Wmissing-prototypes] int noinline bpf_fentry_test4(void *a, char b, int c, u64 d) ^ /kisskb/src/net/bpf/test_run.c:529:14: warning: no previous prototype for 'bpf_fentry_test5' [-Wmissing-prototypes] int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e) ^ /kisskb/src/net/bpf/test_run.c:534:14: warning: no previous prototype for 'bpf_fentry_test6' [-Wmissing-prototypes] int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f) ^ /kisskb/src/net/bpf/test_run.c:543:14: warning: no previous prototype for 'bpf_fentry_test7' [-Wmissing-prototypes] int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg) ^ /kisskb/src/net/bpf/test_run.c:549:14: warning: no previous prototype for 'bpf_fentry_test8' [-Wmissing-prototypes] int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg) ^ /kisskb/src/net/bpf/test_run.c:554:17: warning: no previous prototype for 'bpf_fentry_test9' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_fentry_test9(u32 *a) ^ /kisskb/src/net/bpf/test_run.c:559:15: warning: no previous prototype for 'bpf_fentry_test_sinfo' [-Wmissing-prototypes] void noinline bpf_fentry_test_sinfo(struct skb_shared_info *sinfo) ^ /kisskb/src/net/bpf/test_run.c:563:17: warning: no previous prototype for 'bpf_modify_return_test' [-Wmissing-prototypes] __bpf_kfunc int bpf_modify_return_test(int a, int *b) ^ /kisskb/src/net/bpf/test_run.c:569:17: warning: no previous prototype for 'bpf_modify_return_test2' [-Wmissing-prototypes] __bpf_kfunc int bpf_modify_return_test2(int a, int *b, short c, int d, ^ /kisskb/src/net/bpf/test_run.c:576:14: warning: no previous prototype for 'bpf_fentry_shadow_test' [-Wmissing-prototypes] int noinline bpf_fentry_shadow_test(int a) ^ /kisskb/src/net/bpf/test_run.c:598:18: warning: no previous prototype for 'bpf_kfunc_call_test_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) ^ /kisskb/src/net/bpf/test_run.c:603:18: warning: no previous prototype for 'bpf_kfunc_call_memb_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_kfunc_call_memb_release(struct prog_test_member *p) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/socket.c:1694:21: warning: no previous prototype for 'update_socket_protocol' [-Wmissing-prototypes] __weak noinline int update_socket_protocol(int family, int type, int protocol) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/cgroup/rstat.c:218:22: warning: no previous prototype for 'bpf_rstat_flush' [-Wmissing-prototypes] __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/core/filter.c:11799:17: warning: no previous prototype for 'bpf_dynptr_from_skb' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_from_skb(struct sk_buff *skb, u64 flags, ^ /kisskb/src/net/core/filter.c:11812:17: warning: no previous prototype for 'bpf_dynptr_from_xdp' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_from_xdp(struct xdp_buff *xdp, u64 flags, ^ /kisskb/src/net/core/filter.c:11825:17: warning: no previous prototype for 'bpf_sock_addr_set_sun_path' [-Wmissing-prototypes] __bpf_kfunc int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, ^ /kisskb/src/net/core/filter.c:11926:17: warning: no previous prototype for 'bpf_sock_destroy' [-Wmissing-prototypes] __bpf_kfunc int bpf_sock_destroy(struct sock_common *sock) ^ /kisskb/src/kernel/bpf/bpf_iter.c:787:17: warning: no previous prototype for 'bpf_iter_num_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) ^ /kisskb/src/kernel/bpf/bpf_iter.c:818:18: warning: no previous prototype for 'bpf_iter_num_next' [-Wmissing-prototypes] __bpf_kfunc int *bpf_iter_num_next(struct bpf_iter_num* it) ^ /kisskb/src/kernel/bpf/bpf_iter.c:837:18: warning: no previous prototype for 'bpf_iter_num_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_num_destroy(struct bpf_iter_num *it) ^ /kisskb/src/kernel/bpf/helpers.c:1898:19: warning: no previous prototype for 'bpf_obj_new_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1912:19: warning: no previous prototype for 'bpf_percpu_obj_new_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1946:18: warning: no previous prototype for 'bpf_obj_drop_impl' [-Wmissing-prototypes] __bpf_kfunc void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1954:18: warning: no previous prototype for 'bpf_percpu_obj_drop_impl' [-Wmissing-prototypes] __bpf_kfunc void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1960:19: warning: no previous prototype for 'bpf_refcount_acquire_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:2005:17: warning: no previous prototype for 'bpf_list_push_front_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, ^ /kisskb/src/kernel/bpf/helpers.c:2015:17: warning: no previous prototype for 'bpf_list_push_back_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, ^ /kisskb/src/kernel/bpf/helpers.c:2048:35: warning: no previous prototype for 'bpf_list_pop_front' [-Wmissing-prototypes] __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) ^ /kisskb/src/kernel/bpf/helpers.c:2053:35: warning: no previous prototype for 'bpf_list_pop_back' [-Wmissing-prototypes] __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) ^ /kisskb/src/kernel/bpf/helpers.c:2058:33: warning: no previous prototype for 'bpf_rbtree_remove' [-Wmissing-prototypes] __bpf_kfunc struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, ^ /kisskb/src/kernel/bpf/helpers.c:2114:17: warning: no previous prototype for 'bpf_rbtree_add_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, ^ /kisskb/src/kernel/bpf/helpers.c:2124:33: warning: no previous prototype for 'bpf_rbtree_first' [-Wmissing-prototypes] __bpf_kfunc struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) ^ /kisskb/src/kernel/bpf/helpers.c:2137:33: warning: no previous prototype for 'bpf_task_acquire' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_task_acquire(struct task_struct *p) ^ /kisskb/src/kernel/bpf/helpers.c:2148:18: warning: no previous prototype for 'bpf_task_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_task_release(struct task_struct *p) ^ /kisskb/src/kernel/bpf/helpers.c:2160:28: warning: no previous prototype for 'bpf_cgroup_acquire' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_acquire(struct cgroup *cgrp) ^ /kisskb/src/kernel/bpf/helpers.c:2172:18: warning: no previous prototype for 'bpf_cgroup_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_cgroup_release(struct cgroup *cgrp) ^ /kisskb/src/kernel/bpf/helpers.c:2184:28: warning: no previous prototype for 'bpf_cgroup_ancestor' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) ^ /kisskb/src/kernel/bpf/helpers.c:2204:28: warning: no previous prototype for 'bpf_cgroup_from_id' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_from_id(u64 cgid) ^ /kisskb/src/kernel/bpf/helpers.c:2224:18: warning: no previous prototype for 'bpf_task_under_cgroup' [-Wmissing-prototypes] __bpf_kfunc long bpf_task_under_cgroup(struct task_struct *task, ^ /kisskb/src/kernel/bpf/helpers.c:2242:33: warning: no previous prototype for 'bpf_task_from_pid' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) ^ /kisskb/src/kernel/bpf/helpers.c:2283:19: warning: no previous prototype for 'bpf_dynptr_slice' [-Wmissing-prototypes] __bpf_kfunc void *bpf_dynptr_slice(const struct bpf_dynptr_kern *ptr, u32 offset, ^ /kisskb/src/kernel/bpf/helpers.c:2367:19: warning: no previous prototype for 'bpf_dynptr_slice_rdwr' [-Wmissing-prototypes] __bpf_kfunc void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr_kern *ptr, u32 offset, ^ /kisskb/src/kernel/bpf/helpers.c:2398:17: warning: no previous prototype for 'bpf_dynptr_adjust' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_adjust(struct bpf_dynptr_kern *ptr, u32 start, u32 end) ^ /kisskb/src/kernel/bpf/helpers.c:2416:18: warning: no previous prototype for 'bpf_dynptr_is_null' [-Wmissing-prototypes] __bpf_kfunc bool bpf_dynptr_is_null(struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2421:18: warning: no previous prototype for 'bpf_dynptr_is_rdonly' [-Wmissing-prototypes] __bpf_kfunc bool bpf_dynptr_is_rdonly(struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2429:19: warning: no previous prototype for 'bpf_dynptr_size' [-Wmissing-prototypes] __bpf_kfunc __u32 bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2437:17: warning: no previous prototype for 'bpf_dynptr_clone' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_clone(struct bpf_dynptr_kern *ptr, ^ /kisskb/src/kernel/bpf/helpers.c:2450:19: warning: no previous prototype for 'bpf_cast_to_kern_ctx' [-Wmissing-prototypes] __bpf_kfunc void *bpf_cast_to_kern_ctx(void *obj) ^ /kisskb/src/kernel/bpf/helpers.c:2455:19: warning: no previous prototype for 'bpf_rdonly_cast' [-Wmissing-prototypes] __bpf_kfunc void *bpf_rdonly_cast(void *obj__ign, u32 btf_id__k) ^ /kisskb/src/kernel/bpf/helpers.c:2460:18: warning: no previous prototype for 'bpf_rcu_read_lock' [-Wmissing-prototypes] __bpf_kfunc void bpf_rcu_read_lock(void) ^ /kisskb/src/kernel/bpf/helpers.c:2465:18: warning: no previous prototype for 'bpf_rcu_read_unlock' [-Wmissing-prototypes] __bpf_kfunc void bpf_rcu_read_unlock(void) ^ /kisskb/src/kernel/bpf/helpers.c:2494:18: warning: no previous prototype for 'bpf_throw' [-Wmissing-prototypes] __bpf_kfunc void bpf_throw(u64 cookie) ^ /kisskb/src/kernel/bpf/map_iter.c:198:17: warning: no previous prototype for 'bpf_map_sum_elem_count' [-Wmissing-prototypes] __bpf_kfunc s64 bpf_map_sum_elem_count(const struct bpf_map *map) ^ /kisskb/src/kernel/bpf/task_iter.c:827:17: warning: no previous prototype for 'bpf_iter_task_vma_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, ^ /kisskb/src/kernel/bpf/task_iter.c:871:36: warning: no previous prototype for 'bpf_iter_task_vma_next' [-Wmissing-prototypes] __bpf_kfunc struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) ^ /kisskb/src/kernel/bpf/task_iter.c:880:18: warning: no previous prototype for 'bpf_iter_task_vma_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) ^ /kisskb/src/kernel/bpf/task_iter.c:905:17: warning: no previous prototype for 'bpf_iter_css_task_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_css_task_new(struct bpf_iter_css_task *it, ^ /kisskb/src/kernel/bpf/task_iter.c:930:33: warning: no previous prototype for 'bpf_iter_css_task_next' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:939:18: warning: no previous prototype for 'bpf_iter_css_task_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:974:17: warning: no previous prototype for 'bpf_iter_task_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_task_new(struct bpf_iter_task *it, ^ /kisskb/src/kernel/bpf/task_iter.c:1005:33: warning: no previous prototype for 'bpf_iter_task_next' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:1038:18: warning: no previous prototype for 'bpf_iter_task_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_task_destroy(struct bpf_iter_task *it) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/core/xdp.c:711:17: warning: no previous prototype for 'bpf_xdp_metadata_rx_timestamp' [-Wmissing-prototypes] __bpf_kfunc int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) ^ /kisskb/src/net/core/xdp.c:733:17: warning: no previous prototype for 'bpf_xdp_metadata_rx_hash' [-Wmissing-prototypes] __bpf_kfunc int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/trace/bpf_trace.c:1282:29: warning: no previous prototype for 'bpf_lookup_user_key' [-Wmissing-prototypes] __bpf_kfunc struct bpf_key *bpf_lookup_user_key(u32 serial, u64 flags) ^ /kisskb/src/kernel/trace/bpf_trace.c:1331:29: warning: no previous prototype for 'bpf_lookup_system_key' [-Wmissing-prototypes] __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) ^ /kisskb/src/kernel/trace/bpf_trace.c:1355:18: warning: no previous prototype for 'bpf_key_put' [-Wmissing-prototypes] __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) ^ /kisskb/src/kernel/trace/bpf_trace.c:1375:17: warning: no previous prototype for 'bpf_verify_pkcs7_signature' [-Wmissing-prototypes] __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/cgroup_iter.c:310:17: warning: no previous prototype for 'bpf_iter_css_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_css_new(struct bpf_iter_css *it, ^ /kisskb/src/kernel/bpf/cgroup_iter.c:334:41: warning: no previous prototype for 'bpf_iter_css_next' [-Wmissing-prototypes] __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) ^ /kisskb/src/kernel/bpf/cgroup_iter.c:355:18: warning: no previous prototype for 'bpf_iter_css_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_css_destroy(struct bpf_iter_css *it) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/cpumask.c:49:33: warning: no previous prototype for 'bpf_cpumask_create' [-Wmissing-prototypes] __bpf_kfunc struct bpf_cpumask *bpf_cpumask_create(void) ^ /kisskb/src/kernel/bpf/cpumask.c:75:33: warning: no previous prototype for 'bpf_cpumask_acquire' [-Wmissing-prototypes] __bpf_kfunc struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:89:18: warning: no previous prototype for 'bpf_cpumask_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_release(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:106:17: warning: no previous prototype for 'bpf_cpumask_first' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:119:17: warning: no previous prototype for 'bpf_cpumask_first_zero' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:133:17: warning: no previous prototype for 'bpf_cpumask_first_and' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first_and(const struct cpumask *src1, ^ /kisskb/src/kernel/bpf/cpumask.c:144:18: warning: no previous prototype for 'bpf_cpumask_set_cpu' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:157:18: warning: no previous prototype for 'bpf_cpumask_clear_cpu' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:174:18: warning: no previous prototype for 'bpf_cpumask_test_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:191:18: warning: no previous prototype for 'bpf_cpumask_test_and_set_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:209:18: warning: no previous prototype for 'bpf_cpumask_test_and_clear_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:221:18: warning: no previous prototype for 'bpf_cpumask_setall' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_setall(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:230:18: warning: no previous prototype for 'bpf_cpumask_clear' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_clear(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:247:18: warning: no previous prototype for 'bpf_cpumask_and' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_and(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:262:18: warning: no previous prototype for 'bpf_cpumask_or' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_or(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:277:18: warning: no previous prototype for 'bpf_cpumask_xor' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_xor(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:295:18: warning: no previous prototype for 'bpf_cpumask_equal' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:311:18: warning: no previous prototype for 'bpf_cpumask_intersects' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:327:18: warning: no previous prototype for 'bpf_cpumask_subset' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:342:18: warning: no previous prototype for 'bpf_cpumask_empty' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_empty(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:357:18: warning: no previous prototype for 'bpf_cpumask_full' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_full(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:369:18: warning: no previous prototype for 'bpf_cpumask_copy' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) ^ /kisskb/src/kernel/bpf/cpumask.c:384:17: warning: no previous prototype for 'bpf_cpumask_any_distribute' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:402:17: warning: no previous prototype for 'bpf_cpumask_any_and_distribute' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 # Build took: 0:02:59.676818