Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp677715lqt; Mon, 18 Mar 2024 23:25:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzAYySL16MXKHx+MBi817tGrpwnejf7Veh+GRvs9GVyipMAXiV2DPRgR50wKwNhbPlnsRXygXpAAH5BmhlWrxuKhyo9Em3cZ+jUVBY0Q== X-Google-Smtp-Source: AGHT+IGrWREmW8RoNcHwRQo5was1Cj7ZidFF9PMtyF4tENMLa+KEQciz0dWPc11l+DfHcm6z+3Mh X-Received: by 2002:a05:620a:468b:b0:789:e8d5:8b39 with SMTP id bq11-20020a05620a468b00b00789e8d58b39mr2333105qkb.55.1710829514080; Mon, 18 Mar 2024 23:25:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710829514; cv=pass; d=google.com; s=arc-20160816; b=rBxC1SssFocrZfB+IktlGVrNy3RTAaWkH28Ij/lC43BOG/XUg6+JiC8/45OBgqyL65 CiOOKE8IISY3CEDQtTOIR0ICTGXgomLjWjCeQtW94m0k1k+3KO//xfwbyNqQp0c3xuWE IoXd5bwUfvJKvVS/McMHzfcMJzQIeErTFt+ArSCD2vcwRvFrYQceKK2cNzjywaQ5lmb/ ir93WqB8RTs65c4BlZBTiDWhZhAzLUAXjc5sve+RvlewAYYgnM5XnAyNdc2AtMFeNmn8 ZUiJJqFQ4zG0gmFsVJoJ1jVFztpYexOGiZnp8pp1m9EyyZ7D78E+TUl6+Y1/3zTp28XJ sehQ== 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=NtJfmCp7ZohA4CNZ5NyiK2g1xzq4lLtTpM/F2IlErhw=; fh=YAiB8IhU/xhVSMzxrXyzmIKQXraNA5ZCXdhpkDqJpf8=; b=AnP6nlUy3NmeNi93xC3EmaObqnltCwHkGNhIX/W2endxx/oYB45qwNf7O1sYZnfI+8 jmyBO8D6trIYyhqmeixQKAcN5AYhFmZf7G6SqX5kfshmFjlZxc5I58QlZoI6+4YJrqDJ 0gF3DpLAU77ereeGCUafV8Cz1A+jKG/OiZrLJ+5EZUHcKUGC8egEIo3caGNExOXhlbnP DzSrW5DDEXfp4BSqcP7ajDKhdKvsd167w4CDEaburfxrdvY/wSRM+RcVt9ZowpIiPYwT wdhoP/+gXSIJi9cGe7Tjo930Zz/zBtDVhgJkdLel6p/2NtMROS+l7MNGuJhxamNFfzt0 XZYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-107077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107077-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u21-20020a05620a085500b00788216d4d91si7032537qku.254.2024.03.18.23.25.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 23:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-107077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107077-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C9E4E1C21CC0 for ; Tue, 19 Mar 2024 06:25:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3F6A7BAEE; Tue, 19 Mar 2024 06:25:06 +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 462B54594E; Tue, 19 Mar 2024 06:25:06 +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=1710829506; cv=none; b=l7rwtCtVzm9Mw6Hl01ko0JcVjNCVUtqXFE6d8yMihVgV6HX8eVBXm26rL9vdiMrNeo4Atan+wYwsWisj0lJCl7pxSW2WSwVufRwlN3E/Z2FAmk70AWWGUgO9UJih1VH6FWsaBWLPYhro2KYbTVcKWvh2UqllL41tTtP3nEdOb78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710829506; c=relaxed/simple; bh=x5GRcJP4/69nKg2T9VOa0UIbcWd6tlxpikRifHHI+EY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pp+TfRMQ8E7Uek+xSjLleK0YMy+7QJRfp3Xf7/c+pFSUNFOegrMiKzboM7BWTRAWR+co+xbJ/XPuEFJ3yeMYPUxqOgMz5Q3Cx4kZ1AOcO8pD3rVdRv9hPSue9k0rynTalRfbhiUGCcVfZ0mOq2gpV1O6deWcDt9MyKxKltLBD9k= 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 55318C433F1; Tue, 19 Mar 2024 06:25:03 +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 HAVE_ARCH_USERFAULTFD_MINOR in Kconfig Date: Tue, 19 Mar 2024 14:24:32 +0800 Message-ID: <20240319062432.3529127-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 This allocates the VM flag needed to support the userfaultfd minor fault functionality. See commit 7677f7fd8be7665 ("userfaultfd: add minor fault registration mode") for more information. 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 ce8b55bdf68d..3da341bd48ef 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -105,6 +105,7 @@ config LOONGARCH select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_TRANSPARENT_HUGEPAGE + select HAVE_ARCH_USERFAULTFD_MINOR if USERFAULTFD select HAVE_ASM_MODVERSIONS select HAVE_CONTEXT_TRACKING_USER select HAVE_C_RECORDMCOUNT -- 2.43.0