From patchwork Tue Aug 20 13:41:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 171804 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4437392ily; Tue, 20 Aug 2019 06:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxaVRdrmLQq1MUENYCXq+jCZvgLl1/y1YUahonrzkfuUwQQd5SBJdR46Jzo3At5/RvsVN8 X-Received: by 2002:a17:90a:c386:: with SMTP id h6mr58205pjt.122.1566308506013; Tue, 20 Aug 2019 06:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566308506; cv=none; d=google.com; s=arc-20160816; b=BIN8KZ38YEnYQbj0JgKJ1XKfOCvYTha2ncZdkRdkBv1PL59nhlldjTJvitlKD89Npn syYeVQPbwK0rroNj3QXcqJkFwQ3bjFeP1OtLwWWv1sAKAJEgQ8Ht96SSFhXTNgLNLhTR RxCzCh1sl1dCDEHwYJnZpbDtmAQmtZzs2eBCb2XSAPj93lWSv1hArs9Og4sFg0IJUTMR mMkvcrsWK0F8nj4f1hVkw1lUKaekPIyYRzPO8Q/O6LhHDUoPlx4dLdfiXvSRIwvxYXjo DKK0AeburUIvc3qsk6oAZNAEpk1A99xNC6jkgD6til1mSv9ZAyjRt0AqqgUACqRpflk4 hdiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gNuDQYJVmflL/Wny4LHIdiHjJtChxjlf3zzR+P07bYQ=; b=gNCS8l+Iy/fHB7Uo9zWgbl7LhWUEZmvNI7gu+uRl4AJch8brnLxNZDANnG8l8iRsRL qmLw8MKBQAOYeSVNIreOrfODqoUwJxda0w9kqQFVEUyqVljmMKLeDT6ZBe7jE3VmyAQu cqqnL4MOyAA5IytK5IF/YjogjRH/MN626GCP463S0Y1Z9609DbcqOUhqx1UZVTotfKtR QJMjq4gJdTIlTfZGCBBrC6EN1qgu//b4DvmU6VgSlH7hdXTV9+YFd/7Ce58tQxZe8UDo vDH9rCkLiLLKnwgr4zILnijchmw+H3jRFuBbDgw9fgqzOLjkPG0w/PP66o7Te/PHYMqq jr2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZDi1SFp8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j38si12257299plb.107.2019.08.20.06.41.45; Tue, 20 Aug 2019 06:41:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZDi1SFp8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730452AbfHTNlo (ORCPT + 28 others); Tue, 20 Aug 2019 09:41:44 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39721 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730430AbfHTNll (ORCPT ); Tue, 20 Aug 2019 09:41:41 -0400 Received: by mail-lj1-f196.google.com with SMTP id x4so5173542ljj.6 for ; Tue, 20 Aug 2019 06:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gNuDQYJVmflL/Wny4LHIdiHjJtChxjlf3zzR+P07bYQ=; b=ZDi1SFp8FXJaCjqmp4zm/ByzXqtJBaAQvabUX02QHSb6SDgYVNy5d57jcfvwyT0dA5 8fzbFhHg9LRNWdJpl72dppeSuclNMByTBbZmU1xF7nAeqeBmQRvhlMYjmaiXLE4LV8wa zxoY/hF5DCBbdn3mRlsGF/QKdWdyYmxwOQPdPchKF8HLcZypJV/Ukw61WnY3PsnFAK6u Q+YJvglENuW+ieeSkGQnazSrxJiAcBHbB6uLYLGz1AJ9h/LaCq1SaT3QhJAAHmVF4Fz7 Q2G5T+L+zrAQfW0/HE1GXl6UCt7EAtJC8GptIXHJXVjn/yaRqmlb/VYXAa36kix3OPE7 AUMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gNuDQYJVmflL/Wny4LHIdiHjJtChxjlf3zzR+P07bYQ=; b=D6QC0+3gBlYiVebz3PnLeq0DBEvsBFgARIsqscWcJK2Dpoq17sX3Cr34sfwj9iiD5M jaGQb76T5cw5PHFiWppl1OW91jxOAGU83DI5CMRz8EznJME2+jmrMFLbN2wCq388KZ4g DbbHz1q+0NdOaJhYVWqUDRlS6FLzA5dDOxyDuo3CqKKJS4WpRXsmeTyDZxB9VONRs2y1 0QQlA50rdhsxJ7FDp5ZUepSN6NBDG2/56S22vB14Rb8AMdofdcZatn5r60MbWIo5yVUJ cmL/tadGsBJeZXuFza8GBm3C75+0QtqwJnER50mNRba1TXoL8JAlMspcyirHiCjyml2v 4vfg== X-Gm-Message-State: APjAAAXXYmmlH+TP7GEZLzDMie6uacyuZELEGfAzPuJmmw06fMkVHQWu LMAYOX08qNAtDUKlFNHq4jAqow== X-Received: by 2002:a2e:b0cb:: with SMTP id g11mr15447861ljl.76.1566308499392; Tue, 20 Aug 2019 06:41:39 -0700 (PDT) Received: from localhost (c-243c70d5.07-21-73746f28.bbcust.telenor.se. [213.112.60.36]) by smtp.gmail.com with ESMTPSA id f22sm2820208ljh.22.2019.08.20.06.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 06:41:38 -0700 (PDT) From: Anders Roxell To: shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net Cc: linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests: bpf: add config fragment BPF_JIT Date: Tue, 20 Aug 2019 15:41:34 +0200 Message-Id: <20190820134134.25818-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When running test_kmod.sh the following shows up # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_enable # # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_harden # Rework to enable CONFIG_BPF_JIT to solve "No such file or directory" Signed-off-by: Anders Roxell --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index f7a0744db31e..5dc109f4c097 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -34,3 +34,4 @@ CONFIG_NET_MPLS_GSO=m CONFIG_MPLS_ROUTING=m CONFIG_MPLS_IPTUNNEL=m CONFIG_IPV6_SIT=m +CONFIG_BPF_JIT=y