Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp232013pxu; Fri, 4 Dec 2020 01:44:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNFHtCwjfdAcLPa9140ILAPVv98JcBo7XVThLX+F0GxSMylXMRGKU6ZnP7ljr/rqH0N7NA X-Received: by 2002:a50:fc9a:: with SMTP id f26mr6530179edq.255.1607075062542; Fri, 04 Dec 2020 01:44:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607075062; cv=none; d=google.com; s=arc-20160816; b=d4SN2VlP/Q/WWPHc8tQe4ZTwpOw4+G/FHxsx/YZkVbXd2VqN0Xo+OV0cY00MWDxWDS sMPmqN4lMqeNNsTNzGzRHM2K5zYlsLqwvBe9cWeiKCCL2fLYyu90yc5KSxY5m3o7C4Jj WVivSDalj4oEGbKHOj0+XPQHr5S1xZmBKj4lKo0zEyIzsKNOjZ07WK3MBevPNzwyOWz4 VZSlvfbpAF4WwIxct6p6Ly6omUYN/KXdLC5ogzcVc5R737x3VM3ptwhhg7BXjbNgOW3b wB6hyG+cxpxSVxZy0d4YKaeT7OyXFbac8fmKSUSG8TbIh3OMyplNcIM6GXsrcpvwRmRS ryaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eo6TBMS+qk+t9M6N3qC5XSs2V4IF7uYP9cX9A/8rdaQ=; b=oEsWxOQPqvNARUCfI2zoPswO/zF9NgVOAGqx9WXnSfVdzRsivEl3fUNb0inzHuFXA0 1MNa7aFIJdFRpAej31wiiATJnEhgmBIWpjc4LwyvJveX02KVoTu9DR6/x0VlYo+OqQ4u l7uvBeE5nX7sa1/Xsgy9Xq68X20efZa5BJ+JAoik2AojQhKBWnvtB+fwZLlX7LkmkfJC +HNLgsDS5LeUSBtDzo53dAfz8ficI4YJGZOT2Chy/2+yP3KcgAT7F8OYWX90wLwRmT5p rrAVzvweV+ZSc080j4xSW2Ck1Zlq2NkEIGVP2tkWnr9mol/++tv67NM3TJyVGElByxOd yVWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sMR5PZlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si1164430ejd.193.2020.12.04.01.44.00; Fri, 04 Dec 2020 01:44:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sMR5PZlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387556AbgLDJl7 (ORCPT + 99 others); Fri, 4 Dec 2020 04:41:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729763AbgLDJl6 (ORCPT ); Fri, 4 Dec 2020 04:41:58 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 785DAC061A4F for ; Fri, 4 Dec 2020 01:41:18 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id p8so4658729wrx.5 for ; Fri, 04 Dec 2020 01:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eo6TBMS+qk+t9M6N3qC5XSs2V4IF7uYP9cX9A/8rdaQ=; b=sMR5PZlI4ZB+qaf6iZ55WyVSaZ0HlbSkRxQF7Yujg1nGd2BVJBKjTfcEZro4gdeTwV qkVVAs8qguQCB/IgBKa4q0l2uDo6u6Fd6Gt/ca/VrDrBBLqRIv267BrR19aOhBwPWQxW C7VGxCEiQCb9TizIm8ojjs03DpeftgzwoQaRh6ICl76aETNIoLBnfun0edwnaRZNmcYU pg9UjGTLitL8wN4Zzv0W8F+4U+EoH/5ZBkIoCmxyIXuBAEJmFow5UUunq9RTtyjqO8k5 C0jGc+ZQ/7EX/PzOyEl/P6mYbsueH6mDCQO8K+H1bYRxoHPNpeC8SVHMxLRNHz0VB2B+ OIzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eo6TBMS+qk+t9M6N3qC5XSs2V4IF7uYP9cX9A/8rdaQ=; b=lCQiksR/Vwo6UNxL+w3v3rAqBbTzGeVtPuDlVZtgIzD2ZtjqCclO3lt/c8ZhpFGste TYGL2nn6qAvaUSBm/LEeN0nEvnz3sx5QEeXARcG7Yq+1YMhr30XO3NfBNCQVxpG5m3iX Z4++SYBbWDbo8bqLr0qwnwTUupXPHyOwAY95aUTbvaC2sy9tHR/tEMajCIe7lZjRDCD0 hk5Uw5RE57EeoVkwqAgoLtYqOiDkTGgtOjZ0kwr1hTe61IsLppZIEKzkrtvxXgV/q5kT BC76/9tI/p4Ker1oqu7KBoJS4CEXYe+40YwpvMy5+LdKGLG1D8pIk/b8q+mx8atQ+NpN r/ug== X-Gm-Message-State: AOAM5303eWcdMb3AUn1L+o6hPEuQIdiq50pQyTufy/uQKESzUzBG8KZy zEr1Hgtjr1iYItuH0T+9UgkHIA== X-Received: by 2002:adf:8483:: with SMTP id 3mr3891625wrg.165.1607074876977; Fri, 04 Dec 2020 01:41:16 -0800 (PST) Received: from google.com (203.75.199.104.bc.googleusercontent.com. [104.199.75.203]) by smtp.gmail.com with ESMTPSA id l16sm2874013wrx.5.2020.12.04.01.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 01:41:16 -0800 (PST) Date: Fri, 4 Dec 2020 09:41:12 +0000 From: Brendan Jackman To: Andrii Nakryiko Cc: bpf , Alexei Starovoitov , Yonghong Song , Daniel Borkmann , KP Singh , Florent Revest , open list , Jann Horn Subject: Re: [PATCH bpf-next v3 12/14] bpf: Pull tools/build/feature biz into selftests Makefile Message-ID: References: <20201203160245.1014867-1-jackmanb@google.com> <20201203160245.1014867-13-jackmanb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 01:01:27PM -0800, Andrii Nakryiko wrote: > On Thu, Dec 3, 2020 at 8:07 AM Brendan Jackman wrote: > > > > This is somewhat cargo-culted from the libbpf build. It will be used > > in a subsequent patch to query for Clang BPF atomics support. > > > > Change-Id: I9318a1702170eb752acced35acbb33f45126c44c > > Haven't seen this before. What's this Change-Id business? Argh, apologies. Looks like it's time for me to adopt a less error-prone workflow for sending patches. (This is noise from Gerrit, which we sometimes use for internal reviews) > > Signed-off-by: Brendan Jackman > > --- > > tools/testing/selftests/bpf/.gitignore | 1 + > > tools/testing/selftests/bpf/Makefile | 38 ++++++++++++++++++++++++++ > > 2 files changed, 39 insertions(+) > > All this just to detect the support for clang atomics?... Let's not > pull in the entire feature-detection framework unnecessarily, > selftests Makefile is complicated enough without that. Then the test build would break for people who haven't updated Clang. Is that acceptable? I'm aware of cases where you need to be on a pretty fresh Clang for tests to _pass_ so maybe it's fine.