From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 8A7AE22A4E1 for ; Sat, 20 Jun 2026 15:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781969255; cv=none; b=cP0spK5NGOTxLJ7yQsVFZgeAgIJXC45ghV/YV8g/ZytgB9UMc8BJOz5PDAa+JWRMla5zMLG8qwzcQZHIlHzVyiJ3wouHfC0IF5XUR5wuOuCsHNtZe9an+R0K7vEX6vWbjMie1jgtg/FdiYODM7OlWdQusiYjCKoFUCqipB+GIvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781969255; c=relaxed/simple; bh=LKgl2yGCAeXGesvUL7VMfbYsGCy8mUh34Xh+N14+g3M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jX+U4xQE0WM0k+NEcSn2AvqIPWhpxC6PK9io4XPLGDRfhCkA8uy0Er/AYP1b8E9pgkEtb7UjJRxKPDKGQvA66JbZtXIVdRh8bdMt/fjC2HrvEJ/ZCq+BZTKBF3ATfEwCxsDiyeNEQNJ1CxlJ3U2j6eWYgy3aQV1OurT8VlxIoaI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=aytbJl7i; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aytbJl7i" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781969242; 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=VL+yRD+WzB33/gwPxUctl39fBtkl41WGXKHo680bMpU=; b=aytbJl7ivnL0oX5WGY8RnpzkmFllxNqKwTMIfkZmsiZ4CtrxoYmW2kvqIuxQrxK6PJJxgq 7J6Kc33H4+3dTELWpnRUxlGxaPIFFp4dujsY3dFhV19fMBHharXulkbx3A1xmmiktbuh2Q 0Ht1BFWbzJTOyuPWULuHgq23oNaUVR0= Date: Sat, 20 Jun 2026 23:27:03 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v6 11/12] selftests/bpf: Add test to verify xlated insns for global percpu data To: Alexei Starovoitov Cc: bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Kumar Kartikeya Dwivedi , Song Liu , Yonghong Song , Jiri Olsa , John Fastabend , Quentin Monnet , Shuah Khan , LKML , "open list:KERNEL SELFTEST FRAMEWORK" , kernel-patches-bot@fb.com References: <20260615152646.27639-1-leon.hwang@linux.dev> <20260615152646.27639-12-leon.hwang@linux.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Leon Hwang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2026/6/20 11:29, Alexei Starovoitov wrote: [...] >> >> The point of the patch was to check that >> percpu_array_map_direct_value_meta() computes 'off' correctly against >> the 'off' encoded in ELF obj, and a mov64_percpu_reg insn should be >> added after loading the prog. > > If that was the goal then it wasn't achieved. Just test manually > that the 'off' is updated correctly and skip such selftest. > There is little value. > Got it. Will drop this patch. Thanks, Leon