Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1594372pxk; Fri, 4 Sep 2020 13:33:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycSd4aH2ldcP9nHecXJUQ+PJKhrFfllSldqQQ0fg5Svd7EKRpEAEiELWyv6TWKAx2/AS/B X-Received: by 2002:a05:6402:1353:: with SMTP id y19mr10709514edw.71.1599251618829; Fri, 04 Sep 2020 13:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599251618; cv=none; d=google.com; s=arc-20160816; b=WAFyT2IZMlF3H1R66LDXBGxghjoQnJ6ZlRTmKuodvyVxtJfFyrV+2WNJwWLE5lkrZf SqfzXMlHXKmCA/CGDvbRWST00/+MO+yAfDzD0xm9+GmBL1jnx82SfSD+5vn4l4Ig42AF 7k6l0pEyN91LAirXKp2n2c1ulJrlsUwuVz7nZemKBF2LjalzWdXUWR4uG2tqg46szez4 zeiYEgjIFdB5BDUds3IksKDkR3Z+PynTpPqrVitsSCi8M+p5gyam6pq9UCdMEBHRBX/L C/cnBtTtavf4auOtjg9p/UoMBohtxPC5yP/ohECEfD5B1n7CM/uDCEJNot6dsoK+E7kR daFQ== 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=20gxjIzSjP9iDJIvSKiaTEUFplvtFpKcyyXsfX2fuSU=; b=ZzMRaoUnHdmqzKyyzf1Rw8QFRxjmhD4nYUrjZcAWpC3bqhh9U2bmvNh8y6QYQmJsaV FXrlXhHcVO9hybgk+t1PcIPxahZaUkBf3Woy/0YN5S5bvmON5Bj65KLBzZ1CG8ikBJ1C vu5WEXkQCf7KjoBKw2DVtJd7pskw8jFUz+0NUum7ktJr5opA0osSt6nE5qIpWAoJN4LZ JHiY5t+4PeG0+V0blhxIjW5zhXA9dm3++IP3TC73HlwImDDKwIFnbBEhX/Xp0ObAqtHN 0FAezC85Iqv1zCCcxVC5wucGomQJgezZ9B2tQOyC7pIsBVb3WNIPmKmj7X7BmW9c7vkV FyRw== 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 w12si4946425ejy.64.2020.09.04.13.33.16; Fri, 04 Sep 2020 13:33:38 -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 S1728098AbgIDUc1 (ORCPT + 99 others); Fri, 4 Sep 2020 16:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbgIDUcV (ORCPT ); Fri, 4 Sep 2020 16:32:21 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73352C061244; Fri, 4 Sep 2020 13:32:20 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 204DB29B035 From: Gabriel Krisman Bertazi To: luto@kernel.org, tglx@linutronix.de, keescook@chromium.org Cc: 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 v6 7/9] x86: Enable Syscall User Dispatch Date: Fri, 4 Sep 2020 16:31:45 -0400 Message-Id: <20200904203147.2908430-8-krisman@collabora.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200904203147.2908430-1-krisman@collabora.com> References: <20200904203147.2908430-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 7101ac64bb20..56ac8de99021 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