Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3177755pxb; Sat, 9 Oct 2021 04:01:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO+e3YdL6bv5SQeo4+uDP8/ArT3YDI+9mD3PFp26bGi+mqRTxlwsf1JK5nKSr+dGjdoQSp X-Received: by 2002:a17:90a:c6:: with SMTP id v6mr18182949pjd.172.1633777266709; Sat, 09 Oct 2021 04:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633777266; cv=none; d=google.com; s=arc-20160816; b=XhVlOueEZbXOWMgbHD74TjRBg2fOk234a32zA8BYS3zJzEA6+h1CSHazF2GhAo2JmU zgOI8xYFc7LQbglQ3r1QXjuwzQ4Yz/d1ZJ+3tSuOPAMvm7onYh2XKUZmZHm1R8rHX2/1 DEjJHSmO53WKHqp7xsFE8sIgfTxHeiD/42RB52dQawXM/E4sPVarNn4r/+Kp/ECiJVbk R+L/L0V+OgFV+9b53E2kNe8RhawUlUrZzJMqYxknofzv/ZJ9KXc0vBwP7XPXszCkIgPA zhbla6mUVNscq5n6VDcKrf0ICHT4rf1x7iTl6ypqoZMA/coONXXDyQqmGFFnLXWnLFa6 rzxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=s6wEGRrDqZk+4q10rcBoskPP2n4UaioHmAACGdYoytM=; b=EH2czQznvQHRS89xmZqjAvKNHV7RuGO7s/Z2jdFC7oY/pfCfMPvC3E4rpHccUcbni0 xSkyH9xMMnk/WuVAnE8Xy4hrv+hR4Aswci6ELkqg0LxtEVGxTT6KVBed7PMsenRNTJAc Ozw7iC+f7wa6bL3k3sfUDvAm6Xl2J29Fm4+KtO7XrktsgF2cZzKeOKtQzEk0pYtccbYS JWF+3+Kuwn6kh+HzDIhztRQ8V15OXZ6jH6nlkY81yA6AhTE4O4E19OUpEDf7klqGA8mn K3VFaR1QPxnt5ypPnx7NL3iASVZpNd1o1G7TL3QR3ikh96fMN75zeHe2E9DqST7FMCuV 1f6A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si3003949pgh.200.2021.10.09.04.00.53; Sat, 09 Oct 2021 04:01:06 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244747AbhJILAP (ORCPT + 99 others); Sat, 9 Oct 2021 07:00:15 -0400 Received: from mail.loongson.cn ([114.242.206.163]:36344 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232161AbhJILAI (ORCPT ); Sat, 9 Oct 2021 07:00:08 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxv2q0dWFhcgkXAA--.21276S3; Sat, 09 Oct 2021 18:58:00 +0800 (CST) From: Tiezhu Yang To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Thomas Bogendoerfer , Johan Almbladh , Paul Burton Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Subject: [PATCH bpf-next 1/2] bpf, mips: Clean up config options about JIT Date: Sat, 9 Oct 2021 18:57:55 +0800 Message-Id: <1633777076-17256-2-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1633777076-17256-1-git-send-email-yangtiezhu@loongson.cn> References: <1633777076-17256-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9Dxv2q0dWFhcgkXAA--.21276S3 X-Coremail-Antispam: 1UD129KBjvJXoW7KF45XF1xCry7Ar1fGw4rZrb_yoW8Xw4kpw 4Syan7GrykWFyrGrW8AFW7WFWYqr1vq3y2vFWq9ryUXasavF47Arnavw1jyFW7WrZrJ3W0 gFWrWFnrA3sYkwUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUPG14x267AKxVWrJVCq3wAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2048vs2IY020E87I2jVAFwI0_Jr4l82xGYIkIc2 x26xkF7I0E14v26r4j6ryUM28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0 Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Cr0_Gr1UM2 8EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AI xVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x vE14v26r1Y6r17McIj6I8E87Iv67AKxVWxJVW8Jr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0 Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwACI402YVCY1x02628vn2kIc2 xKxwCY02Avz4vE14v_Gw1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l x2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14 v26r4a6rW5MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IY x2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87 Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIF yTuYvjfU5eOJUUUUU X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The config options MIPS_CBPF_JIT and MIPS_EBPF_JIT are useless, remove them in arch/mips/Kconfig, and then modify arch/mips/net/Makefile. Signed-off-by: Tiezhu Yang --- arch/mips/Kconfig | 9 --------- arch/mips/net/Makefile | 6 +++--- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 38468f4..9b03c78 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1214,15 +1214,6 @@ config SYS_SUPPORTS_RELOCATABLE The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF to allow access to command line and entropy sources. -config MIPS_CBPF_JIT - def_bool y - depends on BPF_JIT && HAVE_CBPF_JIT - -config MIPS_EBPF_JIT - def_bool y - depends on BPF_JIT && HAVE_EBPF_JIT - - # # Endianness selection. Sufficiently obscure so many users don't know what to # answer,so we try hard to limit the available choices. Also the use of a diff --git a/arch/mips/net/Makefile b/arch/mips/net/Makefile index 95e8267..e3e6ae6 100644 --- a/arch/mips/net/Makefile +++ b/arch/mips/net/Makefile @@ -1,10 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-only # MIPS networking code -obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp.o +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o ifeq ($(CONFIG_32BIT),y) - obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp32.o + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o else - obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp64.o + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o endif -- 2.1.0