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; [...]