Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp992989lqo; Sat, 11 May 2024 03:01:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/PGWPeGDd5T225zt1LIFsXtP1nVVJWvzlUZUf78yFSfVdNUDNvazlslKd1bqa+WHKERn6RE0+MzZvblHCt4cOempGkDg9vFgXuWQWig== X-Google-Smtp-Source: AGHT+IFkDuz5NFQwX+1BuJC1z0hDQ1U74Ix7twoa1SavXZhd2sa907qjpOJGlGLaAd/IPLuD9ATg X-Received: by 2002:a05:6512:158e:b0:522:2be6:6fcd with SMTP id 2adb3069b0e04-5222be6704cmr3063735e87.25.1715421688261; Sat, 11 May 2024 03:01:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715421688; cv=pass; d=google.com; s=arc-20160816; b=ZUjsWXH8ccWPMkkF2lkrSha2qsoURIBk9y5xly1gSl2ePcMcaC+YbLVNNQSUizLwsr 374Ku9voJZoDJod7u09KWZkeeh4o0dqkm7fda/bPdJfB6O98iUXkIlBF8ayYEjwnp6t3 CLs0eJ3zefQkCTqv3x9WsdKLtWOcg9gVzOkLOXNhqHrIQjPNkpYjev3ismEaCTZzeT9n OueNPk1W9QZtY4OLN1Uy6SDt+GesmFcln9e6ipKUAGJi+ihUzB8OUFkcme5QeEXDMWJe Z5/lnb7/ZHHYrlOqDS+qmmZDCAB2LOi/sf9XfTPftYFOQZaMCzX96gE3OQO7e1ITuzw0 g+gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=Uk516WMMEMnPxKMxUa9NUR2dSr49YUjQdZe8FtSh6aw=; fh=YAiB8IhU/xhVSMzxrXyzmIKQXraNA5ZCXdhpkDqJpf8=; b=WYFXAGJw9MoT7SEr2s+CyDIhuOVqGkO8pSNdKTB2PQj4hvCpzZOsVAw8b8LzOqcj2A 9z6xN4Ge+QhQ9jky3tiwm5XrYA6gUHqkyKSR81iOxrXIaAOgNrX9Ms+1/qPLf6449vxl Gz66ZpfA29EbaQZ5nZ016mJw87YxFQDErgliqdyc7eitC5MthzHO3VhgwSZI97y3SXoh ealxAM7qK0gTYuZXjHi/iMxQF8MJFwbjmS0vCQblG946/YpzqZ0iLrlS+Eq+ALdiowTZ SqP/FtfKKYAeuQEp39IH1gxIBfubFZjcd8APLRPVru+89/YRSunXD9xThXOnevpK1ZWs oTcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-176471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176471-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba38c1si292723866b.534.2024.05.11.03.01.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 03:01:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-176471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176471-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F2AFA1F21755 for ; Sat, 11 May 2024 10:01:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 734FA54656; Sat, 11 May 2024 10:01:21 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E922D2D600; Sat, 11 May 2024 10:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715421681; cv=none; b=K5wIrboru5sAFjQ30qw4nJj93952D1x+ouRq+Ld4JNL2zHwUGZ5hWuCgYfFSjo1s/6KhZ3dByI95TWx7BburfKza2geI9oMyEtnppdKIebid36GGzpnHAvc9ihXaVatX6MtJeoj40dfBK3+iF78fpyQuef4cjP7aHMBfvqTj+jA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715421681; c=relaxed/simple; bh=tz2bqVg84OHNsrluO2Ojp3gIZJKwGxkDAKcS9LJ/I9s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XHYBPCYlqept4FJMhikNUDbM393NcNsrAvHXRflC6g7euspaAdJm/ohntV7altZHmjH70liOG9n3bXg9k69tBIrMC2azSt/J7oCjWAJfBBXWDdiFLyl4QEaClyW+rH/MRIyXOpfNOmVn0q6CltpPZ0D0zjEHO2vjLyatQU+eNpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E52B1C2BBFC; Sat, 11 May 2024 10:01:17 +0000 (UTC) From: Huacai Chen To: Arnd Bergmann , Huacai Chen Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, Huacai Chen Subject: [PATCH] LoongArch: Select ARCH_WANT_DEFAULT_BPF_JIT Date: Sat, 11 May 2024 18:01:05 +0800 Message-ID: <20240511100105.2334509-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit BPF JIT has better performance and more secure than BPF interpreter, so enable it by default, as most other architectures done. Signed-off-by: Huacai Chen --- arch/loongarch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 335a98b28167..24bce573dc2b 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -65,6 +65,7 @@ config LOONGARCH select ARCH_USE_CMPXCHG_LOCKREF select ARCH_USE_QUEUED_RWLOCKS select ARCH_USE_QUEUED_SPINLOCKS + select ARCH_WANT_DEFAULT_BPF_JIT select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP -- 2.43.0