From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D9B0EDE for ; Tue, 15 Aug 2023 16:58:07 +0000 (UTC) Received: from out-24.mta0.migadu.com (out-24.mta0.migadu.com [91.218.175.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A620199D for ; Tue, 15 Aug 2023 09:58:00 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1692118678; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WXsAge2JaM6jF1PNEZebfO6b8615YzR0rfBiFY7o/1E=; b=s+eyj0K0Bue3Tlbc51qYsQN9HzycPhcICDPlOHtpvgipgNUsR6rnq9yYrdYJ7j9czg/khL SzMWiz7Cp10c69wpTMXKwsaa8fKfDPkbsjzVxPXqHB9AsY8WZyNmRK3z1hALk4gZ8QF9tz LiHYrnv9SspaX4VY05S/s7oyRRXodXI= Date: Tue, 15 Aug 2023 09:57:50 -0700 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-To: yonghong.song@linux.dev Subject: Re: [PATCH bpf-next 7/7] selftests/bpf: Enable cpu v4 tests for arm64 Content-Language: en-US To: Xu Kuohai , bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Alexei Starovoitov , Andrii Nakryiko , Catalin Marinas , Daniel Borkmann , Martin KaFai Lau , Will Deacon , Mark Rutland , Yonghong Song , Zi Shen Lim References: <20230815154158.717901-1-xukuohai@huaweicloud.com> <20230815154158.717901-8-xukuohai@huaweicloud.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: <20230815154158.717901-8-xukuohai@huaweicloud.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On 8/15/23 8:41 AM, Xu Kuohai wrote: > From: Xu Kuohai > > Enable cpu v4 instruction tests for arm64. > > Signed-off-by: Xu Kuohai Thanks for adding cpu v4 support for arm64. The CI looks green as well for arm64. https://github.com/kernel-patches/bpf/actions/runs/5868919914/job/15912774884?pr=5525 Ack this patch which enabled cpu v4 tests for arm64. Acked-by: Yonghong Song > --- > tools/testing/selftests/bpf/progs/test_ldsx_insn.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_bswap.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_gotol.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_ldsx.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_movsx.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_sdiv.c | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/tools/testing/selftests/bpf/progs/test_ldsx_insn.c b/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > index 321abf862801..916d9435f12c 100644 > --- a/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > +++ b/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > @@ -5,7 +5,7 @@ > #include > #include > > -#if defined(__TARGET_ARCH_x86) && __clang_major__ >= 18 > +#if (defined(__TARGET_ARCH_arm64) || defined(__TARGET_ARCH_x86)) && __clang_major__ >= 18 > const volatile int skip = 0; > #else > const volatile int skip = 1; [...] From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA498C0015E for ; Tue, 15 Aug 2023 16:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PZXl/SkYSQQYp+uoOf+fa4zKTpCHiI9Wkrj/EAo1bTk=; b=CDDQnT+nWt4Y0e 2+0Ym/mGIMj4+LhrA/1HotZIpsU2GosoSm5E9LmlYNTI3CqlyA/KTgJuT2wub/H8XJtscc1qRJPV8 i5EmDCV/gSPWF5xCReqJYv0gPPdxAXI6jmRB/QAwpGud6+4TvhTPgat+cN+AhW1DvCdC0zShf4sAa g0RSted/lg9t5+m0gSO5Ubb3YD9743/JHSs9NN/Dvh1aQXNcc4irTISzlDDtGimklGJZMRtPOnJcn j8fE7B/yipvR/CdwkQStsTgizl2CZp2/UDYm1zP5k3OE/UoxKhFm3nywJBNM20AuuCL8u/KwuaeK2 sqqZIWHL1BZFzESv1MEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVxMx-0021lB-36; Tue, 15 Aug 2023 16:58:11 +0000 Received: from out-9.mta0.migadu.com ([91.218.175.9]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVxMu-0021hr-2I for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2023 16:58:10 +0000 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1692118678; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WXsAge2JaM6jF1PNEZebfO6b8615YzR0rfBiFY7o/1E=; b=s+eyj0K0Bue3Tlbc51qYsQN9HzycPhcICDPlOHtpvgipgNUsR6rnq9yYrdYJ7j9czg/khL SzMWiz7Cp10c69wpTMXKwsaa8fKfDPkbsjzVxPXqHB9AsY8WZyNmRK3z1hALk4gZ8QF9tz LiHYrnv9SspaX4VY05S/s7oyRRXodXI= Date: Tue, 15 Aug 2023 09:57:50 -0700 MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 7/7] selftests/bpf: Enable cpu v4 tests for arm64 Content-Language: en-US To: Xu Kuohai , bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Alexei Starovoitov , Andrii Nakryiko , Catalin Marinas , Daniel Borkmann , Martin KaFai Lau , Will Deacon , Mark Rutland , Yonghong Song , Zi Shen Lim References: <20230815154158.717901-1-xukuohai@huaweicloud.com> <20230815154158.717901-8-xukuohai@huaweicloud.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: <20230815154158.717901-8-xukuohai@huaweicloud.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_095809_178325_990849F5 X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: yonghong.song@linux.dev Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 8/15/23 8:41 AM, Xu Kuohai wrote: > From: Xu Kuohai > > Enable cpu v4 instruction tests for arm64. > > Signed-off-by: Xu Kuohai Thanks for adding cpu v4 support for arm64. The CI looks green as well for arm64. https://github.com/kernel-patches/bpf/actions/runs/5868919914/job/15912774884?pr=5525 Ack this patch which enabled cpu v4 tests for arm64. Acked-by: Yonghong Song > --- > tools/testing/selftests/bpf/progs/test_ldsx_insn.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_bswap.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_gotol.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_ldsx.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_movsx.c | 2 +- > tools/testing/selftests/bpf/progs/verifier_sdiv.c | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/tools/testing/selftests/bpf/progs/test_ldsx_insn.c b/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > index 321abf862801..916d9435f12c 100644 > --- a/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > +++ b/tools/testing/selftests/bpf/progs/test_ldsx_insn.c > @@ -5,7 +5,7 @@ > #include > #include > > -#if defined(__TARGET_ARCH_x86) && __clang_major__ >= 18 > +#if (defined(__TARGET_ARCH_arm64) || defined(__TARGET_ARCH_x86)) && __clang_major__ >= 18 > const volatile int skip = 0; > #else > const volatile int skip = 1; [...] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel