Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3814368rwb; Fri, 30 Sep 2022 08:40:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4w3pUDY6CJgmeedNNxxncV37W+JNKTGEATGHITdyoWtB8l5kFJWSOitcJDzK9soTsaET4y X-Received: by 2002:a17:906:7956:b0:782:a340:5738 with SMTP id l22-20020a170906795600b00782a3405738mr7068956ejo.444.1664552414212; Fri, 30 Sep 2022 08:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664552414; cv=none; d=google.com; s=arc-20160816; b=dQRHfQSKK1XV+PsxHMP6PVWKoG0KXIRX8lTxTiv7U6KlboFijXgLuQZNs7pia/+mOw GEIeMyIp35urHVD4j3pIO5wRSHLsiACb+diwUWXhRBXNotvRVxtnRWBh8z8sIRBE99YF lTTJHtlKuxr1p1RkA1MHoXYYX9excHbbcoQwWfjpU1oSdNY0n2d5uVgfa6bJXz28NpU1 lXW7VA9DNWj9xo+PvOUgoVPc2wGPFjZo2hcnRd3QqjOElwXlKibWwbHHEa8Mq8aRoYnx 7ID7ygAEkxw5zdk385x1LB1yCaYlPTLGZAD/9XyClGlFE9SZqwNyTNjjeFr+fIpTgtIs BFMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=x7Hgs2iG5sX0wtqJxwvwxAv71bZdVVbmEMQ0IehiRro=; b=RGnrCmALSS1zpuKa3BtuSpi++0szubasF04U31D+wHxIu4pjfQrcBSvvQxfqN9lOWJ Vd1sFfNJVHnKPeivjv9Y1VqI8+Aj2w9ZtFBQneYcGWNkYqPUUb61jNDWQbLoPnT53jtf zs359XCIVHqU+hG0TX1+7BVE4bCcechIZdvwHnO8Wh7ODCurdPTJQ6qVt9uidknyU9ld mIKtzH+IXl2M44/kSXTnOzQxKDegIOLlGxGP6FREn9uFRmjaze47l/baD1I1lnrpMPX1 OLoq9xnVmNODl7fJBixaDYZUDBhuBybl5z/mN10cUzy5WphKBP3lsLGYdFuRI6twtU9y JsKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du2-20020a17090772c200b007822ad0075esi1980111ejc.376.2022.09.30.08.39.48; Fri, 30 Sep 2022 08:40:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbiI3Pdc (ORCPT + 99 others); Fri, 30 Sep 2022 11:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbiI3Pda (ORCPT ); Fri, 30 Sep 2022 11:33:30 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CB419869A; Fri, 30 Sep 2022 08:33:28 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 5C10B1884DF6; Fri, 30 Sep 2022 15:33:26 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 482782500015; Fri, 30 Sep 2022 15:33:26 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 3CBD79EC0002; Fri, 30 Sep 2022 15:33:26 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Fri, 30 Sep 2022 17:33:26 +0200 From: netdev@kapio-technology.com To: Ido Schimmel Cc: Jakub Kicinski , davem@davemloft.net, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Russell King , Christian Marangi , Daniel Borkmann , Yuwei Wang , Petr Machata , Florent Fourcot , Hans Schultz , Joachim Wiberg , Amit Cohen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v6 net-next 0/9] Extend locked port feature with FDB locked flag (MAC-Auth/MAB) In-Reply-To: References: <20220928150256.115248-1-netdev@kapio-technology.com> <20220929091036.3812327f@kernel.org> <12587604af1ed79be4d3a1607987483a@kapio-technology.com> <20220929112744.27cc969b@kernel.org> User-Agent: Gigahost Webmail Message-ID: X-Sender: netdev@kapio-technology.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-09-30 16:05, Ido Schimmel wrote: > What exactly is the issue? You should be able to run the tests with > veth > pairs in a VM. First there is an issue with alsa missing for some mixer tests, then there is several reports of sys/capability.h missing, and then just really many obscure problems that look like wrong lib versions are in place. Here is some of the long log of errors etc... :( In file included from lib/elf.c:8: include/test_util.h: In function ‘align_up’: include/test_util.h:134:7: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 134 | "size not a power of 2: %lu", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} include/test_util.h:54:43: note: in definition of macro ‘TEST_ASSERT’ 54 | test_assert((e), #e, __FILE__, __LINE__, fmt, ##__VA_ARGS__) | ^~~ include/test_util.h:134:33: note: format string is defined here 134 | "size not a power of 2: %lu", size); | ~~^ | | | long unsigned int | %llu include/test_util.h: In function ‘align_ptr_up’: include/test_util.h:150:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 150 | return (void *)align_up((unsigned long)x, size); | ^ In file included from include/kvm_util.h:10, from lib/elf.c:13: include/kvm_util_base.h: At top level: include/kvm_util_base.h:93:26: error: field ‘stats_header’ has incomplete type 93 | struct kvm_stats_header stats_header; | ^~~~~~~~~~~~ In file included from ../../../include/linux/kernel.h:8, from ../../../include/linux/list.h:7, from ../../../include/linux/hashtable.h:10, from include/kvm_util_base.h:13, from include/kvm_util.h:10, from lib/elf.c:13: include/kvm_util_base.h: In function ‘kvm_vm_reset_dirty_ring’: include/kvm_util_base.h:308:24: error: ‘KVM_RESET_DIRTY_RINGS’ undeclared (first use in this function); did you mean ‘KVM_GET_DIRTY_LOG’? 308 | return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); | ^~~~~~~~~~~~~~~~~~~~~ ../../../include/linux/build_bug.h:79:56: note: in definition of macro ‘__static_assert’ 79 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/kvm_util_base.h:193:2: note: in expansion of macro ‘static_assert’ 193 | static_assert(!_IOC_SIZE(cmd) || sizeof(*arg) == _IOC_SIZE(cmd), ""); \ | ^~~~~~~~~~~~~ include/kvm_util_base.h:216:2: note: in expansion of macro ‘kvm_do_ioctl’ 216 | kvm_do_ioctl((vm)->fd, cmd, arg); \ | ^~~~~~~~~~~~ include/kvm_util_base.h:308:9: note: in expansion of macro ‘__vm_ioctl’ 308 | return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); | ^~~~~~~~~~ include/kvm_util_base.h:308:24: note: each undeclared identifier is reported only once for each function it appears in 308 | return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); | ^~~~~~~~~~~~~~~~~~~~~ ../../../include/linux/build_bug.h:79:56: note: in definition of macro ‘__static_assert’ 79 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/kvm_util_base.h:193:2: note: in expansion of macro ‘static_assert’ 193 | static_assert(!_IOC_SIZE(cmd) || sizeof(*arg) == _IOC_SIZE(cmd), ""); \ | ^~~~~~~~~~~~~ include/kvm_util_base.h:216:2: note: in expansion of macro ‘kvm_do_ioctl’ 216 | kvm_do_ioctl((vm)->fd, cmd, arg); \ | ^~~~~~~~~~~~ include/kvm_util_base.h:308:9: note: in expansion of macro ‘__vm_ioctl’ 308 | return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); | ^~~~~~~~~~ include/kvm_util_base.h:193:16: error: expression in static assertion is not an integer 193 | static_assert(!_IOC_SIZE(cmd) || sizeof(*arg) == _IOC_SIZE(cmd), ""); \ | ^ ../../../include/linux/build_bug.h:79:56: note: in definition of macro ‘__static_assert’ 79 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/kvm_util_base.h:193:2: note: in expansion of macro ‘static_assert’ 193 | static_assert(!_IOC_SIZE(cmd) || sizeof(*arg) == _IOC_SIZE(cmd), ""); \ | ^~~~~~~~~~~~~ include/kvm_util_base.h:216:2: note: in expansion of macro ‘kvm_do_ioctl’ 216 | kvm_do_ioctl((vm)->fd, cmd, arg); \ | ^~~~~~~~~~~~ include/kvm_util_base.h:308:9: note: in expansion of macro ‘__vm_ioctl’ 308 | return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); | ^~~~~~~~~~ include/kvm_util_base.h: In function ‘vm_get_stats_fd’: include/kvm_util_base.h:313:26: error: ‘KVM_GET_STATS_FD’ undeclared (first use in this function); did you mean ‘KVM_GET_SREGS’? 313 | int fd = __vm_ioctl(vm, KVM_GET_STATS_FD, NULL); | ^~~~~~~~~~~~~~~~