Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp687478rdd; Tue, 9 Jan 2024 17:20:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFw7b/pwIKwUyZJ1zySYATutfEfXLQAieKLm6ETXUE7o3cgI7qe1IKxfKedVItkz6/r0DsM X-Received: by 2002:a17:907:944b:b0:a28:b6ca:8d5d with SMTP id dl11-20020a170907944b00b00a28b6ca8d5dmr199720ejc.98.1704849657897; Tue, 09 Jan 2024 17:20:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704849657; cv=none; d=google.com; s=arc-20160816; b=be7J/wFsraOIGGYGsJRkHfZB2FG0g0s855DRXomzk+VNGuL6a7v8EQGwBaufAZdQ9s Mv64SbXt8poSV3hc7tNZXHr5QX2++9obsFh3LfF7mrtSo3rswhfc34KXsUXedB1SZoeB pei2V1f4SbiGjHOEKnrClRkdclMPDiLsBBulI7m1Nd/Yrngcvp2gJMbuAiwg7fkemtj6 m/G48sNVqntJbI3xEBJGSJnCSBGJFYP1va0J3pSbBK0DqQ9nJGz3Rd6bJTlHrqz8Jx5S VkWgMuL+NTxRLlJVbZpryUI6RH59WSbHYgDXubDAwrcRImF2ZHrqQ6raOVY14mGi0iIv YxvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=jhu83ztv7XXs80gemSpj46lzPwgn/FbZO9oPLX9bC0s=; fh=76gQP/3xYbYtwhg7TQhCkqv3JNUlpkpCTO/bR3h3tFw=; b=ZX0FkwL3BwgV6C4qp8xYpnSr6CQYkmtnWwY0XleqmyNmmTBvsTfaffpi2AZthSwOaR m+ZbyslRx+keOzwIktht63m6Vr4+KPQIRnHPX+h4mlEZn6axWHiiJRXRGcAA14jQIIRZ Sf2oTpgWN/O4sUilks8C7QrWLJfunBmuwSv1xjANrdVfUSLYwgtNxCVtR9byNufaDJPo NdWC/+Bia8hqQGvzuBCtmThmy5+ksrIxtV1IouIIrBQJqHhwF4DrSIsoe3QUhBXMDRwW wVUSOG04++aaf2dJ8H7ckTFyHEqvNQpqzdtpOPiXvhzWcmXhaD3Vt9pm2VYcaRqh+zK/ 3HnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=BbGec+94; spf=pass (google.com: domain of linux-kernel+bounces-21621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d5-20020a170906370500b00a28aa2e2eaasi1225872ejc.70.2024.01.09.17.20.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 17:20:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=BbGec+94; spf=pass (google.com: domain of linux-kernel+bounces-21621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6663D1F24D3A for ; Wed, 10 Jan 2024 01:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FAF5186F; Wed, 10 Jan 2024 01:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="BbGec+94" Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C8261370 for ; Wed, 10 Jan 2024 01:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4298a0d5922so20965541cf.0 for ; Tue, 09 Jan 2024 17:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1704849641; x=1705454441; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jhu83ztv7XXs80gemSpj46lzPwgn/FbZO9oPLX9bC0s=; b=BbGec+941hc7LSsKf9+w8pHUBJ/4jBrc30e1HJDblVjdI49suUDSK79jKLRUbmn/qx h8uXUqhkbh++t0iPkGLcgVjrHjiXsOZG2YPxBuBgZWWrNJb64FibRKZcRyFIiZs0dDsT sodwmwF/j7cRYjXabMpOsC0KnhywnQsxQLGXcyjcnyCd/ep3SxKBsoq4dDkkv0VjbKRy +0XOa405U2qH0vr621EEYflaSpkpZZxPE4za195nn8HM6GlNbeill1WhiRK3e4Jyd7Ql QxZ1fqeOVegyk3lLVUdh8S7C8ZkpQuIIAZOfnMZtMVEFWx5Zn4+hGoClV+HKTXIy9aDY 1NeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704849641; x=1705454441; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jhu83ztv7XXs80gemSpj46lzPwgn/FbZO9oPLX9bC0s=; b=Sr4+3xmk99iopOhH3rPlIikT/6wFPVs+33KJibHPNWj7uYfZyFEAscU0rWqcck/FGf EANhak+gAnVkBy2wwcAN47p9ICh2r2O5mrK+09bQ16wGd47R5ZrqiIyNll/k7tsWgb7x KceE/+jsir4WRdXA2jnwiT4CSq5EkrRSOh4XAAZZB1rizWgq1SiAp+ECDHRVTGKXAUAp StKsIBJYj+hAjHC3Yp4uUgtKxeUIJJu10kINc0J44rSWjyybBmeLBtzULHBnmvpeBbOL MNXpCQg51OGaxZVToP1VzASWm0mfDqmEpuxD4qJePqtdNhdG1/9uV+CMBccejxRyP9Fh pqxA== X-Gm-Message-State: AOJu0YwajM75QVa8t+/jnNby/lRCspzQhbamsR3feS6h9xsZoJbZp4HJ 8I4hNp3/TGXryW/yF6rSpq30tLovro9X X-Received: by 2002:a05:622a:34a:b0:429:ae87:6609 with SMTP id r10-20020a05622a034a00b00429ae876609mr459829qtw.49.1704849640872; Tue, 09 Jan 2024 17:20:40 -0800 (PST) Received: from [192.168.1.31] (d-65-175-157-166.nh.cpe.atlanticbb.net. [65.175.157.166]) by smtp.gmail.com with ESMTPSA id h9-20020ac85689000000b004283595941csm1356094qta.24.2024.01.09.17.20.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 17:20:40 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 20:20:38 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 bpf-next 2/2] selftests/bpf: add inline assembly helpers to access array elements Content-Language: en-US To: Alexei Starovoitov Cc: Yonghong Song , Eddy Z , Jiri Olsa , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Song Liu , Matt Bobrowski , bpf , LKML References: <20240103185403.610641-1-brho@google.com> <20240103185403.610641-3-brho@google.com> <781a86b1-c02b-4bb8-bc79-bfbd4f2ff146@google.com> From: Barret Rhoden In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/9/24 20:06, Alexei Starovoitov wrote: > This is a known issue. > It's addressed as part of Maxim's series: > https://patchwork.kernel.org/user/todo/netdevbpf/?series=815208 great. feel free to drop my patch. but hopefully people find it useful in their own programs until maxim's series is widely available. i'll keep using them for the time being, since the "spill before verifying" was just one of many things i've seen. that, and it takes me a while to get new kernel features in production. =) thanks, barret