Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4710538pxa; Mon, 10 Aug 2020 16:29:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtunEM6ABwa4m6k1+tzkh8hYNgo4+LcM9V/aMSNvC49tqPHdz2ufcpAJZhwGG8qu9W6Pd5 X-Received: by 2002:a17:906:840c:: with SMTP id n12mr22750095ejx.246.1597102167480; Mon, 10 Aug 2020 16:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597102167; cv=none; d=google.com; s=arc-20160816; b=dM+ZyUtLGMxS63jGHGOKWc2+Qi8Axyv/p/isIo7qhfZtYI6/Y9mfPwOeABTtz7bG81 ufhNnYwxJeVFtXNFK7DEbtL+jntrdLqg5Ct5kxEWuY0CsM8q32zjgfD7ZDlaDQS8OQ5c PqSaqOaXDOR4p6vvVPqmWQXIP1nxN8K41QgclqyS2QKtLCdxZEJwJXQtmKSBwgNb3job uUPCy4Rh7tuUD8NSMtC4kWJaiw7prLG+gYrDAUUFDONnQopX5WQp4DYkWmjVQ8tMvPat 2wq7iX6OBd1k0yELz2VUZaz4ciug2IdI1IGjcLUDfs21TcZaqvDWjHL/kmzOl8r2pcHB 4Xkw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=U8EFt1wTXTdXBJjPwIwVhtGw3WfiAMx4lScvtZHLbIU=; b=HZRdIuJ8UrOCEKUfwgC9iZEimaQZAC1b+MDw2RbIz5b2xOUS9YDalN3pvNFUzIkFe6 QBW79srzy+qCsAFO4c7rgK/maC+E9nyAzUiX6SwOEPYXCqw8kD8zAw6JClRfH2de8K0f nTMNQr7Uul9F+FTuaGg9NhfSA7VTt5nvBCYSG4u5P/S5vJAyHrGMK7TmdxBaeZKle8kp iS488bL5B9lfxgT0qOBcOyoN8wT8Jv6Do0dub3Ga2QAyaWNiHCSLYtzHMOzh15AFHyzj EDAe8WS5MnetfaWq8bseRYLPMH0k7mmNxglkG+K8JSZKRZW+sz1BB6G/aV0LVrBp/Wde hKaw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zg2si11708525ejb.183.2020.08.10.16.28.39; Mon, 10 Aug 2020 16:29:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727989AbgHJX1N (ORCPT + 99 others); Mon, 10 Aug 2020 19:27:13 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51418 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgHJX1L (ORCPT ); Mon, 10 Aug 2020 19:27:11 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 20A042948EB From: Gabriel Krisman Bertazi To: luto@kernel.org, tglx@linutronix.de Cc: keescook@chromium.org, x86@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, willy@infradead.org, linux-kselftest@vger.kernel.org, shuah@kernel.org, Gabriel Krisman Bertazi , kernel@collabora.com Subject: [PATCH v5 7/9] x86: Enable Syscall User Dispatch Date: Mon, 10 Aug 2020 19:26:34 -0400 Message-Id: <20200810232636.1415588-8-krisman@collabora.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200810232636.1415588-1-krisman@collabora.com> References: <20200810232636.1415588-1-krisman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Syscall User Dispatch requirements are fully supported in x86. This patch flips the switch, marking it as supported. This was tested against Syscall User Dispatch selftest. Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9a2849527dd7..431440566888 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -150,6 +150,7 @@ config X86 select HAVE_ARCH_COMPAT_MMAP_BASES if MMU && COMPAT select HAVE_ARCH_PREL32_RELOCATIONS select HAVE_ARCH_SECCOMP_FILTER + select HAVE_ARCH_SYSCALL_USER_DISPATCH select HAVE_ARCH_THREAD_STRUCT_WHITELIST select HAVE_ARCH_STACKLEAK select HAVE_ARCH_TRACEHOOK -- 2.28.0