Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1636225pxb; Fri, 13 Nov 2020 19:33:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzllbXB9YTbMuR7qX2rwOTtj4rdDawdY9ykX9BNjbDWduMLfsnwsvJOkDCBUNORbS8S34+E X-Received: by 2002:a50:cd0a:: with SMTP id z10mr5682710edi.223.1605324808924; Fri, 13 Nov 2020 19:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605324808; cv=none; d=google.com; s=arc-20160816; b=C6BUo2r/TlCUaYWOM/LQs4jklcx+wxupVc9KodGR5uc/NxfqA0lQZV2pg0SRwDDWCa Mx0nuu0KpYcKN92gmdzA1RNB1lS0qu4UQfnal/gVBLETK2lhiZRopruU9HBOnjfprAxa k3pW7EUtuzDWzg2ulX3a3EY/tkJccH5DfBcIUaHdACzRp+Wewa7risaNXmqvlY6CihMw zynauh7AvqyVpxPeSXvv3P6Rce+kkOt7oYxkLA30Pcu+z9O0csYrEo2jFUT7R1Zsw29t Ffu4jcrJFwMP/OyHNZxEv6tbKBFnf3ICjlu1p8HHMalUFGrxzy6rynwZzc9y+va2IDhH Eb6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fOcxdN3bQP/tN8Kucfpn1leBLCKLrSDKPuC+yjqvu2Q=; b=Pr8rfMU/siEz6A5FUt0zuXzsOPA0T21Y8jxdcPDntI9uY877ZOiWWg55iHFsIu/RyD YThjSBTcHTzg+2b0LU8jfDIcRNLKW4u8HxYxxi8BmdFDewtxSN/DqocisrGKdbaf1Ebx Hlmev+VtVfJn/8T2T0dYwv8qhqj+TOjLxmUx522CyV4ewR/Z1krlqx918G/0BIHfxLMd NzEB0YKBRpnLkdl/o3m6VumRec4wn0MYTrqsHkzA4G7gWfj7ZRwGyDnZf+mIyLHxUJfq pd97Y2J7vx6ten4OG1GkpybANo6KiE38QJSRSiUVTlW34QBpEyQrKFFyrxBNI1cahPkk 829A== 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 h16si6820147ejj.688.2020.11.13.19.33.06; Fri, 13 Nov 2020 19:33:28 -0800 (PST) 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 S1726554AbgKNDaP (ORCPT + 99 others); Fri, 13 Nov 2020 22:30:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbgKNDaO (ORCPT ); Fri, 13 Nov 2020 22:30:14 -0500 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 1AC6BC0613D1; Fri, 13 Nov 2020 19:30:14 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id CFA451F4799C From: Gabriel Krisman Bertazi To: tglx@linutronix.de Cc: mingo@redhat.com, keescook@chromium.org, arnd@arndb.de, luto@amacapital.net, wad@chromium.org, rostedt@goodmis.org, paul@paul-moore.com, eparis@redhat.com, oleg@redhat.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Gabriel Krisman Bertazi , kernel@collabora.com Subject: [PATCH 10/10] x86: Reclaim unused x86 TI flags Date: Fri, 13 Nov 2020 22:29:17 -0500 Message-Id: <20201114032917.1205658-11-krisman@collabora.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114032917.1205658-1-krisman@collabora.com> References: <20201114032917.1205658-1-krisman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reclaim TI flags that were migrated to syscall_work flags. Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/include/asm/thread_info.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index b217f63e73b7..33b637442b9e 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h @@ -75,15 +75,11 @@ struct thread_info { * - these are process state flags that various assembly files * may need to access */ -#define TIF_SYSCALL_TRACE 0 /* syscall trace active */ #define TIF_NOTIFY_RESUME 1 /* callback before returning to user */ #define TIF_SIGPENDING 2 /* signal pending */ #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_SINGLESTEP 4 /* reenable singlestep on user return*/ #define TIF_SSBD 5 /* Speculative store bypass disable */ -#define TIF_SYSCALL_EMU 6 /* syscall emulation active */ -#define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ -#define TIF_SECCOMP 8 /* secure computing */ #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ #define TIF_SPEC_L1D_FLUSH 10 /* Flush L1D on mm switches (processes) */ #define TIF_USER_RETURN_NOTIFY 11 /* notify kernel of userspace return */ @@ -101,18 +97,13 @@ struct thread_info { #define TIF_FORCED_TF 24 /* true if TF in eflags artificially */ #define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */ #define TIF_LAZY_MMU_UPDATES 27 /* task is updating the mmu lazily */ -#define TIF_SYSCALL_TRACEPOINT 28 /* syscall tracepoint instrumentation */ #define TIF_ADDR32 29 /* 32-bit address space on 64 bits */ -#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) #define _TIF_SSBD (1 << TIF_SSBD) -#define _TIF_SYSCALL_EMU (1 << TIF_SYSCALL_EMU) -#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) -#define _TIF_SECCOMP (1 << TIF_SECCOMP) #define _TIF_SPEC_IB (1 << TIF_SPEC_IB) #define _TIF_SPEC_L1D_FLUSH (1 << TIF_SPEC_L1D_FLUSH) #define _TIF_USER_RETURN_NOTIFY (1 << TIF_USER_RETURN_NOTIFY) @@ -129,7 +120,6 @@ struct thread_info { #define _TIF_FORCED_TF (1 << TIF_FORCED_TF) #define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP) #define _TIF_LAZY_MMU_UPDATES (1 << TIF_LAZY_MMU_UPDATES) -#define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT) #define _TIF_ADDR32 (1 << TIF_ADDR32) /* flags to check in __switch_to() */ -- 2.29.2