From patchwork Fri Oct 21 21:06:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manu Bretelle X-Patchwork-Id: 13015484 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A435BC433FE for ; Fri, 21 Oct 2022 21:07:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbiJUVHj (ORCPT ); Fri, 21 Oct 2022 17:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiJUVHi (ORCPT ); Fri, 21 Oct 2022 17:07:38 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7AC2A1D9C for ; Fri, 21 Oct 2022 14:07:38 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id n7so3456240plp.1 for ; Fri, 21 Oct 2022 14:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZipgOaqVPJvYNPVt+g/MBMEIjOBL/0dtLxHAV4k7HPY=; b=qXGs2TrMR877Wk0bT8nZ6nBEIMaj+LQmvvTTQvmmHuF4gZxYTG+WtEvXY6yCIlJApW TnX7D1AK5AbCGG14Pe4gWvmhVLt4qeIY7VOzmDOCcMQ/y6v6hzwgUZA4046is+AIEvgi AkELzZBzdIsoRtdhc6VUrsLnggu2DiTQY/piIkTTZ/S3pxkWgQg8yAMvw6mf6sI82egW lSYlhkPTwiSMhI+bA9I4RMOMQPkAtFdr07HuqTtYFPM2up9gLkG1Kb60FQ4m5PsQlZGg VHX/3GtSDJHvkPMIh/rpUg/oeJS3yy70T+SWHY+GgZK/4mXnwS9QtTdeJID9bzv5sm9u hE+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZipgOaqVPJvYNPVt+g/MBMEIjOBL/0dtLxHAV4k7HPY=; b=qzQ98OAZ5iFzHkdOimBbBUhR1qZYS+dTis4fLWzU566Q05BEQtYZ2vg50m2bM1s5LG 5A5wcTJlCW8xvclb9iOShFWGCRxnOt4AFs1G/k6Pq7zSZYWGk/HgEZmQNUso1EXFyaay f4yz/mBJaZvJVVzlDf15ECtUZWALehQHJtkLq3S1Gf0ix7pnTGi8mFIRdLMbqEBNlh9U 4wUfWLVmlZcTC/Q3EJZZrndz/j9HQt/J48gEZYgl0O0XIyNCruLHl678xFExgNmDs8EF XVlYkrS5Q4FgBNZIZEX+yKJSYBJ2GH/24Y5U7MJlw68nmB4CeujK4jtgPv1UL++RacYR ZNLQ== X-Gm-Message-State: ACrzQf3kG+ZYxZXI18gSDSLVCiVzgFhvRjz1DX2rroMwFb8mRmrekOv0 H+O+4+Z/md4d+QKBP7j7bDM= X-Google-Smtp-Source: AMsMyM748mu3rCIF36GoFkGh8VGQ/+s+vnVe407GCgw/ucxVHsz6SUhwGBAoQCBa6FRVZHAtvo7DRg== X-Received: by 2002:a17:902:c942:b0:180:3f94:2975 with SMTP id i2-20020a170902c94200b001803f942975mr21098254pla.50.1666386457460; Fri, 21 Oct 2022 14:07:37 -0700 (PDT) Received: from localhost (fwdproxy-prn-008.fbsv.net. [2a03:2880:ff:8::face:b00c]) by smtp.gmail.com with ESMTPSA id h10-20020a170902680a00b0017300ec80b0sm15083246plk.308.2022.10.21.14.07.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 14:07:36 -0700 (PDT) From: Manu Bretelle To: chantr4@gmail.com, bpf@vger.kernel.org, andrii@kernel.org, mykolal@fb.com, daniel@iogearbox.net, martin.lau@linux.dev, yhs@fb.com Subject: [PATCH bpf-next 1/4] selftests/bpf: Remove entries from config.s390x already present in config Date: Fri, 21 Oct 2022 14:06:58 -0700 Message-Id: <20221021210701.728135-2-chantr4@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221021210701.728135-1-chantr4@gmail.com> References: <20221021210701.728135-1-chantr4@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net `config.s390x` had entries already present in `config`. When generating the config used by vmtest, we concatenate the `config` file with the `config.{arch}` one, making those entries duplicated. This patch removes that duplication. Before: $ comm -1 -2 <(sort tools/testing/selftests/bpf/config.s390x) <(sort tools/testing/selftests/bpf/config) CONFIG_MODULE_SIG=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y $ Ater: $ comm -1 -2 <(sort tools/testing/selftests/bpf/config.s390x) <(sort tools/testing/selftests/bpf/config) $ Signed-off-by: Manu Bretelle --- tools/testing/selftests/bpf/config.s390x | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/bpf/config.s390x b/tools/testing/selftests/bpf/config.s390x index f8a7a258a718..d49f6170e7bd 100644 --- a/tools/testing/selftests/bpf/config.s390x +++ b/tools/testing/selftests/bpf/config.s390x @@ -82,9 +82,6 @@ CONFIG_MARCH_Z196_TUNE=y CONFIG_MEMCG=y CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTREMOVE=y -CONFIG_MODULE_SIG=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULES=y CONFIG_NAMESPACES=y CONFIG_NET=y CONFIG_NET_9P=y From patchwork Fri Oct 21 21:06:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manu Bretelle X-Patchwork-Id: 13015485 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BA73C433FE for ; Fri, 21 Oct 2022 21:07:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229874AbiJUVHn (ORCPT ); Fri, 21 Oct 2022 17:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiJUVHn (ORCPT ); Fri, 21 Oct 2022 17:07:43 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215EA2A1D9C for ; Fri, 21 Oct 2022 14:07:42 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id f23so3434719plr.6 for ; Fri, 21 Oct 2022 14:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Uc+6uMEr+Nur58MWAQQndTb6Fg0AVFJzMYMHoCKwPXI=; b=HsVx+b3iYNOB9lcsYbZlmSux3HIqEiNlZDiE7p/zZ7bCMqGzNMAhZfw5f8kqvUXqMv PX935ep2Pr2PddigEb77p4gclPpPzSq7svPG+kotLLl5+fPrTaW7Tx9Atrgv6mh+vk0m MJPuL4rtS3YmtFQH8p5cu860Nh7o9DhPalei9YfUx5F3JB2wsQhFJlLyyAfAfGA9Zlj5 jXoreYMRmrVNMHchv7fhQrejmOeEES81+BlHuvGdeJJI3gxNj5vhZ0fRWetwqrkWrxUO ZFZL7kM8mG30uHSGF0LuDIBOys0JOGMdlMf79Z6E2DS4VJ3LoWtaskSyOtSwhO6KYzVr PhRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Uc+6uMEr+Nur58MWAQQndTb6Fg0AVFJzMYMHoCKwPXI=; b=PM+h+T4JeQFJb4DAJRdeeNWlngnHY0G8Q2bKrvLDsoUOAqH2ywa51HG23Avi00dnzH JxB5ikXJ7HmfP0KKspdCxVfgrkUUoxOCOknrRAdAM9qUtlvn8jL1a67+DnTYbStpK/6i BDUW6goz4xwtJ98P1K3ntAAiH8nHBjv6j4dk4rsx1dEdGkcvZpg/1fuEobkU0eBsPbqm K91SO/OWq6yg240mT2U0twN6Jxz8xRCJ3LAJ0fIvdGmPXMxDOXQKyYBFoZoN1iI7BO5h +K4mJjhLd89uSyaArvdcg8UpQ97urFOaIxq2H3BruRHz3S+4mQ9YjoejTtojnfvGunTZ H1pg== X-Gm-Message-State: ACrzQf2PsQUIQXc8/qfvlSBfnOTt0H20fYUADtSw2WLMJMpvcev5qiUz PGzSfd61YdSaeGh0S6OrvNw= X-Google-Smtp-Source: AMsMyM70ay2SrMC3eUGv5Y2G+ACQ/ZYTwhCZwDidxdc49TjeW70ZZX6Pc7wt0Cr+6ipUHT3tfYw4ww== X-Received: by 2002:a17:902:d502:b0:185:4eaf:fb0f with SMTP id b2-20020a170902d50200b001854eaffb0fmr21398762plg.139.1666386461470; Fri, 21 Oct 2022 14:07:41 -0700 (PDT) Received: from localhost (fwdproxy-prn-020.fbsv.net. [2a03:2880:ff:14::face:b00c]) by smtp.gmail.com with ESMTPSA id i10-20020a170902e48a00b00186616b8fbasm4022259ple.10.2022.10.21.14.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 14:07:40 -0700 (PDT) From: Manu Bretelle To: chantr4@gmail.com, bpf@vger.kernel.org, andrii@kernel.org, mykolal@fb.com, daniel@iogearbox.net, martin.lau@linux.dev, yhs@fb.com Subject: [PATCH bpf-next 2/4] selftests/bpf: Add config.aarch64 Date: Fri, 21 Oct 2022 14:06:59 -0700 Message-Id: <20221021210701.728135-3-chantr4@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221021210701.728135-1-chantr4@gmail.com> References: <20221021210701.728135-1-chantr4@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net config.aarch64, similarly to config.{s390x,x86_64} is a config enabling building a kernel on aarch64 to be used in bpf's selftests/kernel-patches CI. Signed-off-by: Manu Bretelle --- tools/testing/selftests/bpf/config.aarch64 | 181 +++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 tools/testing/selftests/bpf/config.aarch64 diff --git a/tools/testing/selftests/bpf/config.aarch64 b/tools/testing/selftests/bpf/config.aarch64 new file mode 100644 index 000000000000..1f0437644186 --- /dev/null +++ b/tools/testing/selftests/bpf/config.aarch64 @@ -0,0 +1,181 @@ +CONFIG_9P_FS=y +CONFIG_ARCH_VEXPRESS=y +CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y +CONFIG_ARM_SMMU_V3=y +CONFIG_ATA=y +CONFIG_AUDIT=y +CONFIG_BINFMT_MISC=y +CONFIG_BLK_CGROUP=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_BLK_DEV_IO_TRACE=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_SD=y +CONFIG_BONDING=y +CONFIG_BPFILTER=y +CONFIG_BPF_JIT_ALWAYS_ON=y +CONFIG_BPF_JIT_DEFAULT_ON=y +CONFIG_BPF_PRELOAD_UMD=y +CONFIG_BPF_PRELOAD=y +CONFIG_BRIDGE=m +CONFIG_CGROUP_CPUACCT=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_HUGETLB=y +CONFIG_CGROUP_NET_CLASSID=y +CONFIG_CGROUP_PERF=y +CONFIG_CGROUP_PIDS=y +CONFIG_CGROUP_SCHED=y +CONFIG_CGROUPS=y +CONFIG_CHECKPOINT_RESTORE=y +CONFIG_CHR_DEV_SG=y +CONFIG_COMPAT=y +CONFIG_CPUSETS=y +CONFIG_CRASH_DUMP=y +CONFIG_CRYPTO_USER_API_RNG=y +CONFIG_CRYPTO_USER_API_SKCIPHER=y +CONFIG_DEBUG_ATOMIC_SLEEP=y +CONFIG_DEBUG_INFO_BTF=y +CONFIG_DEBUG_INFO_DWARF4=y +CONFIG_DEBUG_LIST=y +CONFIG_DEBUG_LOCKDEP=y +CONFIG_DEBUG_NOTIFIERS=y +CONFIG_DEBUG_PAGEALLOC=y +CONFIG_DEBUG_SECTION_MISMATCH=y +CONFIG_DEBUG_SG=y +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_DEVTMPFS=y +CONFIG_DRM_VIRTIO_GPU=y +CONFIG_DRM=y +CONFIG_DUMMY=y +CONFIG_EXPERT=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_EXT4_FS=y +CONFIG_FANOTIFY=y +CONFIG_FB=y +CONFIG_FUNCTION_PROFILER=y +CONFIG_FUSE_FS=y +CONFIG_FW_CFG_SYSFS_CMDLINE=y +CONFIG_FW_CFG_SYSFS=y +CONFIG_GDB_SCRIPTS=y +CONFIG_HAVE_EBPF_JIT=y +CONFIG_HAVE_KPROBES_ON_FTRACE=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HEADERS_INSTALL=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_HUGETLBFS=y +CONFIG_HW_RANDOM_VIRTIO=y +CONFIG_HW_RANDOM=y +CONFIG_HZ_100=y +CONFIG_IDLE_PAGE_TRACKING=y +CONFIG_IKHEADERS=y +CONFIG_INET6_ESP=y +CONFIG_INET_ESP=y +CONFIG_INET=y +CONFIG_INPUT_EVDEV=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_IPV6_SEG6_LWTUNNEL=y +CONFIG_IPVLAN=y +CONFIG_JUMP_LABEL=y +CONFIG_KERNEL_UNCOMPRESSED=y +CONFIG_KPROBES_ON_FTRACE=y +CONFIG_KPROBES=y +CONFIG_KRETPROBES=y +CONFIG_KSM=y +CONFIG_LATENCYTOP=y +CONFIG_LIVEPATCH=y +CONFIG_LOCK_STAT=y +CONFIG_MACVLAN=y +CONFIG_MACVTAP=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_MAILBOX=y +CONFIG_MEMCG=y +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTREMOVE=y +CONFIG_NAMESPACES=y +CONFIG_NET_9P_VIRTIO=y +CONFIG_NET_9P=y +CONFIG_NET_ACT_BPF=y +CONFIG_NET_ACT_GACT=y +CONFIG_NETDEVICES=y +CONFIG_NETFILTER_XT_MATCH_BPF=y +CONFIG_NETFILTER_XT_TARGET_MARK=y +CONFIG_NET_KEY=y +CONFIG_NET_SCH_FQ=y +CONFIG_NET_VRF=y +CONFIG_NET=y +CONFIG_NF_TABLES=y +CONFIG_NLMON=y +CONFIG_NO_HZ_IDLE=y +CONFIG_NR_CPUS=256 +CONFIG_NUMA=y +CONFIG_OVERLAY_FS=y +CONFIG_PACKET_DIAG=y +CONFIG_PACKET=y +CONFIG_PANIC_ON_OOPS=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI=y +CONFIG_PL320_MBOX=y +CONFIG_POSIX_MQUEUE=y +CONFIG_PROC_KCORE=y +CONFIG_PROFILING=y +CONFIG_PROVE_LOCKING=y +CONFIG_PTDUMP_DEBUGFS=y +CONFIG_RC_DEVICES=y +CONFIG_RC_LOOPBACK=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PL031=y +CONFIG_RT_GROUP_SCHED=y +CONFIG_SAMPLE_SECCOMP=y +CONFIG_SAMPLES=y +CONFIG_SCHED_AUTOGROUP=y +CONFIG_SCHED_TRACER=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_SCSI_VIRTIO=y +CONFIG_SCSI=y +CONFIG_SECURITY_NETWORK=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_STACK_TRACER=y +CONFIG_STATIC_KEYS_SELFTEST=y +CONFIG_SYSVIPC=y +CONFIG_TASK_DELAY_ACCT=y +CONFIG_TASK_IO_ACCOUNTING=y +CONFIG_TASKSTATS=y +CONFIG_TASK_XACCT=y +CONFIG_TCG_TIS=y +CONFIG_TCG_TPM=y +CONFIG_TCP_CONG_ADVANCED=y +CONFIG_TCP_CONG_DCTCP=y +CONFIG_TLS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_TMPFS=y +CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TUN=y +CONFIG_UNIX=y +CONFIG_UPROBES=y +CONFIG_USELIB=y +CONFIG_USER_NS=y +CONFIG_VETH=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_FS=y +CONFIG_VIRTIO_INPUT=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_NET=y +CONFIG_VIRTIO_PCI=y +CONFIG_VLAN_8021Q=y +CONFIG_VSOCKETS=y +CONFIG_XFRM_USER=y From patchwork Fri Oct 21 21:07:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manu Bretelle X-Patchwork-Id: 13015486 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F085BC38A2D for ; Fri, 21 Oct 2022 21:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbiJUVHu (ORCPT ); Fri, 21 Oct 2022 17:07:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbiJUVHr (ORCPT ); Fri, 21 Oct 2022 17:07:47 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB472A389E for ; Fri, 21 Oct 2022 14:07:46 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id fw14so3448492pjb.3 for ; Fri, 21 Oct 2022 14:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=K6Zpojz0feLMZOeQeP0g59JppFIP23gOWz8BjgwVmK4=; b=HQaBDBpAieJdxxwGRx128yrDMWayiULJ9hxUvpMbkURAX5nrs5FYgL/NM+AJtLRfKd wzvuyjT16HGKWjyU6DWuZrcyFrTunpvby/bOTook2cAh8CNwcjJk82UlOsmBL6lhFC6g gbO4CoqOrV77+BPxP81IU5k33JrxzkCtazKixtHRRo0kzE41YaBjCNnwZGc5lQ417ir+ Lu3DIFiu9H81dCFd6+ZZZ39dWVb0XsFtye7SF2WhiyasTxGuC0ifi8ldBh8qfM6n5b0p /I+QuYZrLuRD8mPtY23of7fJF76AdpZ2H3r2I2e/seiLbAfIl4mSitQRpT1riqcR8i4I e6uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K6Zpojz0feLMZOeQeP0g59JppFIP23gOWz8BjgwVmK4=; b=a5WhCHnovjMOg5JuLAT9RIKnc72Cp0jJ2j/1KRjxoSP03mjRKZJvwHeaAFOYbziAfb pxM4o8c8gYg0zY1FMEn58CONGVgrKROrR0VOnMSqo8vLxzvHGAt1sXoZktUawlWA/dbx 1+LiQ58k+n6OQz/LwR5adr3Ql3FJFOSQ79V3AeGsW6j92yDLOKamG9VJ8Jl9NwgE2nWH B3nC+268mAhFuUHGhYn+V48r8dGT64qujvF7rVpz6OFEDvnMwVn6d9n3e+pIJ03ohUCs 2eJgETqoWzSWkGBOWZugyUoB7QNdc4FedT4/ylnPvv7jPtroIMYS2w4HBd8wBQxKXljT ZPIA== X-Gm-Message-State: ACrzQf3pHGM5zkrLojvwT+XS4JqMNJgA+q6QaDjSvY3rxDyh5Zn0posu /+8DDLU1AcdKFypYFGksxaA= X-Google-Smtp-Source: AMsMyM76hddSDTuEFBGKPvTyOXY1mua2HtMKj3kQ6eE1JT2ktUucIeE4bI2WkahrFR1gKdRlfgLgPQ== X-Received: by 2002:a17:902:d491:b0:185:499d:cc04 with SMTP id c17-20020a170902d49100b00185499dcc04mr20730399plg.22.1666386466076; Fri, 21 Oct 2022 14:07:46 -0700 (PDT) Received: from localhost (fwdproxy-prn-119.fbsv.net. [2a03:2880:ff:77::face:b00c]) by smtp.gmail.com with ESMTPSA id n11-20020a170903404b00b0017849a2b56asm5333886pla.46.2022.10.21.14.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 14:07:45 -0700 (PDT) From: Manu Bretelle To: chantr4@gmail.com, bpf@vger.kernel.org, andrii@kernel.org, mykolal@fb.com, daniel@iogearbox.net, martin.lau@linux.dev, yhs@fb.com Subject: [PATCH bpf-next 3/4] selftests/bpf: Update vmtests.sh to support aarch64 Date: Fri, 21 Oct 2022 14:07:00 -0700 Message-Id: <20221021210701.728135-4-chantr4@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221021210701.728135-1-chantr4@gmail.com> References: <20221021210701.728135-1-chantr4@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net Add handling of aarch64 when setting QEMU options and provide the right path to aarch64 kernel image. Signed-off-by: Manu Bretelle --- tools/testing/selftests/bpf/vmtest.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/bpf/vmtest.sh b/tools/testing/selftests/bpf/vmtest.sh index a29aa05ebb3e..316a56d680f2 100755 --- a/tools/testing/selftests/bpf/vmtest.sh +++ b/tools/testing/selftests/bpf/vmtest.sh @@ -21,6 +21,12 @@ x86_64) QEMU_FLAGS=(-cpu host -smp 8) BZIMAGE="arch/x86/boot/bzImage" ;; +aarch64) + QEMU_BINARY=qemu-system-aarch64 + QEMU_CONSOLE="ttyAMA0,115200" + QEMU_FLAGS=(-M virt,gic-version=3 -cpu host -smp 8) + BZIMAGE="arch/arm64/boot/Image" + ;; *) echo "Unsupported architecture" exit 1 From patchwork Fri Oct 21 21:07:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manu Bretelle X-Patchwork-Id: 13015487 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 783DAC38A2D for ; Fri, 21 Oct 2022 21:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230074AbiJUVHz (ORCPT ); Fri, 21 Oct 2022 17:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbiJUVHy (ORCPT ); Fri, 21 Oct 2022 17:07:54 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF5C2A1D9E for ; Fri, 21 Oct 2022 14:07:50 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id f9-20020a17090a654900b00210928389f8so7800207pjs.2 for ; Fri, 21 Oct 2022 14:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Z3fGSgweRZaQlIUtk+ggwNnuo6kcjIj5U7JrtK/7+Vw=; b=dq8yIr2g0mhiGN9nlgf8v6ToqL33iFay/XKyDAXsyXtSJ1JRc8XU/sKIm5wI3Qp9Gv aVuUuCoMKO+4R02wXrn6BISSBsk1KfgRwCYxhE0gWHlTdAGSLa6vB/TKeyhS5feJNHEq Shs3lZJu78jLZnmAto4KBQwuNPDTdc1CgHZ0WzoA/m4KTI4vu6fb4pXy5u8ONXdA6J4P q3JBSDN2dTVok8UbpnKKwdsHIv/6wnr5YCaFJrAVcR/Yn71vn0Z8zWdyaWODl2eta/Rp s7rCUTteEBVShiXOVfzF5wNEMUARfvIeGsVrmA5HLQ4Nys2UUOip7kYt311T2LCfj02K Gq4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z3fGSgweRZaQlIUtk+ggwNnuo6kcjIj5U7JrtK/7+Vw=; b=Iw69WZW4Pvmhjnzdo/QcjjJvQra5tccJwga5Dlh8TeES/aB62f2cWeqpZdwUA2d9YE GbRo/EwtcY/3PEanBFdj/g4/sPIf++Y3RYjmj30Lr0OV9MWZ0cDce3uNxDVgkndl0/CV +9QvhAY81RcdSX/Ha46+iCRIrTzlIDxNMAPpDlPPZymTya9FYOm6YzJf7t60fT7PCc/5 EMM3ltOeFLL4yDS0VxYOUKFXOUPmoDEIEbda4b/EC40wEtEMor+fyadJIVMKWPM5gDvc So/TNdm5IVSzeLuPqUBUbyUSJMRGn9KmKWixCNjTjmhkP2tXI9kke9xckDDptLBYwweB vEwg== X-Gm-Message-State: ACrzQf1R5QOvohcSFmL5AhBFn2Ovxm0OiqTgjGIMvUP/PNlBDPuDolMP DpWI1YkkIW+0LjxyT81V1g8= X-Google-Smtp-Source: AMsMyM5MUqo6QBlwq+NiVsP2y1t0xs7KXukVRWU7uuJuIN9qngGAGZPZVKYV/mNdglDqtWKgkwviUw== X-Received: by 2002:a17:90b:4b0e:b0:20d:213b:1083 with SMTP id lx14-20020a17090b4b0e00b0020d213b1083mr24827690pjb.208.1666386469632; Fri, 21 Oct 2022 14:07:49 -0700 (PDT) Received: from localhost (fwdproxy-prn-005.fbsv.net. [2a03:2880:ff:5::face:b00c]) by smtp.gmail.com with ESMTPSA id b65-20020a62cf44000000b0053e6d352ae4sm15550107pfg.24.2022.10.21.14.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 14:07:49 -0700 (PDT) From: Manu Bretelle To: chantr4@gmail.com, bpf@vger.kernel.org, andrii@kernel.org, mykolal@fb.com, daniel@iogearbox.net, martin.lau@linux.dev, yhs@fb.com Subject: [PATCH bpf-next 4/4] selftests/bpf: Initial DENYLIST for aarch64 Date: Fri, 21 Oct 2022 14:07:01 -0700 Message-Id: <20221021210701.728135-5-chantr4@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221021210701.728135-1-chantr4@gmail.com> References: <20221021210701.728135-1-chantr4@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net Those tests are currently failing on aarch64, ignore them until they are individually addressed. Using this deny list, vmtest.sh ran successfully using LLVM_STRIP=llvm-strip-16 CLANG=clang-16 \ tools/testing/selftests/bpf/vmtest.sh -- \ ./test_progs -d \ \"$(cat tools/testing/selftests/bpf/DENYLIST{,.aarch64} \ | cut -d'#' -f1 \ | sed -e 's/^[[:space:]]*//' \ -e 's/[[:space:]]*$//' \ | tr -s '\n' ','\ )\" Signed-off-by: Manu Bretelle --- tools/testing/selftests/bpf/DENYLIST.aarch64 | 81 ++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 tools/testing/selftests/bpf/DENYLIST.aarch64 diff --git a/tools/testing/selftests/bpf/DENYLIST.aarch64 b/tools/testing/selftests/bpf/DENYLIST.aarch64 new file mode 100644 index 000000000000..09416d5d2e33 --- /dev/null +++ b/tools/testing/selftests/bpf/DENYLIST.aarch64 @@ -0,0 +1,81 @@ +bloom_filter_map # libbpf: prog 'check_bloom': failed to attach: ERROR: strerror_r(-524)=22 +bpf_cookie/lsm +bpf_cookie/multi_kprobe_attach_api +bpf_cookie/multi_kprobe_link_api +bpf_cookie/trampoline +bpf_loop/check_callback_fn_stop # link unexpected error: -524 +bpf_loop/check_invalid_flags +bpf_loop/check_nested_calls +bpf_loop/check_non_constant_callback +bpf_loop/check_nr_loops +bpf_loop/check_null_callback_ctx +bpf_loop/check_stack +bpf_mod_race # bpf_mod_kfunc_race__attach unexpected error: -524 (errno 524) +bpf_tcp_ca/dctcp_fallback +btf_dump/btf_dump: var_data # find type id unexpected find type id: actual -2 < expected 0 +cgroup_hierarchical_stats # attach unexpected error: -524 (errno 524) +d_path/basic # setup attach failed: -524 +deny_namespace # attach unexpected error: -524 (errno 524) +fentry_fexit # fentry_attach unexpected error: -1 (errno 524) +fentry_test # fentry_attach unexpected error: -1 (errno 524) +fexit_sleep # fexit_attach fexit attach failed: -1 +fexit_stress # fexit attach unexpected fexit attach: actual -524 < expected 0 +fexit_test # fexit_attach unexpected error: -1 (errno 524) +get_func_args_test # get_func_args_test__attach unexpected error: -524 (errno 524) (trampoline) +get_func_ip_test # get_func_ip_test__attach unexpected error: -524 (errno 524) (trampoline) +htab_update/reenter_update +kfree_skb # attach fentry unexpected error: -524 (trampoline) +kfunc_call/subprog # extern (var ksym) 'bpf_prog_active': not found in kernel BTF +kfunc_call/subprog_lskel # skel unexpected error: -2 +kfunc_dynptr_param/dynptr_data_null # libbpf: prog 'dynptr_data_null': failed to attach: ERROR: strerror_r(-524)=22 +kprobe_multi_test/attach_api_addrs # bpf_program__attach_kprobe_multi_opts unexpected error: -95 +kprobe_multi_test/attach_api_pattern # bpf_program__attach_kprobe_multi_opts unexpected error: -95 +kprobe_multi_test/attach_api_syms # bpf_program__attach_kprobe_multi_opts unexpected error: -95 +kprobe_multi_test/bench_attach # bpf_program__attach_kprobe_multi_opts unexpected error: -95 +kprobe_multi_test/link_api_addrs # link_fd unexpected link_fd: actual -95 < expected 0 +kprobe_multi_test/link_api_syms # link_fd unexpected link_fd: actual -95 < expected 0 +kprobe_multi_test/skel_api # kprobe_multi__attach unexpected error: -524 (errno 524) +ksyms_module/libbpf # 'bpf_testmod_ksym_percpu': not found in kernel BTF +ksyms_module/lskel # test_ksyms_module_lskel__open_and_load unexpected error: -2 +libbpf_get_fd_by_id_opts # test_libbpf_get_fd_by_id_opts__attach unexpected error: -524 (errno 524) +lookup_key # test_lookup_key__attach unexpected error: -524 (errno 524) +lru_bug # lru_bug__attach unexpected error: -524 (errno 524) +modify_return # modify_return__attach failed unexpected error: -524 (errno 524) +module_attach # skel_attach skeleton attach failed: -524 +mptcp/base # run_test mptcp unexpected error: -524 (errno 524) +netcnt # packets unexpected packets: actual 10001 != expected 10000 +recursion # skel_attach unexpected error: -524 (errno 524) +ringbuf # skel_attach skeleton attachment failed: -1 +setget_sockopt # attach_cgroup unexpected error: -524 +sk_storage_tracing # test_sk_storage_tracing__attach unexpected error: -524 (errno 524) +skc_to_unix_sock # could not attach BPF object unexpected error: -524 (errno 524) +socket_cookie # prog_attach unexpected error: -524 +stacktrace_build_id # compare_stack_ips stackmap vs. stack_amap err -1 errno 2 +task_local_storage/exit_creds # skel_attach unexpected error: -524 (errno 524) +task_local_storage/recursion # skel_attach unexpected error: -524 (errno 524) +test_bprm_opts # attach attach failed: -524 +test_ima # attach attach failed: -524 +test_local_storage # attach lsm attach failed: -524 +test_lsm # test_lsm_first_attach unexpected error: -524 (errno 524) +test_overhead # attach_fentry unexpected error: -524 +timer # timer unexpected error: -524 (errno 524) +timer_crash # timer_crash__attach unexpected error: -524 (errno 524) +timer_mim # timer_mim unexpected error: -524 (errno 524) +trace_printk # trace_printk__attach unexpected error: -1 (errno 524) +trace_vprintk # trace_vprintk__attach unexpected error: -1 (errno 524) +tracing_struct # tracing_struct__attach unexpected error: -524 (errno 524) +trampoline_count # attach_prog unexpected error: -524 +unpriv_bpf_disabled # skel_attach unexpected error: -524 (errno 524) +user_ringbuf/test_user_ringbuf_post_misaligned # misaligned_skel unexpected error: -524 (errno 524) +user_ringbuf/test_user_ringbuf_post_producer_wrong_offset +user_ringbuf/test_user_ringbuf_post_larger_than_ringbuf_sz +user_ringbuf/test_user_ringbuf_basic # ringbuf_basic_skel unexpected error: -524 (errno 524) +user_ringbuf/test_user_ringbuf_sample_full_ring_buffer +user_ringbuf/test_user_ringbuf_post_alignment_autoadjust +user_ringbuf/test_user_ringbuf_overfill +user_ringbuf/test_user_ringbuf_discards_properly_ignored +user_ringbuf/test_user_ringbuf_loop +user_ringbuf/test_user_ringbuf_msg_protocol +user_ringbuf/test_user_ringbuf_blocking_reserve +verify_pkcs7_sig # test_verify_pkcs7_sig__attach unexpected error: -524 (errno 524) +vmlinux # skel_attach skeleton attach failed: -524