Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp508707lqo; Wed, 8 May 2024 06:46:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWE07W3NGP2n16GkmuAOXdX/rrew8opAP8jIidA3k6MOgawF+3O5KWHWMlFsw77U3IzOP1V2EwFrkEkqZnQkgbCbwkjgEguBIXk3q76g== X-Google-Smtp-Source: AGHT+IHjNBpbY5XHg/xnqvCgBoiY6p5sHrr6YWfL5JMQe5+DnjF5VtWkuiA1S4OvGD2mT5nelUJI X-Received: by 2002:a92:c56f:0:b0:36a:fe5f:732d with SMTP id e9e14a558f8ab-36caece2216mr30093965ab.12.1715176012263; Wed, 08 May 2024 06:46:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715176012; cv=pass; d=google.com; s=arc-20160816; b=jw22B4ILoB3x17SwUn/FOTxIn6LMzQjAlu0dmgkvSC4YBs1lecgYwBKWm1WgFZrERT n+7wZxu0cQIqQsRAA81b7F16JZ2cHUJH1X7yDYoQlIVxB9/Zbo3ceCFpb4tW+4LzEcAV NijhAQHMYXd5HRfzDEE2oYm4jxOTMjiXpON5PwuPqXGpeD/c7qpCI3DzCLWb3gQg7mU7 x8z6jJmxcNhkPKpwlGyWMVRZhdxkuRvuNntBGc3FyklRmTw+Mw2++WChAa0VutzjTCnI h0+cZEf8mTYP5Y/uPurNEX8pf4V7168+OZbO7QPS/bvk6OY4OBDYgiFJA+uTVDaolV1J 6mQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=I+19SWPSW0fu+qzaX9SVA1UriNUxVkahSbKoE24ghRU=; fh=tC8OLk8bqlFVvcT33L27ejXU6+c1lj85xtqeQGxRh80=; b=Ov9hhUhjKnu5Fsx0RWnbc+6ymC/LfZaoeO2Xi43P5jJxONR+3SLSDKg+CizcDz2i+Z PbJrwYUozNaEozoTmdoIsjEryE4BZrXAI+mczCpLoJDEP4YLPEJwJZzGy+IHuBOfW1vz icSjtsoQHKso/TnJw5LymLsMOshvoSHn07COPjSFW1Lu/oDQ5jY0fd4Ar0rqHhV2yiRD y5aKUMIE+KyoOGnGsgEheMDy3nfr3RH7709vJbqJ11Siqg+7Jch7+zEaegKrDHud3Jyr KS/fMtMFUTNhe9LNSujQXSazmJ+9RYlWEoFQaKlluITEbiBrMtOP3vblFZTjQrOUb6mJ +UFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-173335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173335-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q21-20020a632a15000000b005dc12b1dd59si12441175pgq.128.2024.05.08.06.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 06:46:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-173335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173335-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E1D528C713 for ; Wed, 8 May 2024 13:42:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20D0D84FC4; Wed, 8 May 2024 13:41:58 +0000 (UTC) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 14A5F7CF18; Wed, 8 May 2024 13:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715175717; cv=none; b=G5sD5I/jkfmUA9l3m67vKoWUw4vBHQPthbySzbwpEfbSitloajMG71+ADV2Y+XUN5ITUj/PElwK7Wv7+YR0hvtzOgoYESYDG+8KcX7i1QrXvtLLrV7EeIUm+c80xS2G0nDw878Sxb3ZoYpzwoZs5wLojuXCLPLUUl2521udttxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715175717; c=relaxed/simple; bh=l58XFGkABLDTN6QAKvg2jQCCAeS3M9CarSf2paN6xx8=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=I1WVndIjJVZoPyhYokxavweGVZHlV4iuwRbhXM6/SYA7DE3AyjZYeZMSoiAqz9+LZnGRF4uAXEZPTVf5y4IaIUmqcU1dmLBzVbLUF/WxdUKllgSwMFfsz/S1unt7VWlvJfUPRdG+Ho2qprOERDM6IeQiPIMJpq4O1JnQtmY+xbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VZGXK4YBmz4x3k; Wed, 8 May 2024 23:41:53 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Nicholas Piggin , "Aneesh Kumar K.V" , "Naveen N. Rao" , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org In-Reply-To: <91de862dda99d170697eb79ffb478678af7e0b27.1709652689.git.christophe.leroy@csgroup.eu> References: <91de862dda99d170697eb79ffb478678af7e0b27.1709652689.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/bpf/32: Fix failing test_bpf tests Message-Id: <171517558551.165093.13897722350418535881.b4-ty@ellerman.id.au> Date: Wed, 08 May 2024 23:39:45 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 05 Mar 2024 16:36:23 +0100, Christophe Leroy wrote: > Recent additions in BPF like cpu v4 instructions, test_bpf module > exhibits the following failures: > > test_bpf: #82 ALU_MOVSX | BPF_B jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times) > test_bpf: #83 ALU_MOVSX | BPF_H jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times) > test_bpf: #84 ALU64_MOVSX | BPF_B jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times) > test_bpf: #85 ALU64_MOVSX | BPF_H jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times) > test_bpf: #86 ALU64_MOVSX | BPF_W jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times) > > [...] Applied to powerpc/next. [1/1] powerpc/bpf/32: Fix failing test_bpf tests https://git.kernel.org/powerpc/c/8ecf3c1dab1c675721d3d0255556abe2306fa340 cheers