Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp792964pxb; Sun, 10 Oct 2021 11:13:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAVHLnjjz1HfsNhhdEz6X+paGPv0wzuY3CYiQ+w8l+D030L5YXajE+Cy5XRs4SuN1v89P7 X-Received: by 2002:a63:7c4e:: with SMTP id l14mr14689309pgn.389.1633889619354; Sun, 10 Oct 2021 11:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633889619; cv=none; d=google.com; s=arc-20160816; b=kISirOO73d+bt1YMGdo9O3AAoUmzmWQjco00lPKq7gg+0wEgp/NQvMLgQN9mrRP/9y nnwxTkSkNaa9MsgDzPpIKrnA8oVWpldhS23cC/Q5x7r0V08lPUcqEz08+f4lYPXAbmtS k29GxibeGrH0OFwOFVzC2YgWPQgOCqkqYKwt59e2RbcY+N9lh6Dlybm/iy9Rcwdm7ePx D4dZGtRA5trT2l0vfgBFpJooh5WsQJpNU529bAnFfaUbWZSpO3G9at0FZGp7oRuSokej UHwh9+58Ecj88u8FHIp7Xfr6NA1441ZSWAh+R5AgBrHz+LLuB2P00ALeSkujq1Nne2WJ mnCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0m0tVlWSXIOyQB2dgqv4j2n31BilYhoZPAwFWKrJU88=; b=ozEMel6C3ZcFn8OcJzPX0R6zTMreP4rgooKNDtMLvslcFBHmw9ILEhgnXDxhtR48kx BW8nZEydRmJrLZvWKQctQNNQcEYJh8HLCRaeYcqdrutnfr6VxBH87sPrwxzhgVhgmkUj 7KShmtg6eaTowraAFIeZ118KTerP9ZCNY9BpH4W/nnqHBtPhhMHcEhGgjRTbkCPTkF2D 2evt04zVMFaIRXQrn3GTBFO8cM5WP4pgfPu5ymsp+qamBCOTiFPYn+7txeyieMzy7YTV hCsA4gc5iAdwWFIIKKp8w9S7rjbG6K2HJokTlG9fpguqfrqp9ilWgNkvtBXZW50bhipn b8ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anyfinetworks-com.20210112.gappssmtp.com header.s=20210112 header.b=PsUvnSdU; 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 j6si8896193plt.111.2021.10.10.11.13.25; Sun, 10 Oct 2021 11:13:39 -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; dkim=pass header.i=@anyfinetworks-com.20210112.gappssmtp.com header.s=20210112 header.b=PsUvnSdU; 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 S231927AbhJJRvW (ORCPT + 99 others); Sun, 10 Oct 2021 13:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231928AbhJJRvV (ORCPT ); Sun, 10 Oct 2021 13:51:21 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FFADC061745 for ; Sun, 10 Oct 2021 10:49:22 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id r1so33454769ybo.10 for ; Sun, 10 Oct 2021 10:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anyfinetworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0m0tVlWSXIOyQB2dgqv4j2n31BilYhoZPAwFWKrJU88=; b=PsUvnSdUSAmqKwDzNq9WJnFPKcbpdmRh5/jw66XAt9hP/tWSJAb/4w/SNgIAPG5Aox mX2G/aDq1B5rPRE46cQTRb2XuHG9e/SSVWq8F53f4DR0mkYuD9jP54/hCWXqUXQxI0Zf pAcHnFJISheLru/OQ8lMIla4gFwGM5gL1R7J8H7bhKtQNeIbU5OS8k2xbFAqEvNyYkq9 gNdSwnxBTvz5lkNBP7Dsjn+NJVtuyUR28qOL1AmfDyi9eroRguVFqfbi9gZjfk9qXLmd utsIGcSdYnV2MSanTe+6k1r61+/oFVTNB7smQDAR4XjowUMUmZgtO5J3dPU+BQVD5T6H SWfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0m0tVlWSXIOyQB2dgqv4j2n31BilYhoZPAwFWKrJU88=; b=paUbk+EtYVrSJ5FcCZLY2mrF8MiHYPtoFgNPKBujK19Qr3blQoF2et5sQ5JUIGN66b AJ6h+c9IWdnh7f7qpgJyHiT4jsaJZpgh1iESgekZK8FRGSFGUpuiD+ATWrY5K2wgcIVW s+I7Lptsg5Vk+YQhFZ1DI/4QWQBtj8bgCieLSpYiUiHlXiunzFhYQZNms2+s14AWmn/U VzeDtwhUVI+SbSfI+6euSuKdMIz2SeCg/0Mg7BiAezWCo+NYt5UQVs6PsEjDswDiEACF VRZBSq9CLMgAWZbVCC523+Iqg+T0WNSqS7/UmyuQdy0JRFNP059ldQB5WPsT8OUERj3H ZKJg== X-Gm-Message-State: AOAM5307V0tSMjtjJirUclElu9JKHHB9fmuEd8kJVrl3dgLNGh40qT1h kSCqWpu+0r1IRBKer4KF+0bFG6HMrNgoPLZMh2Jqwg== X-Received: by 2002:a25:c006:: with SMTP id c6mr16530910ybf.480.1633888161709; Sun, 10 Oct 2021 10:49:21 -0700 (PDT) MIME-Version: 1.0 References: <1633777076-17256-1-git-send-email-yangtiezhu@loongson.cn> <1633777076-17256-2-git-send-email-yangtiezhu@loongson.cn> In-Reply-To: <1633777076-17256-2-git-send-email-yangtiezhu@loongson.cn> From: Johan Almbladh Date: Sun, 10 Oct 2021 19:49:11 +0200 Message-ID: Subject: Re: [PATCH bpf-next 1/2] bpf, mips: Clean up config options about JIT To: Tiezhu Yang Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Thomas Bogendoerfer , Paul Burton , Networking , bpf , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 9, 2021 at 12:58 PM Tiezhu Yang wrote: > > 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 > Looks good to me. Acked-by: Johan Almbladh