Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6260873rdb; Thu, 14 Dec 2023 12:54:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNKS6R8nkR1KnPoD7KMfdgHAJWyjs3/p3dggbLKT3FTmnoF1B6+QIFTdUdXxjqTQtNgtY9 X-Received: by 2002:a05:6a00:1808:b0:6cd:fbb8:e364 with SMTP id y8-20020a056a00180800b006cdfbb8e364mr5338896pfa.4.1702587282518; Thu, 14 Dec 2023 12:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702587282; cv=none; d=google.com; s=arc-20160816; b=Bw3xQng2zbhsgnOrTDYw9AK+r4mDalkYQ5akDU7CSyjWiZtcwp2z/IrF1MsMi6ufZu a+jLbY/eG6pfY115UbAF/5C8tL2Vd31UVhM1Fb6yuVP2U/pObRhXIZz2socKcPqUTVni HGosCcqk7efKnhT5mXYfVHCSrxNNno4XudSyNE/8J9hq0quoOn2I5qF+mssTvqkyjq7H FV1PH69k35rv/Jt3IRURNlhLk731Lu0B6g/sA3ajix244ysp04Q8/yJR7Pq8ME2t2Az+ dXeSNiHx3MfeQtvvL1o43i/9OI1s0Cq61yP66V6RNZ+VwmVEvQk71SVyHDzEQcqgzbSx Xl+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=EGYPk6/2LK4WB05DzAsE7gyIm4PhBFTb2r9q70jSsZY=; fh=elW7KqIB5kxcb8E9y+rVtkh2RmqxA7Zhg6UzSM6aNfE=; b=XhYpRIh5Ujz1TD2HbQTWzPxF2mL46bveBrLU52u9Cex+b03woGxbJhIEUCon22gNnd f17j39+dh9cze5cJhQDMcFA7NlbL1ZffAc9rzZuall05ImEgFK0HifwLg7Vauj0KHWzn 180/j5Xqk4m8+/NOPHe0Zqx3/GKh7jc4JuWGJqyCKU5aSlsZUemjiCRPtRPU+rzkNMbd lK+aCL6AmfzJkL/1SWMql7JRzIrtFnPbIM0UqKKhzCUqpaLRNk5HRyay8Vj7DMbsAu8w kvk9QSPLKm5ki+8ITn4YW1a4oWKxoYhgqIKhpnpH3kWJCaqW25gRN+GqTEewggvm+ERZ j4Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A0ZL9rv/"; spf=pass (google.com: domain of linux-kernel+bounces-94-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g3-20020a056a0023c300b006cedd840d8csi11540065pfc.62.2023.12.14.12.54.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 12:54:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A0ZL9rv/"; spf=pass (google.com: domain of linux-kernel+bounces-94-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C33A3B219F5 for ; Thu, 14 Dec 2023 20:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 583856DD0A; Thu, 14 Dec 2023 20:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A0ZL9rv/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 42CDB1110; Thu, 14 Dec 2023 20:53:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3360ae1b937so4539170f8f.0; Thu, 14 Dec 2023 12:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702587220; x=1703192020; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EGYPk6/2LK4WB05DzAsE7gyIm4PhBFTb2r9q70jSsZY=; b=A0ZL9rv/TCR847tKdOwWmNhARHOfMMpq6rGJzc6Ztg6Rbz35D4sWCVgBdJZpELCNS0 ObsEoLYfuR4D/VreB3pQzAdWGJMzilMYobk5dUmfSGZy43hIPCjhy6eb472CHUqwXt+o BvmfxfUUq7Hy2Sw05fYnF+ZD/7p7D9M+Z1BYupOEAtcOiKS5OivyJPTpkrcnOELQCoZJ +XZPrOq04IlWOskedEzJ+BP+zXd5WfM7yOgYNEhEIRZNvtItWo/SpYMy90o9fJ0a0rHY VPs8hPY1MVm2u1Np3wLYL5ZbAhlumXm8fvXpxChL2iI17iHcsfg5f4L8+uCnC8H+f+9M lEqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702587220; x=1703192020; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EGYPk6/2LK4WB05DzAsE7gyIm4PhBFTb2r9q70jSsZY=; b=uj1rcEeJtCrFyRPgBjg6+wH2r1fOrR0UFkMhqXCSC5vzy2IvlTQfF5AOkl9D111gWz zgaduFGjIvQnM1seP6pNkw7c92fop/ULnHXM//vDDog8UYnTvLRVvD1eC0Nz05sucPFz 3M4XQp2C0AEFajMQHjuElWKWF7yZbnJpOK/iS+YQpKODWOkesZ0CKSKQtP5v195UE8CU DnWIAP/J5pon3GI1UmyMpEwoGVVuFtPBeexWTqp4HX5Hy8wQdWR/VEY606trVaBBLgin wEHfIDXUzPYsQtQODPZ69V6Z6fB9I+K5gt87JeIorCW5d70mgVSjhP8+395wqxEYbnJG 3wcQ== X-Gm-Message-State: AOJu0YwJ4hZH9Csspx3FlckuvZ/SLNI4W0zjYWzcdNx9JFSRcX2odYVF PiFSVtLcNxVB5rXbJXKmxqEcskCCIyS1Puqlyrv1SRU5 X-Received: by 2002:a5d:54cd:0:b0:336:495c:8b39 with SMTP id x13-20020a5d54cd000000b00336495c8b39mr817426wrv.137.1702587220078; Thu, 14 Dec 2023 12:53:40 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Alexei Starovoitov Date: Thu, 14 Dec 2023 12:53:28 -0800 Message-ID: Subject: Re: [PATCH bpf-next v5 9/9] bpf: xfrm: Add selftest for bpf_xdp_get_xfrm_state() To: Daniel Xu Cc: Kumar Kartikeya Dwivedi , Eyal Birger , Daniel Borkmann , "David S. Miller" , Shuah Khan , Alexei Starovoitov , John Fastabend , Jakub Kicinski , Andrii Nakryiko , Jesper Dangaard Brouer , Steffen Klassert , antony.antony@secunet.com, Yonghong Song , Eddy Z , Mykola Lysenko , Martin KaFai Lau , Song Liu , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf , "open list:KERNEL SELFTEST FRAMEWORK" , LKML , Network Development , devel@linux-ipsec.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 12:24=E2=80=AFPM Daniel Xu wrote: > > > Looks like only x86 supports exceptions (looking at > bpf_jit_supports_exceptions()). > > This causes selftests in this patchset to fail on !x86, which is > unfortunate. We probably want to be running these tests on all the major > archs, so I will drop the assertion patches from this patchset. > > But since they're generally useful and I've already written the > selftests for it, I could put them up in another patchset? Or maybe not > cuz you're gonna fix it later anyways. WDYT? Yeah. don't use bpf_assert in generic tests yet. Only tests that test bpf_assert should use it. Pls send the ones you wrote separately, so they stay in email archives and we can pick them up later.