Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1473677rdb; Wed, 6 Dec 2023 23:04:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGa1eZ8GEK++cibKpBxPAFdk79zsyusktccqB9y78Z1AmUUujib2jc4G3GBpfsHrNkWeE+Y X-Received: by 2002:a05:6602:14b:b0:7b3:deac:9c91 with SMTP id v11-20020a056602014b00b007b3deac9c91mr2399292iot.13.1701932657244; Wed, 06 Dec 2023 23:04:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701932657; cv=none; d=google.com; s=arc-20160816; b=evqjxd4lnVD6ZOp8QNDSUCRU+Mz0qm19SxX5s1rIufRRCOTDpCeEHY2DJbyOAOGkZx O6Y6i81+QSbvzySbqh7fvoEpCPBG43jCRR6txMSj1+z0ldGI+bsS448mkPW9QfQLAKkX 5McJuqsFNast8lPhZRnx+ujFCo7VJlASGW356N6+5ybvTp5XyODMuQmfk68bWzlrZIFY NsUlPwAlrs79Xiudn9bAPMJoK/cq2DI8IPKuulWngHC4o3Ca52l2VUOL81cGH+JL2874 ffmIGBpiKArr1Mk+fjg+8BvSwa3fF29JWbTz4NjY2Aec5OMcu0dEm8vwZWdkFcLUBGYp VyqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=od2iBZ+DhosKBwmyqP6nyM1tm8diqGtlq9CWOlRdPRg=; fh=sIVgYV/wNP4wv0XgEB7RWRZnZObY+6sDma1cc2Yfmy4=; b=cFbiYSd22huIgbELFUm4d/5PXTRFgffGnbdS4kwRnkMOYq4VXxk8pUkpjfgBf0/Ruq k9/SbUx4eDyT/7st7YDBjf/tanrMZfFTafZv0U9cL3T+dQTuin1R5T9IIutZoF4YSzh/ L512S/q7GvKq8uEjmEpGvFrU2AzYJaen8tslsWKpwAihKq1eHTVS7nwZEAat9roPQjwl rMGFs5+0KpS2wU3MexteWSmbmKVIaYodrnG++PIJus0DFrTMf+KRRqPSr3vof3ESgrtV L5qB6hRShWz7ZwbzqUifGMsdVfjeUW37M1HTA41CwWPWthrPawppknE/nt/1ijWpkeJc iv6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=q3BnKA7H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j31-20020a63595f000000b005bdd76219edsi665350pgm.675.2023.12.06.23.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 23:04:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=q3BnKA7H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 202A081F3821; Wed, 6 Dec 2023 23:04:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377634AbjLGHD5 (ORCPT + 99 others); Thu, 7 Dec 2023 02:03:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLGHD4 (ORCPT ); Thu, 7 Dec 2023 02:03:56 -0500 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [IPv6:2001:41d0:1004:224b::b6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2AB7128; Wed, 6 Dec 2023 23:04:01 -0800 (PST) Message-ID: <8b173550-c077-4506-ba7d-51d1a51344b7@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1701932639; h=from:from: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=od2iBZ+DhosKBwmyqP6nyM1tm8diqGtlq9CWOlRdPRg=; b=q3BnKA7HBUpa+L67WxI0hukeTxFT74uBMq5lYa9bbsjMxjoCIGnZb6O/cT5bkDMTZ2GdIt DDIco1FPNu8W6uq+eBnQo9dqUqs0POdaQxrBo6q29WDeeNmXop9kytQFIvYGhsxKvhxZFb I+7vj2Mjd8nRmBOGbmcQoM6XAPsWZcU= Date: Wed, 6 Dec 2023 23:03:52 -0800 MIME-Version: 1.0 Subject: Re: [PATCH RESEND bpf-next v1] test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_K Content-Language: en-GB To: Tiezhu Yang , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: Puranjay Mohan , bpf@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231207040851.19730-1-yangtiezhu@loongson.cn> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: <20231207040851.19730-1-yangtiezhu@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 23:04:14 -0800 (PST) On 12/6/23 11:08 PM, Tiezhu Yang wrote: > Currently, there are two test cases with same name > "ALU64_SMOD_X: -7 % 2 = -1", the first one is right, > the second one should be ALU64_SMOD_K because its > code is BPF_ALU64 | BPF_MOD | BPF_K. > > Before: > test_bpf: #170 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS > test_bpf: #171 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS > > After: > test_bpf: #170 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS > test_bpf: #171 ALU64_SMOD_K: -7 % 2 = -1 jited:1 4 PASS > > Fixes: daabb2b098e0 ("bpf/tests: add tests for cpuv4 instructions") > Signed-off-by: Tiezhu Yang Acked-by: Yonghong Song