Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2167073rdh; Sat, 25 Nov 2023 16:55:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaWp/Nz7023WQPDUSfESpOsj2/pSRjVbqLHCJZgW2+ZlObQApGRyAOVnGnI9ouBR45KfE9 X-Received: by 2002:a05:6830:20cb:b0:6c6:18c7:7ca2 with SMTP id z11-20020a05683020cb00b006c618c77ca2mr9013938otq.12.1700960121536; Sat, 25 Nov 2023 16:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700960121; cv=none; d=google.com; s=arc-20160816; b=xIC7NQi4TnwpWpOdrqpcAZQifIIvzuj1t/1mVV6yfEUI5YrHhffnsJT/x/Qmo4hiOg UUAAPzaxrU3yk8/LfIuDzE03qC3YopWKKKKOt85jE2vUTTeOo6XapAZW+Mp7BF1ut5FP FWQBzD7IwcsW4eq4qANMbPKKH0wZkysX3qX7I9k5jjZG2UWlilQstLhADvLCXgsoxqLQ dWn4hQDyUcEiDuR5ZqjlMSTFKupRamyR0+R1gwad1PSKxCbGGo/MVUR8WKttjRAZbGjC 4cF+gyd09uyx2sc2tomYwFhtXjMGir8mjtuqYdC0kxN2WXM4/PUh2TR49iKNAwTJ3sMM mTYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pm7530G9R5pfBVSHYb/dMQNQOiOAcGaPuFGYV7ZlkY4=; fh=szun0kIFNP8v2i3xoocrC3cCbXUsdFEMeHG87BE687I=; b=dxr1gHlFLNtfU5ofcsusrr6pukuUAXSXM1uwOXtPj3ARAJQBkBb/ceokR3lW8rx9JH nGQdEj3nUk+L8jQqf0oByIXK9cVFvWtPVTegmeMH+Ef0Cx8Z7CtVCMEN69PtEkspXfe9 xe1Nu/pyk5qmrx0CZBAUwe6o4U3aD0eg0q50/finVUMamAgxlXrXXP1xqlYY+ubUpvTk MKRMhWIK8J51uC2nZBRkd4SOGUai62rFRMrbj5Rac7StFK7POzYh9HuBVJztjA2KO/NJ bEVcArfG46tmlMYjf0IF/J7e1Vv6h3frWZZNCKzGf7YQGNuuZWnutZjwIC4QccSgOSLW C/hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JO0XbUDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e14-20020a63db0e000000b005be0073639fsi6758530pgg.165.2023.11.25.16.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 16:55:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JO0XbUDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 137758043EFC; Sat, 25 Nov 2023 16:55:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229500AbjKZAyy (ORCPT + 99 others); Sat, 25 Nov 2023 19:54:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbjKZAyx (ORCPT ); Sat, 25 Nov 2023 19:54:53 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4475218C; Sat, 25 Nov 2023 16:54:59 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40b427507b7so2726985e9.2; Sat, 25 Nov 2023 16:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700960098; x=1701564898; 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=pm7530G9R5pfBVSHYb/dMQNQOiOAcGaPuFGYV7ZlkY4=; b=JO0XbUDa7+8Q04cgweiWXtN1WiPF/yS/Z7UGRxGlPNQgJGQujHbEhllqg6jve1JVYk iNN1raYRoh7pcTx61qdEqmoQw5GECQNStygGB+z/MmGjgIZ1nGscjtXxIOpS4jR/mEiS 1ZRVTaNhYl0dvhM/lov4kHPtDKO4Lycuagh5xS8lTG44GumwyBdn060I7B1vldef49jF 7mMLbtWlKPtr4GgCpIkqQMVGlE6WRd1RUAoOYIIABxC+kTnd0Ihe7AJ2d4pqDyNOCLzO riKEeN14gAVnNeH+sd6jRM3yRXR7OgWOyclFc58x1KouK2a6H3ebtdlKjl6ALsoR24Ga 07CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700960098; x=1701564898; 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=pm7530G9R5pfBVSHYb/dMQNQOiOAcGaPuFGYV7ZlkY4=; b=QVibthDLSpbzfToBMBLxqQjsgC+nvyvIlWLEvJy8002oMzv6SHiV1vqWBhOPyiUCQZ iF15moqt4ieviebSSRwBT1KfRJRb1FYoa5Of2yAC5S+xJT66pjHoMlNkf7n5zHgVM5C+ uQmyn26/kaQk0zqd7sWsQ90SjQHQ8gh4UIA6GFoesKNNwQacA68CnjMNT5TyY31QWuUH IzHNQGSm4zBPaNJT37SFd33/ksFg2BqmebEs4JFP+uBJCQ8ik6RhKys5Cy6px44Nx1ls gacc3Rn5HZ+J6hF7JfQS0awyDuPuuqu6z/3Mv7/lB0SP80AWT+QFWMzqQaqpzaNp13Ku jlBA== X-Gm-Message-State: AOJu0YwMpPskqarsNh/coFI+MV4CYYUeHmrmtDkeJ9A6obqtMJpYPJ+f QPiPqpxrA9/7UlD91xCGCd1bqUjfvPKJj3nOllU= X-Received: by 2002:a05:600c:1546:b0:405:3a3b:2aa2 with SMTP id f6-20020a05600c154600b004053a3b2aa2mr5697695wmg.37.1700960097336; Sat, 25 Nov 2023 16:54:57 -0800 (PST) MIME-Version: 1.0 References: <391d524c496acc97a8801d8bea80976f58485810.1700676682.git.dxu@dxuuu.xyz> <0f210cef-c6e9-41c1-9ba8-225f046435e5@linux.dev> In-Reply-To: <0f210cef-c6e9-41c1-9ba8-225f046435e5@linux.dev> From: Alexei Starovoitov Date: Sat, 25 Nov 2023 16:54:45 -0800 Message-ID: Subject: Re: [PATCH ipsec-next v1 6/7] bpf: selftests: test_tunnel: Disable CO-RE relocations To: Yonghong Song Cc: Daniel Xu , Shuah Khan , Daniel Borkmann , Andrii Nakryiko , Alexei Starovoitov , Steffen Klassert , antony.antony@secunet.com, Eddy Z , Mykola Lysenko , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf , "open list:KERNEL SELFTEST FRAMEWORK" , LKML , devel@linux-ipsec.org, Network Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 howler.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 (howler.vger.email [0.0.0.0]); Sat, 25 Nov 2023 16:55:19 -0800 (PST) On Sat, Nov 25, 2023 at 4:52=E2=80=AFPM Yonghong Song wrote: > > > > > diff --git a/tools/testing/selftests/bpf/progs/test_tunnel_kern.c b/too= ls/testing/selftests/bpf/progs/test_tunnel_kern.c > > index 3065a716544d..ec7e04e012ae 100644 > > --- a/tools/testing/selftests/bpf/progs/test_tunnel_kern.c > > +++ b/tools/testing/selftests/bpf/progs/test_tunnel_kern.c > > @@ -6,6 +6,7 @@ > > * modify it under the terms of version 2 of the GNU General Public > > * License as published by the Free Software Foundation. > > */ > > +#define BPF_NO_PRESERVE_ACCESS_INDEX > > This is a temporary workaround and hopefully we can lift it in the > near future. Please add a comment here with prefix 'Workaround' to > explain why this is needed and later on we can earliy search the > keyword and remember to tackle this. I suspect we will forget to remove this "workaround" and people will start copy pasting it. Let's change the test instead to avoid bitfield access.